CVE-2026-139166

Not scored yetLast modified Nov 30, 2026

Description

In the Linux kernel, the following vulnerability has been resolved:

devlink: region: fix snapshot id leak on kernel-allocated ids

When DEVLINK_CMD_REGION_NEW is issued without a snapshot id, the kernel allocates one with __devlink_region_snapshot_id_get(). That helper counts the caller as a user of the id, and the caller must release this hold once it is done.

devlink_nl_region_new_doit() never drops it. The refcount of the id goes 1 (allocation) -> 2 (snapshot created) and stays at 2. When the snapshot is deleted the count only drops to 1, so the id is never erased from the snapshot_ids xarray. The id then stays in use for the lifetime of the devlink instance: requesting a snapshot with that explicit id fails with -EEXIST, and there is no snapshot left to delete to clean it up.

Reproducer steps: # devlink region new pci/0000:13:00.0/device-caps pci/0000:13:00.0/device-caps: snapshot 0 # devlink region del pci/0000:13:00.0/device-caps snapshot 0 # devlink region new pci/0000:13:00.0/device-caps snapshot 0 kernel answers: File exists

Drop the caller's reference right after the snapshot has been created, as the snapshot then holds its own.

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

No affected versions have been published.

Timeline

Published
Nov 30, 2026
Last modified
Nov 30, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-139167In the Linux kernel, the following vulnerability has been resolved: net-sysfs: reject a one-entry RPS flow table store_rps_dev_flow_table_CVE-2026-1391687.5In the Linux kernel, the following vulnerability has been resolved: net: microchip: fdma: fix DCB corruption under sustained load __fdma_dCVE-2026-139169In the Linux kernel, the following vulnerability has been resolved: net: lan966x: release the in-flight slot of a stale TX skb lan966x_ptpCVE-2026-139176.5Insufficient validation of untrusted input in Chrome for iOS in Google Chrome on iOS prior to 150.0.7871.47 allowed a remote attacker who coCVE-2026-139170In the Linux kernel, the following vulnerability has been resolved: net: lan966x: fix the DB dataptr of frames from ndo_xdp_xmit lan966x_fCVE-2026-139171In the Linux kernel, the following vulnerability has been resolved: sched_ext: Reject scx_bpf_sub_grant/revoke() in tracing programs A traCVE-2026-139172In the Linux kernel, the following vulnerability has been resolved: sched_ext: Fix a lone IMMED task waiting behind a kept prev While dispCVE-2026-139173In the Linux kernel, the following vulnerability has been resolved: sched_ext: Fix queued bypassed tasks stalling when the host loses SCX_CCVE-2026-139174In the Linux kernel, the following vulnerability has been resolved: sched_ext: Fix the bypass load balancer stranding tasks on cpus where tCVE-2026-139175In the Linux kernel, the following vulnerability has been resolved: sched_ext: Fix bypassed tasks looping on a host without SCX_CAP_ENQ ByCVE-2026-139176In the Linux kernel, the following vulnerability has been resolved: bpf: Fix bpf_timer callback running on a freed map A bpf_timer in an iCVE-2026-139177In the Linux kernel, the following vulnerability has been resolved: sched_ext: Reject rq-lock-taking kfuncs in tracing programs scx_bpf_cp
CVE-2026-139166: Unscored | Vulnix