CVE-2026-99756
btrfs: prevent deleting the wrong subvolume by ID
Check your servers for CVE-2026-99756
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-99756 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
In the Linux kernel, the following vulnerability has been resolved:
btrfs: prevent deleting the wrong subvolume by ID
When deleting a subvolume by ID, btrfs_ioctl_snap_destroy() first resolves the requested ID to a name, then looks up that name again under the parent directory lock.
A concurrent rename can change which subvolume is associated with the name between these operations. Since the deletion path does not verify the ID of the resolved subvolume, it can delete a different subvolume while leaving the requested one intact.
This was reproduced by repeatedly exchanging the names of two subvolumes using renameat2(RENAME_EXCHANGE) while deleting one of them by ID. The wrong subvolume was deleted in 9 out of 14 independent tests.
Fix this by checking that the resolved subvolume ID matches the requested ID while holding the parent directory lock. Return -EAGAIN on a mismatch so that userspace can retry the operation instead of being told that the requested subvolume does not exist.
Exploitation
EPSS 0.18%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 7.59% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 949964c928430a42e0d4f514d888a58a201b6fcb, before d75be841c195dd64bab6a8a28cde944ba1670ae0 affected from 949964c928430a42e0d4f514d888a58a201b6fcb, before d70a57571d9b248c36830329c36a17a87e130485 affected from 949964c928430a42e0d4f514d888a58a201b6fcb, before bd5fe32d98fd2a09753034c867a138bd0699d57d affected from 949964c928430a42e0d4f514d888a58a201b6fcb, before 4bdb2a0ccd2aa93e81fcf13c43f2265f60cfe9a4 affected from 949964c928430a42e0d4f514d888a58a201b6fcb, before 9e7dda14b480bf4c515a6eecc516277f290ff2ee affected from 949964c928430a42e0d4f514d888a58a201b6fcb, before 8e64f41414a2e0ec767dfb317103b931b4be0d64 affected from 949964c928430a42e0d4f514d888a58a201b6fcb, before db399899dbac590d7d124b6896bd113916e7ab09 affected from 949964c928430a42e0d4f514d888a58a201b6fcb, before 1960146913b31b288ed2cd607d103ee3b41681d4
Other versions: unaffected
|
| Linux |
affected 5.7 unaffected before 5.7 unaffected from 5.10.275 up to and including 5.10.* unaffected from 5.15.226 up to and including 5.15.* unaffected from 6.1.193 up to and including 6.1.* unaffected from 6.6.163 up to and including 6.6.* unaffected from 6.12.119 up to and including 6.12.* unaffected from 6.18.65 up to and including 6.18.* unaffected from 7.3.5 up to and including 7.3.* unaffected 7.4-rc2 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-99756 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-99756
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-99756
trivy image --scanners vuln IMAGE | grep CVE-2026-99756
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/d75be841c195dd64bab6a8a28cde944ba1670ae0 git.kernel.org
- https://git.kernel.org/stable/c/d70a57571d9b248c36830329c36a17a87e130485 git.kernel.org
- https://git.kernel.org/stable/c/bd5fe32d98fd2a09753034c867a138bd0699d57d git.kernel.org
- https://git.kernel.org/stable/c/4bdb2a0ccd2aa93e81fcf13c43f2265f60cfe9a4 git.kernel.org
- https://git.kernel.org/stable/c/9e7dda14b480bf4c515a6eecc516277f290ff2ee git.kernel.org
- https://git.kernel.org/stable/c/8e64f41414a2e0ec767dfb317103b931b4be0d64 git.kernel.org
- https://git.kernel.org/stable/c/db399899dbac590d7d124b6896bd113916e7ab09 git.kernel.org
- https://git.kernel.org/stable/c/1960146913b31b288ed2cd607d103ee3b41681d4 git.kernel.org
Source: the record CVE-2026-99756 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse