{"id":"AZL-116932","summary":"CVE-2026-139166 affecting package kernel 6.6.161.1-1","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ndevlink: region: fix snapshot id leak on kernel-allocated ids\n\nWhen DEVLINK_CMD_REGION_NEW is issued without a snapshot id, the kernel\nallocates one with __devlink_region_snapshot_id_get(). That helper counts\nthe caller as a user of the id, and the caller must release this hold\nonce it is done.\n\ndevlink_nl_region_new_doit() never drops it. The refcount of the id goes\n1 (allocation) -\u003e 2 (snapshot created) and stays at 2. When the snapshot\nis deleted the count only drops to 1, so the id is never erased from\nthe snapshot_ids xarray. The id then stays in use for the lifetime of\nthe devlink instance: requesting a snapshot with that explicit id fails\nwith -EEXIST, and there is no snapshot left to delete to clean it up.\n\nReproducer steps:\n  # devlink region new pci/0000:13:00.0/device-caps\n  pci/0000:13:00.0/device-caps: snapshot 0\n  # devlink region del pci/0000:13:00.0/device-caps snapshot 0\n  # devlink region new pci/0000:13:00.0/device-caps snapshot 0\n  kernel answers: File exists\n\nDrop the caller's reference right after the snapshot has been created,\nas the snapshot then holds its own.","modified":"2026-12-01T14:17:41.124671076Z","published":"2026-11-30T14:18:35Z","upstream":["CVE-2026-139166"],"references":[{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139166"}],"affected":[{"package":{"name":"kernel","ecosystem":"Azure Linux:3","purl":"pkg:rpm/azure-linux/kernel"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"6.6.161.1-1"}]}],"database_specific":{"source":"https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-116932.json"}}],"schema_version":"1.9.2"}