This is the start of the stable review cycle for the 4.14.331 release. There are 57 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, 26 Nov 2023 17:19:17 +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/v4.x/stable-review/patch-4.14.331-rc... or in the git tree and branch at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-4.14.y and the diffstat can be found below.
thanks,
greg k-h
------------- Pseudo-Shortlog of commits:
Greg Kroah-Hartman gregkh@linuxfoundation.org Linux 4.14.331-rc1
Eric Dumazet edumazet@google.com net: sched: fix race condition in qdisc_graft()
Dongli Zhang dongli.zhang@oracle.com scsi: virtio_scsi: limit number of hw queues by nr_cpu_ids
Kemeng Shi shikemeng@huaweicloud.com ext4: remove gdb backup copy for meta bg in setup_new_flex_group_blocks
Kemeng Shi shikemeng@huaweicloud.com ext4: correct return value of ext4_convert_meta_bg
Kemeng Shi shikemeng@huaweicloud.com ext4: correct offset of gdb backup in non meta_bg group to update_backups
Max Kellermann max.kellermann@ionos.com ext4: apply umask if ACL support is disabled
Vikash Garodia quic_vgarodia@quicinc.com media: venus: hfi: fix the check to handle session buffer requirement
Sean Young sean@mess.org media: sharp: fix sharp encoding
Heiner Kallweit hkallweit1@gmail.com i2c: i801: fix potential race in i801_block_transaction_byte_by_byte
Alexander Sverdlin alexander.sverdlin@siemens.com net: dsa: lan9303: consequently nested-lock physical MDIO
Takashi Iwai tiwai@suse.de ALSA: info: Fix potential deadlock at disconnection
Helge Deller deller@gmx.de parisc/power: Fix power soft-off when running on qemu
Helge Deller deller@gmx.de parisc/pgtable: Do not drop upper 5 address bits of physical address
Helge Deller deller@gmx.de parisc: Prevent booting 64-bit kernels on PA1.x machines
Heiko Carstens hca@linux.ibm.com s390/cmma: fix handling of swapper_pg_dir and invalid_pg_dir
Heiko Carstens hca@linux.ibm.com s390/cmma: fix initial kernel address space page table walk
Sanjuán García, Jorge Jorge.SanjuanGarcia@duagon.com mcb: fix error handling for different scenarios when parsing
Zhihao Cheng chengzhihao1@huawei.com jbd2: fix potential data lost in recovering journal raced with synchronizing fs bdev
Herve Codina herve.codina@bootlin.com genirq/generic_chip: Make irq_remove_generic_chip() irqdomain aware
Rong Chen rong.chen@amlogic.com mmc: meson-gx: Remove setting of CMD_CFG_ERROR
Brian Geffon bgeffon@google.com PM: hibernate: Clean up sync_read handling in snapshot_write_next()
Brian Geffon bgeffon@google.com PM: hibernate: Use __get_safe_page() rather than touching the list
Dan Carpenter dan.carpenter@linaro.org mmc: vub300: fix an error code
Helge Deller deller@gmx.de parisc/power: Add power soft-off when running on qemu
Lukas Wunner lukas@wunner.de PCI/sysfs: Protect driver's D3cold preference from user space
David Woodhouse dwmw@amazon.co.uk hvc/xen: fix error path in xen_hvc_init() to always register frontend driver
Paul Moore paul@paul-moore.com audit: don't WARN_ON_ONCE(!current->mm) in audit_exe_compare()
Paul Moore paul@paul-moore.com audit: don't take task_lock() in audit_exe_compare() code path
Maciej S. Szmigiero maciej.szmigiero@oracle.com KVM: x86: Ignore MSR_AMD64_TW_CFG access
Kees Cook keescook@chromium.org randstruct: Fix gcc-plugin performance mode to stay in group
Vikash Garodia quic_vgarodia@quicinc.com media: venus: hfi: add checks to perform sanity on queue pointers
Dan Carpenter dan.carpenter@linaro.org pwm: Fix double shift bug
Bob Peterson rpeterso@redhat.com gfs2: ignore negated quota changes
Hans Verkuil hverkuil-cisco@xs4all.nl media: vivid: avoid integer overflow
Rajeshwar R Shinde coolrrsh@gmail.com media: gspca: cpia1: shift-out-of-bounds in set_flicker
Axel Lin axel.lin@ingics.com i2c: sun6i-p2wi: Prevent potential division by zero
Yi Yang yiyang13@huawei.com tty: vcc: Add check for kstrdup() in vcc_probe()
Wenchao Hao haowenchao2@huawei.com scsi: libfc: Fix potential NULL pointer dereference in fc_lport_ptp_setup()
Ilpo Järvinen ilpo.jarvinen@linux.intel.com atm: iphase: Do PCI error checks on own line
Cezary Rojewski cezary.rojewski@intel.com ALSA: hda: Fix possible null-ptr-deref when assigning a stream
Manas Ghandat ghandatmanas@gmail.com jfs: fix array-index-out-of-bounds in diAlloc
Manas Ghandat ghandatmanas@gmail.com jfs: fix array-index-out-of-bounds in dbFindLeaf
Juntong Deng juntong.deng@outlook.com fs/jfs: Add validity check for db_maxag and db_agpref
Juntong Deng juntong.deng@outlook.com fs/jfs: Add check for negative db_l2nbperpage
Ilpo Järvinen ilpo.jarvinen@linux.intel.com RDMA/hfi1: Use FIELD_GET() to extract Link Width
Lu Jialin lujialin4@huawei.com crypto: pcrypt - Fix hungtask for PADATA_RESET
zhujun2 zhujun2@cmss.chinamobile.com selftests/efivarfs: create-read: fix a resource leak
Mario Limonciello mario.limonciello@amd.com drm/amd: Fix UBSAN array-index-out-of-bounds for Polaris and Tonga
Mario Limonciello mario.limonciello@amd.com drm/amd: Fix UBSAN array-index-out-of-bounds for SMU7
Eric Dumazet edumazet@google.com net: annotate data-races around sk->sk_dst_pending_confirm
Dmitry Antipov dmantipov@yandex.ru wifi: ath10k: fix clang-specific fortify warning
Dmitry Antipov dmantipov@yandex.ru wifi: ath9k: fix clang-specific fortify warnings
Ping-Ke Shih pkshih@realtek.com wifi: mac80211: don't return unset power in ieee80211_get_tx_power()
Mike Rapoport (IBM) rppt@kernel.org x86/mm: Drop the 4 MB restriction on minimal NUMA node memory size
Ronald Wahl ronald.wahl@raritan.com clocksource/drivers/timer-atmel-tcb: Fix initialization on SAM9 hardware
Jacky Bai ping.bai@nxp.com clocksource/drivers/timer-imx-gpt: Fix potential memory leak
John Stultz jstultz@google.com locking/ww_mutex/test: Fix potential workqueue corruption
-------------
Diffstat:
Makefile | 4 ++-- arch/parisc/kernel/entry.S | 7 +++--- arch/parisc/kernel/head.S | 5 ++--- arch/s390/mm/page-states.c | 19 +++++++++++++--- arch/x86/include/asm/msr-index.h | 1 + arch/x86/include/asm/numa.h | 7 ------ arch/x86/kvm/x86.c | 2 ++ arch/x86/mm/numa.c | 7 ------ crypto/pcrypt.c | 4 ++++ drivers/atm/iphase.c | 20 +++++++++-------- drivers/clocksource/tcb_clksrc.c | 1 + drivers/clocksource/timer-imx-gpt.c | 18 +++++++++++----- drivers/gpu/drm/amd/include/pptable.h | 4 ++-- drivers/gpu/drm/amd/powerplay/hwmgr/pptable_v1_0.h | 16 +++++++------- drivers/i2c/busses/i2c-i801.c | 19 ++++++++-------- drivers/i2c/busses/i2c-sun6i-p2wi.c | 5 +++++ drivers/infiniband/hw/hfi1/pcie.c | 9 ++------ drivers/mcb/mcb-core.c | 1 + drivers/mcb/mcb-parse.c | 2 +- drivers/media/platform/qcom/venus/hfi_msgs.c | 2 +- drivers/media/platform/qcom/venus/hfi_venus.c | 10 +++++++++ drivers/media/platform/vivid/vivid-rds-gen.c | 2 +- drivers/media/rc/ir-sharp-decoder.c | 8 ++++--- drivers/media/usb/gspca/cpia1.c | 3 +++ drivers/mmc/host/meson-gx-mmc.c | 1 - drivers/mmc/host/vub300.c | 1 + drivers/net/dsa/lan9303_mdio.c | 4 ++-- drivers/net/wireless/ath/ath10k/debug.c | 2 +- drivers/net/wireless/ath/ath9k/debug.c | 2 +- drivers/net/wireless/ath/ath9k/htc_drv_debug.c | 2 +- drivers/parisc/power.c | 16 +++++++++++++- drivers/pci/pci-acpi.c | 2 +- drivers/pci/pci-sysfs.c | 5 +---- drivers/scsi/libfc/fc_lport.c | 6 ++++++ drivers/scsi/virtio_scsi.c | 1 + drivers/tty/hvc/hvc_xen.c | 5 +++-- drivers/tty/vcc.c | 16 +++++++++++--- fs/ext4/acl.h | 5 +++++ fs/ext4/resize.c | 19 ++++++---------- fs/gfs2/quota.c | 11 ++++++++++ fs/jbd2/recovery.c | 8 +++++++ fs/jfs/jfs_dmap.c | 23 +++++++++++++++----- fs/jfs/jfs_imap.c | 5 ++++- include/linux/pwm.h | 4 ++-- include/net/sock.h | 6 +++--- kernel/audit_watch.c | 9 +++++++- kernel/irq/generic-chip.c | 25 ++++++++++++++++------ kernel/locking/test-ww_mutex.c | 20 ++++++++++------- kernel/padata.c | 2 +- kernel/power/snapshot.c | 16 ++++++-------- net/core/sock.c | 2 +- net/ipv4/tcp_output.c | 2 +- net/mac80211/cfg.c | 4 ++++ net/sched/sch_api.c | 5 +++-- scripts/gcc-plugins/randomize_layout_plugin.c | 11 +++++++--- sound/core/info.c | 21 +++++++++++------- sound/hda/hdac_stream.c | 6 ++++-- tools/testing/selftests/efivarfs/create-read.c | 2 ++ 58 files changed, 290 insertions(+), 155 deletions(-)
Hello!
On 24/11/23 11:50 a. m., Greg Kroah-Hartman wrote:
This is the start of the stable review cycle for the 4.14.331 release. There are 57 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, 26 Nov 2023 17:19:17 +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/v4.x/stable-review/patch-4.14.331-rc... or in the git tree and branch at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-4.14.y and the diffstat can be found below.
thanks,
greg k-h
There are System/390 build failures here:
-----8<----- In function 'setup_lowcore_dat_off', inlined from 'setup_arch' at /builds/linux/arch/s390/kernel/setup.c:961:2: /builds/linux/arch/s390/kernel/setup.c:339:9: warning: 'memcpy' reading 128 bytes from a region of size 0 [-Wstringop-overread] 339 | memcpy(lc->stfle_fac_list, S390_lowcore.stfle_fac_list, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 340 | sizeof(lc->stfle_fac_list)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builds/linux/arch/s390/kernel/setup.c:341:9: warning: 'memcpy' reading 128 bytes from a region of size 0 [-Wstringop-overread] 341 | memcpy(lc->alt_stfle_fac_list, S390_lowcore.alt_stfle_fac_list, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 342 | sizeof(lc->alt_stfle_fac_list)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builds/linux/arch/s390/mm/page-states.c: In function 'mark_kernel_pgd': /builds/linux/arch/s390/mm/page-states.c:181:45: error: request for member 'val' in something not a structure or union 181 | max_addr = (S390_lowcore.kernel_asce.val & _ASCE_TYPE_MASK) >> 2; | ^ /builds/linux/arch/s390/mm/page-states.c: In function 'cmma_init_nodat': /builds/linux/arch/s390/mm/page-states.c:208:14: error: 'i' undeclared (first use in this function); did you mean 'ix'? 208 | for (i = 0; i < 4; i++) | ^ | ix /builds/linux/arch/s390/mm/page-states.c:208:14: note: each undeclared identifier is reported only once for each function it appears in In file included from /builds/linux/arch/s390/include/asm/page.h:181, from /builds/linux/arch/s390/include/asm/thread_info.h:24, from /builds/linux/include/linux/thread_info.h:39, from /builds/linux/arch/s390/include/asm/preempt.h:6, from /builds/linux/include/linux/preempt.h:81, from /builds/linux/include/linux/spinlock.h:51, from /builds/linux/include/linux/mmzone.h:8, from /builds/linux/include/linux/gfp.h:6, from /builds/linux/include/linux/mm.h:10, from /builds/linux/arch/s390/mm/page-states.c:13: /builds/linux/arch/s390/mm/page-states.c:210:30: error: 'invalid_pg_dir' undeclared (first use in this function) 210 | page = virt_to_page(&invalid_pg_dir); | ^~~~~~~~~~~~~~ /builds/linux/include/asm-generic/memory_model.h:54:45: note: in definition of macro '__pfn_to_page' 54 | #define __pfn_to_page(pfn) (vmemmap + (pfn)) | ^~~ /builds/linux/arch/s390/include/asm/page.h:164:34: note: in expansion of macro '__pa' 164 | #define virt_to_pfn(kaddr) (__pa(kaddr) >> PAGE_SHIFT) | ^~~~ /builds/linux/arch/s390/include/asm/page.h:167:45: note: in expansion of macro 'virt_to_pfn' 167 | #define virt_to_page(kaddr) pfn_to_page(virt_to_pfn(kaddr)) | ^~~~~~~~~~~ /builds/linux/arch/s390/mm/page-states.c:210:16: note: in expansion of macro 'virt_to_page' 210 | page = virt_to_page(&invalid_pg_dir); | ^~~~~~~~~~~~ make[3]: *** [/builds/linux/scripts/Makefile.build:329: arch/s390/mm/page-states.o] Error 1 make[3]: Target '__build' not remade because of errors. make[2]: *** [/builds/linux/scripts/Makefile.build:588: arch/s390/mm] Error 2 In file included from /builds/linux/arch/s390/kernel/lgr.c:12: In function 'stfle', inlined from 'lgr_info_get' at /builds/linux/arch/s390/kernel/lgr.c:121:2: /builds/linux/arch/s390/include/asm/facility.h:88:9: warning: 'memcpy' reading 4 bytes from a region of size 0 [-Wstringop-overread] 88 | memcpy(stfle_fac_list, &S390_lowcore.stfl_fac_list, 4); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Target '__build' not remade because of errors. ----->8-----
This one above is with allnoconfig and GCC 12. Bisection points to:
commit 76dc317ac655dafe1747dba6ce689ae3c3a35dd6 Author: Heiko Carstens hca@linux.ibm.com Date: Tue Oct 24 10:15:20 2023 +0200
s390/cmma: fix handling of swapper_pg_dir and invalid_pg_dir
commit 84bb41d5df48868055d159d9247b80927f1f70f9 upstream.
Reported-by: Linux Kernel Functional Testing lkft@linaro.org
Greetings!
Daniel Díaz daniel.diaz@linaro.org
On Fri, Nov 24, 2023 at 02:51:59PM -0600, Daniel Díaz wrote:
Hello!
On 24/11/23 11:50 a. m., Greg Kroah-Hartman wrote:
This is the start of the stable review cycle for the 4.14.331 release. There are 57 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, 26 Nov 2023 17:19:17 +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/v4.x/stable-review/patch-4.14.331-rc... or in the git tree and branch at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-4.14.y and the diffstat can be found below.
thanks,
greg k-h
There are System/390 build failures here:
-----8<----- In function 'setup_lowcore_dat_off', inlined from 'setup_arch' at /builds/linux/arch/s390/kernel/setup.c:961:2: /builds/linux/arch/s390/kernel/setup.c:339:9: warning: 'memcpy' reading 128 bytes from a region of size 0 [-Wstringop-overread] 339 | memcpy(lc->stfle_fac_list, S390_lowcore.stfle_fac_list, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 340 | sizeof(lc->stfle_fac_list)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builds/linux/arch/s390/kernel/setup.c:341:9: warning: 'memcpy' reading 128 bytes from a region of size 0 [-Wstringop-overread] 341 | memcpy(lc->alt_stfle_fac_list, S390_lowcore.alt_stfle_fac_list, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 342 | sizeof(lc->alt_stfle_fac_list)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builds/linux/arch/s390/mm/page-states.c: In function 'mark_kernel_pgd': /builds/linux/arch/s390/mm/page-states.c:181:45: error: request for member 'val' in something not a structure or union 181 | max_addr = (S390_lowcore.kernel_asce.val & _ASCE_TYPE_MASK) >> 2; | ^ /builds/linux/arch/s390/mm/page-states.c: In function 'cmma_init_nodat': /builds/linux/arch/s390/mm/page-states.c:208:14: error: 'i' undeclared (first use in this function); did you mean 'ix'? 208 | for (i = 0; i < 4; i++) | ^ | ix /builds/linux/arch/s390/mm/page-states.c:208:14: note: each undeclared identifier is reported only once for each function it appears in In file included from /builds/linux/arch/s390/include/asm/page.h:181, from /builds/linux/arch/s390/include/asm/thread_info.h:24, from /builds/linux/include/linux/thread_info.h:39, from /builds/linux/arch/s390/include/asm/preempt.h:6, from /builds/linux/include/linux/preempt.h:81, from /builds/linux/include/linux/spinlock.h:51, from /builds/linux/include/linux/mmzone.h:8, from /builds/linux/include/linux/gfp.h:6, from /builds/linux/include/linux/mm.h:10, from /builds/linux/arch/s390/mm/page-states.c:13: /builds/linux/arch/s390/mm/page-states.c:210:30: error: 'invalid_pg_dir' undeclared (first use in this function) 210 | page = virt_to_page(&invalid_pg_dir); | ^~~~~~~~~~~~~~ /builds/linux/include/asm-generic/memory_model.h:54:45: note: in definition of macro '__pfn_to_page' 54 | #define __pfn_to_page(pfn) (vmemmap + (pfn)) | ^~~ /builds/linux/arch/s390/include/asm/page.h:164:34: note: in expansion of macro '__pa' 164 | #define virt_to_pfn(kaddr) (__pa(kaddr) >> PAGE_SHIFT) | ^~~~ /builds/linux/arch/s390/include/asm/page.h:167:45: note: in expansion of macro 'virt_to_pfn' 167 | #define virt_to_page(kaddr) pfn_to_page(virt_to_pfn(kaddr)) | ^~~~~~~~~~~ /builds/linux/arch/s390/mm/page-states.c:210:16: note: in expansion of macro 'virt_to_page' 210 | page = virt_to_page(&invalid_pg_dir); | ^~~~~~~~~~~~ make[3]: *** [/builds/linux/scripts/Makefile.build:329: arch/s390/mm/page-states.o] Error 1 make[3]: Target '__build' not remade because of errors. make[2]: *** [/builds/linux/scripts/Makefile.build:588: arch/s390/mm] Error 2 In file included from /builds/linux/arch/s390/kernel/lgr.c:12: In function 'stfle', inlined from 'lgr_info_get' at /builds/linux/arch/s390/kernel/lgr.c:121:2: /builds/linux/arch/s390/include/asm/facility.h:88:9: warning: 'memcpy' reading 4 bytes from a region of size 0 [-Wstringop-overread] 88 | memcpy(stfle_fac_list, &S390_lowcore.stfl_fac_list, 4); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Target '__build' not remade because of errors. ----->8-----
This one above is with allnoconfig and GCC 12. Bisection points to:
commit 76dc317ac655dafe1747dba6ce689ae3c3a35dd6 Author: Heiko Carstens hca@linux.ibm.com Date: Tue Oct 24 10:15:20 2023 +0200
s390/cmma: fix handling of swapper_pg_dir and invalid_pg_dir commit 84bb41d5df48868055d159d9247b80927f1f70f9 upstream.
Reported-by: Linux Kernel Functional Testing lkft@linaro.org
Now dropped, thanks.
greg k-h