This is the start of the stable review cycle for the 5.4.187 release.
There are 17 patches in this series, all will be posted as a response
to this one. If anyone has any issues with these being applied, please
let me know.
Responses should be made by Wed, 23 Mar 2022 13:32:09 +0000.
Anything received after that time might be too late.
The whole patch series can be found in one patch at:
https://www.kernel.org/pub/linux/kernel/v5.x/stable-review/patch-5.4.187-rc…
or in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.4.y
and the diffstat can be found below.
thanks,
greg k-h
-------------
Pseudo-Shortlog of commits:
Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
Linux 5.4.187-rc1
Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
Revert "selftests/bpf: Add test for bpf_timer overwriting crash"
Michael Petlan <mpetlan(a)redhat.com>
perf symbols: Fix symbol size calculation condition
Pavel Skripkin <paskripkin(a)gmail.com>
Input: aiptek - properly check endpoint type
Alan Stern <stern(a)rowland.harvard.edu>
usb: usbtmc: Fix bug in pipe direction for control transfers
Alan Stern <stern(a)rowland.harvard.edu>
usb: gadget: Fix use-after-free bug by not setting udc->dev.driver
Dan Carpenter <dan.carpenter(a)oracle.com>
usb: gadget: rndis: prevent integer overflow in rndis_set_response()
Arnd Bergmann <arnd(a)arndb.de>
arm64: fix clang warning about TRAMP_VALIAS
Miaoqian Lin <linmq006(a)gmail.com>
net: dsa: Add missing of_node_put() in dsa_port_parse_of
Nicolas Dichtel <nicolas.dichtel(a)6wind.com>
net: handle ARPHRD_PIMREG in dev_is_mac_header_xmit()
Marek Vasut <marex(a)denx.de>
drm/panel: simple: Fix Innolux G070Y2-L01 BPP settings
Jiasheng Jiang <jiasheng(a)iscas.ac.cn>
hv_netvsc: Add check for kvmalloc_array
Jiasheng Jiang <jiasheng(a)iscas.ac.cn>
atm: eni: Add check for dma_map_single
Eric Dumazet <edumazet(a)google.com>
net/packet: fix slab-out-of-bounds access in packet_recvmsg()
Kurt Cancemi <kurt(a)x64architecture.com>
net: phy: marvell: Fix invalid comparison in the resume and suspend functions
Randy Dunlap <rdunlap(a)infradead.org>
efi: fix return value of __setup handlers
Joseph Qi <joseph.qi(a)linux.alibaba.com>
ocfs2: fix crash when initialize filecheck kobj fails
Brian Masney <bmasney(a)redhat.com>
crypto: qcom-rng - ensure buffer for generate is completely filled
-------------
Diffstat:
Makefile | 4 +-
arch/arm64/include/asm/vectors.h | 4 +-
drivers/atm/eni.c | 2 +
drivers/crypto/qcom-rng.c | 17 ++++---
drivers/firmware/efi/apple-properties.c | 2 +-
drivers/firmware/efi/efi.c | 2 +-
drivers/gpu/drm/panel/panel-simple.c | 2 +-
drivers/input/tablet/aiptek.c | 10 ++--
drivers/net/hyperv/netvsc_drv.c | 3 ++
drivers/net/phy/marvell.c | 8 ++--
drivers/usb/class/usbtmc.c | 13 ++++--
drivers/usb/gadget/function/rndis.c | 1 +
drivers/usb/gadget/udc/core.c | 3 --
fs/ocfs2/super.c | 22 ++++-----
include/linux/if_arp.h | 1 +
net/dsa/dsa2.c | 1 +
net/packet/af_packet.c | 11 ++++-
tools/perf/util/symbol.c | 2 +-
.../testing/selftests/bpf/prog_tests/timer_crash.c | 32 -------------
tools/testing/selftests/bpf/progs/timer_crash.c | 54 ----------------------
20 files changed, 65 insertions(+), 129 deletions(-)
The following commit has been merged into the x86/urgent branch of tip:
Commit-ID: 063452fd94d153d4eb38ad58f210f3d37a09cca4
Gitweb: https://git.kernel.org/tip/063452fd94d153d4eb38ad58f210f3d37a09cca4
Author: Yang Zhong <yang.zhong(a)intel.com>
AuthorDate: Sat, 29 Jan 2022 09:36:46 -08:00
Committer: Thomas Gleixner <tglx(a)linutronix.de>
CommitterDate: Wed, 23 Mar 2022 21:28:34 +01:00
x86/fpu/xstate: Fix the ARCH_REQ_XCOMP_PERM implementation
ARCH_REQ_XCOMP_PERM is supposed to add the requested feature to the
permission bitmap of thread_group_leader()->fpu. But the code overwrites
the bitmap with the requested feature bit only rather than adding it.
Fix the code to add the requested feature bit to the master bitmask.
Fixes: db8268df0983 ("x86/arch_prctl: Add controls for dynamic XSTATE components")
Signed-off-by: Yang Zhong <yang.zhong(a)intel.com>
Signed-off-by: Chang S. Bae <chang.seok.bae(a)intel.com>
Signed-off-by: Thomas Gleixner <tglx(a)linutronix.de>
Cc: Paolo Bonzini <bonzini(a)gnu.org>
Cc: stable(a)vger.kernel.org
Link: https://lore.kernel.org/r/20220129173647.27981-2-chang.seok.bae@intel.com
---
arch/x86/kernel/fpu/xstate.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/kernel/fpu/xstate.c b/arch/x86/kernel/fpu/xstate.c
index 7c7824a..dc6d5e9 100644
--- a/arch/x86/kernel/fpu/xstate.c
+++ b/arch/x86/kernel/fpu/xstate.c
@@ -1639,7 +1639,7 @@ static int __xstate_request_perm(u64 permitted, u64 requested, bool guest)
perm = guest ? &fpu->guest_perm : &fpu->perm;
/* Pairs with the READ_ONCE() in xstate_get_group_perm() */
- WRITE_ONCE(perm->__state_perm, requested);
+ WRITE_ONCE(perm->__state_perm, mask);
/* Protected by sighand lock */
perm->__state_size = ksize;
perm->__user_state_size = usize;