CVE-2026-99756
btrfs: prevent deleting the wrong subvolume by ID
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.
INFO
Published Date :
Nov. 20, 2026, 6:18 a.m.
Last Modified :
Nov. 23, 2026, 8:18 a.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Solution
- Update the Linux kernel to the patched version.
- Verify subvolume deletion logic after update.
- Monitor for similar race conditions.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-99756.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-99756 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-99756
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-99756 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-99756 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Nov. 23, 2026
Action Type Old Value New Value Added Affected Affected value modified. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/99xxx/CVE-2026-99756.json">CVE-2026-99756</a> Added Reference https://git.kernel.org/stable/c/4bdb2a0ccd2aa93e81fcf13c43f2265f60cfe9a4 Added Reference https://git.kernel.org/stable/c/8e64f41414a2e0ec767dfb317103b931b4be0d64 Added Reference https://git.kernel.org/stable/c/9e7dda14b480bf4c515a6eecc516277f290ff2ee Added Reference https://git.kernel.org/stable/c/bd5fe32d98fd2a09753034c867a138bd0699d57d Added Reference https://git.kernel.org/stable/c/d70a57571d9b248c36830329c36a17a87e130485 Added Reference https://git.kernel.org/stable/c/d75be841c195dd64bab6a8a28cde944ba1670ae0 -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Nov. 20, 2026
Action Type Old Value New Value Added 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. Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/99xxx/CVE-2026-99756.json">CVE-2026-99756</a> Added Reference https://git.kernel.org/stable/c/1960146913b31b288ed2cd607d103ee3b41681d4 Added Reference https://git.kernel.org/stable/c/db399899dbac590d7d124b6896bd113916e7ab09