This is the start of the stable review cycle for the 5.4.275 release. There are 106 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 May 2024 13:40:04 +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.275-rc2.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.275-rc2 Randy Dunlap <rdunlap@xxxxxxxxxxxxx> serial: core: fix kernel-doc for uart_port_unlock_irqrestore() Yick Xie <yick.xie@xxxxxxxxx> udp: preserve the connected status if only UDP cmsg Mikulas Patocka <mpatocka@xxxxxxxxxx> dm: limit the number of targets and parameter size area Matthew Wilcox (Oracle) <willy@xxxxxxxxxxxxx> bounds: Use the right number of bits for power-of-two CONFIG_NR_CPUS Nam Cao <namcao@xxxxxxxxxxxxx> HID: i2c-hid: remove I2C_HID_READ_PENDING flag to prevent lock-up Wolfram Sang <wsa+renesas@xxxxxxxxxxxxxxxxxxxx> i2c: smbus: fix NULL function pointer dereference Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx> idma64: Don't try to serve interrupts when device is powered off Arnd Bergmann <arnd@xxxxxxxx> dmaengine: owl: fix register access functions Eric Dumazet <edumazet@xxxxxxxxxx> tcp: Fix NEW_SYN_RECV handling in inet_twsk_purge() Kuniyuki Iwashima <kuniyu@xxxxxxxxxx> tcp: Clean up kernel listener's reqsk in inet_twsk_purge() Arnd Bergmann <arnd@xxxxxxxx> mtd: diskonchip: work around ubsan link failure Andrey Ryabinin <ryabinin.a.a@xxxxxxxxx> stackdepot: respect __GFP_NOLOCKDEP allocation flag Peter Münster <pm@xxxxxxxx> net: b44: set pause params only when interface is up Rahul Rameshbabu <rrameshbabu@xxxxxxxxxx> ethernet: Add helper for assigning packet type when dest address does not match device address Guanrui Huang <guanrui.huang@xxxxxxxxxxxxxxxxx> irqchip/gic-v3-its: Prevent double free on error Mukul Joshi <mukul.joshi@xxxxxxx> drm/amdgpu: Fix leak when GPU memory allocation fails Iskander Amara <iskander.amara@xxxxxxxxxxxxxxxxxxxxx> arm64: dts: rockchip: enable internal pull-up for Q7_THRM# on RK3399 Puma Johannes Thumshirn <johannes.thumshirn@xxxxxxx> btrfs: fix information leak in btrfs_ioctl_logical_to_ino() WangYuli <wangyuli@xxxxxxxxxxxxx> Bluetooth: btusb: Add Realtek RTL8852BE support ID 0x0bda:0x4853 Nathan Chancellor <nathan@xxxxxxxxxx> Bluetooth: Fix type of len in {l2cap,sco}_sock_getsockopt_old() Robin H. Johnson <robbat2@xxxxxxxxxx> tracing: Increase PERF_MAX_TRACE_SIZE to handle Sentinel1 and docker together Robin H. Johnson <robbat2@xxxxxxxxxx> tracing: Show size of requested perf buffer Shifeng Li <lishifeng@xxxxxxxxxxxxxx> net/mlx5e: Fix a race in command alloc flow Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> Revert "crypto: api - Disallow identical driver names" xinhui pan <xinhui.pan@xxxxxxx> drm/amdgpu: validate the parameters of bo mapping operations more clearly Chia-I Wu <olvaffe@xxxxxxxxx> amdgpu: validate offset_in_bo of drm_amdgpu_gem_va Rajneesh Bhardwaj <rajneesh.bhardwaj@xxxxxxx> drm/amdgpu: restrict bo mapping within gpu address limits Emil Kronborg <emil.kronborg@xxxxxxxxxxxxxx> serial: mxs-auart: add spinlock around changing cts state Thomas Gleixner <tglx@xxxxxxxxxxxxx> serial: core: Provide port lock wrappers Kuniyuki Iwashima <kuniyu@xxxxxxxxxx> af_unix: Suppress false-positive lockdep splat for spin_lock() in __unix_gc(). Sudheer Mogilappagari <sudheer.mogilappagari@xxxxxxxxx> iavf: Fix TC config comparison with existing adapter TC config Sindhu Devale <sindhu.devale@xxxxxxxxx> i40e: Do not use WQ_MEM_RECLAIM flag for workqueue Ido Schimmel <idosch@xxxxxxxxxx> mlxsw: spectrum_acl_tcam: Fix memory leak when canceling rehash work Ido Schimmel <idosch@xxxxxxxxxx> mlxsw: spectrum_acl_tcam: Fix incorrect list API usage Ido Schimmel <idosch@xxxxxxxxxx> mlxsw: spectrum_acl_tcam: Fix warning during rehash Ido Schimmel <idosch@xxxxxxxxxx> mlxsw: spectrum_acl_tcam: Fix memory leak during rehash Ido Schimmel <idosch@xxxxxxxxxx> mlxsw: spectrum_acl_tcam: Rate limit error message Ido Schimmel <idosch@xxxxxxxxxx> mlxsw: spectrum_acl_tcam: Fix possible use-after-free during rehash Ido Schimmel <idosch@xxxxxxxxxx> mlxsw: spectrum_acl_tcam: Fix possible use-after-free during activity update Ido Schimmel <idosch@xxxxxxxxxx> mlxsw: spectrum_acl_tcam: Fix race during rehash delayed work Hyunwoo Kim <v4bel@xxxxxxxxx> net: openvswitch: Fix Use-After-Free in ovs_ct_exit Ismael Luceno <iluceno@xxxxxxx> ipvs: Fix checksumming on GSO of SCTP packets Hyunwoo Kim <v4bel@xxxxxxxxx> net: gtp: Fix Use-After-Free in gtp_dellink Eric Dumazet <edumazet@xxxxxxxxxx> net: usb: ax88179_178a: stop lying about skb->truesize Paul Geurts <paul_geurts@xxxxxxx> NFC: trf7970a: disable all regulators on removal Ido Schimmel <idosch@xxxxxxxxxx> mlxsw: core: Unregister EMAD trap using FORWARD action David Bauer <mail@xxxxxxxxxxxxxxx> vxlan: drop packets from invalid src-address Alexey Brodkin <Alexey.Brodkin@xxxxxxxxxxxx> ARC: [plat-hsdk]: Remove misplaced interrupt-cells property Rafał Miłecki <rafal@xxxxxxxxxx> arm64: dts: mediatek: mt2712: fix validation errors Biao Huang <biao.huang@xxxxxxxxxxxx> arm64: dts: mt2712: add ethernet device node Rafał Miłecki <rafal@xxxxxxxxxx> arm64: dts: mediatek: mt7622: drop "reset-names" from thermal block Rafał Miłecki <rafal@xxxxxxxxxx> arm64: dts: mediatek: mt7622: fix ethernet controller "compatible" Rafał Miłecki <rafal@xxxxxxxxxx> arm64: dts: mediatek: mt7622: fix IR nodename Quentin Schulz <quentin.schulz@xxxxxxxxxxxxxxxxxxxxx> arm64: dts: rockchip: enable internal pull-up on PCIE_WAKE# for RK3399 Puma Iskander Amara <iskander.amara@xxxxxxxxxxxxxxxxxxxxx> arm64: dts: rockchip: fix alphabetical ordering RK3399 puma Vitaly Kuznetsov <vkuznets@xxxxxxxxxx> KVM: async_pf: Cleanup kvm_setup_async_pf() Jeongjun Park <aha310510@xxxxxxxxx> nilfs2: fix OOB in nilfs_set_de_type Dave Airlie <airlied@xxxxxxxxxx> nouveau: fix instmem race condition around ptr stores Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> fs: sysfs: Fix reference leak in sysfs_break_active_protection() Samuel Thibault <samuel.thibault@xxxxxxxxxxxx> speakup: Avoid crash on very long word Kai-Heng Feng <kai.heng.feng@xxxxxxxxxxxxx> usb: Disable USB3 LPM at shutdown Minas Harutyunyan <Minas.Harutyunyan@xxxxxxxxxxxx> usb: dwc2: host: Fix dereference issue in DDMA completion flow. Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> Revert "usb: cdc-wdm: close race between read and workqueue" Daniele Palmas <dnlplm@xxxxxxxxx> USB: serial: option: add Telit FN920C04 rmnet compositions Vanillan Wang <vanillanwang@xxxxxxx> USB: serial: option: add Rolling RW101-GL and RW135-GL support Jerry Meng <jerry-meng@xxxxxxxxxxx> USB: serial: option: support Quectel EM060K sub-models Coia Prant <coiaprant@xxxxxxxxx> USB: serial: option: add Lonsung U8300/U9300 product Chuanhong Guo <gch981213@xxxxxxxxx> USB: serial: option: add support for Fibocom FM650/FG650 bolan wang <bolan.wang@xxxxxxxxxxx> USB: serial: option: add Fibocom FM135-GL variants Finn Thain <fthain@xxxxxxxxxxxxxx> serial/pmac_zilog: Remove flawed mitigation for rx irq flood Nikita Zhandarovich <n.zhandarovich@xxxxxxxxxx> comedi: vmk80xx: fix incomplete endpoint checking Carlos Llamas <cmllamas@xxxxxxxxxx> binder: check offset alignment in binder_get_object() Eric Biggers <ebiggers@xxxxxxxxxx> x86/cpufeatures: Fix dependencies for GFNI, VAES, and VPCLMULQDQ Stephen Boyd <sboyd@xxxxxxxxxx> clk: Get runtime PM before walking tree during disable_unused Stephen Boyd <sboyd@xxxxxxxxxx> clk: Initialize struct clk_core kref earlier Konrad Dybcio <konrad.dybcio@xxxxxxxxxx> clk: Print an info line before disabling unused clocks Claudiu Beznea <claudiu.beznea@xxxxxxxxxxxxx> clk: remove extra empty line Stephen Boyd <sboyd@xxxxxxxxxx> clk: Mark 'all_lists' as const Stephen Boyd <sboyd@xxxxxxxxxx> clk: Remove prepare_lock hold assertion in __clk_release() Mikhail Kobuk <m.kobuk@xxxxxxxxx> drm: nv04: Fix out of bounds access Michael Guralnik <michaelgur@xxxxxxxxxx> RDMA/mlx5: Fix port number for counter query in multi-port configuration Yanjun.Zhu <yanjun.zhu@xxxxxxxxx> RDMA/rxe: Fix the problem "mutex_destroy missing" Lei Chen <lei.chen@xxxxxxxxxx> tun: limit printing rate when illegal packet received by tun dev Ziyang Xuan <william.xuanziyang@xxxxxxxxxx> netfilter: nf_tables: Fix potential data-race in __nft_expr_type_get() Siddh Raman Pant <siddh.raman.pant@xxxxxxxxxx> Revert "tracing/trigger: Fix to return error if failed to alloc snapshot" Zheng Yejian <zhengyejian1@xxxxxxxxxx> kprobes: Fix possible use-after-free issue on kprobe registration Yuanhe Shu <xiangzao@xxxxxxxxxxxxxxxxx> selftests/ftrace: Limit length in subsystem-enable tests Boris Burkov <boris@xxxxxx> btrfs: record delayed inode root in transaction Adam Dunlap <acdunlap@xxxxxxxxxx> x86/apic: Force native_apic_mem_read() to use the MOV instruction John Stultz <jstultz@xxxxxxxxxx> selftests: timers: Fix abs() warning in posix_timers test Gavin Shan <gshan@xxxxxxxxxx> vhost: Add smp_rmb() in vhost_vq_avail_empty() Ville Syrjälä <ville.syrjala@xxxxxxxxxxxxxxx> drm/client: Fully protect modes[] with dev->mode_config.mutex Boris Burkov <boris@xxxxxx> btrfs: qgroup: correctly model root qgroup rsv in convert David Arinzon <darinzon@xxxxxxxxxx> net: ena: Fix potential sign extension issue Michal Luczaj <mhal@xxxxxxx> af_unix: Fix garbage collector racing against connect() Kuniyuki Iwashima <kuniyu@xxxxxxxxxx> af_unix: Do not use atomic ops for unix_sk(sk)->inflight. Cosmin Ratiu <cratiu@xxxxxxxxxx> net/mlx5: Properly link new fs rules into the tree Jiri Benc <jbenc@xxxxxxxxxx> ipv6: fix race condition between ipv6_get_ifaddr and ipv6_del_addr Arnd Bergmann <arnd@xxxxxxxx> ipv4/route: avoid unused-but-set-variable warning Arnd Bergmann <arnd@xxxxxxxx> ipv6: fib: hide unused 'pn' variable Eric Dumazet <edumazet@xxxxxxxxxx> geneve: fix header validation in geneve[6]_xmit_skb Petr Tesarik <petr@xxxxxxxxxxx> u64_stats: fix u64_stats_init() for lockdep when used repeatedly in one file Ilya Maximets <i.maximets@xxxxxxx> net: openvswitch: fix unwanted error log on timeout policy probing Arnd Bergmann <arnd@xxxxxxxx> nouveau: fix function cast warning Dmitry Antipov <dmantipov@xxxxxxxxx> Bluetooth: Fix memory leak in hci_req_sync_complete() Sven Eckelmann <sven@xxxxxxxxxxxxx> batman-adv: Avoid infinite loop trying to resize local TT ------------- Diffstat: Makefile | 4 +- arch/arc/boot/dts/hsdk.dts | 1 - arch/arm64/boot/dts/mediatek/mt2712-evb.dts | 78 ++++++++++- arch/arm64/boot/dts/mediatek/mt2712e.dtsi | 68 ++++++++- arch/arm64/boot/dts/mediatek/mt7622.dtsi | 7 +- arch/arm64/boot/dts/rockchip/rk3399-puma.dtsi | 29 +++- arch/x86/include/asm/apic.h | 3 +- arch/x86/kernel/cpu/cpuid-deps.c | 6 +- crypto/algapi.c | 1 - drivers/android/binder.c | 4 +- drivers/bluetooth/btusb.c | 2 + drivers/clk/clk.c | 154 ++++++++++++++++----- drivers/dma/idma64.c | 4 + drivers/dma/owl-dma.c | 4 +- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c | 1 + drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 70 ++++++---- drivers/gpu/drm/drm_client_modeset.c | 3 +- drivers/gpu/drm/nouveau/nouveau_bios.c | 13 +- .../gpu/drm/nouveau/nvkm/subdev/bios/shadowof.c | 7 +- drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c | 7 +- drivers/hid/i2c-hid/i2c-hid-core.c | 8 -- drivers/i2c/i2c-core-base.c | 12 +- drivers/infiniband/hw/mlx5/mad.c | 3 +- drivers/infiniband/sw/rxe/rxe.c | 2 + drivers/irqchip/irq-gic-v3-its.c | 9 +- drivers/md/dm-core.h | 2 + drivers/md/dm-ioctl.c | 3 +- drivers/md/dm-table.c | 9 +- drivers/mtd/nand/raw/diskonchip.c | 4 +- drivers/net/ethernet/amazon/ena/ena_com.c | 2 +- drivers/net/ethernet/broadcom/b44.c | 14 +- drivers/net/ethernet/intel/i40e/i40e_main.c | 2 +- drivers/net/ethernet/intel/iavf/iavf_main.c | 30 +++- drivers/net/ethernet/mellanox/mlx5/core/cmd.c | 12 +- drivers/net/ethernet/mellanox/mlx5/core/fs_core.c | 3 +- drivers/net/ethernet/mellanox/mlxsw/core.c | 2 +- .../ethernet/mellanox/mlxsw/spectrum_acl_tcam.c | 54 ++++++-- drivers/net/geneve.c | 4 +- drivers/net/gtp.c | 3 +- drivers/net/tun.c | 18 +-- drivers/net/usb/ax88179_178a.c | 11 +- drivers/net/vxlan.c | 4 + drivers/nfc/trf7970a.c | 42 +++--- drivers/staging/comedi/drivers/vmk80xx.c | 35 ++--- drivers/staging/speakup/main.c | 2 +- drivers/tty/serial/mxs-auart.c | 8 +- drivers/tty/serial/pmac_zilog.c | 14 -- drivers/usb/class/cdc-wdm.c | 6 +- drivers/usb/core/port.c | 4 +- drivers/usb/dwc2/hcd_ddma.c | 4 +- drivers/usb/serial/option.c | 40 ++++++ drivers/vhost/vhost.c | 14 +- fs/btrfs/backref.c | 12 +- fs/btrfs/delayed-inode.c | 3 + fs/btrfs/qgroup.c | 2 + fs/nilfs2/dir.c | 2 +- fs/sysfs/file.c | 2 + include/linux/etherdevice.h | 25 ++++ include/linux/serial_core.h | 79 +++++++++++ include/linux/trace_events.h | 2 +- include/linux/u64_stats_sync.h | 6 +- include/net/addrconf.h | 4 + include/net/af_unix.h | 5 +- include/net/ip_tunnels.h | 33 +++++ kernel/bounds.c | 2 +- kernel/kprobes.c | 18 ++- kernel/trace/trace_event_perf.c | 3 +- kernel/trace/trace_events_trigger.c | 6 +- lib/stackdepot.c | 4 +- net/batman-adv/translation-table.c | 2 +- net/bluetooth/hci_request.c | 4 +- net/bluetooth/l2cap_sock.c | 7 +- net/bluetooth/sco.c | 7 +- net/ethernet/eth.c | 12 +- net/ipv4/inet_timewait_sock.c | 34 +++-- net/ipv4/route.c | 4 +- net/ipv4/udp.c | 5 +- net/ipv6/addrconf.c | 7 +- net/ipv6/ip6_fib.c | 7 +- net/ipv6/udp.c | 5 +- net/netfilter/ipvs/ip_vs_proto_sctp.c | 6 +- net/netfilter/nf_tables_api.c | 8 +- net/openvswitch/conntrack.c | 9 +- net/unix/af_unix.c | 4 +- net/unix/garbage.c | 35 +++-- net/unix/scm.c | 8 +- .../ftrace/test.d/event/subsystem-enable.tc | 6 +- tools/testing/selftests/timers/posix_timers.c | 2 +- virt/kvm/async_pf.c | 19 +-- 89 files changed, 905 insertions(+), 340 deletions(-)