This is the start of the stable review cycle for the 5.4.241 release. There are 92 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, 20 Apr 2023 12:02:44 +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.241-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.241-rc1 Darrick J. Wong <djwong@xxxxxxxxxx> xfs: force log and push AIL to clear pinned inodes when aborting mount Brian Foster <bfoster@xxxxxxxxxx> xfs: don't reuse busy extents on extent trim Brian Foster <bfoster@xxxxxxxxxx> xfs: consider shutdown in bmapbt cursor delete assert Darrick J. Wong <djwong@xxxxxxxxxx> xfs: shut down the filesystem if we screw up quota reservation Darrick J. Wong <darrick.wong@xxxxxxxxxx> xfs: report corruption only as a regular error Jeffrey Mitchell <jeffrey.mitchell@xxxxxxxxxx> xfs: set inode size after creating symlink Christoph Hellwig <hch@xxxxxx> xfs: fix up non-directory creation in SGID directories Christoph Hellwig <hch@xxxxxx> xfs: remove the di_version field from struct icdinode Christoph Hellwig <hch@xxxxxx> xfs: simplify a check in xfs_ioctl_setattr_check_cowextsize Christoph Hellwig <hch@xxxxxx> xfs: simplify di_flags2 inheritance in xfs_ialloc Christoph Hellwig <hch@xxxxxx> xfs: only check the superblock version for dinode size calculation Christoph Hellwig <hch@xxxxxx> xfs: add a new xfs_sb_version_has_v3inode helper Christoph Hellwig <hch@xxxxxx> xfs: remove the kuid/kgid conversion wrappers Christoph Hellwig <hch@xxxxxx> xfs: remove the icdinode di_uid/di_gid members Christoph Hellwig <hch@xxxxxx> xfs: ensure that the inode uid/gid match values match the icdinode ones Christoph Hellwig <hch@xxxxxx> xfs: merge the projid fields in struct xfs_icdinode Kaixu Xia <kaixuxia@xxxxxxxxxxx> xfs: show the proper user quota options Steve Clevenger <scclevenger@xxxxxxxxxxxxxxxxxxxxxx> coresight-etm4: Fix for() loop drvdata->nr_addr_cmp range bug George Cherian <george.cherian@xxxxxxxxxxx> watchdog: sbsa_wdog: Make sure the timeout programming is within the limits Gregor Herburger <gregor.herburger@xxxxxxxxxxxx> i2c: ocores: generate stop condition after timeout in polling mode ZhaoLong Wang <wangzhaolong1@xxxxxxxxxx> ubi: Fix deadlock caused by recursively holding work_sem Lee Jones <lee.jones@xxxxxxxxxx> mtd: ubi: wl: Fix a couple of kernel-doc issues Zhihao Cheng <chengzhihao1@xxxxxxxxxx> ubi: Fix failure attaching when vid_hdr offset equals to (sub)page size Robbie Harwood <rharwood@xxxxxxxxxx> asymmetric_keys: log on fatal failures in PE/pkcs7 Robbie Harwood <rharwood@xxxxxxxxxx> verify_pefile: relax wrapper length check Hans de Goede <hdegoede@xxxxxxxxxx> drm: panel-orientation-quirks: Add quirk for Lenovo Yoga Book X90F Hans de Goede <hdegoede@xxxxxxxxxx> efi: sysfb_efi: Add quirk for Lenovo Yoga Book X91F/L Alexander Stein <alexander.stein@xxxxxxxxxxxxxxx> i2c: imx-lpi2c: clean rx/tx buffers upon new message Grant Grundler <grundler@xxxxxxxxxxxx> power: supply: cros_usbpd: reclassify "default case!" as debug Roman Gushchin <roman.gushchin@xxxxxxxxx> net: macb: fix a memory corruption in extended buffer descriptor mode Eric Dumazet <edumazet@xxxxxxxxxx> udp6: fix potential access to stale information Saravanan Vajravel <saravanan.vajravel@xxxxxxxxxxxx> RDMA/core: Fix GID entry ref leak when create_ah fails Xin Long <lucien.xin@xxxxxxxxx> sctp: fix a potential overflow in sctp_ifwdtsn_skip Denis Plotnikov <den-plotnikov@xxxxxxxxxxxxxx> qlcnic: check pci_reset_function result Harshit Mogalapalli <harshit.m.mogalapalli@xxxxxxxxxx> niu: Fix missing unwind goto in niu_alloc_channels() Zheng Wang <zyytlz.wz@xxxxxxx> 9p/xen : Fix use after free bug in xen_9pfs_front_remove due to race condition Christophe Kerello <christophe.kerello@xxxxxxxxxxx> mtd: rawnand: stm32_fmc2: remove unsupported EDO mode Arseniy Krasnov <avkrasnov@xxxxxxxxxxxxxx> mtd: rawnand: meson: fix bitmask for length in command word Bang Li <libang.linuxer@xxxxxxxxx> mtdblock: tolerate corrected bit-flips Christoph Hellwig <hch@xxxxxx> btrfs: fix fast csum implementation detection David Sterba <dsterba@xxxxxxxx> btrfs: print checksum type and implementation at mount time Min Li <lm0963hack@xxxxxxxxx> Bluetooth: Fix race condition in hidp_session_thread Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx> Bluetooth: L2CAP: Fix use-after-free in l2cap_disconnect_{req,rsp} Oswald Buddenhagen <oswald.buddenhagen@xxxxxx> ALSA: hda/sigmatel: fix S/PDIF out on Intel D*45* motherboards Xu Biang <xubiang@xxxxxxxxxxx> ALSA: firewire-tascam: add missing unwind goto in snd_tscm_stream_start_duplex() Oswald Buddenhagen <oswald.buddenhagen@xxxxxx> ALSA: i2c/cs8427: fix iec958 mixer control deactivation Oswald Buddenhagen <oswald.buddenhagen@xxxxxx> ALSA: hda/sigmatel: add pin overrides for Intel DP45SG motherboard Oswald Buddenhagen <oswald.buddenhagen@xxxxxx> ALSA: emu10k1: fix capture interrupt handler unlinking Kornel Dulęba <korneld@xxxxxxxxxxxx> Revert "pinctrl: amd: Disable and mask interrupts on resume" Johan Hovold <johan+linaro@xxxxxxxxxx> irqdomain: Fix mapping-creation race Johan Hovold <johan+linaro@xxxxxxxxxx> irqdomain: Refactor __irq_domain_alloc_irqs() Johan Hovold <johan+linaro@xxxxxxxxxx> irqdomain: Look for existing mapping only once Rongwei Wang <rongwei.wang@xxxxxxxxxxxxxxxxx> mm/swap: fix swap_info_struct race between swapoff and get_swap_pages() Zheng Yejian <zhengyejian1@xxxxxxxxxx> ring-buffer: Fix race while reader and writer are on the same page Boris Brezillon <boris.brezillon@xxxxxxxxxxxxx> drm/panfrost: Fix the panfrost_mmu_map_fault_addr() error path Pratyush Yadav <ptyadav@xxxxxxxxx> net_sched: prevent NULL dereference if default qdisc setup failed Steven Rostedt (Google) <rostedt@xxxxxxxxxxx> tracing: Free error logs of tracing instances Oleksij Rempel <linux@xxxxxxxxxxxxxxxx> can: j1939: j1939_tp_tx_dat_new(): fix out-of-bounds memory access John Keeping <john@xxxxxxxxxxxx> ftrace: Mark get_lock_parent_ip() __always_inline Kan Liang <kan.liang@xxxxxxxxxxxxxxx> perf/core: Fix the same task check in perf_event_set_output Jeremy Soller <jeremy@xxxxxxxxxxxx> ALSA: hda/realtek: Add quirk for Clevo X370SNW Ryusuke Konishi <konishi.ryusuke@xxxxxxxxx> nilfs2: fix sysfs interface lifetime Ryusuke Konishi <konishi.ryusuke@xxxxxxxxx> nilfs2: fix potential UAF of struct nilfs_sc_info in nilfs_segctor_thread() Sherry Sun <sherry.sun@xxxxxxx> tty: serial: fsl_lpuart: avoid checking for transfer complete when UARTCTRL_SBK is asserted in lpuart32_tx_empty Biju Das <biju.das.jz@xxxxxxxxxxxxxx> tty: serial: sh-sci: Fix Rx on RZ/G2L SCI Biju Das <biju.das.jz@xxxxxxxxxxxxxx> tty: serial: sh-sci: Fix transmit end interrupt handler William Breathitt Gray <william.gray@xxxxxxxxxx> iio: dac: cio-dac: Fix max DAC write value check for 12-bit Lars-Peter Clausen <lars@xxxxxxxxxx> iio: adc: ti-ads7950: Set `can_sleep` flag for GPIO chip Bjørn Mork <bjorn@xxxxxxx> USB: serial: option: add Quectel RM500U-CN modem Enrico Sau <enrico.sau@xxxxxxxxx> USB: serial: option: add Telit FE990 compositions RD Babiera <rdbabiera@xxxxxxxxxx> usb: typec: altmodes/displayport: Fix configure initial pin assignment Kees Jan Koster <kjkoster@xxxxxxxxxxxx> USB: serial: cp210x: add Silicon Labs IFS-USB-DATACABLE IDs D Scott Phillips <scott@xxxxxxxxxxxxxxxxxxxxxx> xhci: also avoid the XHCI_ZERO_64B_REGS quirk with a passthrough iommu Dai Ngo <dai.ngo@xxxxxxxxxx> NFSD: callback request does not use correct credential for AUTH_SYS Jeff Layton <jlayton@xxxxxxxxxx> sunrpc: only free unix grouplist after RCU settles Dhruva Gole <d-gole@xxxxxx> gpio: davinci: Add irq chip flag to skip set wake Ziyang Xuan <william.xuanziyang@xxxxxxxxxx> ipv6: Fix an uninit variable access bug in __ip6_make_skb() Xin Long <lucien.xin@xxxxxxxxx> sctp: check send stream number after wait_for_sndbuf Jakub Kicinski <kuba@xxxxxxxxxx> net: don't let netpoll invoke NAPI if in xmit context Eric Dumazet <edumazet@xxxxxxxxxx> icmp: guard against too small mtu Felix Fietkau <nbd@xxxxxxxx> wifi: mac80211: fix invalid drv_sta_pre_rcu_remove calls for non-uploaded sta Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx> pwm: sprd: Explicitly set .polarity in .get_state() Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx> pwm: cros-ec: Explicitly set .polarity in .get_state() Kornel Dulęba <korneld@xxxxxxxxxxxx> pinctrl: amd: Disable and mask interrupts on resume Sachi King <nakato@xxxxxxxxx> pinctrl: amd: disable and mask interrupts on probe Linus Walleij <linus.walleij@xxxxxxxxxx> pinctrl: amd: Use irqchip template Steve French <stfrench@xxxxxxxxxxxxx> smb3: fix problem with null cifs super block with previous patch Kees Cook <keescook@xxxxxxxxxxxx> treewide: Replace DECLARE_TASKLET() with DECLARE_TASKLET_OLD() Tom Saeger <tom.saeger@xxxxxxxxxx> Revert "treewide: Replace DECLARE_TASKLET() with DECLARE_TASKLET_OLD()" Waiman Long <longman@xxxxxxxxxx> cgroup/cpuset: Wake up cpuset_attach_wq tasks in cpuset_cancel_attach() Basavaraj Natikar <Basavaraj.Natikar@xxxxxxx> x86/PCI: Add quirk for AMD XHCI controller that loses MSI-X state in D3hot Jiri Kosina <jkosina@xxxxxxx> scsi: ses: Handle enclosure with just a primary component gracefully ------------- Diffstat: Documentation/sound/hd-audio/models.rst | 2 +- Makefile | 4 +- arch/mips/lasat/picvue_proc.c | 2 +- arch/x86/kernel/sysfb_efi.c | 8 ++ arch/x86/pci/fixup.c | 21 +++ crypto/asymmetric_keys/pkcs7_verify.c | 10 +- crypto/asymmetric_keys/verify_pefile.c | 32 +++-- drivers/gpio/gpio-davinci.c | 2 +- drivers/gpu/drm/drm_panel_orientation_quirks.c | 13 +- drivers/gpu/drm/panfrost/panfrost_mmu.c | 1 + drivers/hwtracing/coresight/coresight-etm4x.c | 2 +- drivers/i2c/busses/i2c-imx-lpi2c.c | 2 + drivers/i2c/busses/i2c-ocores.c | 35 ++--- drivers/iio/adc/ti-ads7950.c | 1 + drivers/iio/dac/cio-dac.c | 4 +- drivers/infiniband/core/verbs.c | 2 + drivers/mtd/mtdblock.c | 12 +- drivers/mtd/nand/raw/meson_nand.c | 6 +- drivers/mtd/nand/raw/stm32_fmc2_nand.c | 3 + drivers/mtd/ubi/build.c | 21 ++- drivers/mtd/ubi/wl.c | 5 +- drivers/net/ethernet/cadence/macb_main.c | 4 + drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c | 8 +- drivers/net/ethernet/sun/niu.c | 2 +- drivers/pinctrl/pinctrl-amd.c | 52 +++++-- drivers/power/supply/cros_usbpd-charger.c | 2 +- drivers/pwm/pwm-cros-ec.c | 1 + drivers/pwm/pwm-sprd.c | 1 + drivers/scsi/ses.c | 20 ++- drivers/tty/serial/fsl_lpuart.c | 8 +- drivers/tty/serial/sh-sci.c | 9 +- drivers/usb/host/xhci.c | 6 +- drivers/usb/serial/cp210x.c | 1 + drivers/usb/serial/option.c | 10 ++ drivers/usb/typec/altmodes/displayport.c | 6 +- drivers/watchdog/sbsa_gwdt.c | 1 + fs/btrfs/disk-io.c | 17 +++ fs/btrfs/super.c | 2 - fs/cifs/cifsproto.h | 2 +- fs/cifs/smb2ops.c | 2 +- fs/nfsd/nfs4callback.c | 4 +- fs/nilfs2/segment.c | 3 +- fs/nilfs2/super.c | 2 + fs/nilfs2/the_nilfs.c | 12 +- fs/xfs/libxfs/xfs_attr_leaf.c | 5 +- fs/xfs/libxfs/xfs_bmap.c | 10 +- fs/xfs/libxfs/xfs_btree.c | 30 ++-- fs/xfs/libxfs/xfs_format.h | 33 +++-- fs/xfs/libxfs/xfs_ialloc.c | 6 +- fs/xfs/libxfs/xfs_inode_buf.c | 54 +++---- fs/xfs/libxfs/xfs_inode_buf.h | 8 +- fs/xfs/libxfs/xfs_inode_fork.c | 2 +- fs/xfs/libxfs/xfs_inode_fork.h | 9 +- fs/xfs/libxfs/xfs_log_format.h | 10 +- fs/xfs/libxfs/xfs_trans_resv.c | 2 +- fs/xfs/xfs_acl.c | 12 +- fs/xfs/xfs_bmap_util.c | 16 +-- fs/xfs/xfs_buf_item.c | 2 +- fs/xfs/xfs_dquot.c | 6 +- fs/xfs/xfs_error.c | 2 +- fs/xfs/xfs_extent_busy.c | 14 -- fs/xfs/xfs_icache.c | 8 +- fs/xfs/xfs_inode.c | 61 +++----- fs/xfs/xfs_inode.h | 21 +-- fs/xfs/xfs_inode_item.c | 20 ++- fs/xfs/xfs_ioctl.c | 22 ++- fs/xfs/xfs_iops.c | 11 +- fs/xfs/xfs_itable.c | 8 +- fs/xfs/xfs_linux.h | 32 +---- fs/xfs/xfs_log_recover.c | 6 +- fs/xfs/xfs_mount.c | 90 ++++++------ fs/xfs/xfs_qm.c | 43 +++--- fs/xfs/xfs_qm_bhv.c | 2 +- fs/xfs/xfs_quota.h | 4 +- fs/xfs/xfs_super.c | 10 +- fs/xfs/xfs_symlink.c | 7 +- fs/xfs/xfs_trans_dquot.c | 16 ++- include/linux/ftrace.h | 2 +- kernel/cgroup/cpuset.c | 6 +- kernel/events/core.c | 2 +- kernel/irq/irqdomain.c | 182 +++++++++++++++--------- kernel/trace/ring_buffer.c | 13 +- kernel/trace/trace.c | 1 + mm/swapfile.c | 3 +- net/9p/trans_xen.c | 4 + net/bluetooth/hidp/core.c | 2 +- net/bluetooth/l2cap_core.c | 24 +--- net/can/j1939/transport.c | 5 +- net/core/netpoll.c | 19 ++- net/ipv4/icmp.c | 5 + net/ipv6/ip6_output.c | 7 +- net/ipv6/udp.c | 8 +- net/mac80211/sta_info.c | 3 +- net/sched/sch_generic.c | 1 + net/sctp/socket.c | 4 + net/sctp/stream_interleave.c | 3 +- net/sunrpc/svcauth_unix.c | 17 ++- sound/firewire/tascam/tascam-stream.c | 2 +- sound/i2c/cs8427.c | 7 +- sound/pci/emu10k1/emupcm.c | 4 +- sound/pci/hda/patch_realtek.c | 1 + sound/pci/hda/patch_sigmatel.c | 10 ++ 102 files changed, 731 insertions(+), 549 deletions(-)