2023-09-20 20:41:47

by Greg Kroah-Hartman

[permalink] [raw]
Subject: [PATCH 5.15 000/110] 5.15.133-rc1 review

This is the start of the stable review cycle for the 5.15.133 release.
There are 110 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 Fri, 22 Sep 2023 11:28: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.15.133-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 <[email protected]>
Linux 5.15.133-rc1

Melissa Wen <[email protected]>
drm/amd/display: enable cursor degamma for DCN3+ DRM legacy gamma

Jamal Hadi Salim <[email protected]>
net/sched: Retire rsvp classifier

Christian König <[email protected]>
drm/amdgpu: fix amdgpu_cs_p1_user_fence

Yifan Zhang <[email protected]>
drm/amd/display: fix the white screen issue when >= 64GB DRAM

Shida Zhang <[email protected]>
ext4: fix rec_len verify error

Damien Le Moal <[email protected]>
scsi: pm8001: Setup IRQs on resume

Junxiao Bi <[email protected]>
scsi: megaraid_sas: Fix deadlock on firmware crashdump

Niklas Cassel <[email protected]>
ata: libata: disallow dev-initiated LPM transitions to unsupported states

Tommy Huang <[email protected]>
i2c: aspeed: Reset the i2c controller when timeout occurs

Steven Rostedt (Google) <[email protected]>
tracefs: Add missing lockdown check to tracefs_create_dir()

Jeff Layton <[email protected]>
nfsd: fix change_info in NFSv4 RENAME replies

Steven Rostedt (Google) <[email protected]>
tracing: Have option files inc the trace array ref count

Steven Rostedt (Google) <[email protected]>
tracing: Have current_trace inc the trace array ref count

Steven Rostedt (Google) <[email protected]>
tracing: Have tracing_max_latency inc the trace array ref count

Filipe Manana <[email protected]>
btrfs: release path before inode lookup during the ino lookup ioctl

Filipe Manana <[email protected]>
btrfs: fix lockdep splat and potential deadlock after failure running delayed items

Amir Goldstein <[email protected]>
ovl: fix incorrect fdput() on aio completion

Amir Goldstein <[email protected]>
ovl: fix failed copyup of fileattr on a symlink

Christian Brauner <[email protected]>
attr: block mode changes of symlinks

Nigel Croxon <[email protected]>
md/raid1: fix error: ISO C90 forbids mixed declarations

Arnd Bergmann <[email protected]>
samples/hw_breakpoint: fix building without module unloading

Pablo Neira Ayuso <[email protected]>
netfilter: nf_tables: GC transaction race with netns dismantle

Pablo Neira Ayuso <[email protected]>
netfilter: nf_tables: fix GC transaction races with netns and netlink event exit path

Florian Westphal <[email protected]>
netfilter: nf_tables: fix kdoc warnings after gc rework

Pablo Neira Ayuso <[email protected]>
netfilter: nf_tables: remove busy mark and gc batch API

Pablo Neira Ayuso <[email protected]>
netfilter: nft_set_hash: mark set element as dead when deleting from packet path

Pablo Neira Ayuso <[email protected]>
netfilter: nf_tables: adapt set backend to use GC transaction API

Pablo Neira Ayuso <[email protected]>
netfilter: nf_tables: GC transaction API to avoid race with control plane

Florian Westphal <[email protected]>
netfilter: nf_tables: make validation state per table

Song Liu <[email protected]>
x86/purgatory: Remove LTO flags

Kirill A. Shutemov <[email protected]>
x86/boot/compressed: Reserve more memory for page tables

Jinjie Ruan <[email protected]>
scsi: lpfc: Fix the NULL vs IS_ERR() bug for debugfs_create_file()

Masami Hiramatsu (Google) <[email protected]>
selftests: tracing: Fix to unmount tracefs for recovering environment

Jinjie Ruan <[email protected]>
scsi: qla2xxx: Fix NULL vs IS_ERR() bug for debugfs_create_dir()

Jinjie Ruan <[email protected]>
drm: gm12u320: Fix the timeout usage for usb_bulk_msg()

Anand Jain <[email protected]>
btrfs: compare the correct fsid/metadata_uuid in btrfs_validate_super

Anand Jain <[email protected]>
btrfs: add a helper to read the superblock metadata_uuid

Josef Bacik <[email protected]>
btrfs: move btrfs_pinned_by_swapfile prototype into volumes.h

Namhyung Kim <[email protected]>
perf test shell stat_bpf_counters: Fix test on Intel

James Clark <[email protected]>
perf test: Remove bash construct from stat_bpf_counters.sh test

Namhyung Kim <[email protected]>
perf build: Update build rule for generated files

Ian Rogers <[email protected]>
perf jevents: Switch build to use jevents.py

Tiezhu Yang <[email protected]>
MIPS: Use "grep -E" instead of "egrep"

William Zhang <[email protected]>
mtd: rawnand: brcmnand: Fix ECC level field setting for v7.2 controller

Florian Fainelli <[email protected]>
mtd: rawnand: brcmnand: Allow SoC to provide I/O operations

Zhang Yi <[email protected]>
jbd2: correct the end of the journal recovery scan range

Jan Kara <[email protected]>
jbd2: rename jbd_debug() to jbd2_debug()

Ritesh Harjani <[email protected]>
jbd2: kill t_handle_lock transaction spinlock

Ritesh Harjani <[email protected]>
jbd2: fix use-after-free of transaction_t race

Ritesh Harjani <[email protected]>
jbd2: refactor wait logic for transaction updates into a common function

John Ogness <[email protected]>
printk: Consolidate console deferred printing

Rob Clark <[email protected]>
interconnect: Fix locking for runpm vs reclaim

Zhen Lei <[email protected]>
kobject: Add sanity check for kset->kobj.ktype in kset_register()

Sakari Ailus <[email protected]>
media: pci: ipu3-cio2: Initialise timing struct to avoid a compiler warning

Xu Yang <[email protected]>
usb: ehci: add workaround for chipidea PORTSC.PEC bug

Christophe Leroy <[email protected]>
serial: cpm_uart: Avoid suspicious locking

Konstantin Shelekhin <[email protected]>
scsi: target: iscsi: Fix buffer overflow in lio_target_nacl_info_show()

Chenyuan Mi <[email protected]>
tools: iio: iio_generic_buffer: Fix some integer type and calculation

Ma Ke <[email protected]>
usb: gadget: fsl_qe_udc: validate endpoint index for ch9 udc

Xiaolei Wang <[email protected]>
usb: cdns3: Put the cdns set active part outside the spin lock

Hans Verkuil <[email protected]>
media: pci: cx23885: replace BUG with error return

Hans Verkuil <[email protected]>
media: tuners: qt1010: replace BUG_ON with a regular error

Zhang Shurong <[email protected]>
media: dvb-usb-v2: gl861: Fix null-ptr-deref in gl861_i2c_master_xfer

Zhang Shurong <[email protected]>
media: az6007: Fix null-ptr-deref in az6007_i2c_xfer()

Zhang Shurong <[email protected]>
media: anysee: fix null-ptr-deref in anysee_master_xfer

Zhang Shurong <[email protected]>
media: af9005: Fix null-ptr-deref in af9005_i2c_xfer

Zhang Shurong <[email protected]>
media: dw2102: Fix null-ptr-deref in dw2102_i2c_transfer()

Zhang Shurong <[email protected]>
media: dvb-usb-v2: af9035: Fix null-ptr-deref in af9035_i2c_master_xfer

Yong-Xuan Wang <[email protected]>
PCI: fu740: Set the number of MSI vectors

ruanjinjie <[email protected]>
powerpc/pseries: fix possible memory leak in ibmebus_bus_init()

Mårten Lindahl <[email protected]>
ARM: 9317/1: kexec: Make smp stop calls asynchronous

Liu Shixin via Jfs-discussion <[email protected]>
jfs: fix invalid free of JFS_IP(ipimap)->i_imap in diUnmount

Andrew Kanner <[email protected]>
fs/jfs: prevent double-free in dbUnmount() after failed jfs_remount()

Georg Ottinger <[email protected]>
ext2: fix datatype of block number in ext2_xattr_set2()

Zhang Shurong <[email protected]>
md: raid1: fix potential OOB in raid1_remove_disk()

Tony Lindgren <[email protected]>
bus: ti-sysc: Configure uart quirks for k3 SoC

Tuo Li <[email protected]>
drm/exynos: fix a possible null-pointer dereference due to data race in exynos_drm_crtc_atomic_disable()

Leo Chen <[email protected]>
drm/amd/display: Blocking invalid 420 modes on HDMI TMDS for DCN31

Pierre-Louis Bossart <[email protected]>
ALSA: hda: intel-dsp-cfg: add LunarLake support

Rong Tao <[email protected]>
samples/hw_breakpoint: Fix kernel BUG 'invalid opcode: 0000'

Krzysztof Kozlowski <[email protected]>
arm64: dts: qcom: sm8250-edo: correct ramoops pmsg-size

Krzysztof Kozlowski <[email protected]>
arm64: dts: qcom: sm8150-kumano: correct ramoops pmsg-size

Krzysztof Kozlowski <[email protected]>
arm64: dts: qcom: sm6125-pdx201: correct ramoops pmsg-size

Marek Vasut <[email protected]>
drm/bridge: tc358762: Instruct DSI host to generate HSE packets

Hao Luo <[email protected]>
libbpf: Free btf_vmlinux when closing bpf_object

Johannes Berg <[email protected]>
wifi: mac80211_hwsim: drop short frames

GONG, Ruiqi <[email protected]>
netfilter: ebtables: fix fortify warnings in size_entry_mwt()

Johannes Berg <[email protected]>
wifi: mac80211: check S1G action frame size

GONG, Ruiqi <[email protected]>
alx: fix OOB-read compiler warning

Giulio Benetti <[email protected]>
mmc: sdhci-esdhc-imx: improve ESDHC_FLAG_ERR010450

Alexander Steffen <[email protected]>
tpm_tis: Resend command to recover from data transfer errors

Mark O'Donovan <[email protected]>
crypto: lib/mpi - avoid null pointer deref in mpi_cmp_ui()

Dmitry Antipov <[email protected]>
wifi: wil6210: fix fortify warnings

Dmitry Antipov <[email protected]>
wifi: mwifiex: fix fortify warning

Dongliang Mu <[email protected]>
wifi: ath9k: fix printk specifier

Dmitry Antipov <[email protected]>
wifi: ath9k: fix fortify warnings

Azeem Shaikh <[email protected]>
crypto: lrw,xts - Replace strlcpy with strscpy

Jiri Pirko <[email protected]>
devlink: remove reload failed checks in params get/set callbacks

Mario Limonciello <[email protected]>
ACPI: x86: s2idle: Catch multiple ACPI_TYPE_PACKAGE objects

Tomislav Novak <[email protected]>
hw_breakpoint: fix single-stepping when using bpf_overflow_handler

Xu Yang <[email protected]>
perf/imx_ddr: speed up overflow frequency of cycle

Yicong Yang <[email protected]>
perf/smmuv3: Enable HiSilicon Erratum 162001900 quirk for HIP08/09

Jiri Slaby (SUSE) <[email protected]>
ACPI: video: Add backlight=native DMI quirk for Lenovo Ideapad Z470

Paul E. McKenney <[email protected]>
scftorture: Forgive memory-allocation failure if KASAN

Zqiang <[email protected]>
rcuscale: Move rcu_scale_writer() schedule_timeout_uninterruptible() to _idle()

Wander Lairson Costa <[email protected]>
kernel/fork: beware of __put_task_struct() calling context

Abhishek Mainkar <[email protected]>
ACPICA: Add AML_NO_OPERAND_RESOLVE flag to Timer

Will Shiu <[email protected]>
locks: fix KASAN: use-after-free in trace_event_raw_event_filelock_lock

Qu Wenruo <[email protected]>
btrfs: output extra debug info if we failed to find an inline backref

Fedor Pchelkin <[email protected]>
autofs: fix memory leak of waitqueues in autofs_catatonic_mode


-------------

Diffstat:

Documentation/arm64/silicon-errata.rst | 3 +
Makefile | 4 +-
arch/arm/kernel/hw_breakpoint.c | 8 +-
arch/arm/kernel/machine_kexec.c | 14 +-
.../dts/qcom/sm6125-sony-xperia-seine-pdx201.dts | 2 +-
.../boot/dts/qcom/sm8150-sony-xperia-kumano.dtsi | 2 +-
.../boot/dts/qcom/sm8250-sony-xperia-edo.dtsi | 2 +-
arch/arm64/kernel/hw_breakpoint.c | 4 +-
arch/mips/Makefile | 2 +-
arch/mips/vdso/Makefile | 2 +-
arch/powerpc/platforms/pseries/ibmebus.c | 1 +
arch/x86/boot/compressed/ident_map_64.c | 8 +
arch/x86/include/asm/boot.h | 45 +-
arch/x86/purgatory/Makefile | 4 +
crypto/lrw.c | 6 +-
crypto/xts.c | 6 +-
drivers/acpi/acpica/psopcode.c | 2 +-
drivers/acpi/arm64/iort.c | 5 +-
drivers/acpi/video_detect.c | 9 +
drivers/acpi/x86/s2idle.c | 6 +
drivers/ata/ahci.c | 9 +
drivers/ata/libata-sata.c | 19 +-
drivers/bus/ti-sysc.c | 2 +
drivers/char/tpm/tpm_tis_core.c | 15 +-
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 18 +-
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 21 +-
.../amd/display/dc/dml/dcn31/display_mode_vba_31.c | 4 +-
drivers/gpu/drm/bridge/tc358762.c | 2 +-
drivers/gpu/drm/exynos/exynos_drm_crtc.c | 5 +-
drivers/gpu/drm/tiny/gm12u320.c | 10 +-
drivers/i2c/busses/i2c-aspeed.c | 7 +-
drivers/interconnect/core.c | 8 +-
drivers/md/raid1.c | 3 +
drivers/media/pci/cx23885/cx23885-video.c | 2 +-
drivers/media/pci/intel/ipu3/ipu3-cio2-main.c | 2 +-
drivers/media/tuners/qt1010.c | 11 +-
drivers/media/usb/dvb-usb-v2/af9035.c | 14 +-
drivers/media/usb/dvb-usb-v2/anysee.c | 2 +-
drivers/media/usb/dvb-usb-v2/az6007.c | 8 +
drivers/media/usb/dvb-usb-v2/gl861.c | 2 +-
drivers/media/usb/dvb-usb/af9005.c | 5 +
drivers/media/usb/dvb-usb/dw2102.c | 24 +
drivers/mmc/host/sdhci-esdhc-imx.c | 7 +-
drivers/mtd/nand/raw/brcmnand/brcmnand.c | 102 ++-
drivers/mtd/nand/raw/brcmnand/brcmnand.h | 29 +
drivers/net/ethernet/atheros/alx/ethtool.c | 5 +-
drivers/net/wireless/ath/ath9k/ahb.c | 4 +-
drivers/net/wireless/ath/ath9k/mac.h | 6 +-
drivers/net/wireless/ath/ath9k/pci.c | 4 +-
drivers/net/wireless/ath/ath9k/xmit.c | 4 +-
drivers/net/wireless/ath/wil6210/txrx.c | 2 +-
drivers/net/wireless/ath/wil6210/txrx.h | 6 +-
drivers/net/wireless/ath/wil6210/txrx_edma.c | 2 +-
drivers/net/wireless/ath/wil6210/txrx_edma.h | 6 +-
drivers/net/wireless/mac80211_hwsim.c | 7 +-
drivers/net/wireless/marvell/mwifiex/tdls.c | 9 +-
drivers/pci/controller/dwc/pcie-fu740.c | 1 +
drivers/perf/arm_smmuv3_pmu.c | 46 +-
drivers/perf/fsl_imx8_ddr_perf.c | 21 +
drivers/scsi/lpfc/lpfc_debugfs.c | 14 +-
drivers/scsi/megaraid/megaraid_sas.h | 2 +-
drivers/scsi/megaraid/megaraid_sas_base.c | 21 +-
drivers/scsi/pm8001/pm8001_init.c | 51 +-
drivers/scsi/qla2xxx/qla_dfs.c | 6 +-
drivers/target/iscsi/iscsi_target_configfs.c | 54 +-
drivers/tty/serial/cpm_uart/cpm_uart_core.c | 13 +-
drivers/usb/cdns3/cdns3-plat.c | 3 +-
drivers/usb/cdns3/cdnsp-pci.c | 3 +-
drivers/usb/cdns3/core.c | 15 +-
drivers/usb/cdns3/core.h | 7 +-
drivers/usb/gadget/udc/fsl_qe_udc.c | 2 +
drivers/usb/host/ehci-hcd.c | 8 +-
drivers/usb/host/ehci-hub.c | 10 +-
drivers/usb/host/ehci.h | 10 +
fs/attr.c | 20 +-
fs/autofs/waitq.c | 3 +-
fs/btrfs/ctree.h | 2 -
fs/btrfs/delayed-inode.c | 19 +-
fs/btrfs/disk-io.c | 8 +-
fs/btrfs/extent-tree.c | 5 +
fs/btrfs/ioctl.c | 8 +-
fs/btrfs/volumes.c | 8 +
fs/btrfs/volumes.h | 3 +
fs/ext2/xattr.c | 4 +-
fs/ext4/namei.c | 26 +-
fs/jbd2/checkpoint.c | 6 +-
fs/jbd2/commit.c | 49 +-
fs/jbd2/journal.c | 34 +-
fs/jbd2/recovery.c | 42 +-
fs/jbd2/revoke.c | 8 +-
fs/jbd2/transaction.c | 114 +--
fs/jfs/jfs_dmap.c | 1 +
fs/jfs/jfs_imap.c | 1 +
fs/locks.c | 2 +-
fs/nfsd/nfs4proc.c | 4 +-
fs/overlayfs/copy_up.c | 3 +-
fs/overlayfs/file.c | 9 +-
fs/tracefs/inode.c | 3 +
include/linux/acpi_iort.h | 1 +
include/linux/jbd2.h | 11 +-
include/linux/libata.h | 4 +
include/linux/perf_event.h | 22 +-
include/linux/sched/task.h | 28 +-
include/net/netfilter/nf_tables.h | 124 ++--
include/uapi/linux/netfilter_bridge/ebtables.h | 14 +-
kernel/fork.c | 8 +
kernel/printk/printk.c | 35 +-
kernel/printk/printk_safe.c | 9 +-
kernel/rcu/rcuscale.c | 2 +-
kernel/scftorture.c | 6 +-
kernel/trace/trace.c | 41 +-
lib/kobject.c | 5 +
lib/mpi/mpi-cmp.c | 8 +-
net/bridge/netfilter/ebtables.c | 3 +-
net/core/devlink.c | 4 +-
net/mac80211/rx.c | 4 +
net/netfilter/nf_tables_api.c | 374 +++++++---
net/netfilter/nft_set_hash.c | 83 ++-
net/netfilter/nft_set_pipapo.c | 50 +-
net/netfilter/nft_set_rbtree.c | 144 ++--
net/sched/Kconfig | 28 -
net/sched/Makefile | 2 -
net/sched/cls_rsvp.c | 24 -
net/sched/cls_rsvp.h | 776 ---------------------
net/sched/cls_rsvp6.c | 24 -
samples/hw_breakpoint/data_breakpoint.c | 4 +-
sound/hda/intel-dsp-config.c | 8 +
tools/build/Makefile.build | 10 +
tools/iio/iio_generic_buffer.c | 17 +-
tools/lib/bpf/libbpf.c | 1 +
tools/perf/Makefile.config | 19 +
tools/perf/Makefile.perf | 1 +
tools/perf/pmu-events/Build | 19 +-
tools/perf/pmu-events/empty-pmu-events.c | 158 +++++
tools/perf/tests/shell/stat_bpf_counters.sh | 6 +-
tools/testing/selftests/ftrace/ftracetest | 8 +
136 files changed, 1680 insertions(+), 1595 deletions(-)



2023-09-20 20:48:19

by Florian Fainelli

[permalink] [raw]
Subject: Re: [PATCH 5.15 000/110] 5.15.133-rc1 review

On 9/20/23 04:30, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 5.15.133 release.
> There are 110 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 Fri, 22 Sep 2023 11:28: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.15.133-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

Same thing as with 5.10 on ARM, ARM64 and MIPS:

CC
/local/users/fainelli/buildroot/output/bmips/build/linux-custom/tools/perf/pmu-events/pmu-events.o
fixdep: error opening depfile:
/local/users/fainelli/buildroot/output/bmips/build/linux-custom/tools/perf/pmu-events/.pmu-events.o.d:
No such file or directory
make[5]: *** [pmu-events/Build:33:
/local/users/fainelli/buildroot/output/bmips/build/linux-custom/tools/perf/pmu-events/pmu-events.o]
Error 2
make[4]: *** [Makefile.perf:668:
/local/users/fainelli/buildroot/output/bmips/build/linux-custom/tools/perf/pmu-events/pmu-events-in.o]
Error 2
make[3]: *** [Makefile.perf:238: sub-make] Error 2
make[2]: *** [Makefile:70: all] Error 2
make[1]: *** [package/pkg-generic.mk:294:
/local/users/fainelli/buildroot/output/bmips/build/linux-tools/.stamp_built]
Error 2
make: *** [Makefile:27: _all] Error 2

reverting 95466975f143df7423bbf4905348c7b6260f4d29 ("perf build: Update
build rule for generated files") and
12ff96780ebd93d1aacb396994e3a32b50dccecf ("perf jevents: Switch build to
use jevents.py") gets us going again.
--
Florian

2023-09-20 21:26:26

by Greg Kroah-Hartman

[permalink] [raw]
Subject: [PATCH 5.15 001/110] autofs: fix memory leak of waitqueues in autofs_catatonic_mode

5.15-stable review patch. If anyone has any objections, please let me know.

------------------

From: Fedor Pchelkin <[email protected]>

[ Upstream commit ccbe77f7e45dfb4420f7f531b650c00c6e9c7507 ]

Syzkaller reports a memory leak:

BUG: memory leak
unreferenced object 0xffff88810b279e00 (size 96):
comm "syz-executor399", pid 3631, jiffies 4294964921 (age 23.870s)
hex dump (first 32 bytes):
00 00 00 00 00 00 00 00 08 9e 27 0b 81 88 ff ff ..........'.....
08 9e 27 0b 81 88 ff ff 00 00 00 00 00 00 00 00 ..'.............
backtrace:
[<ffffffff814cfc90>] kmalloc_trace+0x20/0x90 mm/slab_common.c:1046
[<ffffffff81bb75ca>] kmalloc include/linux/slab.h:576 [inline]
[<ffffffff81bb75ca>] autofs_wait+0x3fa/0x9a0 fs/autofs/waitq.c:378
[<ffffffff81bb88a7>] autofs_do_expire_multi+0xa7/0x3e0 fs/autofs/expire.c:593
[<ffffffff81bb8c33>] autofs_expire_multi+0x53/0x80 fs/autofs/expire.c:619
[<ffffffff81bb6972>] autofs_root_ioctl_unlocked+0x322/0x3b0 fs/autofs/root.c:897
[<ffffffff81bb6a95>] autofs_root_ioctl+0x25/0x30 fs/autofs/root.c:910
[<ffffffff81602a9c>] vfs_ioctl fs/ioctl.c:51 [inline]
[<ffffffff81602a9c>] __do_sys_ioctl fs/ioctl.c:870 [inline]
[<ffffffff81602a9c>] __se_sys_ioctl fs/ioctl.c:856 [inline]
[<ffffffff81602a9c>] __x64_sys_ioctl+0xfc/0x140 fs/ioctl.c:856
[<ffffffff84608225>] do_syscall_x64 arch/x86/entry/common.c:50 [inline]
[<ffffffff84608225>] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
[<ffffffff84800087>] entry_SYSCALL_64_after_hwframe+0x63/0xcd

autofs_wait_queue structs should be freed if their wait_ctr becomes zero.
Otherwise they will be lost.

In this case an AUTOFS_IOC_EXPIRE_MULTI ioctl is done, then a new
waitqueue struct is allocated in autofs_wait(), its initial wait_ctr
equals 2. After that wait_event_killable() is interrupted (it returns
-ERESTARTSYS), so that 'wq->name.name == NULL' condition may be not
satisfied. Actually, this condition can be satisfied when
autofs_wait_release() or autofs_catatonic_mode() is called and, what is
also important, wait_ctr is decremented in those places. Upon the exit of
autofs_wait(), wait_ctr is decremented to 1. Then the unmounting process
begins: kill_sb calls autofs_catatonic_mode(), which should have freed the
waitqueues, but it only decrements its usage counter to zero which is not
a correct behaviour.

edit:imk
This description is of course not correct. The umount performed as a result
of an expire is a umount of a mount that has been automounted, it's not the
autofs mount itself. They happen independently, usually after everything
mounted within the autofs file system has been expired away. If everything
hasn't been expired away the automount daemon can still exit leaving mounts
in place. But expires done in both cases will result in a notification that
calls autofs_wait_release() with a result status. The problem case is the
summary execution of of the automount daemon. In this case any waiting
processes won't be woken up until either they are terminated or the mount
is umounted.
end edit: imk

So in catatonic mode we should free waitqueues which counter becomes zero.

edit: imk
Initially I was concerned that the calling of autofs_wait_release() and
autofs_catatonic_mode() was not mutually exclusive but that can't be the
case (obviously) because the queue entry (or entries) is removed from the
list when either of these two functions are called. Consequently the wait
entry will be freed by only one of these functions or by the woken process
in autofs_wait() depending on the order of the calls.
end edit: imk

Reported-by: [email protected]
Suggested-by: Takeshi Misawa <[email protected]>
Signed-off-by: Fedor Pchelkin <[email protected]>
Signed-off-by: Alexey Khoroshilov <[email protected]>
Signed-off-by: Ian Kent <[email protected]>
Cc: Matthew Wilcox <[email protected]>
Cc: Andrei Vagin <[email protected]>
Cc: [email protected]
Cc: [email protected]
Message-Id: <[email protected]>
Signed-off-by: Christian Brauner <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
---
fs/autofs/waitq.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/fs/autofs/waitq.c b/fs/autofs/waitq.c
index 54c1f8b8b0757..efdc76732faed 100644
--- a/fs/autofs/waitq.c
+++ b/fs/autofs/waitq.c
@@ -32,8 +32,9 @@ void autofs_catatonic_mode(struct autofs_sb_info *sbi)
wq->status = -ENOENT; /* Magic is gone - report failure */
kfree(wq->name.name - wq->offset);
wq->name.name = NULL;
- wq->wait_ctr--;
wake_up_interruptible(&wq->queue);
+ if (!--wq->wait_ctr)
+ kfree(wq);
wq = nwq;
}
fput(sbi->pipe); /* Close the pipe */
--
2.40.1



2023-09-21 00:03:03

by Shuah Khan

[permalink] [raw]
Subject: Re: [PATCH 5.15 000/110] 5.15.133-rc1 review

On 9/20/23 05:30, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 5.15.133 release.
> There are 110 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 Fri, 22 Sep 2023 11:28: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.15.133-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
>

Compiled and booted on my test system. No dmesg regressions.

Tested-by: Shuah Khan <[email protected]>

thanks,
-- Shuah

2023-09-21 23:39:52

by Ron Economos

[permalink] [raw]
Subject: Re: [PATCH 5.15 000/110] 5.15.133-rc1 review

On 9/20/23 4:30 AM, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 5.15.133 release.
> There are 110 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 Fri, 22 Sep 2023 11:28: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.15.133-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

Built and booted successfully on RISC-V RV64 (HiFive Unmatched).

Tested-by: Ron Economos <[email protected]>

2023-09-22 01:19:44

by Guenter Roeck

[permalink] [raw]
Subject: Re: [PATCH 5.15 000/110] 5.15.133-rc1 review

On 9/20/23 04:30, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 5.15.133 release.
> There are 110 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 Fri, 22 Sep 2023 11:28:09 +0000.
> Anything received after that time might be too late.
>

Building powerpc:ppc32_allmodconfig ... failed
--------------
Error log:
drivers/usb/gadget/udc/fsl_qe_udc.c: In function 'ch9getstatus':
drivers/usb/gadget/udc/fsl_qe_udc.c:1961:17: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement]
1961 | struct qe_ep *target_ep = &udc->eps[pipe];
| ^~~~~~

This problem also affects v6.1.

Guenter

2023-09-22 03:35:15

by Naresh Kamboju

[permalink] [raw]
Subject: Re: [PATCH 5.15 000/110] 5.15.133-rc1 review

On Wed, 20 Sept 2023 at 14:44, Greg Kroah-Hartman
<[email protected]> wrote:
>
> This is the start of the stable review cycle for the 5.15.133 release.
> There are 110 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 Fri, 22 Sep 2023 11:28: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.15.133-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


Results from Linaro’s test farm.
No regressions on arm64, arm, x86_64, and i386.

Tested-by: Linux Kernel Functional Testing <[email protected]>

## Build
* kernel: 5.15.133-rc1
* git: https://gitlab.com/Linaro/lkft/mirrors/stable/linux-stable-rc
* git branch: linux-5.15.y
* git commit: 634d2466eedd8795e5251256807f08190998f237
* git describe: v5.15.132-111-g634d2466eedd
* test details:
https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-5.15.y/build/v5.15.132-111-g634d2466eedd

## Test Regressions (compared to v5.15.132)

## Metric Regressions (compared to v5.15.132)

## Test Fixes (compared to v5.15.132)

## Metric Fixes (compared to v5.15.132)

## Test result summary
total: 94047, pass: 74238, fail: 2610, skip: 17099, xfail: 100

## Build Summary
* arc: 5 total, 5 passed, 0 failed
* arm: 117 total, 117 passed, 0 failed
* arm64: 44 total, 44 passed, 0 failed
* i386: 35 total, 34 passed, 1 failed
* mips: 27 total, 26 passed, 1 failed
* parisc: 4 total, 4 passed, 0 failed
* powerpc: 27 total, 26 passed, 1 failed
* riscv: 11 total, 11 passed, 0 failed
* s390: 12 total, 11 passed, 1 failed
* sh: 14 total, 12 passed, 2 failed
* sparc: 8 total, 8 passed, 0 failed
* x86_64: 38 total, 38 passed, 0 failed

## Test suites summary
* boot
* kselftest-android
* kselftest-arm64
* kselftest-breakpoints
* kselftest-capabilities
* kselftest-cgroup
* kselftest-clone3
* kselftest-core
* kselftest-cpu-hotplug
* kselftest-cpufreq
* kselftest-drivers-dma-buf
* kselftest-efivarfs
* kselftest-exec
* kselftest-filesystems
* kselftest-filesystems-binderfs
* kselftest-filesystems-epoll
* kselftest-firmware
* kselftest-fpu
* kselftest-ftrace
* kselftest-futex
* kselftest-gpio
* kselftest-intel_pstate
* kselftest-ipc
* kselftest-ir
* kselftest-kcmp
* kselftest-kexec
* kselftest-kvm
* kselftest-lib
* kselftest-membarrier
* kselftest-memfd
* kselftest-memory-hotplug
* kselftest-mincore
* kselftest-mount
* kselftest-mqueue
* kselftest-net
* kselftest-net-forwarding
* kselftest-net-mptcp
* kselftest-netfilter
* kselftest-nsfs
* kselftest-openat2
* kselftest-pid_namespace
* kselftest-pidfd
* kselftest-proc
* kselftest-pstore
* kselftest-ptrace
* kselftest-rseq
* kselftest-rtc
* kselftest-seccomp
* kselftest-sigaltstack
* kselftest-size
* kselftest-splice
* kselftest-static_keys
* kselftest-sync
* kselftest-sysctl
* kselftest-tc-testing
* kselftest-timens
* kselftest-tmpfs
* kselftest-tpm2
* kselftest-user
* kselftest-user_events
* kselftest-vDSO
* kselftest-vm
* kselftest-watchdog
* kselftest-x86
* kselftest-zram
* kunit
* kvm-unit-tests
* libgpiod
* log-parser-boot
* log-parser-test
* ltp-cap_bounds
* ltp-commands
* ltp-containers
* ltp-controllers
* ltp-cpuhotplug
* ltp-crypto
* ltp-cve
* ltp-dio
* ltp-fcntl-locktests
* ltp-filecaps
* ltp-fs
* ltp-fs_bind
* ltp-fs_perms_simple
* ltp-fsx
* ltp-hugetlb
* ltp-io
* ltp-ipc
* ltp-math
* ltp-mm
* ltp-nptl
* ltp-pty
* ltp-sched
* ltp-securebits
* ltp-smoke
* ltp-syscalls
* ltp-tracing
* network-basic-tests
* perf
* rcutorture
* v4l2-compliance

--
Linaro LKFT
https://lkft.linaro.org

2023-09-22 04:00:36

by Joel Fernandes

[permalink] [raw]
Subject: Re: [PATCH 5.15 000/110] 5.15.133-rc1 review

On Wed, Sep 20, 2023 at 01:30:58PM +0200, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 5.15.133 release.
> There are 110 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 Fri, 22 Sep 2023 11:28: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.15.133-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.

For RCU,
Tested-by: Joel Fernandes (Google) <[email protected]>

thanks,

- Joel

>
> thanks,
>
> greg k-h
>
> -------------
> Pseudo-Shortlog of commits:
>
> Greg Kroah-Hartman <[email protected]>
> Linux 5.15.133-rc1
>
> Melissa Wen <[email protected]>
> drm/amd/display: enable cursor degamma for DCN3+ DRM legacy gamma
>
> Jamal Hadi Salim <[email protected]>
> net/sched: Retire rsvp classifier
>
> Christian K?nig <[email protected]>
> drm/amdgpu: fix amdgpu_cs_p1_user_fence
>
> Yifan Zhang <[email protected]>
> drm/amd/display: fix the white screen issue when >= 64GB DRAM
>
> Shida Zhang <[email protected]>
> ext4: fix rec_len verify error
>
> Damien Le Moal <[email protected]>
> scsi: pm8001: Setup IRQs on resume
>
> Junxiao Bi <[email protected]>
> scsi: megaraid_sas: Fix deadlock on firmware crashdump
>
> Niklas Cassel <[email protected]>
> ata: libata: disallow dev-initiated LPM transitions to unsupported states
>
> Tommy Huang <[email protected]>
> i2c: aspeed: Reset the i2c controller when timeout occurs
>
> Steven Rostedt (Google) <[email protected]>
> tracefs: Add missing lockdown check to tracefs_create_dir()
>
> Jeff Layton <[email protected]>
> nfsd: fix change_info in NFSv4 RENAME replies
>
> Steven Rostedt (Google) <[email protected]>
> tracing: Have option files inc the trace array ref count
>
> Steven Rostedt (Google) <[email protected]>
> tracing: Have current_trace inc the trace array ref count
>
> Steven Rostedt (Google) <[email protected]>
> tracing: Have tracing_max_latency inc the trace array ref count
>
> Filipe Manana <[email protected]>
> btrfs: release path before inode lookup during the ino lookup ioctl
>
> Filipe Manana <[email protected]>
> btrfs: fix lockdep splat and potential deadlock after failure running delayed items
>
> Amir Goldstein <[email protected]>
> ovl: fix incorrect fdput() on aio completion
>
> Amir Goldstein <[email protected]>
> ovl: fix failed copyup of fileattr on a symlink
>
> Christian Brauner <[email protected]>
> attr: block mode changes of symlinks
>
> Nigel Croxon <[email protected]>
> md/raid1: fix error: ISO C90 forbids mixed declarations
>
> Arnd Bergmann <[email protected]>
> samples/hw_breakpoint: fix building without module unloading
>
> Pablo Neira Ayuso <[email protected]>
> netfilter: nf_tables: GC transaction race with netns dismantle
>
> Pablo Neira Ayuso <[email protected]>
> netfilter: nf_tables: fix GC transaction races with netns and netlink event exit path
>
> Florian Westphal <[email protected]>
> netfilter: nf_tables: fix kdoc warnings after gc rework
>
> Pablo Neira Ayuso <[email protected]>
> netfilter: nf_tables: remove busy mark and gc batch API
>
> Pablo Neira Ayuso <[email protected]>
> netfilter: nft_set_hash: mark set element as dead when deleting from packet path
>
> Pablo Neira Ayuso <[email protected]>
> netfilter: nf_tables: adapt set backend to use GC transaction API
>
> Pablo Neira Ayuso <[email protected]>
> netfilter: nf_tables: GC transaction API to avoid race with control plane
>
> Florian Westphal <[email protected]>
> netfilter: nf_tables: make validation state per table
>
> Song Liu <[email protected]>
> x86/purgatory: Remove LTO flags
>
> Kirill A. Shutemov <[email protected]>
> x86/boot/compressed: Reserve more memory for page tables
>
> Jinjie Ruan <[email protected]>
> scsi: lpfc: Fix the NULL vs IS_ERR() bug for debugfs_create_file()
>
> Masami Hiramatsu (Google) <[email protected]>
> selftests: tracing: Fix to unmount tracefs for recovering environment
>
> Jinjie Ruan <[email protected]>
> scsi: qla2xxx: Fix NULL vs IS_ERR() bug for debugfs_create_dir()
>
> Jinjie Ruan <[email protected]>
> drm: gm12u320: Fix the timeout usage for usb_bulk_msg()
>
> Anand Jain <[email protected]>
> btrfs: compare the correct fsid/metadata_uuid in btrfs_validate_super
>
> Anand Jain <[email protected]>
> btrfs: add a helper to read the superblock metadata_uuid
>
> Josef Bacik <[email protected]>
> btrfs: move btrfs_pinned_by_swapfile prototype into volumes.h
>
> Namhyung Kim <[email protected]>
> perf test shell stat_bpf_counters: Fix test on Intel
>
> James Clark <[email protected]>
> perf test: Remove bash construct from stat_bpf_counters.sh test
>
> Namhyung Kim <[email protected]>
> perf build: Update build rule for generated files
>
> Ian Rogers <[email protected]>
> perf jevents: Switch build to use jevents.py
>
> Tiezhu Yang <[email protected]>
> MIPS: Use "grep -E" instead of "egrep"
>
> William Zhang <[email protected]>
> mtd: rawnand: brcmnand: Fix ECC level field setting for v7.2 controller
>
> Florian Fainelli <[email protected]>
> mtd: rawnand: brcmnand: Allow SoC to provide I/O operations
>
> Zhang Yi <[email protected]>
> jbd2: correct the end of the journal recovery scan range
>
> Jan Kara <[email protected]>
> jbd2: rename jbd_debug() to jbd2_debug()
>
> Ritesh Harjani <[email protected]>
> jbd2: kill t_handle_lock transaction spinlock
>
> Ritesh Harjani <[email protected]>
> jbd2: fix use-after-free of transaction_t race
>
> Ritesh Harjani <[email protected]>
> jbd2: refactor wait logic for transaction updates into a common function
>
> John Ogness <[email protected]>
> printk: Consolidate console deferred printing
>
> Rob Clark <[email protected]>
> interconnect: Fix locking for runpm vs reclaim
>
> Zhen Lei <[email protected]>
> kobject: Add sanity check for kset->kobj.ktype in kset_register()
>
> Sakari Ailus <[email protected]>
> media: pci: ipu3-cio2: Initialise timing struct to avoid a compiler warning
>
> Xu Yang <[email protected]>
> usb: ehci: add workaround for chipidea PORTSC.PEC bug
>
> Christophe Leroy <[email protected]>
> serial: cpm_uart: Avoid suspicious locking
>
> Konstantin Shelekhin <[email protected]>
> scsi: target: iscsi: Fix buffer overflow in lio_target_nacl_info_show()
>
> Chenyuan Mi <[email protected]>
> tools: iio: iio_generic_buffer: Fix some integer type and calculation
>
> Ma Ke <[email protected]>
> usb: gadget: fsl_qe_udc: validate endpoint index for ch9 udc
>
> Xiaolei Wang <[email protected]>
> usb: cdns3: Put the cdns set active part outside the spin lock
>
> Hans Verkuil <[email protected]>
> media: pci: cx23885: replace BUG with error return
>
> Hans Verkuil <[email protected]>
> media: tuners: qt1010: replace BUG_ON with a regular error
>
> Zhang Shurong <[email protected]>
> media: dvb-usb-v2: gl861: Fix null-ptr-deref in gl861_i2c_master_xfer
>
> Zhang Shurong <[email protected]>
> media: az6007: Fix null-ptr-deref in az6007_i2c_xfer()
>
> Zhang Shurong <[email protected]>
> media: anysee: fix null-ptr-deref in anysee_master_xfer
>
> Zhang Shurong <[email protected]>
> media: af9005: Fix null-ptr-deref in af9005_i2c_xfer
>
> Zhang Shurong <[email protected]>
> media: dw2102: Fix null-ptr-deref in dw2102_i2c_transfer()
>
> Zhang Shurong <[email protected]>
> media: dvb-usb-v2: af9035: Fix null-ptr-deref in af9035_i2c_master_xfer
>
> Yong-Xuan Wang <[email protected]>
> PCI: fu740: Set the number of MSI vectors
>
> ruanjinjie <[email protected]>
> powerpc/pseries: fix possible memory leak in ibmebus_bus_init()
>
> M?rten Lindahl <[email protected]>
> ARM: 9317/1: kexec: Make smp stop calls asynchronous
>
> Liu Shixin via Jfs-discussion <[email protected]>
> jfs: fix invalid free of JFS_IP(ipimap)->i_imap in diUnmount
>
> Andrew Kanner <[email protected]>
> fs/jfs: prevent double-free in dbUnmount() after failed jfs_remount()
>
> Georg Ottinger <[email protected]>
> ext2: fix datatype of block number in ext2_xattr_set2()
>
> Zhang Shurong <[email protected]>
> md: raid1: fix potential OOB in raid1_remove_disk()
>
> Tony Lindgren <[email protected]>
> bus: ti-sysc: Configure uart quirks for k3 SoC
>
> Tuo Li <[email protected]>
> drm/exynos: fix a possible null-pointer dereference due to data race in exynos_drm_crtc_atomic_disable()
>
> Leo Chen <[email protected]>
> drm/amd/display: Blocking invalid 420 modes on HDMI TMDS for DCN31
>
> Pierre-Louis Bossart <[email protected]>
> ALSA: hda: intel-dsp-cfg: add LunarLake support
>
> Rong Tao <[email protected]>
> samples/hw_breakpoint: Fix kernel BUG 'invalid opcode: 0000'
>
> Krzysztof Kozlowski <[email protected]>
> arm64: dts: qcom: sm8250-edo: correct ramoops pmsg-size
>
> Krzysztof Kozlowski <[email protected]>
> arm64: dts: qcom: sm8150-kumano: correct ramoops pmsg-size
>
> Krzysztof Kozlowski <[email protected]>
> arm64: dts: qcom: sm6125-pdx201: correct ramoops pmsg-size
>
> Marek Vasut <[email protected]>
> drm/bridge: tc358762: Instruct DSI host to generate HSE packets
>
> Hao Luo <[email protected]>
> libbpf: Free btf_vmlinux when closing bpf_object
>
> Johannes Berg <[email protected]>
> wifi: mac80211_hwsim: drop short frames
>
> GONG, Ruiqi <[email protected]>
> netfilter: ebtables: fix fortify warnings in size_entry_mwt()
>
> Johannes Berg <[email protected]>
> wifi: mac80211: check S1G action frame size
>
> GONG, Ruiqi <[email protected]>
> alx: fix OOB-read compiler warning
>
> Giulio Benetti <[email protected]>
> mmc: sdhci-esdhc-imx: improve ESDHC_FLAG_ERR010450
>
> Alexander Steffen <[email protected]>
> tpm_tis: Resend command to recover from data transfer errors
>
> Mark O'Donovan <[email protected]>
> crypto: lib/mpi - avoid null pointer deref in mpi_cmp_ui()
>
> Dmitry Antipov <[email protected]>
> wifi: wil6210: fix fortify warnings
>
> Dmitry Antipov <[email protected]>
> wifi: mwifiex: fix fortify warning
>
> Dongliang Mu <[email protected]>
> wifi: ath9k: fix printk specifier
>
> Dmitry Antipov <[email protected]>
> wifi: ath9k: fix fortify warnings
>
> Azeem Shaikh <[email protected]>
> crypto: lrw,xts - Replace strlcpy with strscpy
>
> Jiri Pirko <[email protected]>
> devlink: remove reload failed checks in params get/set callbacks
>
> Mario Limonciello <[email protected]>
> ACPI: x86: s2idle: Catch multiple ACPI_TYPE_PACKAGE objects
>
> Tomislav Novak <[email protected]>
> hw_breakpoint: fix single-stepping when using bpf_overflow_handler
>
> Xu Yang <[email protected]>
> perf/imx_ddr: speed up overflow frequency of cycle
>
> Yicong Yang <[email protected]>
> perf/smmuv3: Enable HiSilicon Erratum 162001900 quirk for HIP08/09
>
> Jiri Slaby (SUSE) <[email protected]>
> ACPI: video: Add backlight=native DMI quirk for Lenovo Ideapad Z470
>
> Paul E. McKenney <[email protected]>
> scftorture: Forgive memory-allocation failure if KASAN
>
> Zqiang <[email protected]>
> rcuscale: Move rcu_scale_writer() schedule_timeout_uninterruptible() to _idle()
>
> Wander Lairson Costa <[email protected]>
> kernel/fork: beware of __put_task_struct() calling context
>
> Abhishek Mainkar <[email protected]>
> ACPICA: Add AML_NO_OPERAND_RESOLVE flag to Timer
>
> Will Shiu <[email protected]>
> locks: fix KASAN: use-after-free in trace_event_raw_event_filelock_lock
>
> Qu Wenruo <[email protected]>
> btrfs: output extra debug info if we failed to find an inline backref
>
> Fedor Pchelkin <[email protected]>
> autofs: fix memory leak of waitqueues in autofs_catatonic_mode
>
>
> -------------
>
> Diffstat:
>
> Documentation/arm64/silicon-errata.rst | 3 +
> Makefile | 4 +-
> arch/arm/kernel/hw_breakpoint.c | 8 +-
> arch/arm/kernel/machine_kexec.c | 14 +-
> .../dts/qcom/sm6125-sony-xperia-seine-pdx201.dts | 2 +-
> .../boot/dts/qcom/sm8150-sony-xperia-kumano.dtsi | 2 +-
> .../boot/dts/qcom/sm8250-sony-xperia-edo.dtsi | 2 +-
> arch/arm64/kernel/hw_breakpoint.c | 4 +-
> arch/mips/Makefile | 2 +-
> arch/mips/vdso/Makefile | 2 +-
> arch/powerpc/platforms/pseries/ibmebus.c | 1 +
> arch/x86/boot/compressed/ident_map_64.c | 8 +
> arch/x86/include/asm/boot.h | 45 +-
> arch/x86/purgatory/Makefile | 4 +
> crypto/lrw.c | 6 +-
> crypto/xts.c | 6 +-
> drivers/acpi/acpica/psopcode.c | 2 +-
> drivers/acpi/arm64/iort.c | 5 +-
> drivers/acpi/video_detect.c | 9 +
> drivers/acpi/x86/s2idle.c | 6 +
> drivers/ata/ahci.c | 9 +
> drivers/ata/libata-sata.c | 19 +-
> drivers/bus/ti-sysc.c | 2 +
> drivers/char/tpm/tpm_tis_core.c | 15 +-
> drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 18 +-
> drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 21 +-
> .../amd/display/dc/dml/dcn31/display_mode_vba_31.c | 4 +-
> drivers/gpu/drm/bridge/tc358762.c | 2 +-
> drivers/gpu/drm/exynos/exynos_drm_crtc.c | 5 +-
> drivers/gpu/drm/tiny/gm12u320.c | 10 +-
> drivers/i2c/busses/i2c-aspeed.c | 7 +-
> drivers/interconnect/core.c | 8 +-
> drivers/md/raid1.c | 3 +
> drivers/media/pci/cx23885/cx23885-video.c | 2 +-
> drivers/media/pci/intel/ipu3/ipu3-cio2-main.c | 2 +-
> drivers/media/tuners/qt1010.c | 11 +-
> drivers/media/usb/dvb-usb-v2/af9035.c | 14 +-
> drivers/media/usb/dvb-usb-v2/anysee.c | 2 +-
> drivers/media/usb/dvb-usb-v2/az6007.c | 8 +
> drivers/media/usb/dvb-usb-v2/gl861.c | 2 +-
> drivers/media/usb/dvb-usb/af9005.c | 5 +
> drivers/media/usb/dvb-usb/dw2102.c | 24 +
> drivers/mmc/host/sdhci-esdhc-imx.c | 7 +-
> drivers/mtd/nand/raw/brcmnand/brcmnand.c | 102 ++-
> drivers/mtd/nand/raw/brcmnand/brcmnand.h | 29 +
> drivers/net/ethernet/atheros/alx/ethtool.c | 5 +-
> drivers/net/wireless/ath/ath9k/ahb.c | 4 +-
> drivers/net/wireless/ath/ath9k/mac.h | 6 +-
> drivers/net/wireless/ath/ath9k/pci.c | 4 +-
> drivers/net/wireless/ath/ath9k/xmit.c | 4 +-
> drivers/net/wireless/ath/wil6210/txrx.c | 2 +-
> drivers/net/wireless/ath/wil6210/txrx.h | 6 +-
> drivers/net/wireless/ath/wil6210/txrx_edma.c | 2 +-
> drivers/net/wireless/ath/wil6210/txrx_edma.h | 6 +-
> drivers/net/wireless/mac80211_hwsim.c | 7 +-
> drivers/net/wireless/marvell/mwifiex/tdls.c | 9 +-
> drivers/pci/controller/dwc/pcie-fu740.c | 1 +
> drivers/perf/arm_smmuv3_pmu.c | 46 +-
> drivers/perf/fsl_imx8_ddr_perf.c | 21 +
> drivers/scsi/lpfc/lpfc_debugfs.c | 14 +-
> drivers/scsi/megaraid/megaraid_sas.h | 2 +-
> drivers/scsi/megaraid/megaraid_sas_base.c | 21 +-
> drivers/scsi/pm8001/pm8001_init.c | 51 +-
> drivers/scsi/qla2xxx/qla_dfs.c | 6 +-
> drivers/target/iscsi/iscsi_target_configfs.c | 54 +-
> drivers/tty/serial/cpm_uart/cpm_uart_core.c | 13 +-
> drivers/usb/cdns3/cdns3-plat.c | 3 +-
> drivers/usb/cdns3/cdnsp-pci.c | 3 +-
> drivers/usb/cdns3/core.c | 15 +-
> drivers/usb/cdns3/core.h | 7 +-
> drivers/usb/gadget/udc/fsl_qe_udc.c | 2 +
> drivers/usb/host/ehci-hcd.c | 8 +-
> drivers/usb/host/ehci-hub.c | 10 +-
> drivers/usb/host/ehci.h | 10 +
> fs/attr.c | 20 +-
> fs/autofs/waitq.c | 3 +-
> fs/btrfs/ctree.h | 2 -
> fs/btrfs/delayed-inode.c | 19 +-
> fs/btrfs/disk-io.c | 8 +-
> fs/btrfs/extent-tree.c | 5 +
> fs/btrfs/ioctl.c | 8 +-
> fs/btrfs/volumes.c | 8 +
> fs/btrfs/volumes.h | 3 +
> fs/ext2/xattr.c | 4 +-
> fs/ext4/namei.c | 26 +-
> fs/jbd2/checkpoint.c | 6 +-
> fs/jbd2/commit.c | 49 +-
> fs/jbd2/journal.c | 34 +-
> fs/jbd2/recovery.c | 42 +-
> fs/jbd2/revoke.c | 8 +-
> fs/jbd2/transaction.c | 114 +--
> fs/jfs/jfs_dmap.c | 1 +
> fs/jfs/jfs_imap.c | 1 +
> fs/locks.c | 2 +-
> fs/nfsd/nfs4proc.c | 4 +-
> fs/overlayfs/copy_up.c | 3 +-
> fs/overlayfs/file.c | 9 +-
> fs/tracefs/inode.c | 3 +
> include/linux/acpi_iort.h | 1 +
> include/linux/jbd2.h | 11 +-
> include/linux/libata.h | 4 +
> include/linux/perf_event.h | 22 +-
> include/linux/sched/task.h | 28 +-
> include/net/netfilter/nf_tables.h | 124 ++--
> include/uapi/linux/netfilter_bridge/ebtables.h | 14 +-
> kernel/fork.c | 8 +
> kernel/printk/printk.c | 35 +-
> kernel/printk/printk_safe.c | 9 +-
> kernel/rcu/rcuscale.c | 2 +-
> kernel/scftorture.c | 6 +-
> kernel/trace/trace.c | 41 +-
> lib/kobject.c | 5 +
> lib/mpi/mpi-cmp.c | 8 +-
> net/bridge/netfilter/ebtables.c | 3 +-
> net/core/devlink.c | 4 +-
> net/mac80211/rx.c | 4 +
> net/netfilter/nf_tables_api.c | 374 +++++++---
> net/netfilter/nft_set_hash.c | 83 ++-
> net/netfilter/nft_set_pipapo.c | 50 +-
> net/netfilter/nft_set_rbtree.c | 144 ++--
> net/sched/Kconfig | 28 -
> net/sched/Makefile | 2 -
> net/sched/cls_rsvp.c | 24 -
> net/sched/cls_rsvp.h | 776 ---------------------
> net/sched/cls_rsvp6.c | 24 -
> samples/hw_breakpoint/data_breakpoint.c | 4 +-
> sound/hda/intel-dsp-config.c | 8 +
> tools/build/Makefile.build | 10 +
> tools/iio/iio_generic_buffer.c | 17 +-
> tools/lib/bpf/libbpf.c | 1 +
> tools/perf/Makefile.config | 19 +
> tools/perf/Makefile.perf | 1 +
> tools/perf/pmu-events/Build | 19 +-
> tools/perf/pmu-events/empty-pmu-events.c | 158 +++++
> tools/perf/tests/shell/stat_bpf_counters.sh | 6 +-
> tools/testing/selftests/ftrace/ftracetest | 8 +
> 136 files changed, 1680 insertions(+), 1595 deletions(-)
>
>

2023-09-22 13:15:23

by Guenter Roeck

[permalink] [raw]
Subject: Re: [PATCH 5.15 000/110] 5.15.133-rc1 review

On Wed, Sep 20, 2023 at 01:30:58PM +0200, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 5.15.133 release.
> There are 110 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 Fri, 22 Sep 2023 11:28:09 +0000.
> Anything received after that time might be too late.
>

Build results:
total: 160 pass: 157 fail: 3
Failed builds:
i386:tools/perf
powerpc:ppc32_allmodconfig
x86_64:tools/perf
Qemu test results:
total: 509 pass: 509 fail: 0

perf:

gcc-10: fatal error: no input files

same as the problem in 5.10.y.

powerpc:ppc32_allmodconfig:

Building powerpc:ppc32_allmodconfig ... failed
--------------
Error log:
drivers/usb/gadget/udc/fsl_qe_udc.c: In function 'ch9getstatus':
drivers/usb/gadget/udc/fsl_qe_udc.c:1961:17: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement]
1961 | struct qe_ep *target_ep = &udc->eps[pipe];

Guenter

2023-09-22 14:33:04

by Jon Hunter

[permalink] [raw]
Subject: Re: [PATCH 5.15 000/110] 5.15.133-rc1 review

Hi Greg,

On 20/09/2023 12:30, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 5.15.133 release.
> There are 110 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 Fri, 22 Sep 2023 11:28: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.15.133-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

...

> Rob Clark <[email protected]>
> interconnect: Fix locking for runpm vs reclaim


I am seeing several boot failures for ARM 32-bit Tegra devices and
bisect is pointing to the above commit. Reverting this does fix the problem.

Test results for stable-v5.15:
11 builds: 11 pass, 0 fail
34 boots: 28 pass, 6 fail
78 tests: 78 pass, 0 fail

Linux version: 5.15.133-rc1-g634d2466eedd
Boards tested: tegra124-jetson-tk1, tegra186-p2771-0000,
tegra194-p2972-0000, tegra194-p3509-0000+p3668-0000,
tegra20-ventana, tegra210-p2371-2180,
tegra210-p3450-0000, tegra30-cardhu-a04

Boot failures: tegra124-jetson-tk1, tegra20-ventana,
tegra30-cardhu-a04

Jon

--
nvpublic

2023-09-23 09:26:00

by Greg Kroah-Hartman

[permalink] [raw]
Subject: Re: [PATCH 5.15 000/110] 5.15.133-rc1 review

On Wed, Sep 20, 2023 at 11:47:17AM -0700, Florian Fainelli wrote:
> On 9/20/23 04:30, Greg Kroah-Hartman wrote:
> > This is the start of the stable review cycle for the 5.15.133 release.
> > There are 110 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 Fri, 22 Sep 2023 11:28: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.15.133-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
>
> Same thing as with 5.10 on ARM, ARM64 and MIPS:
>
> CC /local/users/fainelli/buildroot/output/bmips/build/linux-custom/tools/perf/pmu-events/pmu-events.o
> fixdep: error opening depfile: /local/users/fainelli/buildroot/output/bmips/build/linux-custom/tools/perf/pmu-events/.pmu-events.o.d:
> No such file or directory
> make[5]: *** [pmu-events/Build:33: /local/users/fainelli/buildroot/output/bmips/build/linux-custom/tools/perf/pmu-events/pmu-events.o]
> Error 2
> make[4]: *** [Makefile.perf:668: /local/users/fainelli/buildroot/output/bmips/build/linux-custom/tools/perf/pmu-events/pmu-events-in.o]
> Error 2
> make[3]: *** [Makefile.perf:238: sub-make] Error 2
> make[2]: *** [Makefile:70: all] Error 2
> make[1]: *** [package/pkg-generic.mk:294:
> /local/users/fainelli/buildroot/output/bmips/build/linux-tools/.stamp_built]
> Error 2
> make: *** [Makefile:27: _all] Error 2
>
> reverting 95466975f143df7423bbf4905348c7b6260f4d29 ("perf build: Update
> build rule for generated files") and
> 12ff96780ebd93d1aacb396994e3a32b50dccecf ("perf jevents: Switch build to use
> jevents.py") gets us going again.

Now dropped from all queues, thanks!

greg k-h