This is the start of the stable review cycle for the 6.6.58 release. There are 124 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, 23 Oct 2024 10:22:25 +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/v6.x/stable-review/patch-6.6.58-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-6.6.y and the diffstat can be found below. thanks, greg k-h ------------- Pseudo-Shortlog of commits: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> Linux 6.6.58-rc1 Vasiliy Kovalev <kovalev@xxxxxxxxxxxx> ALSA: hda/conexant - Use cached pin control for Node 0x1d on HP EliteOne 1000 G2 Ryusuke Konishi <konishi.ryusuke@xxxxxxxxx> nilfs2: propagate directory read errors from nilfs_find_entry() Matthieu Baerts (NGI0) <matttbe@xxxxxxxxxx> selftests: mptcp: remove duplicated variables Paolo Abeni <pabeni@xxxxxxxxxx> selftests: mptcp: join: test for prohibited MPC to port-based endp Geliang Tang <tanggeliang@xxxxxxxxxx> selftests: mptcp: join: change capture/checksum as bool Paolo Abeni <pabeni@xxxxxxxxxx> tcp: fix mptcp DSS corruption due to large pmtu xmit Johan Hovold <johan+linaro@xxxxxxxxxx> serial: qcom-geni: fix receiver enable Johan Hovold <johan+linaro@xxxxxxxxxx> serial: qcom-geni: fix dma rx cancellation Johan Hovold <johan+linaro@xxxxxxxxxx> serial: qcom-geni: revert broken hibernation support Johan Hovold <johan+linaro@xxxxxxxxxx> serial: qcom-geni: fix polled console initialisation Nam Cao <namcao@xxxxxxxxxxxxx> irqchip/sifive-plic: Unmask interrupt in plic_irq_enable() Marc Zyngier <maz@xxxxxxxxxx> irqchip/gic-v4: Don't allow a VMOVP on a dying VPE Ma Ke <make24@xxxxxxxxxxx> pinctrl: apple: check devm_kasprintf() returned value Ma Ke <make24@xxxxxxxxxxx> pinctrl: stm32: check devm_kasprintf() returned value Sergey Matsievskiy <matsievskiysv@xxxxxxxxx> pinctrl: ocelot: fix system hang on level based interrupts Pawan Gupta <pawan.kumar.gupta@xxxxxxxxxxxxxxx> x86/bugs: Use code segment selector for VERW operand Longlong Xia <xialonglong@xxxxxxxxxx> tty: n_gsm: Fix use-after-free in gsm_cleanup_mux Pawan Gupta <pawan.kumar.gupta@xxxxxxxxxxxxxxx> x86/entry_32: Clear CPU buffers after register restore in NMI return Pawan Gupta <pawan.kumar.gupta@xxxxxxxxxxxxxxx> x86/entry_32: Do not clobber user EFLAGS.ZF John Allen <john.allen@xxxxxxx> x86/CPU/AMD: Only apply Zenbleed fix for Zen2 during late microcode load Zhang Rui <rui.zhang@xxxxxxxxx> x86/apic: Always explicitly disarm TSC-deadline timer Nathan Chancellor <nathan@xxxxxxxxxx> x86/resctrl: Annotate get_mem_config() functions as __init Takashi Iwai <tiwai@xxxxxxx> parport: Proper fix for array out-of-bounds access Marek Vasut <marex@xxxxxxx> serial: imx: Update mctrl old_status on RTSD interrupt Heiko Thiery <heiko.thiery@xxxxxxxxx> misc: microchip: pci1xxxx: add support for NVMEM_DEVID_AUTO for OTP device Heiko Thiery <heiko.thiery@xxxxxxxxx> misc: microchip: pci1xxxx: add support for NVMEM_DEVID_AUTO for EEPROM device Prashanth K <quic_prashk@xxxxxxxxxxx> usb: dwc3: Wait for EndXfer completion before restoring GUSB2PHYCFG Jonathan Marek <jonathan@xxxxxxxx> usb: typec: qcom-pmic-typec: fix sink status being overwritten with RP_DEF Daniele Palmas <dnlplm@xxxxxxxxx> USB: serial: option: add Telit FN920C04 MBIM compositions Benjamin B. Frost <benjamin@xxxxxxxxxx> USB: serial: option: add support for Quectel EG916Q-GL Mathias Nyman <mathias.nyman@xxxxxxxxxxxxxxx> xhci: Mitigate failed set dequeue pointer commands Mathias Nyman <mathias.nyman@xxxxxxxxxxxxxxx> xhci: Fix incorrect stream context type macro Henry Lin <henryl@xxxxxxxxxx> xhci: tegra: fix checked USB2 port number Jeongjun Park <aha310510@xxxxxxxxx> vt: prevent kernel-infoleak in con_font_get() Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx> Bluetooth: btusb: Fix regression with fake CSR controllers 0a12:0001 Aaron Thompson <dev@xxxxxxxxxx> Bluetooth: ISO: Fix multiple init when debugfs is disabled Aaron Thompson <dev@xxxxxxxxxx> Bluetooth: Remove debugfs directory on module init failure Aaron Thompson <dev@xxxxxxxxxx> Bluetooth: Call iso_exit() on module unload Javier Carrasco <javier.carrasco.cruz@xxxxxxxxx> iio: accel: kx022a: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig Javier Carrasco <javier.carrasco.cruz@xxxxxxxxx> iio: adc: ti-ads124s08: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig Javier Carrasco <javier.carrasco.cruz@xxxxxxxxx> iio: adc: ti-lmp92064: add missing select REGMAP_SPI in Kconfig Javier Carrasco <javier.carrasco.cruz@xxxxxxxxx> iio: dac: ad3552r: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig Javier Carrasco <javier.carrasco.cruz@xxxxxxxxx> iio: proximity: mb1232: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig Javier Carrasco <javier.carrasco.cruz@xxxxxxxxx> iio: dac: ad5766: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig Javier Carrasco <javier.carrasco.cruz@xxxxxxxxx> iio: light: bu27008: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig Javier Carrasco <javier.carrasco.cruz@xxxxxxxxx> iio: frequency: adf4377: add missing select REMAP_SPI in Kconfig Javier Carrasco <javier.carrasco.cruz@xxxxxxxxx> iio: amplifiers: ada4250: add missing select REGMAP_SPI in Kconfig Emil Gedenryd <emil.gedenryd@xxxxxxxx> iio: light: opt3001: add missing full-scale range value Javier Carrasco <javier.carrasco.cruz@xxxxxxxxx> iio: light: veml6030: fix IIO device retrieval from embedded device Javier Carrasco <javier.carrasco.cruz@xxxxxxxxx> iio: light: veml6030: fix ALS sensor resolution Christophe JAILLET <christophe.jaillet@xxxxxxxxxx> iio: hid-sensors: Fix an error handling path in _hid_sensor_set_report_latency() Javier Carrasco <javier.carrasco.cruz@xxxxxxxxx> iio: adc: ti-ads8688: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig Javier Carrasco <javier.carrasco.cruz@xxxxxxxxx> iio: dac: stm32-dac-core: add missing select REGMAP_MMIO in Kconfig Javier Carrasco <javier.carrasco.cruz@xxxxxxxxx> iio: dac: ltc1660: add missing select REGMAP_SPI in Kconfig Javier Carrasco <javier.carrasco.cruz@xxxxxxxxx> iio: dac: ad5770r: add missing select REGMAP_SPI in Kconfig Mohammed Anees <pvmohammedanees2003@xxxxxxxxx> drm/amdgpu: prevent BO_HANDLES error from being overwritten Alex Deucher <alexander.deucher@xxxxxxx> drm/amdgpu/swsmu: Only force workload setup on init Nikolay Kuratov <kniv@xxxxxxxxxxxxxx> drm/vmwgfx: Handle surface check failure correctly Ville Syrjälä <ville.syrjala@xxxxxxxxxxxxxxx> drm/radeon: Fix encoder->possible_clones Peter Wang <peter.wang@xxxxxxxxxxxx> scsi: ufs: core: Fix the issue of ICU failure Seunghwan Baek <sh8267.baek@xxxxxxxxxxx> scsi: ufs: core: Set SDEV_OFFLINE when UFS is shut down John Edwards <uejji@xxxxxxxxx> Input: xpad - add support for MSI Claw A1M Yun Lu <luyun@xxxxxxxxxx> selftest: hid: add the missing tests directory Ming Lei <ming.lei@xxxxxxxxxx> ublk: don't allow user copy for unprivileged device Jens Axboe <axboe@xxxxxxxxx> io_uring/sqpoll: close race on waiting for sqring entries Omar Sandoval <osandov@xxxxxx> blk-rq-qos: fix crash on rq_qos_wait vs. rq_qos_wake_function race Johannes Wikner <kwikner@xxxxxxx> x86/bugs: Do not use UNTRAIN_RET with IBPB on entry Johannes Wikner <kwikner@xxxxxxx> x86/bugs: Skip RSB fill at VMEXIT Johannes Wikner <kwikner@xxxxxxx> x86/entry: Have entry_ibpb() invalidate return predictions Johannes Wikner <kwikner@xxxxxxx> x86/cpufeatures: Add a IBPB_NO_RET BUG flag Jim Mattson <jmattson@xxxxxxxxxx> x86/cpufeatures: Define X86_FEATURE_AMD_IBPB_RET Michael Mueller <mimu@xxxxxxxxxxxxx> KVM: s390: Change virtual to physical address access in diag 0x258 handler Nico Boehr <nrb@xxxxxxxxxxxxx> KVM: s390: gaccess: Check if guest address is in memslot Thomas Weißschuh <thomas.weissschuh@xxxxxxxxxxxxx> s390/sclp_vt220: Convert newlines to CRLF instead of LFCR Thomas Weißschuh <thomas.weissschuh@xxxxxxxxxxxxx> s390/sclp: Deactivate sclp after all its users Lu Baolu <baolu.lu@xxxxxxxxxxxxxxx> iommu/vt-d: Fix incorrect pci_for_each_dma_alias() for non-PCI devices Paolo Abeni <pabeni@xxxxxxxxxx> mptcp: prevent MPC handshake on port-based signal endpoints Csókás, Bence <csokas.bence@xxxxxxxxx> net: fec: Remove duplicated code Csókás, Bence <csokas.bence@xxxxxxxxx> net: fec: Move `fec_ptp_read()` to the top of the file Lorenzo Stoakes <lorenzo.stoakes@xxxxxxxxxx> maple_tree: correct tree corruption on spanning store Darrick J. Wong <djwong@xxxxxxxxxx> xfs: restrict when we try to align cow fork delalloc to cowextsz hints Darrick J. Wong <djwong@xxxxxxxxxx> xfs: allow unlinked symlinks and dirs with zero size Christoph Hellwig <hch@xxxxxx> xfs: fix freeing speculative preallocations for preallocated files Dave Chinner <dchinner@xxxxxxxxxx> xfs: fix unlink vs cluster buffer instantiation race Wengang Wang <wen.gang.wang@xxxxxxxxxx> xfs: make sure sb_fdblocks is non-negative Darrick J. Wong <djwong@xxxxxxxxxx> xfs: allow symlinks with short remote targets Zhang Yi <yi.zhang@xxxxxxxxxx> xfs: convert delayed extents to unwritten when zeroing post eof blocks Zhang Yi <yi.zhang@xxxxxxxxxx> xfs: make xfs_bmapi_convert_delalloc() to allocate the target offset Zhang Yi <yi.zhang@xxxxxxxxxx> xfs: make the seq argument to xfs_bmapi_convert_delalloc() optional Zhang Yi <yi.zhang@xxxxxxxxxx> xfs: match lock mode in xfs_buffered_write_iomap_begin() Darrick J. Wong <djwong@xxxxxxxxxx> xfs: use dontcache for grabbing inodes during scrub Darrick J. Wong <djwong@xxxxxxxxxx> xfs: revert commit 44af6c7e59b12 Darrick J. Wong <djwong@xxxxxxxxxx> xfs: enforce one namespace per attribute Darrick J. Wong <djwong@xxxxxxxxxx> xfs: validate recovered name buffers when recovering xattr items Darrick J. Wong <djwong@xxxxxxxxxx> xfs: check shortform attr entry flags specifically Darrick J. Wong <djwong@xxxxxxxxxx> xfs: fix missing check for invalid attr flags Darrick J. Wong <djwong@xxxxxxxxxx> xfs: check opcode and iovec count match in xlog_recover_attri_commit_pass2 Darrick J. Wong <djwong@xxxxxxxxxx> xfs: require XFS_SB_FEAT_INCOMPAT_LOG_XATTRS for attr log intent item recovery Christoph Hellwig <hch@xxxxxx> xfs: remove a racy if_bytes check in xfs_reflink_end_cow_extent Christoph Hellwig <hch@xxxxxx> xfs: fix xfs_bmap_add_extent_delay_real for partial conversions Christoph Hellwig <hch@xxxxxx> xfs: fix error returns from xfs_bmapi_write Liu Shixin <liushixin2@xxxxxxxxxx> mm/swapfile: skip HugeTLB pages for unuse_vma Wei Xu <weixugc@xxxxxxxxxx> mm/mglru: only clear kswapd_failures if reclaimable Jann Horn <jannh@xxxxxxxxxx> mm/mremap: fix move_normal_pmd/retract_page_tables race Edward Liaw <edliaw@xxxxxxxxxx> selftests/mm: fix deadlock for fork after pthread_create on ARM Edward Liaw <edliaw@xxxxxxxxxx> selftests/mm: replace atomic_bool with pthread_barrier_t OGAWA Hirofumi <hirofumi@xxxxxxxxxxxxxxxxxx> fat: fix uninitialized variable Nianyao Tang <tangnianyao@xxxxxxxxxx> irqchip/gic-v3-its: Fix VSYNC referencing an unmapped VPE on GIC v4.1 Jinjie Ruan <ruanjinjie@xxxxxxxxxx> net: microchip: vcap api: Fix memory leaks in vcap_api_encode_rule_test() Oleksij Rempel <o.rempel@xxxxxxxxxxxxxx> net: macb: Avoid 20s boot delay by skipping MDIO bus registration for fixed-link PHY Mark Rutland <mark.rutland@xxxxxxx> arm64: probes: Fix uprobes for big-endian kernels Mark Rutland <mark.rutland@xxxxxxx> arm64: probes: Fix simulate_ldr*_literal() Mark Rutland <mark.rutland@xxxxxxx> arm64: probes: Remove broken LDR (literal) uprobe support Jinjie Ruan <ruanjinjie@xxxxxxxxxx> posix-clock: Fix missing timespec64 check in pc_clock_settime() Wei Fang <wei.fang@xxxxxxx> net: enetc: add missing static descriptor and inline keyword Wei Fang <wei.fang@xxxxxxx> net: enetc: disable NAPI after all rings are disabled Wei Fang <wei.fang@xxxxxxx> net: enetc: disable Tx BD rings after they are empty Wei Fang <wei.fang@xxxxxxx> net: enetc: block concurrent XDP transmissions during ring reconfiguration Wei Fang <wei.fang@xxxxxxx> net: enetc: remove xdp_drops statistic from enetc_xdp_drop() Matthieu Baerts (NGI0) <matttbe@xxxxxxxxxx> mptcp: pm: fix UaF read in mptcp_pm_nl_rm_addr_or_subflow Vasiliy Kovalev <kovalev@xxxxxxxxxxxx> ALSA: hda/conexant - Fix audio routing for HP EliteOne 1000 G2 Namjae Jeon <linkinjeon@xxxxxxxxxx> ksmbd: fix user-after-free from session log off Roi Martin <jroi.martin@xxxxxxxxx> btrfs: fix uninitialized pointer free on read_alloc_one_name() error Roi Martin <jroi.martin@xxxxxxxxx> btrfs: fix uninitialized pointer free in add_inode_ref() ------------- Diffstat: Makefile | 4 +- arch/arm64/include/asm/uprobes.h | 8 +- arch/arm64/kernel/probes/decode-insn.c | 16 ++- arch/arm64/kernel/probes/simulate-insn.c | 18 ++- arch/arm64/kernel/probes/uprobes.c | 4 +- arch/s390/kvm/diag.c | 2 +- arch/s390/kvm/gaccess.c | 4 + arch/s390/kvm/gaccess.h | 14 ++- arch/x86/entry/entry.S | 5 + arch/x86/entry/entry_32.S | 6 +- arch/x86/include/asm/cpufeatures.h | 4 +- arch/x86/include/asm/nospec-branch.h | 11 +- arch/x86/kernel/apic/apic.c | 14 ++- arch/x86/kernel/cpu/amd.c | 3 +- arch/x86/kernel/cpu/bugs.c | 32 +++++ arch/x86/kernel/cpu/common.c | 3 + arch/x86/kernel/cpu/resctrl/core.c | 4 +- block/blk-rq-qos.c | 2 +- drivers/block/ublk_drv.c | 11 +- drivers/bluetooth/btusb.c | 13 +- drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 2 +- drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c | 6 +- drivers/gpu/drm/radeon/radeon_encoders.c | 2 +- drivers/gpu/drm/vmwgfx/vmwgfx_kms.c | 1 + drivers/iio/accel/Kconfig | 2 + drivers/iio/adc/Kconfig | 5 + drivers/iio/amplifiers/Kconfig | 1 + .../iio/common/hid-sensors/hid-sensor-trigger.c | 2 +- drivers/iio/dac/Kconfig | 7 ++ drivers/iio/frequency/Kconfig | 1 + drivers/iio/light/Kconfig | 2 + drivers/iio/light/opt3001.c | 4 + drivers/iio/light/veml6030.c | 5 +- drivers/iio/proximity/Kconfig | 2 + drivers/input/joystick/xpad.c | 2 + drivers/iommu/intel/iommu.c | 4 +- drivers/irqchip/irq-gic-v3-its.c | 26 ++-- drivers/irqchip/irq-sifive-plic.c | 21 ++-- drivers/misc/mchp_pci1xxxx/mchp_pci1xxxx_otpe2p.c | 2 + drivers/net/ethernet/cadence/macb_main.c | 14 ++- drivers/net/ethernet/freescale/enetc/enetc.c | 56 +++++++-- drivers/net/ethernet/freescale/enetc/enetc.h | 1 + drivers/net/ethernet/freescale/fec_ptp.c | 58 ++++----- .../net/ethernet/microchip/vcap/vcap_api_kunit.c | 2 + drivers/parport/procfs.c | 22 ++-- drivers/pinctrl/pinctrl-apple-gpio.c | 3 + drivers/pinctrl/pinctrl-ocelot.c | 8 +- drivers/pinctrl/stm32/pinctrl-stm32.c | 9 +- drivers/s390/char/sclp.c | 3 +- drivers/s390/char/sclp_vt220.c | 4 +- drivers/tty/n_gsm.c | 2 + drivers/tty/serial/imx.c | 15 +++ drivers/tty/serial/qcom_geni_serial.c | 90 +++++++------- drivers/tty/vt/vt.c | 2 +- drivers/ufs/core/ufs-mcq.c | 15 +-- drivers/ufs/core/ufshcd.c | 4 +- drivers/usb/dwc3/gadget.c | 10 +- drivers/usb/host/xhci-ring.c | 2 +- drivers/usb/host/xhci-tegra.c | 2 +- drivers/usb/host/xhci.h | 2 +- drivers/usb/serial/option.c | 8 ++ drivers/usb/typec/tcpm/qcom/qcom_pmic_typec_port.c | 1 - fs/btrfs/tree-log.c | 6 +- fs/fat/namei_vfat.c | 2 +- fs/nilfs2/dir.c | 50 ++++---- fs/nilfs2/namei.c | 39 ++++-- fs/nilfs2/nilfs.h | 2 +- fs/smb/server/mgmt/user_session.c | 26 +++- fs/smb/server/mgmt/user_session.h | 4 + fs/smb/server/server.c | 2 + fs/smb/server/smb2pdu.c | 8 +- fs/xfs/libxfs/xfs_attr.c | 11 ++ fs/xfs/libxfs/xfs_attr.h | 4 +- fs/xfs/libxfs/xfs_attr_leaf.c | 6 +- fs/xfs/libxfs/xfs_attr_remote.c | 1 - fs/xfs/libxfs/xfs_bmap.c | 130 ++++++++++++++++---- fs/xfs/libxfs/xfs_da_btree.c | 20 +-- fs/xfs/libxfs/xfs_da_format.h | 5 + fs/xfs/libxfs/xfs_inode_buf.c | 49 ++++++-- fs/xfs/libxfs/xfs_sb.c | 7 +- fs/xfs/scrub/attr.c | 47 ++++--- fs/xfs/scrub/common.c | 12 +- fs/xfs/scrub/scrub.h | 7 ++ fs/xfs/xfs_aops.c | 54 +++------ fs/xfs/xfs_attr_item.c | 98 ++++++++++++--- fs/xfs/xfs_attr_list.c | 11 +- fs/xfs/xfs_bmap_util.c | 65 ++++++---- fs/xfs/xfs_bmap_util.h | 2 +- fs/xfs/xfs_dquot.c | 1 - fs/xfs/xfs_icache.c | 2 +- fs/xfs/xfs_inode.c | 37 +++--- fs/xfs/xfs_iomap.c | 81 +++++++------ fs/xfs/xfs_reflink.c | 20 --- fs/xfs/xfs_rtalloc.c | 2 - include/linux/fsl/enetc_mdio.h | 3 +- include/linux/irqchip/arm-gic-v4.h | 4 +- include/uapi/linux/ublk_cmd.h | 8 +- io_uring/io_uring.h | 9 +- kernel/time/posix-clock.c | 3 + lib/maple_tree.c | 12 +- mm/mremap.c | 11 +- mm/swapfile.c | 2 +- mm/vmscan.c | 4 +- net/bluetooth/af_bluetooth.c | 3 + net/bluetooth/iso.c | 6 +- net/ipv4/tcp_output.c | 4 +- net/mptcp/mib.c | 1 + net/mptcp/mib.h | 1 + net/mptcp/pm_netlink.c | 3 +- net/mptcp/protocol.h | 1 + net/mptcp/subflow.c | 11 ++ sound/pci/hda/patch_conexant.c | 19 +++ tools/testing/selftests/hid/Makefile | 1 + tools/testing/selftests/mm/uffd-common.c | 5 +- tools/testing/selftests/mm/uffd-common.h | 3 +- tools/testing/selftests/mm/uffd-unit-tests.c | 21 +++- tools/testing/selftests/net/mptcp/mptcp_join.sh | 135 +++++++++++++++------ tools/testing/selftests/net/mptcp/mptcp_lib.sh | 11 -- 118 files changed, 1126 insertions(+), 574 deletions(-)