This is the start of the stable review cycle for the 5.4.281 release. There are 44 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 Sun, 28 Jul 2024 07:05:34 +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.281-rc2.gz 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@xxxxxxxxxxxxxxxxxxx> Linux 5.4.281-rc2 Si-Wei Liu <si-wei.liu@xxxxxxxxxx> tap: add missing verification for short frame Dongli Zhang <dongli.zhang@xxxxxxxxxx> tun: add missing verification for short frame Jann Horn <jannh@xxxxxxxxxx> filelock: Fix fcntl/close race recovery compat path Edson Juliano Drosdeck <edson.drosdeck@xxxxxxxxx> ALSA: hda/realtek: Enable headset mic on Positivo SU C1400 lei lu <llfamsec@xxxxxxxxx> jfs: don't walk off the end of ealist lei lu <llfamsec@xxxxxxxxx> ocfs2: add bounds checking to ocfs2_check_dir_entry() Paolo Abeni <pabeni@xxxxxxxxxx> net: relax socket state check at accept time. Dan Carpenter <dan.carpenter@xxxxxxxxxx> drm/amdgpu: Fix signedness bug in sdma_v4_0_process_trap_irq() Kuan-Wei Chiu <visitorckw@xxxxxxxxx> ACPI: processor_idle: Fix invalid comparison with insertion sort for latency Masahiro Yamada <masahiroy@xxxxxxxxxx> ARM: 9324/1: fix get_user() broken with veneer Edward Adam Davis <eadavis@xxxxxx> hfsplus: fix uninit-value in copy_name John Hubbard <jhubbard@xxxxxxxxxx> selftests/vDSO: fix clang build errors and warnings Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx> spi: imx: Don't expect DMA for i.MX{25,35,50,51,53} cspi devices Christian Brauner <brauner@xxxxxxxxxx> fs: better handle deep ancestor chains in is_subdir() Tetsuo Handa <penguin-kernel@xxxxxxxxxxxxxxxxxxx> Bluetooth: hci_core: cancel all works upon hci_unregister_dev() Xingui Yang <yangxingui@xxxxxxxxxx> scsi: libsas: Fix exp-attached device scan after probe failure scanned in again after probe failed Ganesh Goudar <ganeshgr@xxxxxxxxxxxxx> powerpc/eeh: avoid possible crash when edev->pdev changes Anjali K <anjalik@xxxxxxxxxxxxx> powerpc/pseries: Whitelist dtl slub object for copying to userspace Yunshui Jiang <jiangyunshui@xxxxxxxxxx> net: mac802154: Fix racy device stats updates by DEV_STATS_INC() and DEV_STATS_ADD() Daniele Palmas <dnlplm@xxxxxxxxx> net: usb: qmi_wwan: add Telit FN912 compositions Shengjiu Wang <shengjiu.wang@xxxxxxx> ALSA: dmaengine_pcm: terminate dmaengine before synchronize Heiko Carstens <hca@xxxxxxxxxxxxx> s390/sclp: Fix sclp_init() cleanup on failure Chen Ni <nichen@xxxxxxxxxxx> can: kvaser_usb: fix return value for hif_usb_send_regout Primoz Fiser <primoz.fiser@xxxxxxxxx> ASoC: ti: omap-hdmi: Fix too long driver name Jai Luthra <j-luthra@xxxxxx> ASoC: ti: davinci-mcasp: Set min period size using FIFO config Thomas GENTY <tomlohave@xxxxxxxxx> bytcr_rt5640 : inverse jack detect for Archos 101 cesium Jonathan Denose <jdenose@xxxxxxxxxx> Input: elantech - fix touchpad state on resume for Lenovo N24 Arnd Bergmann <arnd@xxxxxxxx> mips: fix compat_sys_lseek syscall Kailang Yang <kailang@xxxxxxxxxxx> ALSA: hda/realtek: Add more codec ID to no shutup pins list Michael Ellerman <mpe@xxxxxxxxxxxxxx> KVM: PPC: Book3S HV: Prevent UAF in kvm_spapr_tce_attach_iommu_group() Dmitry Antipov <dmantipov@xxxxxxxxx> wifi: cfg80211: wext: add extra SIOCSIWSCAN data check Alexander Usyskin <alexander.usyskin@xxxxxxxxx> mei: demote client disconnect warning on suspend to debug Yuntao Wang <yuntao.wang@xxxxxxxxx> fs/file: fix the check in find_next_fd() Masahiro Yamada <masahiroy@xxxxxxxxxx> kconfig: remove wrong expr_trans_bool() Masahiro Yamada <masahiroy@xxxxxxxxxx> kconfig: gconf: give a proper initial state to the Save button Eric Dumazet <edumazet@xxxxxxxxxx> ila: block BH in ila_output() Hans de Goede <hdegoede@xxxxxxxxxx> Input: silead - Always support 10 fingers Dmitry Antipov <dmantipov@xxxxxxxxx> wifi: mac80211: fix UBSAN noise in ieee80211_prep_hw_scan() Nicolas Escande <nico.escande@xxxxxxxxx> wifi: mac80211: mesh: init nonpeer_pm to active by default in mesh sdata Armin Wolf <W_Armin@xxxxxx> ACPI: EC: Avoid returning AE_OK on errors in address space handler Armin Wolf <W_Armin@xxxxxx> ACPI: EC: Abort address space access upon error Saurav Kashyap <skashyap@xxxxxxxxxxx> scsi: qedf: Set qed_slowpath_params to zero before use Jann Horn <jannh@xxxxxxxxxx> filelock: Remove locks reliably when fcntl/close race is detected Kees Cook <keescook@xxxxxxxxxxxx> gcc-plugins: Rename last_stmt() for GCC 14+ ------------- Diffstat: Makefile | 4 +- arch/arm/include/asm/uaccess.h | 14 +------ arch/mips/kernel/syscalls/syscall_o32.tbl | 2 +- arch/powerpc/kernel/eeh_pe.c | 7 +++- arch/powerpc/kvm/book3s_64_vio.c | 18 ++++++--- arch/powerpc/platforms/pseries/setup.c | 4 +- drivers/acpi/ec.c | 9 ++++- drivers/acpi/processor_idle.c | 40 ++++++++----------- drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c | 2 +- drivers/input/mouse/elantech.c | 31 +++++++++++++++ drivers/input/touchscreen/silead.c | 19 +++------ drivers/misc/mei/main.c | 2 +- drivers/net/can/usb/kvaser_usb/kvaser_usb_core.c | 2 +- drivers/net/tap.c | 5 +++ drivers/net/tun.c | 3 ++ drivers/net/usb/qmi_wwan.c | 2 + drivers/s390/char/sclp.c | 1 + drivers/scsi/libsas/sas_internal.h | 14 +++++++ drivers/scsi/qedf/qedf_main.c | 1 + drivers/spi/spi-imx.c | 2 +- fs/dcache.c | 31 +++++++-------- fs/file.c | 4 +- fs/hfsplus/xattr.c | 2 +- fs/jfs/xattr.c | 23 +++++++++-- fs/locks.c | 18 ++++----- fs/ocfs2/dir.c | 46 ++++++++++++++-------- net/bluetooth/hci_core.c | 4 ++ net/ipv4/af_inet.c | 4 +- net/ipv6/ila/ila_lwt.c | 7 +++- net/mac80211/mesh.c | 1 + net/mac80211/scan.c | 14 +++++-- net/mac802154/tx.c | 8 ++-- net/wireless/scan.c | 8 +++- scripts/gcc-plugins/gcc-common.h | 4 ++ scripts/kconfig/expr.c | 29 -------------- scripts/kconfig/expr.h | 1 - scripts/kconfig/gconf.c | 3 +- scripts/kconfig/menu.c | 2 - sound/core/pcm_dmaengine.c | 12 ++++++ sound/pci/hda/patch_realtek.c | 5 +++ sound/soc/intel/boards/bytcr_rt5640.c | 11 ++++++ sound/soc/ti/davinci-mcasp.c | 9 ++++- sound/soc/ti/omap-hdmi.c | 6 +-- tools/testing/selftests/vDSO/parse_vdso.c | 16 +++++--- .../selftests/vDSO/vdso_standalone_test_x86.c | 18 ++++++++- 45 files changed, 290 insertions(+), 178 deletions(-)