This is the start of the stable review cycle for the 5.4.247 release. There are 45 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 Wed, 14 Jun 2023 10:16:41 +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.247-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.247-rc1 Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> Revert "staging: rtl8192e: Replace macro RTL_PCI_DEVICE with PCI_DEVICE" YouChing Lin <ycllin@xxxxxxxxxxx> mtd: spinand: macronix: Add support for MX35LFxGE4AD Zixuan Fu <r33s3n6@xxxxxxxxx> btrfs: unset reloc control if transaction commit fails in prepare_to_relocate() Josef Bacik <josef@xxxxxxxxxxxxxx> btrfs: check return value of btrfs_commit_transaction in relocation Ilya Dryomov <idryomov@xxxxxxxxx> rbd: get snapshot context after exclusive lock is ensured to be held Ville Syrjälä <ville.syrjala@xxxxxxxxxxxxxxx> drm/atomic: Don't pollute crtc_state->mode_blob with error pointers Paulo Alcantara <pc@xxxxxx> cifs: handle empty list of targets in cifs_reconnect() Paulo Alcantara <pc@xxxxxx> cifs: get rid of unused parameter in reconn_setup_dfs_targets() Theodore Ts'o <tytso@xxxxxxx> ext4: only check dquot_initialize_needed() when debugging Randy Dunlap <rdunlap@xxxxxxxxxxxxx> eeprom: at24: also select REGMAP Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx> i2c: sprd: Delete i2c adapter in .remove's error path Jiri Slaby (SUSE) <jirislaby@xxxxxxxxxx> bonding (gcc13): synchronize bond_{a,t}lb_xmit() types Ruihan Li <lrh2000@xxxxxxxxxx> usb: usbfs: Use consistent mmap functions Ruihan Li <lrh2000@xxxxxxxxxx> usb: usbfs: Enforce page requirements for mmap Martin Hundebøll <martin@xxxxxxxxxx> pinctrl: meson-axg: add missing GPIOA_18 gpio group Ilya Dryomov <idryomov@xxxxxxxxx> rbd: move RBD_OBJ_FLAG_COPYUP_ENABLED flag setting Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx> Bluetooth: Fix use-after-free in hci_remove_ltk/hci_remove_irk Xiubo Li <xiubli@xxxxxxxxxx> ceph: fix use-after-free bug for inodes when flushing capsnaps Fedor Pchelkin <pchelkin@xxxxxxxxx> can: j1939: avoid possible use-after-free when j1939_can_rx_register fails Fedor Pchelkin <pchelkin@xxxxxxxxx> can: j1939: change j1939_netdev_lock type to mutex Oleksij Rempel <linux@xxxxxxxxxxxxxxxx> can: j1939: j1939_sk_send_loop_abort(): improved error queue handling in J1939 Socket Chia-I Wu <olvaffe@xxxxxxxxx> drm/amdgpu: fix xclk freq on CHIP_STONEY RenHai <kean0048@xxxxxxxxx> ALSA: hda/realtek: Add Lenovo P3 Tower platform Ai Chao <aichao@xxxxxxxxxx> ALSA: hda/realtek: Add a quirk for HP Slim Desktop S01 Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx> Input: psmouse - fix OOB access in Elantech protocol Ismael Ferreras Morezuelas <swyterzone@xxxxxxxxx> Input: xpad - delete a Razer DeathAdder mouse VID/PID entry Vladislav Efanov <VEfanov@xxxxxxxxx> batman-adv: Broken sync while rescheduling delayed work Somnath Kotur <somnath.kotur@xxxxxxxxxxxx> bnxt_en: Query default VLAN before VNIC setup on a VF Ben Hutchings <ben@xxxxxxxxxxxxxxx> lib: cpu_rmap: Fix potential use-after-free in irq_cpu_rmap_release() Hangyu Hua <hbh25y@xxxxxxxxx> net: sched: fix possible refcount leak in tc_chain_tmplt_add() Eric Dumazet <edumazet@xxxxxxxxxx> net: sched: move rtm_tca_policy declaration to include file Eric Dumazet <edumazet@xxxxxxxxxx> rfs: annotate lockless accesses to RFS sock flow table Eric Dumazet <edumazet@xxxxxxxxxx> rfs: annotate lockless accesses to sk->sk_rxhash Kuniyuki Iwashima <kuniyu@xxxxxxxxxx> netfilter: ipset: Add schedule point in call_ad(). Tijs Van Buggenhout <tijs.van.buggenhout@xxxxxxxxxxxx> netfilter: conntrack: fix NULL pointer dereference in nf_confirm_cthelper Sungwoo Kim <iam@xxxxxxxxxxxx> Bluetooth: L2CAP: Add missing checks for invalid DCID Ying Hsu <yinghsu@xxxxxxxxxxxx> Bluetooth: Fix l2cap_disconnect_req deadlock Alexander Sverdlin <alexander.sverdlin@xxxxxxxxxxx> net: dsa: lan9303: allow vid != 0 in port_fdb_{add|del} methods Qingfang DENG <qingfang.deng@xxxxxxxxxxxxxxx> neighbour: fix unaligned access to pneigh_entry Gustavo A. R. Silva <gustavo@xxxxxxxxxxxxxx> neighbour: Replace zero-length array with flexible-array member Stephan Gerhold <stephan@xxxxxxxxxxx> spi: qup: Request DMA before enabling clocks Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> i40e: fix build warnings in i40e_alloc.h Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> i40iw: fix build warning in i40iw_manage_apbvt() Jiri Slaby (SUSE) <jirislaby@xxxxxxxxxx> block/blk-iocost (gcc13): keep large values in a new enum Arnd Bergmann <arnd@xxxxxxxx> blk-iocost: avoid 64-bit division in ioc_timer_fn ------------- Diffstat: Makefile | 4 +- block/blk-iocost.c | 10 ++-- drivers/block/rbd.c | 73 +++++++++++++++++----------- drivers/gpu/drm/amd/amdgpu/vi.c | 11 ++++- drivers/gpu/drm/drm_atomic_uapi.c | 14 +++--- drivers/i2c/busses/i2c-sprd.c | 8 +-- drivers/infiniband/hw/i40iw/i40iw.h | 5 +- drivers/input/joystick/xpad.c | 1 - drivers/input/mouse/elantech.c | 9 ++-- drivers/misc/eeprom/Kconfig | 1 + drivers/mtd/nand/spi/macronix.c | 16 ++++++ drivers/net/dsa/lan9303-core.c | 4 -- drivers/net/ethernet/broadcom/bnxt/bnxt.c | 3 ++ drivers/net/ethernet/intel/i40e/i40e_alloc.h | 17 +++---- drivers/pinctrl/meson/pinctrl-meson-axg.c | 1 + drivers/spi/spi-qup.c | 37 +++++++------- drivers/staging/rtl8192e/rtl8192e/rtl_core.c | 6 +-- drivers/staging/rtl8192e/rtl8192e/rtl_core.h | 5 ++ drivers/usb/core/buffer.c | 41 ++++++++++++++++ drivers/usb/core/devio.c | 20 +++++--- fs/btrfs/relocation.c | 14 ++++-- fs/ceph/caps.c | 6 +++ fs/ceph/snap.c | 4 +- fs/cifs/connect.c | 15 +++--- fs/ext4/xattr.c | 6 ++- include/linux/netdevice.h | 7 ++- include/linux/usb/hcd.h | 5 ++ include/net/bond_alb.h | 4 +- include/net/neighbour.h | 2 +- include/net/pkt_sched.h | 2 + include/net/sock.h | 18 +++++-- lib/cpu_rmap.c | 2 +- net/batman-adv/distributed-arp-table.c | 2 +- net/bluetooth/hci_core.c | 8 +-- net/bluetooth/l2cap_core.c | 13 +++++ net/can/j1939/main.c | 24 ++++----- net/can/j1939/socket.c | 5 ++ net/core/dev.c | 6 ++- net/netfilter/ipset/ip_set_core.c | 8 +++ net/netfilter/nf_conntrack_core.c | 3 ++ net/sched/cls_api.c | 3 +- sound/pci/hda/patch_realtek.c | 2 + 42 files changed, 305 insertions(+), 140 deletions(-)