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-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-4.14.y
and the diffstat can be found below.
thanks,
greg k-h
-------------
Pseudo-Shortlog of commits:
Greg Kroah-Hartman <[email protected]>
Linux 4.14.331-rc1
Eric Dumazet <[email protected]>
net: sched: fix race condition in qdisc_graft()
Dongli Zhang <[email protected]>
scsi: virtio_scsi: limit number of hw queues by nr_cpu_ids
Kemeng Shi <[email protected]>
ext4: remove gdb backup copy for meta bg in setup_new_flex_group_blocks
Kemeng Shi <[email protected]>
ext4: correct return value of ext4_convert_meta_bg
Kemeng Shi <[email protected]>
ext4: correct offset of gdb backup in non meta_bg group to update_backups
Max Kellermann <[email protected]>
ext4: apply umask if ACL support is disabled
Vikash Garodia <[email protected]>
media: venus: hfi: fix the check to handle session buffer requirement
Sean Young <[email protected]>
media: sharp: fix sharp encoding
Heiner Kallweit <[email protected]>
i2c: i801: fix potential race in i801_block_transaction_byte_by_byte
Alexander Sverdlin <[email protected]>
net: dsa: lan9303: consequently nested-lock physical MDIO
Takashi Iwai <[email protected]>
ALSA: info: Fix potential deadlock at disconnection
Helge Deller <[email protected]>
parisc/power: Fix power soft-off when running on qemu
Helge Deller <[email protected]>
parisc/pgtable: Do not drop upper 5 address bits of physical address
Helge Deller <[email protected]>
parisc: Prevent booting 64-bit kernels on PA1.x machines
Heiko Carstens <[email protected]>
s390/cmma: fix handling of swapper_pg_dir and invalid_pg_dir
Heiko Carstens <[email protected]>
s390/cmma: fix initial kernel address space page table walk
Sanjuán García, Jorge <[email protected]>
mcb: fix error handling for different scenarios when parsing
Zhihao Cheng <[email protected]>
jbd2: fix potential data lost in recovering journal raced with synchronizing fs bdev
Herve Codina <[email protected]>
genirq/generic_chip: Make irq_remove_generic_chip() irqdomain aware
Rong Chen <[email protected]>
mmc: meson-gx: Remove setting of CMD_CFG_ERROR
Brian Geffon <[email protected]>
PM: hibernate: Clean up sync_read handling in snapshot_write_next()
Brian Geffon <[email protected]>
PM: hibernate: Use __get_safe_page() rather than touching the list
Dan Carpenter <[email protected]>
mmc: vub300: fix an error code
Helge Deller <[email protected]>
parisc/power: Add power soft-off when running on qemu
Lukas Wunner <[email protected]>
PCI/sysfs: Protect driver's D3cold preference from user space
David Woodhouse <[email protected]>
hvc/xen: fix error path in xen_hvc_init() to always register frontend driver
Paul Moore <[email protected]>
audit: don't WARN_ON_ONCE(!current->mm) in audit_exe_compare()
Paul Moore <[email protected]>
audit: don't take task_lock() in audit_exe_compare() code path
Maciej S. Szmigiero <[email protected]>
KVM: x86: Ignore MSR_AMD64_TW_CFG access
Kees Cook <[email protected]>
randstruct: Fix gcc-plugin performance mode to stay in group
Vikash Garodia <[email protected]>
media: venus: hfi: add checks to perform sanity on queue pointers
Dan Carpenter <[email protected]>
pwm: Fix double shift bug
Bob Peterson <[email protected]>
gfs2: ignore negated quota changes
Hans Verkuil <[email protected]>
media: vivid: avoid integer overflow
Rajeshwar R Shinde <[email protected]>
media: gspca: cpia1: shift-out-of-bounds in set_flicker
Axel Lin <[email protected]>
i2c: sun6i-p2wi: Prevent potential division by zero
Yi Yang <[email protected]>
tty: vcc: Add check for kstrdup() in vcc_probe()
Wenchao Hao <[email protected]>
scsi: libfc: Fix potential NULL pointer dereference in fc_lport_ptp_setup()
Ilpo Järvinen <[email protected]>
atm: iphase: Do PCI error checks on own line
Cezary Rojewski <[email protected]>
ALSA: hda: Fix possible null-ptr-deref when assigning a stream
Manas Ghandat <[email protected]>
jfs: fix array-index-out-of-bounds in diAlloc
Manas Ghandat <[email protected]>
jfs: fix array-index-out-of-bounds in dbFindLeaf
Juntong Deng <[email protected]>
fs/jfs: Add validity check for db_maxag and db_agpref
Juntong Deng <[email protected]>
fs/jfs: Add check for negative db_l2nbperpage
Ilpo Järvinen <[email protected]>
RDMA/hfi1: Use FIELD_GET() to extract Link Width
Lu Jialin <[email protected]>
crypto: pcrypt - Fix hungtask for PADATA_RESET
zhujun2 <[email protected]>
selftests/efivarfs: create-read: fix a resource leak
Mario Limonciello <[email protected]>
drm/amd: Fix UBSAN array-index-out-of-bounds for Polaris and Tonga
Mario Limonciello <[email protected]>
drm/amd: Fix UBSAN array-index-out-of-bounds for SMU7
Eric Dumazet <[email protected]>
net: annotate data-races around sk->sk_dst_pending_confirm
Dmitry Antipov <[email protected]>
wifi: ath10k: fix clang-specific fortify warning
Dmitry Antipov <[email protected]>
wifi: ath9k: fix clang-specific fortify warnings
Ping-Ke Shih <[email protected]>
wifi: mac80211: don't return unset power in ieee80211_get_tx_power()
Mike Rapoport (IBM) <[email protected]>
x86/mm: Drop the 4 MB restriction on minimal NUMA node memory size
Ronald Wahl <[email protected]>
clocksource/drivers/timer-atmel-tcb: Fix initialization on SAM9 hardware
Jacky Bai <[email protected]>
clocksource/drivers/timer-imx-gpt: Fix potential memory leak
John Stultz <[email protected]>
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-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-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 <[email protected]>
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 <[email protected]>
Greetings!
Daniel Díaz
[email protected]
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-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-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 <[email protected]>
> 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 <[email protected]>
Now dropped, thanks.
greg k-h