{"id":"CVE-2026-72034","aliases":["CVE-2026-72034"],"related":[],"kind":"vulnerability","state":"published","title":"fhandle: reject detached mounts in capable_wrt_mount()","summary":"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->mnt_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->mnt_ns. If the helper observes NULL, it dereferences\nmnt_ns->user_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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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->mnt_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->mnt_ns. If the helper observes NULL, it dereferences\nmnt_ns->user_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.","source":"cvelist"}],"published":"2026-08-15T05:51:55.739Z","modified":"2026-10-19T22:17:22.950Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"type":"git","introduced":"620c266f394932e5decc4b34683a75dfc59dc2f4","fixed":"15104234c267ebe04b9f9a73e5c2179cc265ff60","status":"affected"},{"type":"git","introduced":"620c266f394932e5decc4b34683a75dfc59dc2f4","fixed":"6c52226072a3c61337b1eec1799bb987748884fa","status":"affected"},{"type":"git","introduced":"620c266f394932e5decc4b34683a75dfc59dc2f4","fixed":"6ee183d89261bf1d1cf9f06d80a40dab8f36ee55","status":"affected"},{"type":"git","introduced":"620c266f394932e5decc4b34683a75dfc59dc2f4","fixed":"6c732471740bc2ac9b0946134f9f551dc75f4369","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.11","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.11","status":"unaffected"},{"type":"semver","introduced":"6.12.97","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.40","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.5","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/15104234c267ebe04b9f9a73e5c2179cc265ff60","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6c52226072a3c61337b1eec1799bb987748884fa","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6ee183d89261bf1d1cf9f06d80a40dab8f36ee55","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6c732471740bc2ac9b0946134f9f551dc75f4369","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-16T15:50:22.071Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-72034","url":"https://www.cve.org/CVERecord?id=CVE-2026-72034","licence":"CVE Terms of Use","modified":"2026-10-19T21:19:23.840Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-72034","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-72034","licence":"Public domain","modified":"2026-10-19T22:17:22.950Z"}],"updatedAt":"2026-11-25T22:59:32.981Z","epss":{"score":0.00164,"percentile":0.05849,"date":"2026-12-01T12:00:22.000Z"}}