[PATCH 5.15 00/87] 5.15.164-rc1 review

From: Greg Kroah-Hartman
Date: Thu Jul 25 2024 - 10:52:26 EST


This is the start of the stable review cycle for the 5.15.164 release.
There are 87 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 Sat, 27 Jul 2024 14:27:16 +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.15.164-rc1.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.15.y
and the diffstat can be found below.

thanks,

greg k-h

-------------
Pseudo-Shortlog of commits:

Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
Linux 5.15.164-rc1

Jann Horn <jannh@xxxxxxxxxx>
filelock: Fix fcntl/close race recovery compat path

Shengjiu Wang <shengjiu.wang@xxxxxxx>
ALSA: pcm_dmaengine: Don't synchronize DMA channel when DMA is paused

Krishna Kurapati <quic_kriskura@xxxxxxxxxxx>
arm64: dts: qcom: sdm630: Disable SS instance in Parkmode for USB

Krishna Kurapati <quic_kriskura@xxxxxxxxxxx>
arm64: dts: qcom: msm8996: Disable SS instance in Parkmode for USB

Seunghun Han <kkamagui@xxxxxxxxx>
ALSA: hda/realtek: Fix the speaker output on Samsung Galaxy Book Pro 360

Edson Juliano Drosdeck <edson.drosdeck@xxxxxxxxx>
ALSA: hda/realtek: Enable headset mic on Positivo SU C1400

lei lu <llfamsec@xxxxxxxxx>
fs/ntfs3: Validate ff offset

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.

Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
Add gitignore file for samples/fanotify/ subdirectory

Gabriel Krisman Bertazi <krisman@xxxxxxxxxxxxx>
docs: Fix formatting of literal sections in fanotify docs

Gabriel Krisman Bertazi <krisman@xxxxxxxxxxxxx>
samples: Make fs-monitor depend on libc and headers

Gabriel Krisman Bertazi <krisman@xxxxxxxxxxxxx>
samples: Add fs error monitoring example

Dan Carpenter <dan.carpenter@xxxxxxxxxx>
drm/amdgpu: Fix signedness bug in sdma_v4_0_process_trap_irq()

Johannes Berg <johannes.berg@xxxxxxxxx>
wifi: mac80211: disable softirqs for queued frame handling

SeongJae Park <sj@xxxxxxxxxx>
mm/damon/core: merge regions aggressively when max_nr_regions is unmet

David Laight <David.Laight@xxxxxxxxxx>
minmax: relax check to allow comparison between unsigned arguments and signed constants

David Laight <David.Laight@xxxxxxxxxx>
minmax: allow comparisons of 'int' against 'unsigned char/short'

David Laight <David.Laight@xxxxxxxxxx>
minmax: allow min()/max()/clamp() if the arguments have the same signedness.

Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
minmax: fix header inclusions

Jason A. Donenfeld <Jason@xxxxxxxxx>
minmax: clamp more efficiently by avoiding extra comparison

Jason A. Donenfeld <Jason@xxxxxxxxx>
minmax: sanity check constant bounds when clamping

Bart Van Assche <bvanassche@xxxxxxx>
tracing: Define the is_signed_type() macro once

David Lechner <dlechner@xxxxxxxxxxxx>
spi: mux: set ctlr->bits_per_word_mask

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

Puranjay Mohan <puranjay@xxxxxxxxxx>
riscv: stacktrace: fix usage of ftrace_graph_ret_addr()

Christian Brauner <brauner@xxxxxxxxxx>
fs: better handle deep ancestor chains in is_subdir()

Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@xxxxxxx>
drm/radeon: check bo_va->bo is non-NULL before using it

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

Aivaz Latypov <reichaivaz@xxxxxxxxx>
ALSA: hda/relatek: Enable Mute LED on HP Laptop 15-gw0xxx

Filipe Manana <fdmanana@xxxxxxxx>
btrfs: qgroup: fix quota root leak after quota disable failure

Armin Wolf <W_Armin@xxxxxx>
platform/x86: lg-laptop: Use ACPI device handle when evaluating WMAB/WMBB

Armin Wolf <W_Armin@xxxxxx>
platform/x86: lg-laptop: Change ACPI device id

Armin Wolf <W_Armin@xxxxxx>
platform/x86: lg-laptop: Remove LGEX0815 hotkey handling

Armin Wolf <W_Armin@xxxxxx>
platform/x86: wireless-hotkey: Add support for LG Airplane Button

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

Jai Luthra <j-luthra@xxxxxx>
ALSA: dmaengine: Synchronize dma channel after drop()

Thomas GENTY <tomlohave@xxxxxxxxx>
bytcr_rt5640 : inverse jack detect for Archos 101 cesium

Tobias Jakobi <tjakobi@xxxxxxxxxxxxxxxxxxxxx>
Input: i8042 - add Ayaneo Kun to i8042 quirk table

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

Alexey Makhalov <alexey.makhalov@xxxxxxxxxxxx>
drm/vmwgfx: Fix missing HYPERVISOR_GUEST dependency

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

Chunguang Xu <chunguang.xu@xxxxxxxxxx>
nvme: avoid double free special payload

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

Andreas Hindborg <a.hindborg@xxxxxxxxxxx>
null_blk: fix validation of block size

Wei Li <liwei391@xxxxxxxxxx>
arm64: armv8_deprecated: Fix warning in isndep cpuhp starting process

Eric Dumazet <edumazet@xxxxxxxxxx>
ila: block BH in ila_output()

Eric Dumazet <edumazet@xxxxxxxxxx>
net: ipv6: rpl_iptunnel: block BH in rpl_output() and rpl_input()

Hans de Goede <hdegoede@xxxxxxxxxx>
Input: silead - Always support 10 fingers

Michael Ellerman <mpe@xxxxxxxxxxxxxx>
selftests/openat2: Fix build warnings on ppc64

Dmitry Antipov <dmantipov@xxxxxxxxx>
wifi: mac80211: fix UBSAN noise in ieee80211_prep_hw_scan()

Ayala Beker <ayala.beker@xxxxxxxxx>
wifi: iwlwifi: mvm: properly set 6 GHz channel direct probe option

Yedidya Benshimol <yedidya.ben.shimol@xxxxxxxxx>
wifi: iwlwifi: mvm: Handle BIGTK cipher in kek_kck cmd

Yedidya Benshimol <yedidya.ben.shimol@xxxxxxxxx>
wifi: iwlwifi: mvm: d3: fix WoWLAN command version lookup

Johannes Berg <johannes.berg@xxxxxxxxx>
wifi: mac80211: handle tasklet frames before stopping

Nicolas Escande <nico.escande@xxxxxxxxx>
wifi: mac80211: mesh: init nonpeer_pm to active by default in mesh sdata

Dhananjay Ugwekar <Dhananjay.Ugwekar@xxxxxxx>
tools/power/cpupower: Fix Pstate frequency reporting on AMD Family 1Ah CPUs

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

Saurav Kashyap <skashyap@xxxxxxxxxxx>
scsi: qedf: Wait for stag work during unload

Saurav Kashyap <skashyap@xxxxxxxxxxx>
scsi: qedf: Don't process stag work during unload and recovery

Martin Wilck <martin.wilck@xxxxxxxx>
scsi: core: alua: I/O errors for ALUA state transitions

Bart Van Assche <bvanassche@xxxxxxx>
scsi: core: Fix a use-after-free

Daniel Borkmann <daniel@xxxxxxxxxxxxx>
bpf: Fix overrunning reservations in ringbuf

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

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:

.../admin-guide/filesystem-monitoring.rst | 20 +--
Makefile | 4 +-
arch/arm/include/asm/uaccess.h | 14 +-
arch/arm64/boot/dts/qcom/msm8996.dtsi | 1 +
arch/arm64/boot/dts/qcom/sdm630.dtsi | 1 +
arch/arm64/kernel/armv8_deprecated.c | 3 +
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 +-
arch/riscv/kernel/stacktrace.c | 3 +-
drivers/acpi/ec.c | 9 +-
drivers/acpi/processor_idle.c | 40 +++---
drivers/block/null_blk/main.c | 4 +-
drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c | 2 +-
drivers/gpu/drm/radeon/radeon_gem.c | 2 +-
drivers/gpu/drm/vmwgfx/Kconfig | 2 +-
drivers/input/mouse/elantech.c | 31 +++++
drivers/input/serio/i8042-acpipnpio.h | 18 ++-
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/usb/qmi_wwan.c | 2 +
drivers/net/wireless/intel/iwlwifi/mvm/d3.c | 16 ++-
drivers/net/wireless/intel/iwlwifi/mvm/scan.c | 5 +-
drivers/nvme/host/core.c | 1 +
drivers/platform/x86/lg-laptop.c | 89 +++++--------
drivers/platform/x86/wireless-hotkey.c | 2 +
drivers/s390/char/sclp.c | 1 +
drivers/scsi/device_handler/scsi_dh_alua.c | 31 +++--
drivers/scsi/hosts.c | 16 ++-
drivers/scsi/libsas/sas_internal.h | 14 ++
drivers/scsi/qedf/qedf.h | 1 +
drivers/scsi/qedf/qedf_main.c | 47 ++++++-
drivers/scsi/scsi_lib.c | 6 +-
drivers/scsi/scsi_priv.h | 2 +-
drivers/scsi/scsi_scan.c | 1 +
drivers/scsi/scsi_sysfs.c | 1 +
drivers/spi/spi-imx.c | 2 +-
drivers/spi/spi-mux.c | 1 +
fs/btrfs/qgroup.c | 4 +-
fs/dcache.c | 31 ++---
fs/file.c | 4 +-
fs/hfsplus/xattr.c | 2 +-
fs/jfs/xattr.c | 23 +++-
fs/locks.c | 18 ++-
fs/ntfs3/fslog.c | 6 +-
fs/ocfs2/dir.c | 46 ++++---
include/linux/compiler.h | 6 +
include/linux/minmax.h | 87 +++++++++----
include/linux/overflow.h | 1 -
include/linux/trace_events.h | 2 -
include/scsi/scsi_host.h | 2 +
include/sound/dmaengine_pcm.h | 1 +
kernel/bpf/ringbuf.c | 30 ++++-
mm/damon/core.c | 21 ++-
net/bluetooth/hci_core.c | 4 +
net/ipv4/af_inet.c | 4 +-
net/ipv6/ila/ila_lwt.c | 7 +-
net/ipv6/rpl_iptunnel.c | 14 +-
net/mac80211/ieee80211_i.h | 2 +
net/mac80211/main.c | 11 +-
net/mac80211/mesh.c | 1 +
net/mac80211/scan.c | 14 +-
net/mac80211/util.c | 4 +
net/mac802154/tx.c | 8 +-
net/wireless/scan.c | 8 +-
samples/Kconfig | 9 ++
samples/Makefile | 1 +
samples/fanotify/.gitignore | 1 +
samples/fanotify/Makefile | 5 +
samples/fanotify/fs-monitor.c | 142 +++++++++++++++++++++
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 | 26 ++++
sound/pci/hda/patch_realtek.c | 7 +
sound/soc/intel/boards/bytcr_rt5640.c | 11 ++
sound/soc/soc-generic-dmaengine-pcm.c | 8 ++
sound/soc/ti/davinci-mcasp.c | 9 +-
sound/soc/ti/omap-hdmi.c | 6 +-
tools/power/cpupower/utils/helpers/amd.c | 26 +++-
tools/testing/selftests/openat2/openat2_test.c | 1 +
tools/testing/selftests/vDSO/parse_vdso.c | 16 ++-
.../selftests/vDSO/vdso_standalone_test_x86.c | 18 ++-
87 files changed, 813 insertions(+), 319 deletions(-)