[PATCH 5.4 00/81] 5.4.300-rc1 review

From: Greg Kroah-Hartman

Date: Tue Sep 30 2025 - 10:50:41 EST


This is the start of the stable review cycle for the 5.4.300 release.
There are 81 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 Thu, 02 Oct 2025 14:37:59 +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.4.300-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.4.y
and the diffstat can be found below.

thanks,

greg k-h

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

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

Jinjiang Tu <tujinjiang@xxxxxxxxxx>
mm/hugetlb: fix folio is still mapped when deleted

Lukasz Czapnik <lukasz.czapnik@xxxxxxxxx>
i40e: add mask to apply valid bits for itr_idx

Lukasz Czapnik <lukasz.czapnik@xxxxxxxxx>
i40e: fix validation of VF state in get resources

Lukasz Czapnik <lukasz.czapnik@xxxxxxxxx>
i40e: fix idx validation in config queues msg

Lukasz Czapnik <lukasz.czapnik@xxxxxxxxx>
i40e: add validation for ring_len param

Justin Bronder <jsbronder@xxxxxxxxxxxxxx>
i40e: increase max descriptors for XL710

David Hildenbrand <david@xxxxxxxxxx>
mm/migrate_device: don't add folio to be freed to LRU in migrate_device_finalize()

Thomas Zimmermann <tzimmermann@xxxxxxx>
fbcon: Fix OOB access in font allocation

Samasth Norway Ananda <samasth.norway.ananda@xxxxxxxxxx>
fbcon: fix integer overflow in fbcon_do_set_font

Lukasz Czapnik <lukasz.czapnik@xxxxxxxxx>
i40e: add max boundary check for VF filters

Lukasz Czapnik <lukasz.czapnik@xxxxxxxxx>
i40e: fix input validation logic for action_meta

Lukasz Czapnik <lukasz.czapnik@xxxxxxxxx>
i40e: fix idx validation in i40e_validate_queue_map

Zabelin Nikita <n.zabelin@xxxxxxxxxxxxxxxxx>
drm/gma500: Fix null dereference in hdmi teardown

Stéphane Grosjean <stephane.grosjean@xxxxxxxxxxxxxxxx>
can: peak_usb: fix shift-out-of-bounds issue

Vincent Mailhol <mailhol@xxxxxxxxxx>
can: mcba_usb: populate ndo_change_mtu() to prevent buffer overflow

Vincent Mailhol <mailhol@xxxxxxxxxx>
can: sun4i_can: populate ndo_change_mtu() to prevent buffer overflow

Vincent Mailhol <mailhol@xxxxxxxxxx>
can: hi311x: populate ndo_change_mtu() to prevent buffer overflow

Geert Uytterhoeven <geert+renesas@xxxxxxxxx>
can: rcar_can: rcar_can_resume(): fix s2ram with PSCI

Or Har-Toov <ohartoov@xxxxxxxxxx>
IB/mlx5: Fix obj_type mismatch for SRQ event subscriptions

Jiayi Li <lijiayi@xxxxxxxxxx>
usb: core: Add 0x prefix to quirks debug output

Takashi Iwai <tiwai@xxxxxxx>
ALSA: usb-audio: Fix build with CONFIG_INPUT=n

Chen Ni <nichen@xxxxxxxxxxx>
ALSA: usb-audio: Convert comma to semicolon

Cristian Ciocaltea <cristian.ciocaltea@xxxxxxxxxxxxx>
ALSA: usb-audio: Add mixer quirk for Sony DualSense PS5

Cristian Ciocaltea <cristian.ciocaltea@xxxxxxxxxxxxx>
ALSA: usb-audio: Remove unneeded wmb() in mixer_quirks

Cristian Ciocaltea <cristian.ciocaltea@xxxxxxxxxxxxx>
ALSA: usb-audio: Simplify NULL comparison in mixer_quirks

Cristian Ciocaltea <cristian.ciocaltea@xxxxxxxxxxxxx>
ALSA: usb-audio: Avoid multiple assignments in mixer_quirks

Cristian Ciocaltea <cristian.ciocaltea@xxxxxxxxxxxxx>
ALSA: usb-audio: Fix block comments in mixer_quirks

Maciej S. Szmigiero <maciej.szmigiero@xxxxxxxxxx>
KVM: SVM: Sync TPR from LAPIC into VMCB::V_TPR even if AVIC is active

Hans de Goede <hansg@xxxxxxxxxx>
net: rfkill: gpio: Fix crash due to dereferencering uninitialized pointer

Philipp Zabel <p.zabel@xxxxxxxxxxxxxx>
net: rfkill: gpio: add DT support

Hugo Villeneuve <hvilleneuve@xxxxxxxxxxxx>
serial: sc16is7xx: fix bug in flow control levels init

Alan Stern <stern@xxxxxxxxxxxxxxxxxxx>
USB: gadget: dummy-hcd: Fix locking bug in RT-enabled kernels

Jakob Koschel <jakobkoschel@xxxxxxxxx>
usb: gadget: dummy_hcd: remove usage of list iterator past the loop body

Colin Ian King <colin.i.king@xxxxxxxxx>
ASoC: SOF: Intel: hda-stream: Fix incorrect variable used in error message

Charles Keepax <ckeepax@xxxxxxxxxxxxxxxxxxxxx>
ASoC: wm8974: Correct PLL rate rounding

Charles Keepax <ckeepax@xxxxxxxxxxxxxxxxxxxxx>
ASoC: wm8940: Correct typo in control name

Håkon Bugge <haakon.bugge@xxxxxxxxxx>
rds: ib: Increment i_fastreg_wrs before bailing out

Thomas Fourier <fourier.thomas@xxxxxxxxx>
mmc: mvsdio: Fix dma_unmap_sg() nents value

H. Nikolaus Schaller <hns@xxxxxxxxxxxxx>
power: supply: bq27xxx: restrict no-battery detection to bq27000

H. Nikolaus Schaller <hns@xxxxxxxxxxxxx>
power: supply: bq27xxx: fix error return in case of no bq27000 hdq battery

Nathan Chancellor <nathan@xxxxxxxxxx>
nilfs2: fix CFI failure when accessing /sys/fs/nilfs2/features/*

Duoming Zhou <duoming@xxxxxxxxxx>
cnic: Fix use-after-free bugs in cnic_delete_task

Alexey Nepomnyashih <sdl@xxxxxxxx>
net: liquidio: fix overflow in octeon_init_instr_queue()

Tariq Toukan <tariqt@xxxxxxxxxx>
Revert "net/mlx5e: Update and set Xon/Xoff upon port speed set"

Kuniyuki Iwashima <kuniyu@xxxxxxxxxx>
tcp: Clear tcp_sk(sk)->fastopen_rsk in tcp_disconnect().

Maciej Fijalkowski <maciej.fijalkowski@xxxxxxxxx>
i40e: remove redundant memory barrier when cleaning Tx descs

Yeounsu Moon <yyyynoom@xxxxxxxxx>
net: natsemi: fix `rx_dropped` double accounting on `netif_rx()` failure

Chen Ridong <chenridong@xxxxxxxxxx>
cgroup: split cgroup_destroy_wq into 3 workqueues

Geert Uytterhoeven <geert+renesas@xxxxxxxxx>
pcmcia: omap_cf: Mark driver struct with __refdata to prevent section mismatch

Liao Yuanhong <liaoyuanhong@xxxxxxxx>
wifi: mac80211: fix incorrect type for ret

Takashi Sakamoto <o-takashi@xxxxxxxxxxxxx>
ALSA: firewire-motu: drop EPOLLOUT from poll return values as write is not supported

Miaohe Lin <linmiaohe@xxxxxxxxxx>
mm/memory-failure: fix VM_BUG_ON_PAGE(PagePoisoned(page)) when unpoison memory

Bjorn Andersson <bjorn.andersson@xxxxxxxxxxxxxxxx>
soc: qcom: mdt_loader: Deal with zero e_shentsize

Johan Hovold <johan@xxxxxxxxxx>
phy: ti-pipe3: fix device leak at unbind

Stephan Gerhold <stephan.gerhold@xxxxxxxxxx>
dmaengine: qcom: bam_dma: Fix DT error handling for num-channels/ees

Anders Roxell <anders.roxell@xxxxxxxxxx>
dmaengine: ti: edma: Fix memory allocation size for queue_priority_map

Tetsuo Handa <penguin-kernel@xxxxxxxxxxxxxxxxxxx>
can: j1939: j1939_local_ecu_get(): undo increment when j1939_local_ecu_get() fails

Tetsuo Handa <penguin-kernel@xxxxxxxxxxxxxxxxxxx>
can: j1939: j1939_sk_bind(): call j1939_priv_put() immediately when j1939_local_ecu_get() failed

Michal Schmidt <mschmidt@xxxxxxxxxx>
i40e: fix IRQ freeing in i40e_vsi_request_irq_msix error path

Nitesh Narayan Lal <nitesh@xxxxxxxxxx>
i40e: Use irq_update_affinity_hint()

Thomas Gleixner <tglx@xxxxxxxxxxxxx>
genirq: Provide new interfaces for affinity hints

Thomas Gleixner <tglx@xxxxxxxxxxxxx>
genirq: Export affinity setter for modules

John Garry <john.garry@xxxxxxxxxx>
genirq/affinity: Add irq_update_affinity_desc()

Kohei Enju <enjuk@xxxxxxxxxx>
igb: fix link test skipping when interface is admin down

Stefan Wahren <wahrenst@xxxxxxx>
net: fec: Fix possible NPD in fec_enet_phy_reset_after_clk_enable()

Fabio Porcedda <fabio.porcedda@xxxxxxxxx>
USB: serial: option: add Telit Cinterion LE910C4-WWX new compositions

Fabio Porcedda <fabio.porcedda@xxxxxxxxx>
USB: serial: option: add Telit Cinterion FN990A w/audio compositions

Fabian Vogt <fvogt@xxxxxxx>
tty: hvc_console: Call hvc_kick in hvc_write unconditionally

Alexander Sverdlin <alexander.sverdlin@xxxxxxxxxxx>
mtd: nand: raw: atmel: Respect tAR, tCLR in read setup timing

Alexander Dahl <ada@xxxxxxxxxxx>
mtd: nand: raw: atmel: Fix comment in timings preparation

Christophe Kerello <christophe.kerello@xxxxxxxxxxx>
mtd: rawnand: stm32_fmc2: avoid overlapping mappings on ECC buffer

Wei Yang <richard.weiyang@xxxxxxxxx>
mm/khugepaged: fix the address passed to notifier on testing young

Miklos Szeredi <mszeredi@xxxxxxxxxx>
fuse: prevent overflow in copy_file_range return value

Miklos Szeredi <mszeredi@xxxxxxxxxx>
fuse: check if copy_file_range() returns larger than requested size

Christophe Kerello <christophe.kerello@xxxxxxxxxxx>
mtd: rawnand: stm32_fmc2: fix ECC overwrite

Mark Tinguely <mark.tinguely@xxxxxxxxxx>
ocfs2: fix recursive semaphore deadlock in fiemap call

Salah Triki <salah.triki@xxxxxxxxx>
EDAC/altera: Delete an inappropriate dma_free_coherent() call

Kuniyuki Iwashima <kuniyu@xxxxxxxxxx>
tcp_bpf: Call sk_msg_free() when tcp_bpf_send_verdict() fails to allocate psock->cork.

Trond Myklebust <trond.myklebust@xxxxxxxxxxxxxxx>
NFSv4: Don't clear capabilities that won't be reset

Kuniyuki Iwashima <kuniyu@xxxxxxxxxx>
net: Fix null-ptr-deref by sock_lock_init_class_and_name() and rmmod.

Mathias Nyman <mathias.nyman@xxxxxxxxxxxxxxx>
usb: hub: Fix flushing of delayed work used for post resume purposes


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

Diffstat:

Makefile | 4 +-
arch/x86/kvm/svm.c | 3 +-
drivers/dma/qcom/bam_dma.c | 8 +-
drivers/dma/ti/edma.c | 4 +-
drivers/edac/altera_edac.c | 1 -
drivers/gpu/drm/gma500/oaktrail_hdmi.c | 2 +-
drivers/infiniband/hw/mlx5/devx.c | 1 +
drivers/mmc/host/mvsdio.c | 2 +-
drivers/mtd/nand/raw/atmel/nand-controller.c | 18 +-
drivers/mtd/nand/raw/stm32_fmc2_nand.c | 45 ++--
drivers/net/can/rcar/rcar_can.c | 8 +-
drivers/net/can/spi/hi311x.c | 1 +
drivers/net/can/sun4i_can.c | 1 +
drivers/net/can/usb/mcba_usb.c | 1 +
drivers/net/can/usb/peak_usb/pcan_usb_core.c | 2 +-
drivers/net/ethernet/broadcom/cnic.c | 3 +-
.../net/ethernet/cavium/liquidio/request_manager.c | 2 +-
drivers/net/ethernet/freescale/fec_main.c | 3 +-
drivers/net/ethernet/intel/i40e/i40e.h | 1 +
drivers/net/ethernet/intel/i40e/i40e_ethtool.c | 25 +-
drivers/net/ethernet/intel/i40e/i40e_main.c | 10 +-
drivers/net/ethernet/intel/i40e/i40e_txrx.c | 3 -
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c | 46 +++-
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.h | 3 +-
drivers/net/ethernet/intel/igb/igb_ethtool.c | 5 +-
drivers/net/ethernet/mellanox/mlx5/core/en_main.c | 2 -
drivers/net/ethernet/natsemi/ns83820.c | 13 +-
drivers/pcmcia/omap_cf.c | 8 +-
drivers/phy/ti/phy-ti-pipe3.c | 13 +
drivers/power/supply/bq27xxx_battery.c | 4 +-
drivers/soc/qcom/mdt_loader.c | 12 +-
drivers/tty/hvc/hvc_console.c | 6 +-
drivers/tty/serial/sc16is7xx.c | 13 +-
drivers/usb/core/hub.c | 21 +-
drivers/usb/core/hub.h | 1 +
drivers/usb/core/quirks.c | 2 +-
drivers/usb/gadget/udc/dummy_hcd.c | 25 +-
drivers/usb/serial/option.c | 17 ++
drivers/video/fbdev/core/fbcon.c | 13 +-
fs/fuse/file.c | 5 +-
fs/hugetlbfs/inode.c | 14 +-
fs/nfs/nfs4proc.c | 1 -
fs/nilfs2/sysfs.c | 4 +-
fs/nilfs2/sysfs.h | 8 +-
fs/ocfs2/extent_map.c | 10 +-
include/linux/interrupt.h | 96 ++++---
include/net/sock.h | 40 ++-
kernel/cgroup/cgroup.c | 43 +++-
kernel/irq/manage.c | 111 +++++++-
mm/khugepaged.c | 2 +-
mm/memory-failure.c | 7 +-
mm/migrate.c | 12 +-
net/can/j1939/bus.c | 5 +-
net/can/j1939/socket.c | 3 +
net/core/sock.c | 5 +
net/ipv4/tcp.c | 5 +
net/ipv4/tcp_bpf.c | 5 +-
net/mac80211/driver-ops.h | 2 +-
net/rds/ib_frmr.c | 20 +-
net/rfkill/rfkill-gpio.c | 22 +-
sound/firewire/motu/motu-hwdep.c | 2 +-
sound/soc/codecs/wm8940.c | 2 +-
sound/soc/codecs/wm8974.c | 8 +-
sound/soc/sof/intel/hda-stream.c | 2 +-
sound/usb/mixer_quirks.c | 279 ++++++++++++++++++++-
65 files changed, 829 insertions(+), 236 deletions(-)