# CVE-2026-53341: fhandle: fix UAF due to unlocked -\>mnt\_ns read in may\_decode\_fh()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.18% (percentile 4, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2026-07-01T13:32:22.873Z
- **Modified:** 2026-10-19T20:19:15.133Z

## Who should check

- Anyone running Linux \>= 620c266f394932e5decc4b34683a75dfc59dc2f4, \< 15ea8dc42a02259d49dee38a658d40f60fcd75ed; \>= 620c266f394932e5decc4b34683a75dfc59dc2f4, \< 32138633e51e6db59e474765cf93268c92b42888; \>= 620c266f394932e5decc4b34683a75dfc59dc2f4, \< a8ed2c29fcfdac78db96c9da4e659c8a513f2a94; \>= 620c266f394932e5decc4b34683a75dfc59dc2f4, \< 40ab6644b99685755f740b872c00ef40d9aa870e
- Anyone running Linux 6.11

## Description

In the Linux kernel, the following vulnerability has been resolved:

fhandle: fix UAF due to unlocked -\>mnt\_ns read in may\_decode\_fh()

may\_decode\_fh() accesses mount::mnt\_ns without holding any locks; that
means the mount can concurrently be unmounted, and the mnt\_namespace can
concurrently be freed after an RCU grace period.

This race can happens as follows, assuming that the mount point was
created by open\_tree(..., OPEN\_TREE\_CLONE):

thread 1            thread 2            RCU
                    \_\_do\_sys\_open\_by\_handle\_at
                      do\_handle\_open
                        handle\_to\_path
                          may\_decode\_fh
                            is\_mounted
                              \[mount::mnt\_ns access\]
                            \[mount::mnt\_ns access\]
\_\_do\_sys\_close
  fput\_close\_sync
    \_\_fput
      dissolve\_on\_fput
        umount\_tree
        class\_namespace\_excl\_destructor
          namespace\_unlock
            free\_mnt\_ns
              mnt\_ns\_tree\_remove
                call\_rcu(mnt\_ns\_release\_rcu)
                                        mnt\_ns\_release\_rcu
                                          mnt\_ns\_release
                                            kfree
                            \[mnt\_namespace::user\_ns access\] \*\*UAF\*\*

Fix it by taking rcu\_read\_lock() around the mount::mnt\_ns access, like
in \_\_prepend\_path().
Additionally, document the semantics of mount::mnt\_ns, and use WRITE\_ONCE()
for writers that can race with lockless readers.

This bug is unreachable unless one of the following is set:

 - CONFIG\_PREEMPTION
 - CONFIG\_RCU\_STRICT\_GRACE\_PERIOD

because it requires an RCU grace period to happen during a syscall without
an explicit preemption.

This doesn't seem to have interesting security impact; worst-case, it could
leak the result of an integer comparison to userspace (from the level
check in cap\_capable()), cause an endless loop, or crash the kernel by
dereferencing an invalid address.

## Affected and fixed versions

- Linux: \>= 620c266f394932e5decc4b34683a75dfc59dc2f4, \< 15ea8dc42a02259d49dee38a658d40f60fcd75ed; \>= 620c266f394932e5decc4b34683a75dfc59dc2f4, \< 32138633e51e6db59e474765cf93268c92b42888; \>= 620c266f394932e5decc4b34683a75dfc59dc2f4, \< a8ed2c29fcfdac78db96c9da4e659c8a513f2a94; \>= 620c266f394932e5decc4b34683a75dfc59dc2f4, \< 40ab6644b99685755f740b872c00ef40d9aa870e (cvelist)
- Linux: 6.11 (cvelist)

## Mitigation

- Upgrade Linux to 40ab6644b99685755f740b872c00ef40d9aa870e or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-53341. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-53341.md
Affected: Linux >= 620c266f394932e5decc4b34683a75dfc59dc2f4, < 15ea8dc42a02259d49dee38a658d40f60fcd75ed; >= 620c266f394932e5decc4b34683a75dfc59dc2f4, < 32138633e51e6db59e474765cf93268c92b42888; >= 620c266f394932e5decc4b34683a75dfc59dc2f4, < a8ed2c29fcfdac78db96c9da4e659c8a513f2a94; >= 620c266f394932e5decc4b3…
Fixed in: Linux 15ea8dc42a02259d49dee38a658d40f60fcd75ed, Linux 32138633e51e6db59e474765cf93268c92b42888, Linux 40ab6644b99685755f740b872c00ef40d9aa870e

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-53341 being exploited?

There is no confirmed exploitation: CVE-2026-53341 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.18% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-53341?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-53341?

Linux \>= 620c266f394932e5decc4b34683a75dfc59dc2f4, \< 15ea8dc42a02259d49dee38a658d40f60fcd75ed; \>= 620c266f394932e5decc4b34683a75dfc59dc2f4, \< 32138633e51e6db59e474765cf93268c92b42888; \>= 620c266f394932e5decc4b34683a75dfc59dc2f4, \< a8ed2c29fcfdac78db96c9da4e659c8a513f2a94; \>= 620c266f394932e5decc4b34683a75dfc59dc2f4, \< 40ab6644b99685755f740b872c00ef40d9aa870e; Linux 6.11.

### Is there a fix for CVE-2026-53341?

Yes. Fixed in Linux 15ea8dc42a02259d49dee38a658d40f60fcd75ed, Linux 32138633e51e6db59e474765cf93268c92b42888, Linux 40ab6644b99685755f740b872c00ef40d9aa870e. Upgrade Linux to 40ab6644b99685755f740b872c00ef40d9aa870e or later.

### How do I check if I'm affected by CVE-2026-53341?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/15ea8dc42a02259d49dee38a658d40f60fcd75ed>
- patch: <https://git.kernel.org/stable/c/32138633e51e6db59e474765cf93268c92b42888>
- patch: <https://git.kernel.org/stable/c/a8ed2c29fcfdac78db96c9da4e659c8a513f2a94>
- patch: <https://git.kernel.org/stable/c/40ab6644b99685755f740b872c00ef40d9aa870e>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-53341>

HTML: <https://flawdb.com/CVE-2026-53341> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-53341>
