CVE-2025-40251
Fix Status by Distribution
Fixed in 16 of 27 tracked Linux releases
Fix evidence last checked: 2026-11-27 21:02 UTC
Get alerted when your releases are fixedFixed in:
AlmaLinux 10
ALSA-2026:1690 · Published: 2026-02-05
AlmaLinux 9
ALSA-2026:1617 · Published: 2026-02-06
Debian 11 (Bullseye)
DLA-4499-1 · Published: 2026-03-13
Debian 12 (Bookworm)
DSA-6163-1 · Published: 2026-03-12
Debian 13 (Trixie)
Debian Security Tracker · Observed 2026-11-21
Oracle Linux 10
ELSA-2026-50112 · Published: 2026-02-20
ELSA-2026-1690 · Published: 2026-02-02
Oracle Linux 9
ELSA-2026-50112 · Published: 2026-02-20
ELSA-2026-1617 · Published: 2026-02-02
Red Hat Enterprise Linux 10
RHSA-2026:1690 · Published: 2026-02-02
Red Hat Enterprise Linux 9
RHSA-2026:1617 · Published: 2026-02-02
Rocky Linux 10
RLSA-2026:1690 · Published: 2026-02-08
Rocky Linux 9
RLSA-2026:1617 · Published: 2026-02-08
SUSE Linux Enterprise Server 15 SP7
SUSE-SU-2026:0315 · Published: 2026-01-28
SUSE-SU-2026:0281 · Published: 2026-01-23
SUSE-SU-2026:0278 · Published: 2026-01-23
SUSE Linux Enterprise Server 16
SUSE-SU-2026:20228 · Published: 2026-02-02
SUSE-SU-2026:20220 · Published: 2026-02-02
Ubuntu 22.04 LTS (Jammy Jellyfish)
USN-8126-1 · Published: 2026-03-25
USN-8095-4 · Published: 2026-03-23
USN-8095-3 · Published: 2026-03-17
USN-8100-1 · Published: 2026-03-16
USN-8095-1 · Published: 2026-03-16
Ubuntu 24.04 LTS (Noble Numbat)
USN-8261-1 · Published: 2026-05-07
USN-8165-1 · Published: 2026-04-09
USN-8152-1 · Published: 2026-04-06
USN-8095-5 · Published: 2026-04-01
USN-8125-1 · Published: 2026-03-25
USN-8094-4 · Published: 2026-03-25
USN-8094-3 · Published: 2026-03-23
USN-8095-3 · Published: 2026-03-17
USN-8094-2 · Published: 2026-03-17
USN-8100-1 · Published: 2026-03-16
USN-8095-2 · Published: 2026-03-16
USN-8095-1 · Published: 2026-03-16
USN-8094-1 · Published: 2026-03-16
Ubuntu 25.10 (Questing Quokka)
USN-8094-5 · Published: 2026-04-01
USN-8094-4 · Published: 2026-03-25
USN-8094-2 · Published: 2026-03-17
USN-8094-1 · Published: 2026-03-16
No fix evidence found:
In the Linux kernel, the following vulnerability has been resolved: devlink: rate: Unset parent pointer in devl_rate_nodes_destroy The function devl_rate_nodes_destroy is documented to "Unset parent for all rate objects". However, it was only calling the driver-specific `rate_leaf_parent_set` or `rate_node_parent_set` ops and decrementing the parent's refcount, without actually setting the `devlink_rate->parent` pointer to NULL. This leaves a dangling pointer in the `devlink_rate` struct, which cause refcount error in netdevsim[1] and mlx5[2]. In addition, this is inconsistent with the behavior of `devlink_nl_rate_parent_node_set`, where the parent pointer is correctly cleared. This patch fixes the issue by explicitly setting `devlink_rate->parent` to NULL after notifying the driver, thus fulfilling the function's documented behavior for all rate objects. [1] repro steps: echo 1 > /sys/bus/netdevsim/new_device devlink dev eswitch set netdevsim/netdevsim1 mode switchdev echo 1 > /sys/bus/netdevsim/devices/netdevsim1/sriov_numvfs devlink port function rate add netdevsim/netdevsim1/test_node devlink port function rate set netdevsim/netdevsim1/128 parent test_node echo 1 > /sys/bus/netdevsim/del_device dmesg: refcount_t: decrement hit 0; leaking memory. WARNING: CPU: 8 PID: 1530 at lib/refcount.c:31 refcount_warn_saturate+0x42/0xe0 CPU: 8 UID: 0 PID: 1530 Comm: bash Not tainted 6.18.0-rc4+ #1 NONE Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.16.0-0-gd239552ce722-prebuilt.qemu.org 04/01/2014 RIP: 0010:refcount_warn_saturate+0x42/0xe0 Call Trace: <TASK> devl_rate_leaf_destroy+0x8d/0x90 __nsim_dev_port_del+0x6c/0x70 [netdevsim] nsim_dev_reload_destroy+0x11c/0x140 [netdevsim] nsim_drv_remove+0x2b/0xb0 [netdevsim] device_release_driver_internal+0x194/0x1f0 bus_remove_device+0xc6/0x130 device_del+0x159/0x3c0 device_unregister+0x1a/0x60 del_device_store+0x111/0x170 [netdevsim] kernfs_fop_write_iter+0x12e/0x1e0 vfs_write+0x215/0x3d0 ksys_write+0x5f/0xd0 do_syscall_64+0x55/0x10f0 entry_SYSCALL_64_after_hwframe+0x4b/0x53 [2] devlink dev eswitch set pci/0000:08:00.0 mode switchdev devlink port add pci/0000:08:00.0 flavour pcisf pfnum 0 sfnum 1000 devlink port function rate add pci/0000:08:00.0/group1 devlink port function rate set pci/0000:08:00.0/32768 parent group1 modprobe -r mlx5_ib mlx5_fwctl mlx5_core dmesg: refcount_t: decrement hit 0; leaking memory. WARNING: CPU: 7 PID: 16151 at lib/refcount.c:31 refcount_warn_saturate+0x42/0xe0 CPU: 7 UID: 0 PID: 16151 Comm: bash Not tainted 6.17.0-rc7_for_upstream_min_debug_2025_10_02_12_44 #1 NONE Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 RIP: 0010:refcount_warn_saturate+0x42/0xe0 Call Trace: <TASK> devl_rate_leaf_destroy+0x8d/0x90 mlx5_esw_offloads_devlink_port_unregister+0x33/0x60 [mlx5_core] mlx5_esw_offloads_unload_rep+0x3f/0x50 [mlx5_core] mlx5_eswitch_unload_sf_vport+0x40/0x90 [mlx5_core] mlx5_sf_esw_event+0xc4/0x120 [mlx5_core] notifier_call_chain+0x33/0xa0 blocking_notifier_call_chain+0x3b/0x50 mlx5_eswitch_disable_locked+0x50/0x110 [mlx5_core] mlx5_eswitch_disable+0x63/0x90 [mlx5_core] mlx5_unload+0x1d/0x170 [mlx5_core] mlx5_uninit_one+0xa2/0x130 [mlx5_core] remove_one+0x78/0xd0 [mlx5_core] pci_device_remove+0x39/0xa0 device_release_driver_internal+0x194/0x1f0 unbind_store+0x99/0xa0 kernfs_fop_write_iter+0x12e/0x1e0 vfs_write+0x215/0x3d0 ksys_write+0x5f/0xd0 do_syscall_64+0x53/0x1f0 entry_SYSCALL_64_after_hwframe+0x4b/0x53
Exploit evidence
Last checked: 2026-10-19 21:05 UTC
No exploitation evidence · CISA Coordinator (Assessed 2026-06-10 20:41 UTC)