FKIE_CVE-2026-99756
Vulnerability from fkie_nvd - Published: 2026-11-20 06:18 - Updated: 2026-11-23 08:18
Severity
Summary
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.
References
Impacted products
| Vendor | Product | Version |
|---|
{
"affected": [
{
"affectedData": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"fs/btrfs/ioctl.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "d75be841c195dd64bab6a8a28cde944ba1670ae0",
"status": "affected",
"version": "949964c928430a42e0d4f514d888a58a201b6fcb",
"versionType": "git"
},
{
"lessThan": "d70a57571d9b248c36830329c36a17a87e130485",
"status": "affected",
"version": "949964c928430a42e0d4f514d888a58a201b6fcb",
"versionType": "git"
},
{
"lessThan": "bd5fe32d98fd2a09753034c867a138bd0699d57d",
"status": "affected",
"version": "949964c928430a42e0d4f514d888a58a201b6fcb",
"versionType": "git"
},
{
"lessThan": "4bdb2a0ccd2aa93e81fcf13c43f2265f60cfe9a4",
"status": "affected",
"version": "949964c928430a42e0d4f514d888a58a201b6fcb",
"versionType": "git"
},
{
"lessThan": "9e7dda14b480bf4c515a6eecc516277f290ff2ee",
"status": "affected",
"version": "949964c928430a42e0d4f514d888a58a201b6fcb",
"versionType": "git"
},
{
"lessThan": "8e64f41414a2e0ec767dfb317103b931b4be0d64",
"status": "affected",
"version": "949964c928430a42e0d4f514d888a58a201b6fcb",
"versionType": "git"
},
{
"lessThan": "db399899dbac590d7d124b6896bd113916e7ab09",
"status": "affected",
"version": "949964c928430a42e0d4f514d888a58a201b6fcb",
"versionType": "git"
},
{
"lessThan": "1960146913b31b288ed2cd607d103ee3b41681d4",
"status": "affected",
"version": "949964c928430a42e0d4f514d888a58a201b6fcb",
"versionType": "git"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"fs/btrfs/ioctl.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "5.7"
},
{
"lessThan": "5.7",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.10.*",
"status": "unaffected",
"version": "5.10.275",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.15.*",
"status": "unaffected",
"version": "5.15.226",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.1.*",
"status": "unaffected",
"version": "6.1.193",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.6.*",
"status": "unaffected",
"version": "6.6.163",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.12.*",
"status": "unaffected",
"version": "6.12.119",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.18.*",
"status": "unaffected",
"version": "6.18.65",
"versionType": "semver"
},
{
"lessThanOrEqual": "7.3.*",
"status": "unaffected",
"version": "7.3.5",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "7.4-rc2",
"versionType": "original_commit_for_fix"
}
]
}
],
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}
],
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nbtrfs: prevent deleting the wrong subvolume by ID\n\nWhen deleting a subvolume by ID, btrfs_ioctl_snap_destroy() first\nresolves the requested ID to a name, then looks up that name again\nunder the parent directory lock.\n\nA concurrent rename can change which subvolume is associated with\nthe name between these operations. Since the deletion path does not\nverify the ID of the resolved subvolume, it can delete a different\nsubvolume while leaving the requested one intact.\n\nThis was reproduced by repeatedly exchanging the names of two\nsubvolumes using renameat2(RENAME_EXCHANGE) while deleting one of\nthem by ID. The wrong subvolume was deleted in 9 out of 14 independent\ntests.\n\nFix this by checking that the resolved subvolume ID matches the\nrequested ID while holding the parent directory lock. Return -EAGAIN\non a mismatch so that userspace can retry the operation instead of\nbeing told that the requested subvolume does not exist."
}
],
"id": "CVE-2026-99756",
"lastModified": "2026-11-23T08:18:15.960",
"metrics": {},
"published": "2026-11-20T06:18:13.827",
"references": [
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/1960146913b31b288ed2cd607d103ee3b41681d4"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/4bdb2a0ccd2aa93e81fcf13c43f2265f60cfe9a4"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/8e64f41414a2e0ec767dfb317103b931b4be0d64"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/9e7dda14b480bf4c515a6eecc516277f290ff2ee"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/bd5fe32d98fd2a09753034c867a138bd0699d57d"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/d70a57571d9b248c36830329c36a17a87e130485"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/d75be841c195dd64bab6a8a28cde944ba1670ae0"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/db399899dbac590d7d124b6896bd113916e7ab09"
}
],
"sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"vulnStatus": "Received"
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…
The MITRE ATT&CK techniques below are AI-generated suggestions, inferred from the description of the
vulnerability by the CIRCL/vulnerability-attack-technique-classification-roberta-base
model, served locally by ML-Gateway.
They have not been verified by an analyst and are provided for guidance only.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Loading…
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.
Loading…