GHSA-G7V4-CHCG-VJ96
Vulnerability from github – Published: 2026-08-15 06:32 – Updated: 2026-08-17 06:33In the Linux kernel, the following vulnerability has been resolved:
fhandle: reject detached mounts in capable_wrt_mount()
The recent fhandle RCU fix moved the mount namespace capability check into capable_wrt_mount(), so a non-NULL mnt_namespace survives the ns_capable() dereference. The helper still assumes the later READ_ONCE(mount->mnt_ns) must be non-NULL because may_decode_fh() checked is_mounted() first.
That assumption is not stable. A detached mount from open_tree(..., OPEN_TREE_CLONE) can be dissolved on fput while open_by_handle_at() is between those checks, and umount_tree() can clear mount->mnt_ns. If the helper observes NULL, it dereferences mnt_ns->user_ns and panics.
Return false when the RCU read observes a detached mount. This keeps the relaxed permission path conservative: a mount no longer attached to a namespace cannot authorize open_by_handle_at() access.
{
"affected": [],
"aliases": [
"CVE-2026-72034"
],
"database_specific": {
"cwe_ids": [],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2026-08-15T06:21:12Z",
"severity": "HIGH"
},
"details": "In the Linux kernel, the following vulnerability has been resolved:\n\nfhandle: reject detached mounts in capable_wrt_mount()\n\nThe recent fhandle RCU fix moved the mount namespace capability check\ninto capable_wrt_mount(), so a non-NULL mnt_namespace survives the\nns_capable() dereference. The helper still assumes the later\nREAD_ONCE(mount-\u003emnt_ns) must be non-NULL because may_decode_fh()\nchecked is_mounted() first.\n\nThat assumption is not stable. A detached mount from\nopen_tree(..., OPEN_TREE_CLONE) can be dissolved on fput while\nopen_by_handle_at() is between those checks, and umount_tree() can\nclear mount-\u003emnt_ns. If the helper observes NULL, it dereferences\nmnt_ns-\u003euser_ns and panics.\n\nReturn false when the RCU read observes a detached mount. This keeps\nthe relaxed permission path conservative: a mount no longer attached\nto a namespace cannot authorize open_by_handle_at() access.",
"id": "GHSA-g7v4-chcg-vj96",
"modified": "2026-08-17T06:33:06Z",
"published": "2026-08-15T06:32:09Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-72034"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/15104234c267ebe04b9f9a73e5c2179cc265ff60"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/6c52226072a3c61337b1eec1799bb987748884fa"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/6c732471740bc2ac9b0946134f9f551dc75f4369"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/6ee183d89261bf1d1cf9f06d80a40dab8f36ee55"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
}
]
}
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.
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.