Skip to content

4.14.331-rc1 review

Greg Kroah-Hartman linux-hardening linux-patches lkml stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest57 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/57locking/ww_mutex/test: Fix potential workqueue corruptionkernel/locking/test-ww_mutex.c+12 -80 replies
2/57clocksource/drivers/timer-imx-gpt: Fix potential memory leakdrivers/clocksource/timer-imx-gpt.c+13 -50 replies
3/57clocksource/drivers/timer-atmel-tcb: Fix initialization on SAM9 hardwaredrivers/clocksource/tcb_clksrc.c+1 -00 replies
4/57x86/mm: Drop the 4 MB restriction on minimal NUMA node memory sizearch/x86/include/asm/numa.h arch/x86/mm/numa.c+0 -140 replies
5/57wifi: mac80211: dont return unset power in ieee80211_get_tx_power()net/mac80211/cfg.c+4 -00 replies
6/57wifi: ath9k: fix clang-specific fortify warningsdrivers/net/wireless/ath/ath9k/debug.c drivers/net/wireless/ath/ath9k/htc_drv_debug.c+2 -20 replies
7/57wifi: ath10k: fix clang-specific fortify warningdrivers/net/wireless/ath/ath10k/debug.c+1 -10 replies
8/57net: annotate data-races around sk->sk_dst_pending_confirminclude/net/sock.h net/core/sock.c net/ipv4/tcp_output.c+5 -50 replies
9/57drm/amd: Fix UBSAN array-index-out-of-bounds for SMU7drivers/gpu/drm/amd/include/pptable.h drivers/gpu/drm/amd/powerplay/hwmgr/pptable_v1_0.h+4 -40 replies
10/57drm/amd: Fix UBSAN array-index-out-of-bounds for Polaris and Tongadrivers/gpu/drm/amd/powerplay/hwmgr/pptable_v1_0.h+6 -60 replies
11/57selftests/efivarfs: create-read: fix a resource leaktools/testing/selftests/efivarfs/create-read.c+2 -00 replies
12/57crypto: pcrypt - Fix hungtask for PADATA_RESETcrypto/pcrypt.c kernel/padata.c+5 -10 replies
13/57RDMA/hfi1: Use FIELD_GET() to extract Link Widthdrivers/infiniband/hw/hfi1/pcie.c+2 -70 replies
14/57fs/jfs: Add check for negative db_l2nbperpagefs/jfs/jfs_dmap.c+2 -10 replies
15/57fs/jfs: Add validity check for db_maxag and db_agpreffs/jfs/jfs_dmap.c+6 -00 replies
16/57jfs: fix array-index-out-of-bounds in dbFindLeaffs/jfs/jfs_dmap.c+10 -40 replies
17/57jfs: fix array-index-out-of-bounds in diAllocfs/jfs/jfs_imap.c+4 -10 replies
18/57ALSA: hda: Fix possible null-ptr-deref when assigning a streamsound/hda/hdac_stream.c+4 -20 replies
19/57atm: iphase: Do PCI error checks on own linedrivers/atm/iphase.c+11 -90 replies
20/57scsi: libfc: Fix potential NULL pointer dereference in fc_lport_ptp_setup()drivers/scsi/libfc/fc_lport.c+6 -00 replies
21/57tty: vcc: Add check for kstrdup() in vcc_probe()drivers/tty/vcc.c+13 -30 replies
22/57i2c: sun6i-p2wi: Prevent potential division by zerodrivers/i2c/busses/i2c-sun6i-p2wi.c+5 -00 replies
23/57media: gspca: cpia1: shift-out-of-bounds in set_flickerdrivers/media/usb/gspca/cpia1.c+3 -00 replies
24/57media: vivid: avoid integer overflowdrivers/media/platform/vivid/vivid-rds-gen.c+1 -10 replies
25/57gfs2: ignore negated quota changesfs/gfs2/quota.c+11 -00 replies
26/57pwm: Fix double shift buginclude/linux/pwm.h+2 -20 replies
27/57media: venus: hfi: add checks to perform sanity on queue pointersdrivers/media/platform/qcom/venus/hfi_venus.c+10 -00 replies
28/57randstruct: Fix gcc-plugin performance mode to stay in groupscripts/gcc-plugins/randomize_layout_plugin.c+8 -30 replies
29/57KVM: x86: Ignore MSR_AMD64_TW_CFG accessarch/x86/include/asm/msr-index.h arch/x86/kvm/x86.c+3 -00 replies
30/57audit: dont take task_lock() in audit_exe_compare() code pathkernel/audit_watch.c+8 -10 replies
31/57audit: dont WARN_ON_ONCE(!current->mm) in audit_exe_compare()kernel/audit_watch.c+1 -10 replies
32/57hvc/xen: fix error path in xen_hvc_init() to always register frontend driverdrivers/tty/hvc/hvc_xen.c+3 -20 replies
33/57PCI/sysfs: Protect drivers D3cold preference from user spacedrivers/pci/pci-acpi.c drivers/pci/pci-sysfs.c+2 -50 replies
34/57parisc/power: Add power soft-off when running on qemudrivers/parisc/power.c+15 -10 replies
35/57mmc: vub300: fix an error codedrivers/mmc/host/vub300.c+1 -00 replies
36/57PM: hibernate: Use __get_safe_page() rather than touching the listkernel/power/snapshot.c+6 -40 replies
37/57PM: hibernate: Clean up sync_read handling in snapshot_write_next()kernel/power/snapshot.c+1 -50 replies
38/57mmc: meson-gx: Remove setting of CMD_CFG_ERRORdrivers/mmc/host/meson-gx-mmc.c+0 -10 replies
39/57genirq/generic_chip: Make irq_remove_generic_chip() irqdomain awarekernel/irq/generic-chip.c+19 -60 replies
40/57jbd2: fix potential data lost in recovering journal raced with synchronizing fs bdevfs/jbd2/recovery.c+8 -00 replies
41/57mcb: fix error handling for different scenarios when parsingdrivers/mcb/mcb-core.c drivers/mcb/mcb-parse.c+2 -10 replies
42/57s390/cmma: fix initial kernel address space page table walkarch/s390/mm/page-states.c+10 -30 replies
43/57s390/cmma: fix handling of swapper_pg_dir and invalid_pg_dirarch/s390/mm/page-states.c+6 -00 replies
44/57parisc: Prevent booting 64-bit kernels on PA1.x machinesarch/parisc/kernel/head.S+2 -30 replies
45/57parisc/pgtable: Do not drop upper 5 address bits of physical addressarch/parisc/kernel/entry.S+3 -40 replies
46/57parisc/power: Fix power soft-off when running on qemudrivers/parisc/power.c+1 -10 replies
47/57ALSA: info: Fix potential deadlock at disconnectionsound/core/info.c+13 -80 replies
48/57net: dsa: lan9303: consequently nested-lock physical MDIOdrivers/net/dsa/lan9303_mdio.c+2 -20 replies
49/57i2c: i801: fix potential race in i801_block_transaction_byte_by_bytedrivers/i2c/busses/i2c-i801.c+9 -100 replies
50/57media: sharp: fix sharp encodingdrivers/media/rc/ir-sharp-decoder.c+5 -30 replies
51/57media: venus: hfi: fix the check to handle session buffer requirementdrivers/media/platform/qcom/venus/hfi_msgs.c+1 -10 replies
52/57ext4: apply umask if ACL support is disabledfs/ext4/acl.h+5 -00 replies
53/57ext4: correct offset of gdb backup in non meta_bg group to update_backupsfs/ext4/resize.c+4 -20 replies
54/57ext4: correct return value of ext4_convert_meta_bgfs/ext4/resize.c+1 -30 replies
55/57ext4: remove gdb backup copy for meta bg in setup_new_flex_group_blocksfs/ext4/resize.c+2 -70 replies
56/57scsi: virtio_scsi: limit number of hw queues by nr_cpu_idsdrivers/scsi/virtio_scsi.c+1 -00 replies
57/57net: sched: fix race condition in qdisc_graft()net/sched/sch_api.c+3 -20 replies

Reviews trailers per patch

29 of 57 patches have a Reviewed-by or Acked-by.

PatchPeng FanJonathan CameronDean LuickSimon HormanAlexandre BelloniMario CasqueroDavid HildenbrandMichal HockoToke Høiland-JørgensenJeff JohnsonAlex DeucherBoris BrezillonJuergen GrossMika WesterbergMario LimoncielloJerome BrunetJan KaraJose Javier Rodriguez BarbarinClaudio ImbrendaAlexander GordeevJaroslav KyselaArnd BergmannUwe Kleine-KönigSam ProtsenkoJohn JohansenMateusz GuzikJiri SlabyAndi ShytiJean DelvareNathan HebertJ. Bruce FieldsTheodore Ts'oStefan HajnocziDmitry VyukovAndrew Lunn
1/57
2/57R-b
3/57A-b
4/57T-b A-b A-b
5/57
6/57A-b
7/57A-b
8/57
9/57A-b
10/57A-b
11/57
12/57
13/57R-b R-b
14/57
15/57
16/57
17/57
18/57
19/57
20/57R-b
21/57R-b
22/57A-b
23/57
24/57A-b
25/57
26/57R-b R-b
27/57
28/57
29/57
30/57R-b R-b
31/57
32/57R-b
33/57R-b R-b
34/57
35/57
36/57
37/57
38/57R-b
39/57
40/57R-b
41/57R-b
42/57R-b R-b
43/57R-b
44/57
45/57
46/57
47/57R-b
48/57R-b
49/57A-b R-b
50/57
51/57R-b
52/57R-b
53/57R-b
54/57
55/57R-b
56/57R-b
57/57Diagnosed-by

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 35 reviewers.

Read the v1 thread

Cover letter [PATCH 4.14 00/57] 4.14.331-rc1 review

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(-)