CVE-2026-72034

fhandle: reject detached mounts in capable_wrt_mount()

State
Published
Severity
7.8 High
Published
Aug 15, 2026
Updated
Oct 19, 2026
Reserved
Aug 9, 2026

Read the record on cve.org

Description

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

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

Affected Products

ProductVersions
LinuxLinux
  • 620c266f394932e5decc4b34683a75dfc59dc2f4 to before 15104234c267ebe04b9f9a73e5c2179cc265ff60Affected
  • 620c266f394932e5decc4b34683a75dfc59dc2f4 to before 6c52226072a3c61337b1eec1799bb987748884faAffected
  • 620c266f394932e5decc4b34683a75dfc59dc2f4 to before 6ee183d89261bf1d1cf9f06d80a40dab8f36ee55Affected
  • 620c266f394932e5decc4b34683a75dfc59dc2f4 to before 6c732471740bc2ac9b0946134f9f551dc75f4369Affected
LinuxLinux
  • 6.11Affected
  • before 6.11Not affected
  • 6.12.97 through 6.12.*Not affected
  • 6.18.40 through 6.18.*Not affected
  • 7.1.5 through 7.1.*Not affected
  • 7.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.