* [PATCH 6.17 000/184] 6.17.6-rc1 review
@ 2025-10-27 18:34 Greg Kroah-Hartman
2025-10-27 18:35 ` [PATCH 6.17 050/184] arm64, mm: avoid always making PTE dirty in pte_mkwrite() Greg Kroah-Hartman
` (15 more replies)
0 siblings, 16 replies; 17+ messages in thread
From: Greg Kroah-Hartman @ 2025-10-27 18:34 UTC (permalink / raw)
To: stable
Cc: Greg Kroah-Hartman, patches, linux-kernel, torvalds, akpm, linux,
shuah, patches, lkft-triage, pavel, jonathanh, f.fainelli,
sudipm.mukherjee, rwarsow, conor, hargar, broonie, achill, sr
This is the start of the stable review cycle for the 6.17.6 release.
There are 184 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, 29 Oct 2025 18:34:15 +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.17.6-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.17.y
and the diffstat can be found below.
thanks,
greg k-h
-------------
Pseudo-Shortlog of commits:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Linux 6.17.6-rc1
William Breathitt Gray <wbg@kernel.org>
gpio: idio-16: Define fixed direction of the GPIO lines
Ioana Ciornei <ioana.ciornei@nxp.com>
gpio: regmap: add the .fixed_direction_output configuration parameter
Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
gpio: regmap: Allow to allocate regmap-irq device
Darrick J. Wong <djwong@kernel.org>
xfs: always warn about deprecated mount options
David Hildenbrand <david@redhat.com>
vmw_balloon: indicate success when effectively deflating during migration
David Hildenbrand <david@redhat.com>
treewide: remove MIGRATEPAGE_SUCCESS
David Hildenbrand <david@redhat.com>
mm/migrate: remove MIGRATEPAGE_UNMAP
Dave Penkler <dpenkler@gmail.com>
staging: gpib: Fix sending clear and trigger events
Dave Penkler <dpenkler@gmail.com>
staging: gpib: Return -EINTR on device clear
Dave Penkler <dpenkler@gmail.com>
staging: gpib: Fix no EOI on 1 and 2 byte writes
Ma Ke <make24@iscas.ac.cn>
staging: gpib: Fix device reference leak in fmh_gpib driver
Hugo Villeneuve <hvilleneuve@dimonoff.com>
serial: sc16is7xx: remove useless enable of enhanced features
Daniel Golle <daniel@makrotopia.org>
serial: 8250_mtk: Enable baud clock and manage in runtime PM
Florian Eckert <fe@dev.tdt.de>
serial: 8250_exar: add support for Advantech 2 port card with Device ID 0x0018
Artem Shimko <a.shimko.dev@gmail.com>
serial: 8250_dw: handle reset control deassert error
Krishna Kurapati <krishna.kurapati@oss.qualcomm.com>
dt-bindings: usb: qcom,snps-dwc3: Fix bindings for X1E80100
Xu Yang <xu.yang_2@nxp.com>
dt-bindings: usb: dwc3-imx8mp: dma-range is required only for imx8mp
Geert Uytterhoeven <geert+renesas@glider.be>
dt-bindings: serial: sh-sci: Fix r8a78000 interrupts
Cosmin Tanislav <cosmin-gabriel.tanislav.xa@renesas.com>
tty: serial: sh-sci: fix RSCI FIFO overrun handling
Michael Grzeschik <m.grzeschik@pengutronix.de>
tcpm: switch check for role_sw device with fw_node
Victoria Votokina <Victoria.Votokina@kaspersky.com>
most: usb: hdm_probe: Fix calling put_device() before device initialization
Victoria Votokina <Victoria.Votokina@kaspersky.com>
most: usb: Fix use-after-free in hdm_disconnect
Junhao Xie <bigfoot@radxa.com>
misc: fastrpc: Fix dma_buf object leak in fastrpc_map_lookup
Cosmin Tanislav <cosmin-gabriel.tanislav.xa@renesas.com>
nvmem: rcar-efuse: add missing MODULE_DEVICE_TABLE
Miguel Ojeda <ojeda@kernel.org>
objtool/rust: add one more `noreturn` Rust function
Alexander Usyskin <alexander.usyskin@intel.com>
mei: me: add wildcat lake P DID
Deepanshu Kartikey <kartikey406@gmail.com>
comedi: fix divide-by-zero in comedi_buf_munge()
Alice Ryhl <aliceryhl@google.com>
binder: remove "invalid inc weak" check
Andrew Cooper <andrew.cooper3@citrix.com>
x86/microcode: Fix Entrysign revision check for Zen1/Naples
Mathias Nyman <mathias.nyman@linux.intel.com>
xhci: dbc: fix bogus 1024 byte prefix if ttyDBC read races with stall event
Mathias Nyman <mathias.nyman@linux.intel.com>
xhci: dbc: enable back DbC in resume if it was enabled before suspend
Andrey Konovalov <andreyknvl@gmail.com>
usb: raw-gadget: do not limit transfer length
Tim Guttzeit <t.guttzeit@tuxedocomputers.com>
usb/core/quirks: Add Huawei ME906S to wakeup quirk
LI Qingwu <Qing-wu.Li@leica-geosystems.com.cn>
USB: serial: option: add Telit FN920C04 ECM compositions
Reinhard Speyerer <rspmn@arcor.de>
USB: serial: option: add Quectel RG255C
Renjun Wang <renjunw0@foxmail.com>
USB: serial: option: add UNISOC UIS7720
Andy Shevchenko <andriy.shevchenko@linux.intel.com>
sched: Remove never used code in mm_cid_get()
Alok Tiwari <alok.a.tiwari@oracle.com>
io_uring: correct __must_hold annotation in io_install_fixed_file
Haotian Zhang <vulab@iscas.ac.cn>
gpio: ljca: Fix duplicated IRQ mapping
Christoph Hellwig <hch@lst.de>
block: require LBA dma_alignment when using PI
Lorenzo Pieralisi <lpieralisi@kernel.org>
of/irq: Add msi-parent check to of_msi_xlate()
Lorenzo Pieralisi <lpieralisi@kernel.org>
of/irq: Convert of_msi_map_id() callers to of_msi_xlate()
Jocelyn Falempe <jfalempe@redhat.com>
drm/panic: Fix 24bit pixel crossing page boundaries
Jocelyn Falempe <jfalempe@redhat.com>
drm/panic: Fix qr_code, ensure vmargin is positive
Jocelyn Falempe <jfalempe@redhat.com>
drm/panic: Fix drawing the logo on a small narrow screen
Ondrej Mosnacek <omosnace@redhat.com>
nbd: override creds to kernel when calling sock_{send,recv}msg()
Alok Tiwari <alok.a.tiwari@oracle.com>
io_uring: fix incorrect unlikely() usage in io_waitid_prep()
Guenter Roeck <linux@roeck-us.net>
hwmon: (sht3x) Fix error handling
Li Qiang <liqiang01@kylinos.cn>
hwmon: (cgbc-hwmon) Add missing NULL check after devm_kzalloc()
Erick Karanja <karanja99erick@gmail.com>
hwmon: (pmbus/isl68137) Fix child node reference leak on early return
Paul Walmsley <pjw@kernel.org>
riscv: hwprobe: avoid uninitialized variable use in hwprobe_arch_id()
Anup Patel <apatel@ventanamicro.com>
RISC-V: Don't print details of CPUs disabled in DT
Anup Patel <apatel@ventanamicro.com>
RISC-V: Define pgprot_dmacoherent() for non-coherent devices
Akash Goel <akash.goel@arm.com>
drm/panthor: Fix kernel panic on partial unmap of a GPU VA region
Fernando Fernandez Mancera <fmancera@suse.de>
sysfs: check visibility before changing group attribute ownership
Mikhail Kshevetskiy <mikhail.kshevetskiy@iopsys.eu>
spi: airoha: fix reading/writing of flashes with more than one plane per lun
Mikhail Kshevetskiy <mikhail.kshevetskiy@iopsys.eu>
spi: airoha: switch back to non-dma mode in the case of error
Mikhail Kshevetskiy <mikhail.kshevetskiy@iopsys.eu>
spi: airoha: add support of dual/quad wires spi modes to exec_op() handler
Mikhail Kshevetskiy <mikhail.kshevetskiy@iopsys.eu>
spi: airoha: return an error for continuous mode dirmap creation cases
Artem Shimko <a.shimko.dev@gmail.com>
firmware: arm_scmi: Fix premature SCMI_XFER_FLAG_IS_RAW clearing in raw mode
Cristian Marussi <cristian.marussi@arm.com>
include: trace: Fix inflight count helper on failed initialization
Cristian Marussi <cristian.marussi@arm.com>
firmware: arm_scmi: Account for failed debug initialization
Peter Robinson <pbrobinson@gmail.com>
arm64: dts: broadcom: bcm2712: Define VGIC interrupt
Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
arm64: dts: broadcom: bcm2712: Add default GIC address cells
Mattijs Korpershoek <mkorpershoek@kernel.org>
spi: cadence-quadspi: Fix pm_runtime unbalance on dma EPROBE_DEFER
Haibo Chen <haibo.chen@nxp.com>
spi: spi-nxp-fspi: limit the clock rate for different sample clock source selection
Han Xu <han.xu@nxp.com>
spi: spi-nxp-fspi: add extra delay after dll locked
Haibo Chen <haibo.chen@nxp.com>
spi: spi-nxp-fspi: re-config the clock rate when operation require new clock rate
Haibo Chen <haibo.chen@nxp.com>
spi: spi-nxp-fspi: add the support for sample data from DQS pad
Sudeep Holla <sudeep.holla@arm.com>
firmware: arm_ffa: Add support for IMPDEF value in the memory access descriptor
Marek Szyprowski <m.szyprowski@samsung.com>
spi: rockchip-sfc: Fix DMA-API usage
SeongJae Park <sj@kernel.org>
mm/damon/sysfs: dealloc commit test ctx always
SeongJae Park <sj@kernel.org>
mm/damon/sysfs: catch commit test ctx alloc failure
Enze Li <lienze@kylinos.cn>
mm/damon/core: fix potential memory leak by cleaning ops_filter in damon_destroy_scheme
SeongJae Park <sj@kernel.org>
mm/damon/core: fix list_add_tail() call on damon_call()
SeongJae Park <sj@kernel.org>
mm/damon/core: use damos_commit_quota_goal() for new goal commit
Charlene Liu <Charlene.Liu@amd.com>
drm/amd/display: increase max link count and fix link->enc NULL pointer access
Matthew Brost <matthew.brost@intel.com>
drm/xe: Check return value of GGTT workqueue allocation
Lorenzo Stoakes <lorenzo.stoakes@oracle.com>
mm/mremap: correctly account old mapping after MREMAP_DONTUNMAP remap
Qiuxu Zhuo <qiuxu.zhuo@intel.com>
mm: prevent poison consumption when splitting THP
Matthieu Baerts (NGI0) <matttbe@kernel.org>
selftests: mptcp: join: mark 'delete re-add signal' as skipped if not supported
Matthieu Baerts (NGI0) <matttbe@kernel.org>
selftests: mptcp: join: mark implicit tests as skipped if not supported
Matthieu Baerts (NGI0) <matttbe@kernel.org>
selftests: mptcp: join: mark 'flush re-add' as skipped if not supported
Matthieu Baerts (NGI0) <matttbe@kernel.org>
mptcp: pm: in-kernel: C-flag: handle late ADD_ADDR
Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
net: ravb: Ensure memory write completes before ringing TX doorbell
Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
net: ravb: Enforce descriptor type ordering
Michal Pecio <michal.pecio@gmail.com>
net: usb: rtl8150: Fix frame padding
Sebastian Reichel <sebastian.reichel@collabora.com>
net: stmmac: dwmac-rk: Fix disabling set_clock_selection
Tonghao Zhang <tonghao@bamaicloud.com>
net: bonding: update the slave array for broadcast mode
Stefano Garzarella <sgarzare@redhat.com>
vsock: fix lock inversion in vsock_assign_transport()
Nam Cao <namcao@linutronix.de>
rv: Make rtapp/pagefault monitor depends on CONFIG_MMU
Nam Cao <namcao@linutronix.de>
rv: Fully convert enabled_monitors to use list_head as iterator
Deepanshu Kartikey <kartikey406@gmail.com>
ocfs2: clear extent cache after moving/defragmenting extents
Maciej W. Rozycki <macro@orcam.me.uk>
MIPS: Malta: Fix keyboard resource preventing i8042 driver from registering
Alexis Czezar Torreno <alexisczezar.torreno@analog.com>
hwmon: (pmbus/max34440) Update adpm12160 coeff due to latest FW
Maarten Lankhorst <dev@lankhorst.se>
devcoredump: Fix circular locking dependency with devcd->mutex.
David Howells <dhowells@redhat.com>
cifs: Fix TCP_Server_Info::credits to be signed
Marc Kleine-Budde <mkl@pengutronix.de>
can: netlink: can_changelink(): allow disabling of automatic restart
Catalin Marinas <catalin.marinas@arm.com>
arm64: mte: Do not warn if the page is already tagged in copy_highpage()
Xi Ruoyao <xry111@xry111.site>
ACPICA: Work around bogus -Wstringop-overread warning since GCC 11
Paulo Alcantara <pc@manguebit.org>
smb: client: get rid of d_drop() in cifs_do_rename()
Hao Ge <gehao@kylinos.cn>
slab: Fix obj_ext mistakenly considered NULL due to race condition
Hao Ge <gehao@kylinos.cn>
slab: Avoid race on slab->obj_exts in alloc_slab_obj_exts
Danilo Krummrich <dakr@kernel.org>
rust: device: fix device context of Device::parent()
Paul Walmsley <pjw@kernel.org>
riscv: cpufeature: avoid uninitialized variable in has_thead_homogeneous_vlenb()
Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Revert "cpuidle: menu: Avoid discarding useful information"
Kurt Borja <kuurtb@gmail.com>
platform/x86: alienware-wmi-wmax: Fix NULL pointer dereference in sleep handlers
tr1x_em <admin@trix.is-a.dev>
platform/x86: alienware-wmi-wmax: Add AWCC support to Dell G15 5530
Darrick J. Wong <djwong@kernel.org>
xfs: fix locking in xchk_nlinks_collect_dir
William Breathitt Gray <wbg@kernel.org>
gpio: 104-idio-16: Define maximum valid register address offset
William Breathitt Gray <wbg@kernel.org>
gpio: pci-idio-16: Define maximum valid register address offset
Amit Dhingra <mechanicalamit@gmail.com>
btrfs: ref-verify: fix IS_ERR() vs NULL check in btrfs_build_ref_tree()
Ting-Chang Hou <tchou@synology.com>
btrfs: send: fix duplicated rmdir operations when using extrefs
Dewei Meng <mengdewei@cqsoftware.com.cn>
btrfs: directly free partially initialized fs_info in btrfs_check_leaked_roots()
Jens Axboe <axboe@kernel.dk>
io_uring/sqpoll: be smarter on when to update the stime usage
Jens Axboe <axboe@kernel.dk>
io_uring/sqpoll: switch away from getrusage() for CPU accounting
Jingwei Wang <wangjingwei@iscas.ac.cn>
riscv: hwprobe: Fix stale vDSO data for late-initialized keys at boot
Kaushlendra Kumar <kaushlendra.kumar@intel.com>
arch_topology: Fix incorrect error check in topology_parse_cpu_capacity()
Jason Wang <jasowang@redhat.com>
virtio-net: zero unused hash fields
Marek Szyprowski <m.szyprowski@samsung.com>
dma-debug: don't report false positives with DMA_BOUNCE_UNALIGNED_KMALLOC
Alexei Starovoitov <ast@kernel.org>
mm: don't spin in add_stack_record when gfp flags don't allow
Lance Yang <lance.yang@linux.dev>
hung_task: fix warnings caused by unaligned lock pointers
Tonghao Zhang <tonghao@bamaicloud.com>
net: bonding: fix possible peer notify event loss or dup issue
Jakub Acs <acsjakub@amazon.de>
fs/notify: call exportfs_encode_fid with s_umount
Patrisious Haddad <phaddad@nvidia.com>
net/mlx5: Fix IPsec cleanup over MPV device
Robert Marko <robert.marko@sartura.hr>
net: phy: micrel: always set shared->phydev for LAN8814
Ralf Lici <ralf@mandelbit.com>
ovpn: use datagram_poll_queue for socket readiness in TCP
Ralf Lici <ralf@mandelbit.com>
net: datagram: introduce datagram_poll_queue for custom receive queues
Ralf Lici <ralf@mandelbit.com>
espintcp: use datagram_poll_queue for socket readiness
Fernando Fernandez Mancera <fmancera@suse.de>
net: hsr: prevent creation of HSR device with slaves from another netns
Alexey Simakov <bigalex934@gmail.com>
sctp: avoid NULL dereference when chunk data buffer is missing
Jiasheng Jiang <jiashengjiangcool@gmail.com>
ptp: ocp: Fix typo using index 1 instead of i in SMA initialization loop
Heiner Kallweit <hkallweit1@gmail.com>
net: hibmcge: select FIXED_PHY
Gao Xiang <xiang@kernel.org>
erofs: avoid infinite loops due to corrupted subpage compact indexes
Huang Ying <ying.huang@linux.alibaba.com>
arm64, mm: avoid always making PTE dirty in pte_mkwrite()
Aksh Garg <a-garg7@ti.com>
net: ethernet: ti: am65-cpts: fix timestamp loss due to race conditions
Wang Liang <wangliang74@huawei.com>
net/smc: fix general protection fault in __smc_diag_dump
Amery Hung <ameryhung@gmail.com>
net/mlx5e: RX, Fix generating skb from non-linear xdp_buff for striding RQ
Amery Hung <ameryhung@gmail.com>
net/mlx5e: RX, Fix generating skb from non-linear xdp_buff for legacy RQ
Xin Long <lucien.xin@gmail.com>
selftests: net: fix server bind failure in sctp_vrf.sh
Marc Kleine-Budde <mkl@pengutronix.de>
can: rockchip-canfd: rkcanfd_start_xmit(): use can_dev_dropped_skb() instead of can_dropped_invalid_skb()
Marc Kleine-Budde <mkl@pengutronix.de>
can: esd: acc_start_xmit(): use can_dev_dropped_skb() instead of can_dropped_invalid_skb()
Marc Kleine-Budde <mkl@pengutronix.de>
can: bxcan: bxcan_start_xmit(): use can_dev_dropped_skb() instead of can_dropped_invalid_skb()
Aleksander Jan Bajkowski <olek2@wp.pl>
net: phy: realtek: fix rtl8221b-vm-cg name
Ioana Ciornei <ioana.ciornei@nxp.com>
dpaa2-eth: fix the pointer passed to PTR_ALIGN on Tx path
Wei Fang <wei.fang@nxp.com>
net: enetc: correct the value of ENETC_RXB_TRUESIZE
Jianpeng Chang <jianpeng.chang.cn@windriver.com>
net: enetc: fix the deadlock of enetc_mdio_lock
Gao Xiang <xiang@kernel.org>
erofs: fix crafted invalid cases for encoded extents
Johannes Wiesböck <johannes.wiesboeck@aisec.fraunhofer.de>
rtnetlink: Allow deleting FDB entries in user namespace
Nathan Chancellor <nathan@kernel.org>
net/mlx5e: Return 1 instead of 0 in invalid case in mlx5e_mpwrq_umr_entry_size()
Mario Limonciello (AMD) <superm1@kernel.org>
cpufreq/amd-pstate: Fix a regression leading to EPP 0 after hibernate
David Thompson <davthompson@nvidia.com>
platform/mellanox: mlxbf-pmc: add sysfs_attr_init() to count_clock init
Linus Torvalds <torvalds@linux-foundation.org>
Unbreak 'make tools/*' for user-space targets
Stefan Metzmacher <metze@samba.org>
smb: server: let smb_direct_flush_send_list() invalidate a remote key first
Stefan Metzmacher <metze@samba.org>
smb: client: make use of ib_wc_status_msg() and skip IB_WC_WR_FLUSH_ERR logging
Stefan Metzmacher <metze@samba.org>
smb: client: limit the range of info->receive_credit_target
Stefan Metzmacher <metze@samba.org>
smb: client: queue post_recv_credits_work also if the peer raises the credit target
Heiko Carstens <hca@linux.ibm.com>
s390/mm: Use __GFP_ACCOUNT for user page table allocations
Yicong Yang <yangyicong@hisilicon.com>
drivers/perf: hisi: Relax the event ID check in the framework
Clément Léger <cleger@rivosinc.com>
riscv: cpufeature: add validation for zfa, zfh and zfhmin
Junhui Liu <junhui.liu@pigmoral.tech>
riscv: mm: Use mmu-type from FDT to limit SATP mode
Junhui Liu <junhui.liu@pigmoral.tech>
riscv: mm: Return intended SATP mode for noXlvl options
Christophe Leroy <christophe.leroy@csgroup.eu>
powerpc/32: Remove PAGE_KERNEL_TEXT to fix startup failure
Geert Uytterhoeven <geert@linux-m68k.org>
m68k: bitops: Fix find_*_bit() signatures
Andreas Gruenbacher <agruenba@redhat.com>
gfs2: Fix unlikely race in gdlm_put_lock
Fuad Tabba <tabba@google.com>
arm64: sysreg: Correct sign definitions for EIESB and DoubleLock
Junjie Cao <junjie.cao@intel.com>
lkdtm: fortify: Fix potential NULL dereference on kmalloc failure
Kees Cook <kees@kernel.org>
PCI: Test for bit underflow in pcie_set_readrq()
Yangtao Li <frank.li@vivo.com>
hfsplus: return EIO when type of hidden directory mismatch in hfsplus_fill_super()
Viacheslav Dubeyko <slava@dubeyko.com>
hfs: fix KMSAN uninit-value issue in hfs_find_set_zero_bits()
Alexander Aring <aahringo@redhat.com>
dlm: check for defined force value in dlm_lockspace_release
Viacheslav Dubeyko <slava@dubeyko.com>
hfsplus: fix KMSAN uninit-value issue in hfsplus_delete_cat()
Yang Chenzhi <yang.chenzhi@vivo.com>
hfs: validate record offset in hfsplus_bmap_alloc
Viacheslav Dubeyko <slava@dubeyko.com>
hfsplus: fix KMSAN uninit-value issue in __hfsplus_ext_cache_extent()
Viacheslav Dubeyko <slava@dubeyko.com>
hfs: make proper initalization of struct hfs_find_data
Viacheslav Dubeyko <slava@dubeyko.com>
hfs: clear offset and space out of valid records in b-tree node
Harald Freudenberger <freude@linux.ibm.com>
s390/pkey: Forward keygenflags to ep11_unwrapkey
Simon Schuster <schuster.simon@siemens-energy.com>
nios2: ensure that memblock.current_limit is set when setting pfn limits
Xichao Zhao <zhao.xichao@vivo.com>
exec: Fix incorrect type for ret
Alexander Aring <aahringo@redhat.com>
dlm: move to rinfo for all middle conversion cases
Randy Dunlap <rdunlap@infradead.org>
cgroup/misc: fix misc_res_type kernel-doc warning
Jan Kara <jack@suse.cz>
expfs: Fix exportfs_can_encode_fh() for EXPORT_FH_FID
Nipun Gupta <nipun.gupta@amd.com>
vfio/cdx: update driver to build without CONFIG_GENERIC_MSI_IRQ
K Prateek Nayak <kprateek.nayak@amd.com>
sched/fair: Block delayed tasks on throttled hierarchy during dequeue
-------------
Diffstat:
.../devicetree/bindings/serial/renesas,scif.yaml | 1 +
.../devicetree/bindings/usb/fsl,imx8mp-dwc3.yaml | 10 +-
.../devicetree/bindings/usb/qcom,snps-dwc3.yaml | 3 +
Makefile | 8 +-
arch/arm64/boot/dts/broadcom/bcm2712.dtsi | 3 +
arch/arm64/include/asm/pgtable.h | 3 +-
arch/arm64/mm/copypage.c | 11 +-
arch/arm64/tools/sysreg | 4 +-
arch/m68k/include/asm/bitops.h | 25 ++--
arch/mips/mti-malta/malta-setup.c | 2 +-
arch/nios2/kernel/setup.c | 15 +++
arch/powerpc/include/asm/pgtable.h | 12 --
arch/powerpc/mm/book3s32/mmu.c | 4 +-
arch/powerpc/mm/pgtable_32.c | 2 +-
arch/powerpc/platforms/pseries/cmm.c | 2 +-
arch/riscv/include/asm/hwprobe.h | 7 ++
arch/riscv/include/asm/pgtable.h | 2 +
arch/riscv/include/asm/vdso/arch_data.h | 6 +
arch/riscv/kernel/cpu.c | 4 +-
arch/riscv/kernel/cpufeature.c | 10 +-
arch/riscv/kernel/pi/cmdline_early.c | 4 +-
arch/riscv/kernel/pi/fdt_early.c | 40 ++++++
arch/riscv/kernel/pi/pi.h | 1 +
arch/riscv/kernel/sys_hwprobe.c | 94 ++++++++++----
arch/riscv/kernel/unaligned_access_speed.c | 9 +-
arch/riscv/kernel/vdso/hwprobe.c | 2 +-
arch/riscv/mm/init.c | 11 +-
arch/s390/mm/pgalloc.c | 13 +-
arch/x86/kernel/cpu/microcode/amd.c | 2 +-
block/blk-settings.c | 10 ++
drivers/acpi/acpica/tbprint.c | 6 +
drivers/android/binder.c | 11 +-
drivers/base/arch_topology.c | 2 +-
drivers/base/devcoredump.c | 136 +++++++++++++--------
drivers/block/nbd.c | 15 +++
drivers/comedi/comedi_buf.c | 2 +-
drivers/cpufreq/amd-pstate.c | 6 +-
drivers/cpuidle/governors/menu.c | 21 ++--
drivers/firmware/arm_ffa/driver.c | 37 ++++--
drivers/firmware/arm_scmi/common.h | 32 ++++-
drivers/firmware/arm_scmi/driver.c | 54 +++-----
drivers/gpio/gpio-104-idio-16.c | 1 +
drivers/gpio/gpio-idio-16.c | 5 +
drivers/gpio/gpio-ljca.c | 14 +--
drivers/gpio/gpio-pci-idio-16.c | 1 +
drivers/gpio/gpio-regmap.c | 53 +++++++-
.../drm/amd/display/dc/hwss/dcn401/dcn401_hwseq.c | 3 +
drivers/gpu/drm/amd/display/dc/inc/hw/hw_shared.h | 8 +-
drivers/gpu/drm/drm_panic.c | 54 +++++++-
drivers/gpu/drm/panthor/panthor_mmu.c | 10 +-
drivers/gpu/drm/xe/xe_ggtt.c | 3 +
drivers/hwmon/cgbc-hwmon.c | 3 +
drivers/hwmon/pmbus/isl68137.c | 3 +-
drivers/hwmon/pmbus/max34440.c | 12 +-
drivers/hwmon/sht3x.c | 27 ++--
drivers/irqchip/irq-gic-v3-its-fsl-mc-msi.c | 2 +-
drivers/misc/fastrpc.c | 2 +
drivers/misc/lkdtm/fortify.c | 6 +
drivers/misc/mei/hw-me-regs.h | 2 +
drivers/misc/mei/pci-me.c | 2 +
drivers/misc/vmw_balloon.c | 8 +-
drivers/most/most_usb.c | 13 +-
drivers/net/bonding/bond_main.c | 47 ++++---
drivers/net/can/bxcan.c | 2 +-
drivers/net/can/dev/netlink.c | 6 +-
drivers/net/can/esd/esdacc.c | 2 +-
drivers/net/can/rockchip/rockchip_canfd-tx.c | 2 +-
drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c | 3 +-
drivers/net/ethernet/freescale/enetc/enetc.c | 25 +++-
drivers/net/ethernet/freescale/enetc/enetc.h | 2 +-
drivers/net/ethernet/hisilicon/Kconfig | 1 +
.../net/ethernet/mellanox/mlx5/core/en/params.c | 2 +-
.../ethernet/mellanox/mlx5/core/en_accel/ipsec.h | 5 +
.../mellanox/mlx5/core/en_accel/ipsec_fs.c | 25 +++-
drivers/net/ethernet/mellanox/mlx5/core/en_main.c | 2 +
drivers/net/ethernet/mellanox/mlx5/core/en_rx.c | 51 ++++++--
drivers/net/ethernet/renesas/ravb_main.c | 24 +++-
drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c | 9 +-
drivers/net/ethernet/ti/am65-cpts.c | 63 +++++++---
drivers/net/ovpn/tcp.c | 26 +++-
drivers/net/phy/micrel.c | 4 +-
drivers/net/phy/realtek/realtek_main.c | 16 +--
drivers/net/usb/rtl8150.c | 11 +-
drivers/nvmem/rcar-efuse.c | 1 +
drivers/of/irq.c | 62 ++++++----
drivers/pci/msi/irqdomain.c | 2 +-
drivers/pci/pci.c | 6 +-
drivers/perf/hisilicon/hisi_uncore_pmu.c | 2 +-
drivers/perf/hisilicon/hisi_uncore_pmu.h | 3 +-
drivers/platform/mellanox/mlxbf-pmc.c | 1 +
drivers/platform/x86/dell/alienware-wmi-wmax.c | 12 +-
drivers/ptp/ptp_ocp.c | 2 +-
drivers/s390/crypto/zcrypt_ep11misc.c | 4 +-
drivers/spi/spi-airoha-snfi.c | 128 ++++++++++++++-----
drivers/spi/spi-cadence-quadspi.c | 5 +-
drivers/spi/spi-nxp-fspi.c | 80 +++++++++++-
drivers/spi/spi-rockchip-sfc.c | 12 +-
.../staging/gpib/agilent_82350b/agilent_82350b.c | 12 +-
drivers/staging/gpib/fmh_gpib/fmh_gpib.c | 5 +
drivers/staging/gpib/ni_usb/ni_usb_gpib.c | 13 +-
drivers/tty/serial/8250/8250_dw.c | 4 +-
drivers/tty/serial/8250/8250_exar.c | 11 ++
drivers/tty/serial/8250/8250_mtk.c | 6 +-
drivers/tty/serial/sc16is7xx.c | 7 --
drivers/tty/serial/sh-sci.c | 14 ++-
drivers/usb/core/quirks.c | 2 +
drivers/usb/gadget/legacy/raw_gadget.c | 2 -
drivers/usb/host/xhci-dbgcap.c | 15 ++-
drivers/usb/serial/option.c | 10 ++
drivers/usb/typec/tcpm/tcpm.c | 4 +-
drivers/vfio/cdx/Makefile | 6 +-
drivers/vfio/cdx/private.h | 14 +++
drivers/virtio/virtio_balloon.c | 2 +-
fs/aio.c | 2 +-
fs/btrfs/inode.c | 4 +-
fs/btrfs/ref-verify.c | 2 +-
fs/btrfs/send.c | 56 +++++++--
fs/btrfs/super.c | 8 +-
fs/dlm/lock.c | 2 +-
fs/dlm/lockspace.c | 2 +-
fs/dlm/recover.c | 2 +-
fs/erofs/zmap.c | 39 +++---
fs/exec.c | 2 +-
fs/gfs2/lock_dlm.c | 11 +-
fs/hfs/bfind.c | 8 +-
fs/hfs/brec.c | 27 +++-
fs/hfs/mdb.c | 2 +-
fs/hfsplus/bfind.c | 8 +-
fs/hfsplus/bnode.c | 41 -------
fs/hfsplus/btree.c | 6 +
fs/hfsplus/hfsplus_fs.h | 42 +++++++
fs/hfsplus/super.c | 25 +++-
fs/hugetlbfs/inode.c | 4 +-
fs/jfs/jfs_metapage.c | 8 +-
fs/notify/fdinfo.c | 6 +
fs/ocfs2/move_extents.c | 5 +
fs/smb/client/cifsglob.h | 2 +-
fs/smb/client/inode.c | 5 +-
fs/smb/client/smbdirect.c | 30 +++--
fs/smb/client/smbdirect.h | 2 +-
fs/smb/server/transport_rdma.c | 11 +-
fs/sysfs/group.c | 26 +++-
fs/xfs/scrub/nlinks.c | 34 +++++-
fs/xfs/xfs_super.c | 33 +++--
include/linux/arm_ffa.h | 21 +++-
include/linux/exportfs.h | 7 +-
include/linux/gpio/regmap.h | 16 +++
include/linux/hung_task.h | 8 +-
include/linux/migrate.h | 11 +-
include/linux/misc_cgroup.h | 2 +-
include/linux/of_irq.h | 6 -
include/linux/skbuff.h | 3 +
include/linux/virtio_net.h | 4 +
io_uring/fdinfo.c | 8 +-
io_uring/filetable.c | 2 +-
io_uring/sqpoll.c | 65 +++++++---
io_uring/sqpoll.h | 1 +
io_uring/waitid.c | 2 +-
kernel/dma/debug.c | 5 +-
kernel/sched/fair.c | 9 +-
kernel/sched/sched.h | 2 -
kernel/trace/rv/monitors/pagefault/Kconfig | 1 +
kernel/trace/rv/rv.c | 12 +-
mm/damon/core.c | 7 +-
mm/damon/sysfs.c | 7 +-
mm/huge_memory.c | 3 +
mm/migrate.c | 88 +++++++------
mm/migrate_device.c | 2 +-
mm/mremap.c | 15 +--
mm/page_owner.c | 3 +
mm/slub.c | 23 ++--
mm/zsmalloc.c | 4 +-
net/core/datagram.c | 44 +++++--
net/core/rtnetlink.c | 3 -
net/hsr/hsr_netlink.c | 8 +-
net/mptcp/pm_kernel.c | 6 +
net/sctp/inqueue.c | 13 +-
net/smc/smc_inet.c | 13 --
net/vmw_vsock/af_vsock.c | 38 +++---
net/xfrm/espintcp.c | 6 +-
rust/kernel/auxiliary.rs | 8 +-
rust/kernel/device.rs | 4 +-
tools/objtool/check.c | 1 +
tools/testing/selftests/net/mptcp/mptcp_join.sh | 8 +-
tools/testing/selftests/net/sctp_hello.c | 17 +--
tools/testing/selftests/net/sctp_vrf.sh | 73 ++++++-----
186 files changed, 1849 insertions(+), 834 deletions(-)
^ permalink raw reply [flat|nested] 17+ messages in thread
* [PATCH 6.17 050/184] arm64, mm: avoid always making PTE dirty in pte_mkwrite()
2025-10-27 18:34 [PATCH 6.17 000/184] 6.17.6-rc1 review Greg Kroah-Hartman
@ 2025-10-27 18:35 ` Greg Kroah-Hartman
2025-10-27 18:35 ` [PATCH 6.17 061/184] fs/notify: call exportfs_encode_fid with s_umount Greg Kroah-Hartman
` (14 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: Greg Kroah-Hartman @ 2025-10-27 18:35 UTC (permalink / raw)
To: stable
Cc: Greg Kroah-Hartman, patches, Huang Ying, Will Deacon,
Anshuman Khandual, Ryan Roberts, Gavin Shan, Ard Biesheuvel,
Matthew Wilcox (Oracle), Yicong Yang, linux-arm-kernel,
linux-kernel, Catalin Marinas, Sasha Levin
6.17-stable review patch. If anyone has any objections, please let me know.
------------------
From: Huang Ying <ying.huang@linux.alibaba.com>
[ Upstream commit 143937ca51cc6ae2fccc61a1cb916abb24cd34f5 ]
Current pte_mkwrite_novma() makes PTE dirty unconditionally. This may
mark some pages that are never written dirty wrongly. For example,
do_swap_page() may map the exclusive pages with writable and clean PTEs
if the VMA is writable and the page fault is for read access.
However, current pte_mkwrite_novma() implementation always dirties the
PTE. This may cause unnecessary disk writing if the pages are
never written before being reclaimed.
So, change pte_mkwrite_novma() to clear the PTE_RDONLY bit only if the
PTE_DIRTY bit is set to make it possible to make the PTE writable and
clean.
The current behavior was introduced in commit 73e86cb03cf2 ("arm64:
Move PTE_RDONLY bit handling out of set_pte_at()"). Before that,
pte_mkwrite() only sets the PTE_WRITE bit, while set_pte_at() only
clears the PTE_RDONLY bit if both the PTE_WRITE and the PTE_DIRTY bits
are set.
To test the performance impact of the patch, on an arm64 server
machine, run 16 redis-server processes on socket 1 and 16
memtier_benchmark processes on socket 0 with mostly get
transactions (that is, redis-server will mostly read memory only).
The memory footprint of redis-server is larger than the available
memory, so swap out/in will be triggered. Test results show that the
patch can avoid most swapping out because the pages are mostly clean.
And the benchmark throughput improves ~23.9% in the test.
Fixes: 73e86cb03cf2 ("arm64: Move PTE_RDONLY bit handling out of set_pte_at()")
Signed-off-by: Huang Ying <ying.huang@linux.alibaba.com>
Cc: Will Deacon <will@kernel.org>
Cc: Anshuman Khandual <anshuman.khandual@arm.com>
Cc: Ryan Roberts <ryan.roberts@arm.com>
Cc: Gavin Shan <gshan@redhat.com>
Cc: Ard Biesheuvel <ardb@kernel.org>
Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
Cc: Yicong Yang <yangyicong@hisilicon.com>
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-kernel@vger.kernel.org
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
---
arch/arm64/include/asm/pgtable.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/arch/arm64/include/asm/pgtable.h b/arch/arm64/include/asm/pgtable.h
index abd2dee416b3b..e6fdb52963303 100644
--- a/arch/arm64/include/asm/pgtable.h
+++ b/arch/arm64/include/asm/pgtable.h
@@ -293,7 +293,8 @@ static inline pmd_t set_pmd_bit(pmd_t pmd, pgprot_t prot)
static inline pte_t pte_mkwrite_novma(pte_t pte)
{
pte = set_pte_bit(pte, __pgprot(PTE_WRITE));
- pte = clear_pte_bit(pte, __pgprot(PTE_RDONLY));
+ if (pte_sw_dirty(pte))
+ pte = clear_pte_bit(pte, __pgprot(PTE_RDONLY));
return pte;
}
--
2.51.0
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [PATCH 6.17 061/184] fs/notify: call exportfs_encode_fid with s_umount
2025-10-27 18:34 [PATCH 6.17 000/184] 6.17.6-rc1 review Greg Kroah-Hartman
2025-10-27 18:35 ` [PATCH 6.17 050/184] arm64, mm: avoid always making PTE dirty in pte_mkwrite() Greg Kroah-Hartman
@ 2025-10-27 18:35 ` Greg Kroah-Hartman
2025-10-27 18:36 ` [PATCH 6.17 089/184] devcoredump: Fix circular locking dependency with devcd->mutex Greg Kroah-Hartman
` (13 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: Greg Kroah-Hartman @ 2025-10-27 18:35 UTC (permalink / raw)
To: stable
Cc: Greg Kroah-Hartman, patches, Jakub Acs, Jan Kara, Amir Goldstein,
Miklos Szeredi, Christian Brauner, linux-unionfs, linux-fsdevel,
linux-kernel
6.17-stable review patch. If anyone has any objections, please let me know.
------------------
From: Jakub Acs <acsjakub@amazon.de>
commit a7c4bb43bfdc2b9f06ee9d036028ed13a83df42a upstream.
Calling intotify_show_fdinfo() on fd watching an overlayfs inode, while
the overlayfs is being unmounted, can lead to dereferencing NULL ptr.
This issue was found by syzkaller.
Race Condition Diagram:
Thread 1 Thread 2
-------- --------
generic_shutdown_super()
shrink_dcache_for_umount
sb->s_root = NULL
|
| vfs_read()
| inotify_fdinfo()
| * inode get from mark *
| show_mark_fhandle(m, inode)
| exportfs_encode_fid(inode, ..)
| ovl_encode_fh(inode, ..)
| ovl_check_encode_origin(inode)
| * deref i_sb->s_root *
|
|
v
fsnotify_sb_delete(sb)
Which then leads to:
[ 32.133461] Oops: general protection fault, probably for non-canonical address 0xdffffc0000000006: 0000 [#1] SMP DEBUG_PAGEALLOC KASAN NOPTI
[ 32.134438] KASAN: null-ptr-deref in range [0x0000000000000030-0x0000000000000037]
[ 32.135032] CPU: 1 UID: 0 PID: 4468 Comm: systemd-coredum Not tainted 6.17.0-rc6 #22 PREEMPT(none)
<snip registers, unreliable trace>
[ 32.143353] Call Trace:
[ 32.143732] ovl_encode_fh+0xd5/0x170
[ 32.144031] exportfs_encode_inode_fh+0x12f/0x300
[ 32.144425] show_mark_fhandle+0xbe/0x1f0
[ 32.145805] inotify_fdinfo+0x226/0x2d0
[ 32.146442] inotify_show_fdinfo+0x1c5/0x350
[ 32.147168] seq_show+0x530/0x6f0
[ 32.147449] seq_read_iter+0x503/0x12a0
[ 32.148419] seq_read+0x31f/0x410
[ 32.150714] vfs_read+0x1f0/0x9e0
[ 32.152297] ksys_read+0x125/0x240
IOW ovl_check_encode_origin derefs inode->i_sb->s_root, after it was set
to NULL in the unmount path.
Fix it by protecting calling exportfs_encode_fid() from
show_mark_fhandle() with s_umount lock.
This form of fix was suggested by Amir in [1].
[1]: https://lore.kernel.org/all/CAOQ4uxhbDwhb+2Brs1UdkoF0a3NSdBAOQPNfEHjahrgoKJpLEw@mail.gmail.com/
Fixes: c45beebfde34 ("ovl: support encoding fid from inode with no alias")
Signed-off-by: Jakub Acs <acsjakub@amazon.de>
Cc: Jan Kara <jack@suse.cz>
Cc: Amir Goldstein <amir73il@gmail.com>
Cc: Miklos Szeredi <miklos@szeredi.hu>
Cc: Christian Brauner <brauner@kernel.org>
Cc: linux-unionfs@vger.kernel.org
Cc: linux-fsdevel@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Cc: stable@vger.kernel.org
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
fs/notify/fdinfo.c | 6 ++++++
1 file changed, 6 insertions(+)
--- a/fs/notify/fdinfo.c
+++ b/fs/notify/fdinfo.c
@@ -17,6 +17,7 @@
#include "fanotify/fanotify.h"
#include "fdinfo.h"
#include "fsnotify.h"
+#include "../internal.h"
#if defined(CONFIG_PROC_FS)
@@ -46,7 +47,12 @@ static void show_mark_fhandle(struct seq
size = f->handle_bytes >> 2;
+ if (!super_trylock_shared(inode->i_sb))
+ return;
+
ret = exportfs_encode_fid(inode, (struct fid *)f->f_handle, &size);
+ up_read(&inode->i_sb->s_umount);
+
if ((ret == FILEID_INVALID) || (ret < 0))
return;
^ permalink raw reply [flat|nested] 17+ messages in thread
* [PATCH 6.17 089/184] devcoredump: Fix circular locking dependency with devcd->mutex.
2025-10-27 18:34 [PATCH 6.17 000/184] 6.17.6-rc1 review Greg Kroah-Hartman
2025-10-27 18:35 ` [PATCH 6.17 050/184] arm64, mm: avoid always making PTE dirty in pte_mkwrite() Greg Kroah-Hartman
2025-10-27 18:35 ` [PATCH 6.17 061/184] fs/notify: call exportfs_encode_fid with s_umount Greg Kroah-Hartman
@ 2025-10-27 18:36 ` Greg Kroah-Hartman
2025-10-27 21:51 ` [PATCH 6.17 000/184] 6.17.6-rc1 review Florian Fainelli
` (12 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: Greg Kroah-Hartman @ 2025-10-27 18:36 UTC (permalink / raw)
To: stable
Cc: Greg Kroah-Hartman, patches, Mukesh Ojha, Johannes Berg,
Rafael J. Wysocki, Danilo Krummrich, linux-kernel,
Maarten Lankhorst, Matthew Brost, Mukesh Ojha
6.17-stable review patch. If anyone has any objections, please let me know.
------------------
From: Maarten Lankhorst <dev@lankhorst.se>
commit a91c8096590bd7801a26454789f2992094fe36da upstream.
The original code causes a circular locking dependency found by lockdep.
======================================================
WARNING: possible circular locking dependency detected
6.16.0-rc6-lgci-xe-xe-pw-151626v3+ #1 Tainted: G S U
------------------------------------------------------
xe_fault_inject/5091 is trying to acquire lock:
ffff888156815688 ((work_completion)(&(&devcd->del_wk)->work)){+.+.}-{0:0}, at: __flush_work+0x25d/0x660
but task is already holding lock:
ffff888156815620 (&devcd->mutex){+.+.}-{3:3}, at: dev_coredump_put+0x3f/0xa0
which lock already depends on the new lock.
the existing dependency chain (in reverse order) is:
-> #2 (&devcd->mutex){+.+.}-{3:3}:
mutex_lock_nested+0x4e/0xc0
devcd_data_write+0x27/0x90
sysfs_kf_bin_write+0x80/0xf0
kernfs_fop_write_iter+0x169/0x220
vfs_write+0x293/0x560
ksys_write+0x72/0xf0
__x64_sys_write+0x19/0x30
x64_sys_call+0x2bf/0x2660
do_syscall_64+0x93/0xb60
entry_SYSCALL_64_after_hwframe+0x76/0x7e
-> #1 (kn->active#236){++++}-{0:0}:
kernfs_drain+0x1e2/0x200
__kernfs_remove+0xae/0x400
kernfs_remove_by_name_ns+0x5d/0xc0
remove_files+0x54/0x70
sysfs_remove_group+0x3d/0xa0
sysfs_remove_groups+0x2e/0x60
device_remove_attrs+0xc7/0x100
device_del+0x15d/0x3b0
devcd_del+0x19/0x30
process_one_work+0x22b/0x6f0
worker_thread+0x1e8/0x3d0
kthread+0x11c/0x250
ret_from_fork+0x26c/0x2e0
ret_from_fork_asm+0x1a/0x30
-> #0 ((work_completion)(&(&devcd->del_wk)->work)){+.+.}-{0:0}:
__lock_acquire+0x1661/0x2860
lock_acquire+0xc4/0x2f0
__flush_work+0x27a/0x660
flush_delayed_work+0x5d/0xa0
dev_coredump_put+0x63/0xa0
xe_driver_devcoredump_fini+0x12/0x20 [xe]
devm_action_release+0x12/0x30
release_nodes+0x3a/0x120
devres_release_all+0x8a/0xd0
device_unbind_cleanup+0x12/0x80
device_release_driver_internal+0x23a/0x280
device_driver_detach+0x14/0x20
unbind_store+0xaf/0xc0
drv_attr_store+0x21/0x50
sysfs_kf_write+0x4a/0x80
kernfs_fop_write_iter+0x169/0x220
vfs_write+0x293/0x560
ksys_write+0x72/0xf0
__x64_sys_write+0x19/0x30
x64_sys_call+0x2bf/0x2660
do_syscall_64+0x93/0xb60
entry_SYSCALL_64_after_hwframe+0x76/0x7e
other info that might help us debug this:
Chain exists of: (work_completion)(&(&devcd->del_wk)->work) --> kn->active#236 --> &devcd->mutex
Possible unsafe locking scenario:
CPU0 CPU1
---- ----
lock(&devcd->mutex);
lock(kn->active#236);
lock(&devcd->mutex);
lock((work_completion)(&(&devcd->del_wk)->work));
*** DEADLOCK ***
5 locks held by xe_fault_inject/5091:
#0: ffff8881129f9488 (sb_writers#5){.+.+}-{0:0}, at: ksys_write+0x72/0xf0
#1: ffff88810c755078 (&of->mutex#2){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x123/0x220
#2: ffff8881054811a0 (&dev->mutex){....}-{3:3}, at: device_release_driver_internal+0x55/0x280
#3: ffff888156815620 (&devcd->mutex){+.+.}-{3:3}, at: dev_coredump_put+0x3f/0xa0
#4: ffffffff8359e020 (rcu_read_lock){....}-{1:2}, at: __flush_work+0x72/0x660
stack backtrace:
CPU: 14 UID: 0 PID: 5091 Comm: xe_fault_inject Tainted: G S U 6.16.0-rc6-lgci-xe-xe-pw-151626v3+ #1 PREEMPT_{RT,(lazy)}
Tainted: [S]=CPU_OUT_OF_SPEC, [U]=USER
Hardware name: Micro-Star International Co., Ltd. MS-7D25/PRO Z690-A DDR4(MS-7D25), BIOS 1.10 12/13/2021
Call Trace:
<TASK>
dump_stack_lvl+0x91/0xf0
dump_stack+0x10/0x20
print_circular_bug+0x285/0x360
check_noncircular+0x135/0x150
? register_lock_class+0x48/0x4a0
__lock_acquire+0x1661/0x2860
lock_acquire+0xc4/0x2f0
? __flush_work+0x25d/0x660
? mark_held_locks+0x46/0x90
? __flush_work+0x25d/0x660
__flush_work+0x27a/0x660
? __flush_work+0x25d/0x660
? trace_hardirqs_on+0x1e/0xd0
? __pfx_wq_barrier_func+0x10/0x10
flush_delayed_work+0x5d/0xa0
dev_coredump_put+0x63/0xa0
xe_driver_devcoredump_fini+0x12/0x20 [xe]
devm_action_release+0x12/0x30
release_nodes+0x3a/0x120
devres_release_all+0x8a/0xd0
device_unbind_cleanup+0x12/0x80
device_release_driver_internal+0x23a/0x280
? bus_find_device+0xa8/0xe0
device_driver_detach+0x14/0x20
unbind_store+0xaf/0xc0
drv_attr_store+0x21/0x50
sysfs_kf_write+0x4a/0x80
kernfs_fop_write_iter+0x169/0x220
vfs_write+0x293/0x560
ksys_write+0x72/0xf0
__x64_sys_write+0x19/0x30
x64_sys_call+0x2bf/0x2660
do_syscall_64+0x93/0xb60
? __f_unlock_pos+0x15/0x20
? __x64_sys_getdents64+0x9b/0x130
? __pfx_filldir64+0x10/0x10
? do_syscall_64+0x1a2/0xb60
? clear_bhb_loop+0x30/0x80
? clear_bhb_loop+0x30/0x80
entry_SYSCALL_64_after_hwframe+0x76/0x7e
RIP: 0033:0x76e292edd574
Code: c7 00 16 00 00 00 b8 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 f3 0f 1e fa 80 3d d5 ea 0e 00 00 74 13 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 54 c3 0f 1f 00 55 48 89 e5 48 83 ec 20 48 89
RSP: 002b:00007fffe247a828 EFLAGS: 00000202 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 000076e292edd574
RDX: 000000000000000c RSI: 00006267f6306063 RDI: 000000000000000b
RBP: 000000000000000c R08: 000076e292fc4b20 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000202 R12: 00006267f6306063
R13: 000000000000000b R14: 00006267e6859c00 R15: 000076e29322a000
</TASK>
xe 0000:03:00.0: [drm] Xe device coredump has been deleted.
Fixes: 01daccf74832 ("devcoredump : Serialize devcd_del work")
Cc: Mukesh Ojha <quic_mojha@quicinc.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Johannes Berg <johannes@sipsolutions.net>
Cc: Rafael J. Wysocki <rafael@kernel.org>
Cc: Danilo Krummrich <dakr@kernel.org>
Cc: linux-kernel@vger.kernel.org
Cc: stable@vger.kernel.org # v6.1+
Signed-off-by: Maarten Lankhorst <dev@lankhorst.se>
Cc: Matthew Brost <matthew.brost@intel.com>
Acked-by: Mukesh Ojha <mukesh.ojha@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20250723142416.1020423-1-dev@lankhorst.se
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
drivers/base/devcoredump.c | 136 +++++++++++++++++++++++++++------------------
1 file changed, 83 insertions(+), 53 deletions(-)
--- a/drivers/base/devcoredump.c
+++ b/drivers/base/devcoredump.c
@@ -23,50 +23,46 @@ struct devcd_entry {
void *data;
size_t datalen;
/*
- * Here, mutex is required to serialize the calls to del_wk work between
- * user/kernel space which happens when devcd is added with device_add()
- * and that sends uevent to user space. User space reads the uevents,
- * and calls to devcd_data_write() which try to modify the work which is
- * not even initialized/queued from devcoredump.
+ * There are 2 races for which mutex is required.
*
+ * The first race is between device creation and userspace writing to
+ * schedule immediately destruction.
*
+ * This race is handled by arming the timer before device creation, but
+ * when device creation fails the timer still exists.
*
- * cpu0(X) cpu1(Y)
+ * To solve this, hold the mutex during device_add(), and set
+ * init_completed on success before releasing the mutex.
*
- * dev_coredump() uevent sent to user space
- * device_add() ======================> user space process Y reads the
- * uevents writes to devcd fd
- * which results into writes to
+ * That way the timer will never fire until device_add() is called,
+ * it will do nothing if init_completed is not set. The timer is also
+ * cancelled in that case.
*
- * devcd_data_write()
- * mod_delayed_work()
- * try_to_grab_pending()
- * timer_delete()
- * debug_assert_init()
- * INIT_DELAYED_WORK()
- * schedule_delayed_work()
- *
- *
- * Also, mutex alone would not be enough to avoid scheduling of
- * del_wk work after it get flush from a call to devcd_free()
- * mentioned as below.
- *
- * disabled_store()
- * devcd_free()
- * mutex_lock() devcd_data_write()
- * flush_delayed_work()
- * mutex_unlock()
- * mutex_lock()
- * mod_delayed_work()
- * mutex_unlock()
- * So, delete_work flag is required.
+ * The second race involves multiple parallel invocations of devcd_free(),
+ * add a deleted flag so only 1 can call the destructor.
*/
struct mutex mutex;
- bool delete_work;
+ bool init_completed, deleted;
struct module *owner;
ssize_t (*read)(char *buffer, loff_t offset, size_t count,
void *data, size_t datalen);
void (*free)(void *data);
+ /*
+ * If nothing interferes and device_add() was returns success,
+ * del_wk will destroy the device after the timer fires.
+ *
+ * Multiple userspace processes can interfere in the working of the timer:
+ * - Writing to the coredump will reschedule the timer to run immediately,
+ * if still armed.
+ *
+ * This is handled by using "if (cancel_delayed_work()) {
+ * schedule_delayed_work() }", to prevent re-arming after having
+ * been previously fired.
+ * - Writing to /sys/class/devcoredump/disabled will destroy the
+ * coredump synchronously.
+ * This is handled by using disable_delayed_work_sync(), and then
+ * checking if deleted flag is set with &devcd->mutex held.
+ */
struct delayed_work del_wk;
struct device *failing_dev;
};
@@ -95,14 +91,27 @@ static void devcd_dev_release(struct dev
kfree(devcd);
}
+static void __devcd_del(struct devcd_entry *devcd)
+{
+ devcd->deleted = true;
+ device_del(&devcd->devcd_dev);
+ put_device(&devcd->devcd_dev);
+}
+
static void devcd_del(struct work_struct *wk)
{
struct devcd_entry *devcd;
+ bool init_completed;
devcd = container_of(wk, struct devcd_entry, del_wk.work);
- device_del(&devcd->devcd_dev);
- put_device(&devcd->devcd_dev);
+ /* devcd->mutex serializes against dev_coredumpm_timeout */
+ mutex_lock(&devcd->mutex);
+ init_completed = devcd->init_completed;
+ mutex_unlock(&devcd->mutex);
+
+ if (init_completed)
+ __devcd_del(devcd);
}
static ssize_t devcd_data_read(struct file *filp, struct kobject *kobj,
@@ -122,12 +131,12 @@ static ssize_t devcd_data_write(struct f
struct device *dev = kobj_to_dev(kobj);
struct devcd_entry *devcd = dev_to_devcd(dev);
- mutex_lock(&devcd->mutex);
- if (!devcd->delete_work) {
- devcd->delete_work = true;
- mod_delayed_work(system_wq, &devcd->del_wk, 0);
- }
- mutex_unlock(&devcd->mutex);
+ /*
+ * Although it's tempting to use mod_delayed work here,
+ * that will cause a reschedule if the timer already fired.
+ */
+ if (cancel_delayed_work(&devcd->del_wk))
+ schedule_delayed_work(&devcd->del_wk, 0);
return count;
}
@@ -151,11 +160,21 @@ static int devcd_free(struct device *dev
{
struct devcd_entry *devcd = dev_to_devcd(dev);
+ /*
+ * To prevent a race with devcd_data_write(), disable work and
+ * complete manually instead.
+ *
+ * We cannot rely on the return value of
+ * disable_delayed_work_sync() here, because it might be in the
+ * middle of a cancel_delayed_work + schedule_delayed_work pair.
+ *
+ * devcd->mutex here guards against multiple parallel invocations
+ * of devcd_free().
+ */
+ disable_delayed_work_sync(&devcd->del_wk);
mutex_lock(&devcd->mutex);
- if (!devcd->delete_work)
- devcd->delete_work = true;
-
- flush_delayed_work(&devcd->del_wk);
+ if (!devcd->deleted)
+ __devcd_del(devcd);
mutex_unlock(&devcd->mutex);
return 0;
}
@@ -179,12 +198,10 @@ static ssize_t disabled_show(const struc
* put_device() <- last reference
* error = fn(dev, data) devcd_dev_release()
* devcd_free(dev, data) kfree(devcd)
- * mutex_lock(&devcd->mutex);
*
*
* In the above diagram, it looks like disabled_store() would be racing with parallelly
- * running devcd_del() and result in memory abort while acquiring devcd->mutex which
- * is called after kfree of devcd memory after dropping its last reference with
+ * running devcd_del() and result in memory abort after dropping its last reference with
* put_device(). However, this will not happens as fn(dev, data) runs
* with its own reference to device via klist_node so it is not its last reference.
* so, above situation would not occur.
@@ -374,7 +391,7 @@ void dev_coredumpm_timeout(struct device
devcd->read = read;
devcd->free = free;
devcd->failing_dev = get_device(dev);
- devcd->delete_work = false;
+ devcd->deleted = false;
mutex_init(&devcd->mutex);
device_initialize(&devcd->devcd_dev);
@@ -383,8 +400,14 @@ void dev_coredumpm_timeout(struct device
atomic_inc_return(&devcd_count));
devcd->devcd_dev.class = &devcd_class;
- mutex_lock(&devcd->mutex);
dev_set_uevent_suppress(&devcd->devcd_dev, true);
+
+ /* devcd->mutex prevents devcd_del() completing until init finishes */
+ mutex_lock(&devcd->mutex);
+ devcd->init_completed = false;
+ INIT_DELAYED_WORK(&devcd->del_wk, devcd_del);
+ schedule_delayed_work(&devcd->del_wk, timeout);
+
if (device_add(&devcd->devcd_dev))
goto put_device;
@@ -401,13 +424,20 @@ void dev_coredumpm_timeout(struct device
dev_set_uevent_suppress(&devcd->devcd_dev, false);
kobject_uevent(&devcd->devcd_dev.kobj, KOBJ_ADD);
- INIT_DELAYED_WORK(&devcd->del_wk, devcd_del);
- schedule_delayed_work(&devcd->del_wk, timeout);
+
+ /*
+ * Safe to run devcd_del() now that we are done with devcd_dev.
+ * Alternatively we could have taken a ref on devcd_dev before
+ * dropping the lock.
+ */
+ devcd->init_completed = true;
mutex_unlock(&devcd->mutex);
return;
put_device:
- put_device(&devcd->devcd_dev);
mutex_unlock(&devcd->mutex);
+ cancel_delayed_work_sync(&devcd->del_wk);
+ put_device(&devcd->devcd_dev);
+
put_module:
module_put(owner);
free:
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [PATCH 6.17 000/184] 6.17.6-rc1 review
2025-10-27 18:34 [PATCH 6.17 000/184] 6.17.6-rc1 review Greg Kroah-Hartman
` (2 preceding siblings ...)
2025-10-27 18:36 ` [PATCH 6.17 089/184] devcoredump: Fix circular locking dependency with devcd->mutex Greg Kroah-Hartman
@ 2025-10-27 21:51 ` Florian Fainelli
2025-10-27 22:00 ` Ronald Warsow
` (11 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: Florian Fainelli @ 2025-10-27 21:51 UTC (permalink / raw)
To: Greg Kroah-Hartman, stable
Cc: patches, linux-kernel, torvalds, akpm, linux, shuah, patches,
lkft-triage, pavel, jonathanh, sudipm.mukherjee, rwarsow, conor,
hargar, broonie, achill, sr
On 10/27/25 11:34, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 6.17.6 release.
> There are 184 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, 29 Oct 2025 18:34:15 +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.17.6-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.17.y
> and the diffstat can be found below.
>
> thanks,
>
> greg k-h
On ARCH_BRCMSTB using 32-bit and 64-bit ARM kernels, build tested on
BMIPS_GENERIC:
Tested-by: Florian Fainelli <florian.fainelli@broadcom.com>
--
Florian
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [PATCH 6.17 000/184] 6.17.6-rc1 review
2025-10-27 18:34 [PATCH 6.17 000/184] 6.17.6-rc1 review Greg Kroah-Hartman
` (3 preceding siblings ...)
2025-10-27 21:51 ` [PATCH 6.17 000/184] 6.17.6-rc1 review Florian Fainelli
@ 2025-10-27 22:00 ` Ronald Warsow
2025-10-28 5:05 ` Peter Schneider
` (10 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: Ronald Warsow @ 2025-10-27 22:00 UTC (permalink / raw)
To: Greg Kroah-Hartman, stable
Cc: patches, linux-kernel, torvalds, akpm, linux, shuah, patches,
lkft-triage, pavel, jonathanh, f.fainelli, sudipm.mukherjee,
conor, hargar, broonie, achill, sr
Hi
no regressions here on x86_64 (RKL, Intel 11th Gen. CPU)
Thanks
Tested-by: Ronald Warsow <rwarsow@gmx.de>
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [PATCH 6.17 000/184] 6.17.6-rc1 review
2025-10-27 18:34 [PATCH 6.17 000/184] 6.17.6-rc1 review Greg Kroah-Hartman
` (4 preceding siblings ...)
2025-10-27 22:00 ` Ronald Warsow
@ 2025-10-28 5:05 ` Peter Schneider
2025-10-28 10:06 ` Naresh Kamboju
` (9 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: Peter Schneider @ 2025-10-28 5:05 UTC (permalink / raw)
To: Greg Kroah-Hartman, stable
Cc: patches, linux-kernel, torvalds, akpm, linux, shuah, patches,
lkft-triage, pavel, jonathanh, f.fainelli, sudipm.mukherjee,
rwarsow, conor, hargar, broonie, achill, sr
Am 27.10.2025 um 19:34 schrieb Greg Kroah-Hartman:
> This is the start of the stable review cycle for the 6.17.6 release.
> There are 184 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.
Builds, boots and works on my 2-socket Ivy Bridge Xeon E5-2697 v2 server. No dmesg oddities or regressions found.
Tested-by: Peter Schneider <pschneider1968@googlemail.com>
Beste Grüße,
Peter Schneider
--
Climb the mountain not to plant your flag, but to embrace the challenge,
enjoy the air and behold the view. Climb it so you can see the world,
not so the world can see you. -- David McCullough Jr.
OpenPGP: 0xA3828BD796CCE11A8CADE8866E3A92C92C3FF244
Download: https://www.peters-netzplatz.de/download/pschneider1968_pub.asc
https://keys.mailvelope.com/pks/lookup?op=get&search=pschneider1968@googlemail.com
https://keys.mailvelope.com/pks/lookup?op=get&search=pschneider1968@gmail.com
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [PATCH 6.17 000/184] 6.17.6-rc1 review
2025-10-27 18:34 [PATCH 6.17 000/184] 6.17.6-rc1 review Greg Kroah-Hartman
` (5 preceding siblings ...)
2025-10-28 5:05 ` Peter Schneider
@ 2025-10-28 10:06 ` Naresh Kamboju
2025-10-28 10:49 ` Takeshi Ogasawara
` (8 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: Naresh Kamboju @ 2025-10-28 10:06 UTC (permalink / raw)
To: Greg Kroah-Hartman
Cc: stable, patches, linux-kernel, torvalds, akpm, linux, shuah,
patches, lkft-triage, pavel, jonathanh, f.fainelli,
sudipm.mukherjee, rwarsow, conor, hargar, broonie, achill, sr
On Tue, 28 Oct 2025 at 00:56, Greg Kroah-Hartman
<gregkh@linuxfoundation.org> wrote:
>
> This is the start of the stable review cycle for the 6.17.6 release.
> There are 184 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, 29 Oct 2025 18:34:15 +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.17.6-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.17.y
> and the diffstat can be found below.
>
> thanks,
>
> greg k-h
Results from Linaro’s test farm.
No regressions on arm64, arm, x86_64, and i386.
Tested-by: Linux Kernel Functional Testing <lkft@linaro.org>
## Build
* kernel: 6.17.6-rc1
* git: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
* git commit: 10e3f8e671f7771f981d181af9ed5a9382cb11f3
* git describe: v6.17.4-346-g10e3f8e671f7
* test details:
https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-6.17.y/build/v6.17.4-346-g10e3f8e671f7
## Test Regressions (compared to v6.17.4-161-g3cc198d00990)
## Metric Regressions (compared to v6.17.4-161-g3cc198d00990)
## Test Fixes (compared to v6.17.4-161-g3cc198d00990)
## Metric Fixes (compared to v6.17.4-161-g3cc198d00990)
## Test result summary
total: 130764, pass: 110823, fail: 4161, skip: 15780, xfail: 0
## Build Summary
* arc: 5 total, 5 passed, 0 failed
* arm: 139 total, 139 passed, 0 failed
* arm64: 57 total, 54 passed, 3 failed
* i386: 18 total, 18 passed, 0 failed
* mips: 34 total, 33 passed, 1 failed
* parisc: 4 total, 4 passed, 0 failed
* powerpc: 40 total, 39 passed, 1 failed
* riscv: 25 total, 25 passed, 0 failed
* s390: 22 total, 22 passed, 0 failed
* sh: 5 total, 5 passed, 0 failed
* sparc: 4 total, 3 passed, 1 failed
* x86_64: 49 total, 48 passed, 1 failed
## Test suites summary
* boot
* commands
* kselftest-arm64
* kselftest-breakpoints
* kselftest-capabilities
* kselftest-cgroup
* kselftest-clone3
* kselftest-core
* kselftest-cpu-hotplug
* kselftest-cpufreq
* kselftest-efivarfs
* kselftest-exec
* kselftest-fpu
* kselftest-ftrace
* kselftest-futex
* kselftest-gpio
* kselftest-intel_pstate
* kselftest-ipc
* kselftest-kcmp
* kselftest-kvm
* kselftest-livepatch
* kselftest-membarrier
* kselftest-memfd
* kselftest-mincore
* kselftest-mm
* kselftest-mqueue
* kselftest-net
* kselftest-net-mptcp
* kselftest-openat2
* kselftest-ptrace
* kselftest-rseq
* kselftest-rtc
* kselftest-rust
* kselftest-seccomp
* kselftest-sigaltstack
* kselftest-size
* kselftest-tc-testing
* kselftest-timers
* kselftest-tmpfs
* kselftest-tpm2
* kselftest-user_events
* kselftest-vDSO
* kselftest-x86
* kunit
* kvm-unit-tests
* lava
* libgpiod
* libhugetlbfs
* log-parser-boot
* log-parser-build-clang
* log-parser-build-gcc
* log-parser-test
* ltp-capability
* ltp-commands
* ltp-containers
* ltp-controllers
* ltp-cpuhotplug
* ltp-crypto
* ltp-cve
* ltp-dio
* ltp-fcntl-locktests
* ltp-fs
* ltp-fs_bind
* ltp-fs_perms_simple
* ltp-hugetlb
* ltp-math
* ltp-mm
* ltp-nptl
* ltp-pty
* ltp-sched
* ltp-smoke
* ltp-syscalls
* ltp-tracing
* perf
* rcutorture
* rt-tests-cyclicdeadline
* rt-tests-pi-stress
* rt-tests-pmqtest
* rt-tests-rt-migrate-test
* rt-tests-signaltest
--
Linaro LKFT
https://lkft.linaro.org
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [PATCH 6.17 000/184] 6.17.6-rc1 review
2025-10-27 18:34 [PATCH 6.17 000/184] 6.17.6-rc1 review Greg Kroah-Hartman
` (6 preceding siblings ...)
2025-10-28 10:06 ` Naresh Kamboju
@ 2025-10-28 10:49 ` Takeshi Ogasawara
2025-10-28 11:14 ` Mark Brown
` (7 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: Takeshi Ogasawara @ 2025-10-28 10:49 UTC (permalink / raw)
To: Greg Kroah-Hartman
Cc: stable, patches, linux-kernel, torvalds, akpm, linux, shuah,
patches, lkft-triage, pavel, jonathanh, f.fainelli,
sudipm.mukherjee, rwarsow, conor, hargar, broonie, achill, sr
Hi Greg
On Tue, Oct 28, 2025 at 4:35 AM Greg Kroah-Hartman
<gregkh@linuxfoundation.org> wrote:
>
> This is the start of the stable review cycle for the 6.17.6 release.
> There are 184 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, 29 Oct 2025 18:34:15 +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.17.6-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.17.y
> and the diffstat can be found below.
>
> thanks,
>
> greg k-h
>
6.17.6-rc1 tested.
Build successfully completed.
Boot successfully completed.
No dmesg regressions.
Video output normal.
Sound output normal.
Lenovo ThinkPad X1 Carbon Gen10(Intel i7-1260P(x86_64) arch linux)
[ 0.000000] Linux version 6.17.6-rc1rv-g10e3f8e671f7
(takeshi@ThinkPadX1Gen10J0764) (gcc (GCC) 15.2.1 20250813, GNU ld (GNU
Binutils) 2.45.0) #1 SMP PREEMPT_DYNAMIC Tue Oct 28 19:19:34 JST 2025
Thanks
Tested-by: Takeshi Ogasawara <takeshi.ogasawara@futuring-girl.com>
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [PATCH 6.17 000/184] 6.17.6-rc1 review
2025-10-27 18:34 [PATCH 6.17 000/184] 6.17.6-rc1 review Greg Kroah-Hartman
` (7 preceding siblings ...)
2025-10-28 10:49 ` Takeshi Ogasawara
@ 2025-10-28 11:14 ` Mark Brown
2025-10-28 11:29 ` Jon Hunter
` (6 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: Mark Brown @ 2025-10-28 11:14 UTC (permalink / raw)
To: Greg Kroah-Hartman
Cc: stable, patches, linux-kernel, torvalds, akpm, linux, shuah,
patches, lkft-triage, pavel, jonathanh, f.fainelli,
sudipm.mukherjee, rwarsow, conor, hargar, achill, sr
[-- Attachment #1: Type: text/plain, Size: 345 bytes --]
On Mon, Oct 27, 2025 at 07:34:42PM +0100, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 6.17.6 release.
> There are 184 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.
Tested-by: Mark Brown <broonie@kernel.org>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [PATCH 6.17 000/184] 6.17.6-rc1 review
2025-10-27 18:34 [PATCH 6.17 000/184] 6.17.6-rc1 review Greg Kroah-Hartman
` (8 preceding siblings ...)
2025-10-28 11:14 ` Mark Brown
@ 2025-10-28 11:29 ` Jon Hunter
2025-10-28 11:38 ` Ron Economos
` (5 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: Jon Hunter @ 2025-10-28 11:29 UTC (permalink / raw)
To: Greg Kroah-Hartman
Cc: Greg Kroah-Hartman, patches, linux-kernel, torvalds, akpm, linux,
shuah, patches, lkft-triage, pavel, jonathanh, f.fainelli,
sudipm.mukherjee, rwarsow, conor, hargar, broonie, achill, sr,
linux-tegra, stable
On Mon, 27 Oct 2025 19:34:42 +0100, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 6.17.6 release.
> There are 184 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, 29 Oct 2025 18:34:15 +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.17.6-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.17.y
> and the diffstat can be found below.
>
> thanks,
>
> greg k-h
All tests passing for Tegra ...
Test results for stable-v6.17:
10 builds: 10 pass, 0 fail
28 boots: 28 pass, 0 fail
120 tests: 120 pass, 0 fail
Linux version: 6.17.6-rc1-g10e3f8e671f7
Boards tested: tegra124-jetson-tk1, tegra186-p2771-0000,
tegra186-p3509-0000+p3636-0001, tegra194-p2972-0000,
tegra194-p3509-0000+p3668-0000, tegra20-ventana,
tegra210-p2371-2180, tegra210-p3450-0000,
tegra30-cardhu-a04
Tested-by: Jon Hunter <jonathanh@nvidia.com>
Jon
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [PATCH 6.17 000/184] 6.17.6-rc1 review
2025-10-27 18:34 [PATCH 6.17 000/184] 6.17.6-rc1 review Greg Kroah-Hartman
` (9 preceding siblings ...)
2025-10-28 11:29 ` Jon Hunter
@ 2025-10-28 11:38 ` Ron Economos
2025-10-28 13:53 ` Brett A C Sheffield
` (4 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: Ron Economos @ 2025-10-28 11:38 UTC (permalink / raw)
To: Greg Kroah-Hartman, stable
Cc: patches, linux-kernel, torvalds, akpm, linux, shuah, patches,
lkft-triage, pavel, jonathanh, f.fainelli, sudipm.mukherjee,
rwarsow, conor, hargar, broonie, achill, sr
On 10/27/25 11:34, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 6.17.6 release.
> There are 184 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, 29 Oct 2025 18:34:15 +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.17.6-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.17.y
> and the diffstat can be found below.
>
> thanks,
>
> greg k-h
Built and booted successfully on RISC-V RV64 (HiFive Unmatched).
Tested-by: Ron Economos <re@w6rz.net>
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [PATCH 6.17 000/184] 6.17.6-rc1 review
2025-10-27 18:34 [PATCH 6.17 000/184] 6.17.6-rc1 review Greg Kroah-Hartman
` (10 preceding siblings ...)
2025-10-28 11:38 ` Ron Economos
@ 2025-10-28 13:53 ` Brett A C Sheffield
2025-10-28 17:11 ` Dileep malepu
` (3 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: Brett A C Sheffield @ 2025-10-28 13:53 UTC (permalink / raw)
To: gregkh
Cc: stable, patches, linux-kernel, torvalds, akpm, linux, shuah,
patches, lkft-triage, pavel, jonathanh, f.fainelli,
sudipm.mukherjee, rwarsow, conor, hargar, broonie, achill, sr,
Brett A C Sheffield
# Librecast Test Results
020/020 [ OK ] liblcrq
010/010 [ OK ] libmld
120/120 [ OK ] liblibrecast
CPU/kernel: Linux auntie 6.17.6-rc1-g10e3f8e671f7 #118 SMP PREEMPT_DYNAMIC Tue Oct 28 13:25:13 -00 2025 x86_64 AMD Ryzen 9 9950X 16-Core Processor AuthenticAMD GNU/Linux
Tested-by: Brett A C Sheffield <bacs@librecast.net>
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [PATCH 6.17 000/184] 6.17.6-rc1 review
2025-10-27 18:34 [PATCH 6.17 000/184] 6.17.6-rc1 review Greg Kroah-Hartman
` (11 preceding siblings ...)
2025-10-28 13:53 ` Brett A C Sheffield
@ 2025-10-28 17:11 ` Dileep malepu
2025-10-28 17:40 ` Justin Forbes
` (2 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: Dileep malepu @ 2025-10-28 17:11 UTC (permalink / raw)
To: Greg Kroah-Hartman
Cc: stable, patches, linux-kernel, torvalds, akpm, linux, shuah,
patches, lkft-triage, pavel, jonathanh, f.fainelli,
sudipm.mukherjee, rwarsow, conor, hargar, broonie, achill, sr
Hi Greg
On Tue, Oct 28, 2025 at 3:23 AM Greg Kroah-Hartman
<gregkh@linuxfoundation.org> wrote:
>
> This is the start of the stable review cycle for the 6.17.6 release.
> There are 184 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, 29 Oct 2025 18:34:15 +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.17.6-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.17.y
> and the diffstat can be found below.
>
> thanks,
>
> greg k-h
>
> -------------
Build and Boot Report for 6.17.6-rc1
The kernel version 6.17.6-rc1 was built and boot-tested using qemu-x86_64
and qemu-arm64 with the default configuration (defconfig). The build and boot
processes completed successfully, and the kernel operated as expected
in the virtualized environments without any issues.
Build Details :
Kernel Version: 6.17.6-rc1
Source: linux-stable-rc.git
Commit : 10e3f8e671f7771f981d181af9ed5a9382cb11f3
Tested-by: Dileep Malepu <dileep.debian@gmail.com>
Best regards,
Dileep Malepu
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [PATCH 6.17 000/184] 6.17.6-rc1 review
2025-10-27 18:34 [PATCH 6.17 000/184] 6.17.6-rc1 review Greg Kroah-Hartman
` (12 preceding siblings ...)
2025-10-28 17:11 ` Dileep malepu
@ 2025-10-28 17:40 ` Justin Forbes
2025-10-28 19:24 ` Shuah Khan
2025-10-29 11:45 ` Miguel Ojeda
15 siblings, 0 replies; 17+ messages in thread
From: Justin Forbes @ 2025-10-28 17:40 UTC (permalink / raw)
To: Greg Kroah-Hartman
Cc: stable, patches, linux-kernel, torvalds, akpm, linux, shuah,
patches, lkft-triage, pavel, jonathanh, f.fainelli,
sudipm.mukherjee, rwarsow, conor, hargar, broonie, achill, sr
On Mon, Oct 27, 2025 at 07:34:42PM +0100, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 6.17.6 release.
> There are 184 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, 29 Oct 2025 18:34:15 +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.17.6-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.17.y
> and the diffstat can be found below.
>
> thanks,
>
> greg k-h
Tested rc1 against the Fedora build system (aarch64, ppc64le, s390x,
x86_64), and boot tested x86_64. No regressions noted.
Tested-by: Justin M. Forbes <jforbes@fedoraproject.org>
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [PATCH 6.17 000/184] 6.17.6-rc1 review
2025-10-27 18:34 [PATCH 6.17 000/184] 6.17.6-rc1 review Greg Kroah-Hartman
` (13 preceding siblings ...)
2025-10-28 17:40 ` Justin Forbes
@ 2025-10-28 19:24 ` Shuah Khan
2025-10-29 11:45 ` Miguel Ojeda
15 siblings, 0 replies; 17+ messages in thread
From: Shuah Khan @ 2025-10-28 19:24 UTC (permalink / raw)
To: Greg Kroah-Hartman, stable
Cc: patches, linux-kernel, torvalds, akpm, linux, shuah, patches,
lkft-triage, pavel, jonathanh, f.fainelli, sudipm.mukherjee,
rwarsow, conor, hargar, broonie, achill, sr, Shuah Khan
On 10/27/25 12:34, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 6.17.6 release.
> There are 184 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, 29 Oct 2025 18:34:15 +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.17.6-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.17.y
> and the diffstat can be found below.
>
> thanks,
>
> greg k-h
>
Compiled and booted on my test system. No dmesg regressions.
Tested-by: Shuah Khan <skhan@linuxfoundation.org>
thanks,
-- Shuah
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [PATCH 6.17 000/184] 6.17.6-rc1 review
2025-10-27 18:34 [PATCH 6.17 000/184] 6.17.6-rc1 review Greg Kroah-Hartman
` (14 preceding siblings ...)
2025-10-28 19:24 ` Shuah Khan
@ 2025-10-29 11:45 ` Miguel Ojeda
15 siblings, 0 replies; 17+ messages in thread
From: Miguel Ojeda @ 2025-10-29 11:45 UTC (permalink / raw)
To: gregkh
Cc: achill, akpm, broonie, conor, f.fainelli, hargar, jonathanh,
linux-kernel, linux, lkft-triage, patches, patches, pavel,
rwarsow, shuah, sr, stable, sudipm.mukherjee, torvalds,
Miguel Ojeda
On Mon, 27 Oct 2025 19:34:42 +0100 Greg Kroah-Hartman <gregkh@linuxfoundation.org> wrote:
>
> This is the start of the stable review cycle for the 6.17.6 release.
> There are 184 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, 29 Oct 2025 18:34:15 +0000.
> Anything received after that time might be too late.
Boot-tested under QEMU for Rust x86_64, arm64 and riscv64; built-tested
for arm and loongarch64:
Tested-by: Miguel Ojeda <ojeda@kernel.org>
Thanks!
Cheers,
Miguel
^ permalink raw reply [flat|nested] 17+ messages in thread
end of thread, other threads:[~2025-10-29 11:46 UTC | newest]
Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-27 18:34 [PATCH 6.17 000/184] 6.17.6-rc1 review Greg Kroah-Hartman
2025-10-27 18:35 ` [PATCH 6.17 050/184] arm64, mm: avoid always making PTE dirty in pte_mkwrite() Greg Kroah-Hartman
2025-10-27 18:35 ` [PATCH 6.17 061/184] fs/notify: call exportfs_encode_fid with s_umount Greg Kroah-Hartman
2025-10-27 18:36 ` [PATCH 6.17 089/184] devcoredump: Fix circular locking dependency with devcd->mutex Greg Kroah-Hartman
2025-10-27 21:51 ` [PATCH 6.17 000/184] 6.17.6-rc1 review Florian Fainelli
2025-10-27 22:00 ` Ronald Warsow
2025-10-28 5:05 ` Peter Schneider
2025-10-28 10:06 ` Naresh Kamboju
2025-10-28 10:49 ` Takeshi Ogasawara
2025-10-28 11:14 ` Mark Brown
2025-10-28 11:29 ` Jon Hunter
2025-10-28 11:38 ` Ron Economos
2025-10-28 13:53 ` Brett A C Sheffield
2025-10-28 17:11 ` Dileep malepu
2025-10-28 17:40 ` Justin Forbes
2025-10-28 19:24 ` Shuah Khan
2025-10-29 11:45 ` Miguel Ojeda
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox