This is the start of the stable review cycle for the 6.1.61 release. There are 86 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 Nov 2023 16:59:03 +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.1.61-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.1.y and the diffstat can be found below. thanks, greg k-h ------------- Pseudo-Shortlog of commits: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> Linux 6.1.61-rc1 John Sperbeck <jsperbeck@xxxxxxxxxx> objtool/x86: add missing embedded_insn check Baokun Li <libaokun1@xxxxxxxxxx> ext4: avoid overlapping preallocations due to overflow Baokun Li <libaokun1@xxxxxxxxxx> ext4: fix BUG in ext4_mb_new_inode_pa() due to overflow Baokun Li <libaokun1@xxxxxxxxxx> ext4: add two helper functions extent_logical_end() and pa_logical_end() David Lazar <dlazar@xxxxxxxxx> platform/x86: Add s2idle quirk for more Lenovo laptops Alessandro Carminati <alessandro.carminati@xxxxxxxxx> clk: Sanitize possible_parent_show to Handle Return Value of of_clk_get_parent_name Al Viro <viro@xxxxxxxxxxxxxxxxxx> sparc32: fix a braino in fault handling in csum_and_copy_..._user() Peter Zijlstra <peterz@xxxxxxxxxxxxx> perf/core: Fix potential NULL deref Tony Luck <tony.luck@xxxxxxxxx> x86/cpu: Add model number for Intel Arrow Lake mobile processor Thomas Gleixner <tglx@xxxxxxxxxxxxx> x86/i8259: Skip probing when ACPI/MADT advertises PCAT compatibility Peng Fan <peng.fan@xxxxxxx> nvmem: imx: correct nregs for i.MX6UL Peng Fan <peng.fan@xxxxxxx> nvmem: imx: correct nregs for i.MX6SLL Peng Fan <peng.fan@xxxxxxx> nvmem: imx: correct nregs for i.MX6ULL Ekansh Gupta <quic_ekangupt@xxxxxxxxxxx> misc: fastrpc: Unmap only if buffer is unmapped from DSP Ekansh Gupta <quic_ekangupt@xxxxxxxxxxx> misc: fastrpc: Clean buffers on remote invocation failures Ekansh Gupta <quic_ekangupt@xxxxxxxxxxx> misc: fastrpc: Free DMA handles for RPC calls with no arguments Ekansh Gupta <quic_ekangupt@xxxxxxxxxxx> misc: fastrpc: Reset metadata buffer to avoid incorrect free Yujie Liu <yujie.liu@xxxxxxxxx> tracing/kprobes: Fix the description of variable length arguments Jian Zhang <zhangjian.3032@xxxxxxxxxxxxx> i2c: aspeed: Fix i2c bus hang in slave read Alain Volmat <alain.volmat@xxxxxxxxxxx> i2c: stm32f7: Fix PEC handling in case of SMBUS transfers Herve Codina <herve.codina@xxxxxxxxxxx> i2c: muxes: i2c-demux-pinctrl: Use of_get_i2c_adapter_by_node() Herve Codina <herve.codina@xxxxxxxxxxx> i2c: muxes: i2c-mux-gpmux: Use of_get_i2c_adapter_by_node() Herve Codina <herve.codina@xxxxxxxxxxx> i2c: muxes: i2c-mux-pinctrl: Use of_get_i2c_adapter_by_node() Robert Hancock <robert.hancock@xxxxxxxxxx> iio: adc: xilinx-xadc: Correct temperature offset/scale for UltraScale Robert Hancock <robert.hancock@xxxxxxxxxx> iio: adc: xilinx-xadc: Don't clobber preset voltage/temperature thresholds Marek Szyprowski <m.szyprowski@xxxxxxxxxxx> iio: exynos-adc: request second interupt only when touchscreen mode is used Linus Walleij <linus.walleij@xxxxxxxxxx> iio: afe: rescale: Accept only offset channels Jens Axboe <axboe@xxxxxxxxx> io_uring/fdinfo: lock SQ thread while retrieving thread cpu/pid Haibo Li <haibo.li@xxxxxxxxxxxx> kasan: print the original fault addr when access invalid shadow Khazhismel Kumykov <khazhy@xxxxxxxxxxxx> blk-throttle: check for overflow in calculate_bytes_allowed Damien Le Moal <dlemoal@xxxxxxxxxx> scsi: sd: Introduce manage_shutdown device flag Michal Schmidt <mschmidt@xxxxxxxxxx> iavf: in iavf_down, disable queues when removing the driver Sui Jingfeng <suijingfeng@xxxxxxxxxxx> drm/logicvc: Kconfig: select REGMAP and REGMAP_MMIO Ivan Vecera <ivecera@xxxxxxxxxx> i40e: Fix wrong check for I40E_TXR_FLAGS_WB_ON_ITR Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx> gtp: fix fragmentation needed check with gso Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx> gtp: uapi: fix GTPA_MAX Fred Chen <fred.chenchen03@xxxxxxxxx> tcp: fix wrong RTO timeout when received SACK reneging Douglas Anderson <dianders@xxxxxxxxxxxx> r8152: Release firmware if we have an error in probe Douglas Anderson <dianders@xxxxxxxxxxxx> r8152: Cancel hw_phy_work if we have an error in probe Douglas Anderson <dianders@xxxxxxxxxxxx> r8152: Run the unload routine if we have errors during probe Douglas Anderson <dianders@xxxxxxxxxxxx> r8152: Increase USB control msg timeout to 5000ms as per spec Shigeru Yoshida <syoshida@xxxxxxxxxx> net: usb: smsc95xx: Fix uninit-value access in smsc95xx_read_reg Christophe JAILLET <christophe.jaillet@xxxxxxxxxx> net: ieee802154: adf7242: Fix some potential buffer overflow in adf7242_stats_show() Dell Jin <dell.jin.code@xxxxxxxxxxx> net: ethernet: adi: adin1110: Fix uninitialized variable Sasha Neftin <sasha.neftin@xxxxxxxxx> igc: Fix ambiguity in the ethtool advertising Eric Dumazet <edumazet@xxxxxxxxxx> neighbour: fix various data-races Mateusz Palczewski <mateusz.palczewski@xxxxxxxxx> igb: Fix potential memory leak in igb_add_ethtool_nfc_entry Kunwu Chan <chentao@xxxxxxxxxx> treewide: Spelling fix in comment Ivan Vecera <ivecera@xxxxxxxxxx> i40e: Fix I40E_FLAG_VF_VLAN_PRUNING value Michal Schmidt <mschmidt@xxxxxxxxxx> iavf: initialize waitqueues before starting watchdog_task Mirsad Goran Todorovac <mirsad.todorovac@xxxxxxxxxxxx> r8169: fix the KCSAN reported data race in rtl_rx while reading desc->opts1 Mirsad Goran Todorovac <mirsad.todorovac@xxxxxxxxxxxx> r8169: fix the KCSAN reported data-race in rtl_tx while reading TxDescArray[entry].opts1 Mirsad Goran Todorovac <mirsad.todorovac@xxxxxxxxxxxx> r8169: fix the KCSAN reported data-race in rtl_tx() while reading tp->cur_tx Tony Lindgren <tony@xxxxxxxxxxx> clk: ti: Fix missing omap5 mcbsp functional clock and aliases Tony Lindgren <tony@xxxxxxxxxxx> clk: ti: Fix missing omap4 mcbsp functional clock and aliases Hao Ge <gehao@xxxxxxxxxx> firmware/imx-dsp: Fix use_after_free in imx_dsp_setup_channels() Randy Dunlap <rdunlap@xxxxxxxxxxxxx> ARM: OMAP: timer32K: fix all kernel-doc warnings Lukasz Majczak <lma@xxxxxxxxxxxx> drm/dp_mst: Fix NULL deref in get_mst_branch_device_by_guid_helper() Mario Limonciello <mario.limonciello@xxxxxxx> drm/amd: Disable ASPM for VI w/ all Intel systems Umesh Nerlige Ramappa <umesh.nerlige.ramappa@xxxxxxxxx> drm/i915/pmu: Check if pmu is closed before stopping event Al Viro <viro@xxxxxxxxxxxxxxxxxx> nfsd: lock_rename() needs both directories to live on the same fs Liam R. Howlett <Liam.Howlett@xxxxxxxxxx> maple_tree: add GFP_KERNEL to allocations in mas_expected_entries() Rik van Riel <riel@xxxxxxxxxxx> hugetlbfs: extend hugetlb_vma_lock to private VMAs Gregory Price <gourry.memverge@xxxxxxxxx> mm/migrate: fix do_pages_move for compat pointers Kemeng Shi <shikemeng@xxxxxxxxxxxxxxx> mm/page_alloc: correct start page when guard page debug is enabled Rik van Riel <riel@xxxxxxxxxxx> hugetlbfs: clear resv_map pointer if mmap fails Sebastian Ott <sebott@xxxxxxxxxx> mm: fix vm_brk_flags() to not bail out while holding lock Christopher Obbard <chris.obbard@xxxxxxxxxxxxx> arm64: dts: rockchip: Fix i2s0 pin conflict on ROCK Pi 4 boards Christopher Obbard <chris.obbard@xxxxxxxxxxxxx> arm64: dts: rockchip: Add i2s0-2ch-bus-bclk-off pins to RK3399 Eric Auger <eric.auger@xxxxxxxxxx> vhost: Allow null msg.size on VHOST_IOTLB_INVALIDATE Alexandru Matei <alexandru.matei@xxxxxxxxxx> vsock/virtio: initialize the_virtio_vsock before using VQs Xuan Zhuo <xuanzhuo@xxxxxxxxxxxxxxxxx> virtio_pci: fix the common cfg map size zhenwei pi <pizhenwei@xxxxxxxxxxxxx> virtio-crypto: handle config changed by work queue Maximilian Heyne <mheyne@xxxxxxxxx> virtio-mmio: fix memory leak of vm_dev Gavin Shan <gshan@xxxxxxxxxx> virtio_balloon: Fix endless deflation and inflation on arm64 Rodríguez Barbarin, José Javier <JoseJavier.Rodriguez@xxxxxxxxxx> mcb-lpc: Reallocate memory region to avoid memory overlapping Rodríguez Barbarin, José Javier <JoseJavier.Rodriguez@xxxxxxxxxx> mcb: Return actual parsed size when reading chameleon table Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx> pinctrl: qcom: lpass-lpi: fix concurrent register updates Johan Hovold <johan+linaro@xxxxxxxxxx> ASoC: codecs: wcd938x: fix runtime PM imbalance on remove Johan Hovold <johan+linaro@xxxxxxxxxx> ASoC: codecs: wcd938x: fix regulator leaks on probe errors Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx> ASoC: codecs: wcd938x: Simplify with dev_err_probe Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx> ASoC: codecs: wcd938x: Convert to platform remove callback returning void Ulf Hansson <ulf.hansson@xxxxxxxxxx> mmc: core: Fix error propagation for some ioctl commands Christian Loehle <CLoehle@xxxxxxxxxxxxxx> mmc: block: ioctl: do write error check for spi Ulf Hansson <ulf.hansson@xxxxxxxxxx> mmc: core: Align to common busy polling behaviour for mmc ioctls Roman Kagan <rkagan@xxxxxxxxx> KVM: x86/pmu: Truncate counter value to allowed width on write ------------- Diffstat: Makefile | 4 +- arch/arm/boot/dts/omap4-l4-abe.dtsi | 6 ++ arch/arm/boot/dts/omap4-l4.dtsi | 2 + arch/arm/boot/dts/omap5-l4-abe.dtsi | 6 ++ arch/arm/mach-omap1/timer32k.c | 14 ++--- arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dtsi | 1 + arch/arm64/boot/dts/rockchip/rk3399.dtsi | 10 +++ arch/sparc/lib/checksum_32.S | 2 +- arch/x86/include/asm/i8259.h | 2 + arch/x86/include/asm/intel-family.h | 2 + arch/x86/kernel/acpi/boot.c | 3 + arch/x86/kernel/i8259.c | 38 ++++++++--- arch/x86/kvm/pmu.h | 6 ++ arch/x86/kvm/svm/pmu.c | 2 +- arch/x86/kvm/vmx/pmu_intel.c | 4 +- block/blk-throttle.c | 6 ++ drivers/ata/libata-scsi.c | 5 +- drivers/clk/clk.c | 21 ++++--- drivers/clk/ti/clk-44xx.c | 5 ++ drivers/clk/ti/clk-54xx.c | 4 ++ drivers/crypto/virtio/virtio_crypto_common.h | 3 + drivers/crypto/virtio/virtio_crypto_core.c | 14 ++++- drivers/firewire/sbp2.c | 1 + drivers/firmware/imx/imx-dsp.c | 2 +- drivers/gpu/drm/amd/amdgpu/vi.c | 2 +- drivers/gpu/drm/display/drm_dp_mst_topology.c | 6 +- drivers/gpu/drm/i915/i915_pmu.c | 9 +++ drivers/gpu/drm/logicvc/Kconfig | 2 + drivers/i2c/busses/i2c-aspeed.c | 3 +- drivers/i2c/busses/i2c-stm32f7.c | 9 ++- drivers/i2c/muxes/i2c-demux-pinctrl.c | 2 +- drivers/i2c/muxes/i2c-mux-gpmux.c | 2 +- drivers/i2c/muxes/i2c-mux-pinctrl.c | 2 +- drivers/iio/adc/exynos_adc.c | 24 ++++--- drivers/iio/adc/xilinx-xadc-core.c | 39 +++++------- drivers/iio/adc/xilinx-xadc.h | 2 + drivers/iio/afe/iio-rescale.c | 19 ++++-- drivers/mcb/mcb-lpc.c | 35 +++++++++-- drivers/mcb/mcb-parse.c | 15 +++-- drivers/misc/fastrpc.c | 34 +++++----- drivers/mmc/core/block.c | 38 ++++++++--- drivers/mmc/core/mmc_ops.c | 1 + drivers/net/ethernet/adi/adin1110.c | 2 +- drivers/net/ethernet/intel/i40e/i40e.h | 2 +- drivers/net/ethernet/intel/i40e/i40e_txrx.c | 2 +- drivers/net/ethernet/intel/iavf/iavf_main.c | 7 ++- drivers/net/ethernet/intel/igb/igb_ethtool.c | 6 +- drivers/net/ethernet/intel/igc/igc_ethtool.c | 35 ++++++++--- drivers/net/ethernet/realtek/r8169_main.c | 6 +- drivers/net/ethernet/toshiba/ps3_gelic_wireless.c | 2 +- drivers/net/gtp.c | 5 +- drivers/net/ieee802154/adf7242.c | 5 +- drivers/net/usb/r8152.c | 11 +++- drivers/net/usb/smsc95xx.c | 4 +- drivers/nvmem/imx-ocotp.c | 6 +- drivers/pinctrl/qcom/pinctrl-lpass-lpi.c | 17 +++-- drivers/platform/x86/thinkpad_acpi.c | 73 ++++++++++++++++++++++ drivers/scsi/sd.c | 39 +++++++++++- drivers/vhost/vhost.c | 4 +- drivers/virtio/virtio_balloon.c | 6 +- drivers/virtio/virtio_mmio.c | 19 ++++-- drivers/virtio/virtio_pci_modern_dev.c | 2 +- fs/ext4/mballoc.c | 51 +++++++-------- fs/ext4/mballoc.h | 14 +++++ fs/nfsd/vfs.c | 12 ++-- include/linux/hugetlb.h | 6 ++ include/linux/kasan.h | 6 +- include/scsi/scsi_device.h | 20 +++++- include/uapi/linux/gtp.h | 2 +- io_uring/fdinfo.c | 18 ++++-- kernel/events/core.c | 3 +- kernel/trace/trace_kprobe.c | 4 +- lib/maple_tree.c | 2 +- lib/test_maple_tree.c | 35 +++++++---- mm/hugetlb.c | 48 +++++++++++--- mm/kasan/report.c | 4 +- mm/migrate.c | 14 ++++- mm/mmap.c | 6 +- mm/page_alloc.c | 2 +- net/core/neighbour.c | 67 ++++++++++---------- net/ipv4/tcp_input.c | 9 +-- net/vmw_vsock/virtio_transport.c | 18 +++++- sound/soc/codecs/wcd938x.c | 51 ++++++++------- tools/include/linux/rwsem.h | 40 ++++++++++++ tools/objtool/check.c | 2 +- 85 files changed, 789 insertions(+), 305 deletions(-)