# CVE-2026-99756: btrfs: prevent deleting the wrong subvolume by ID

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.18% (percentile 4, 2026-11-28)
- **Published:** 2026-11-20T05:51:25.263Z
- **Modified:** 2026-11-23T08:18:15.960Z

## Who should check

- Anyone running Linux \>= 949964c928430a42e0d4f514d888a58a201b6fcb, \< d75be841c195dd64bab6a8a28cde944ba1670ae0; \>= 949964c928430a42e0d4f514d888a58a201b6fcb, \< d70a57571d9b248c36830329c36a17a87e130485; \>= 949964c928430a42e0d4f514d888a58a201b6fcb, \< bd5fe32d98fd2a09753034c867a138bd0699d57d; \>= 949964c928430a42e0d4f514d888a58a201b6fcb, \< 4bdb2a0ccd2aa93e81fcf13c43f2265f60cfe9a4; \>= 949964c928430a42e0d4f514d888a58a201b6fcb, \< 9e7dda14b480bf4c515a6eecc516277f290ff2ee; \>= 949964c928430a42e0d4f514d888a58a201b6fcb, \< 8e64f41414a2e0ec767dfb317103b931b4be0d64; \>= 949964c928430a42e0d4f514d888a58a201b6fcb, \< db399899dbac590d7d124b6896bd113916e7ab09; \>= 949964c928430a42e0d4f514d888a58a201b6fcb, \< 1960146913b31b288ed2cd607d103ee3b41681d4
- Anyone running Linux 5.7

## 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.

## Affected and fixed versions

- Linux: \>= 949964c928430a42e0d4f514d888a58a201b6fcb, \< d75be841c195dd64bab6a8a28cde944ba1670ae0; \>= 949964c928430a42e0d4f514d888a58a201b6fcb, \< d70a57571d9b248c36830329c36a17a87e130485; \>= 949964c928430a42e0d4f514d888a58a201b6fcb, \< bd5fe32d98fd2a09753034c867a138bd0699d57d; \>= 949964c928430a42e0d4f514d888a58a201b6fcb, \< 4bdb2a0ccd2aa93e81fcf13c43f2265f60cfe9a4; \>= 949964c928430a42e0d4f514d888a58a201b6fcb, \< 9e7dda14b480bf4c515a6eecc516277f290ff2ee; \>= 949964c928430a42e0d4f514d888a58a201b6fcb, \< 8e64f41414a2e0ec767dfb317103b931b4be0d64; \>= 949964c928430a42e0d4f514d888a58a201b6fcb, \< db399899dbac590d7d124b6896bd113916e7ab09; \>= 949964c928430a42e0d4f514d888a58a201b6fcb, \< 1960146913b31b288ed2cd607d103ee3b41681d4 (cvelist)
- Linux: 5.7 (cvelist)

## Technologies

Linux kernel

## Mitigation

- Upgrade Linux to 1960146913b31b288ed2cd607d103ee3b41681d4 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-99756. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-99756.md
Affected: Linux >= 949964c928430a42e0d4f514d888a58a201b6fcb, < d75be841c195dd64bab6a8a28cde944ba1670ae0; >= 949964c928430a42e0d4f514d888a58a201b6fcb, < d70a57571d9b248c36830329c36a17a87e130485; >= 949964c928430a42e0d4f514d888a58a201b6fcb, < bd5fe32d98fd2a09753034c867a138bd0699d57d; >= 949964c928430a42e0d4f51…
Fixed in: Linux 4bdb2a0ccd2aa93e81fcf13c43f2265f60cfe9a4, Linux 9e7dda14b480bf4c515a6eecc516277f290ff2ee, Linux 8e64f41414a2e0ec767dfb317103b931b4be0d64, Linux 1960146913b31b288ed2cd607d103ee3b41681d4

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-99756 being exploited?

There is no confirmed exploitation: CVE-2026-99756 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.18% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-99756?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-99756?

Linux \>= 949964c928430a42e0d4f514d888a58a201b6fcb, \< d75be841c195dd64bab6a8a28cde944ba1670ae0; \>= 949964c928430a42e0d4f514d888a58a201b6fcb, \< d70a57571d9b248c36830329c36a17a87e130485; \>= 949964c928430a42e0d4f514d888a58a201b6fcb, \< bd5fe32d98fd2a09753034c867a138bd0699d57d; \>= 949964c928430a42e0d4f514d888a58a201b6fcb, \< 4bdb2a0ccd2aa93e81fcf13c43f2265f60cfe9a4; \>= 949964c928430a42e0d4f514d888a58a201b6fcb, \< 9e7dda14b480bf4c515a6eecc516277f290ff2ee; \>= 949964c928430a42e0d4f514d888a58a201b6fcb, \< 8e64f41414a2e0ec767dfb317103b931b4be0d64; \>= 949964c928430a42e0d4f514d888a58a201b6fcb, \< db399899dbac590d7d124b6896bd113916e7ab09; \>= 949964c928430a42e0d4f514d888a58a201b6fcb, \< 1960146913b31b288ed2cd607d103ee3b41681d4; Linux 5.7.

### Is there a fix for CVE-2026-99756?

Yes. Fixed in Linux 4bdb2a0ccd2aa93e81fcf13c43f2265f60cfe9a4, Linux 9e7dda14b480bf4c515a6eecc516277f290ff2ee, Linux 8e64f41414a2e0ec767dfb317103b931b4be0d64, Linux 1960146913b31b288ed2cd607d103ee3b41681d4. Upgrade Linux to 1960146913b31b288ed2cd607d103ee3b41681d4 or later.

### How do I check if I'm affected by CVE-2026-99756?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/d75be841c195dd64bab6a8a28cde944ba1670ae0>
- other: <https://git.kernel.org/stable/c/d70a57571d9b248c36830329c36a17a87e130485>
- other: <https://git.kernel.org/stable/c/bd5fe32d98fd2a09753034c867a138bd0699d57d>
- other: <https://git.kernel.org/stable/c/4bdb2a0ccd2aa93e81fcf13c43f2265f60cfe9a4>
- other: <https://git.kernel.org/stable/c/9e7dda14b480bf4c515a6eecc516277f290ff2ee>
- other: <https://git.kernel.org/stable/c/8e64f41414a2e0ec767dfb317103b931b4be0d64>
- other: <https://git.kernel.org/stable/c/db399899dbac590d7d124b6896bd113916e7ab09>
- other: <https://git.kernel.org/stable/c/1960146913b31b288ed2cd607d103ee3b41681d4>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-99756>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

HTML: <https://flawdb.com/CVE-2026-99756> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-99756>
