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.
Published: 2026-08-15
Score: 7.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A null pointer dereference in the Linux kernel’s fhandle handling code causes a kernel panic when a detached mount is accessed via open_by_handle_at(). The routine assumes that a mount’s namespace pointer remains valid, but a mount can be detached by operations such as open_tree(..., OPEN_TREE_CLONE) followed by umount_tree(), which clears the namespace pointer. When this pointer is NULL, the code attempts to dereference it and crashes, resulting in loss of system availability without exposing sensitive data or providing code execution.

Affected Systems

Any Linux kernel build that does not include the recent fhandle RCU fix is vulnerable. No specific kernel version numbers are disclosed in the CVE payload, so the affected scope encompasses all kernels lacking the patch referenced in the advisory commits. The vulnerability arises in the capability checking path of filesystem handle operations.

Risk and Exploitability

The flaw can be triggered by an attacker who can create a detached mount and subsequently invoke open_by_handle_at() on a handle that references that mount. This requires local execution or the ability to manipulate mounts, so it is not a remote exploitation vector. The EPSS score of 0.002 and the fact that the issue is not listed in CISA KEV indicate limited reported exploitation. Nevertheless, the CVSS score of 7.8 indicates high severity because a panic guarantees immediate denial of service.

Generated by OpenCVE AI on August 17, 2026 at 08:25 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version that contains the fhandle RCU fix or apply the patch from the referenced commit.
  • If upgrading is not immediately possible, avoid using open_by_handle_at() with mounts that may have been detached, and refrain from performing OPEN_TREE_CLONE operations that could create detachments.
  • Monitor system logs for kernel panics or Oops events and apply subsequent kernel updates as they become available.

Generated by OpenCVE AI on August 17, 2026 at 08:25 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 18 Aug 2026 00:15:00 +0000


Mon, 17 Aug 2026 08:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-476

Mon, 17 Aug 2026 06:00:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}


Sat, 15 Aug 2026 06:00:00 +0000

Type Values Removed Values Added
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.
Title fhandle: reject detached mounts in capable_wrt_mount()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-17T05:39:37.172Z

Reserved: 2026-08-09T03:40:39.901Z

Link: CVE-2026-72034

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-15T06:21:12.383

Modified: 2026-08-17T06:18:01.200

Link: CVE-2026-72034

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-08-15T00:00:00Z

Links: CVE-2026-72034 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-17T08:30:17Z

Weaknesses