# CVE-2026-72080: fs/resctrl: Fix use-after-free during unmount

> 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.17% (percentile 4, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2026-08-15T05:52:29.827Z
- **Modified:** 2026-10-19T22:17:26.083Z

## Who should check

- Anyone running Linux \>= 2a65660385444e9d9deffe995c71ee20443ef76e, \< 7b7bb07efe41bb646a93c4624aa2bb35df190342; \>= 2a65660385444e9d9deffe995c71ee20443ef76e, \< 7d330a1d663381579b9d5dafa642b1b3158a0ce2; \>= 2a65660385444e9d9deffe995c71ee20443ef76e, \< 52fce648607e0d6a76eeb443d78708c49df1c554
- Anyone running Linux 6.16

## Description

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

fs/resctrl: Fix use-after-free during unmount

During unmount or failure teardown all mon\_data structures that contain
monitoring event file private data are freed after which kernfs nodes are
removed. However, the RDT\_DELETED flag is never set for the statically
allocated default resource group.

A concurrent reader of an event file associated with the default resource
group may, after dropping kernfs active protection, block on rdtgroup\_mutex
while unmount proceeds to free the file private data and destroy the kernfs
node without waiting for the reader.

When the mutex is released, the reader wakes up, observes that RDT\_DELETED
is not set for the default group, and dereferences the already-freed
file private data.

The scenario can be depicted as follows:
  CPU0                                      CPU1
   /\*
    \* Default resource group's
    \* monitoring data accessible via
    \* kernfs file with kernfs\_node::priv
    \* pointing to a struct mon\_data.
    \* User opens the file for reading.
    \*/
   rdtgroup\_mondata\_show()                 /\* arch encounters fatal error \*/
    rdtgroup\_kn\_lock\_live()                 resctrl\_exit()
     atomic\_inc(&rdtgroup\_default.waitcount) cpus\_read\_lock()
     kernfs\_break\_active\_protection(kn)      mutex\_lock(&rdtgroup\_mutex)
     cpus\_read\_lock()                        resctrl\_fs\_teardown()
     mutex\_lock(&rdtgroup\_mutex)              rmdir\_all\_sub()
                                              mon\_put\_kn\_priv()
                                               /\* Delete all mon\_data structures \*/
                                              rdtgroup\_destroy\_root()
                                               kernfs\_destroy\_root()
                                               rdtgroup\_default.kn = NULL
                                             mutex\_unlock(&rdtgroup\_mutex)
     /\*
      \* rdtgroup\_default.flags is empty so
      \* rdtgroup\_kn\_lock\_live() returns
      \* &rdtgroup\_default
      \*/
     md = of-\>kn-\>priv;

     /\* md points to freed mon\_data \*/

Set RDT\_DELETED for the default group unconditionally since the flag does
not lead to the freeing of this statically allocated group.

Do not allow a new resctrl mount if there are any waiters on default group
of previous mount. A new mount will re-initialize the default group that
would appear to waiters from previous mount as though the default group is
accessible causing them to access the mon\_data structures from the previous
mount that have been removed.

## Affected and fixed versions

- Linux: \>= 2a65660385444e9d9deffe995c71ee20443ef76e, \< 7b7bb07efe41bb646a93c4624aa2bb35df190342; \>= 2a65660385444e9d9deffe995c71ee20443ef76e, \< 7d330a1d663381579b9d5dafa642b1b3158a0ce2; \>= 2a65660385444e9d9deffe995c71ee20443ef76e, \< 52fce648607e0d6a76eeb443d78708c49df1c554 (cvelist)
- Linux: 6.16 (cvelist)

## Mitigation

- Upgrade Linux to 52fce648607e0d6a76eeb443d78708c49df1c554 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-72080. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-72080.md
Affected: Linux >= 2a65660385444e9d9deffe995c71ee20443ef76e, < 7b7bb07efe41bb646a93c4624aa2bb35df190342; >= 2a65660385444e9d9deffe995c71ee20443ef76e, < 7d330a1d663381579b9d5dafa642b1b3158a0ce2; >= 2a65660385444e9d9deffe995c71ee20443ef76e, < 52fce648607e0d6a76eeb443d78708c49df1c554; Linux 6.16
Fixed in: Linux 7b7bb07efe41bb646a93c4624aa2bb35df190342, Linux 7d330a1d663381579b9d5dafa642b1b3158a0ce2, Linux 52fce648607e0d6a76eeb443d78708c49df1c554

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-72080 being exploited?

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

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

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

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

Linux \>= 2a65660385444e9d9deffe995c71ee20443ef76e, \< 7b7bb07efe41bb646a93c4624aa2bb35df190342; \>= 2a65660385444e9d9deffe995c71ee20443ef76e, \< 7d330a1d663381579b9d5dafa642b1b3158a0ce2; \>= 2a65660385444e9d9deffe995c71ee20443ef76e, \< 52fce648607e0d6a76eeb443d78708c49df1c554; Linux 6.16.

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

Yes. Fixed in Linux 7b7bb07efe41bb646a93c4624aa2bb35df190342, Linux 7d330a1d663381579b9d5dafa642b1b3158a0ce2, Linux 52fce648607e0d6a76eeb443d78708c49df1c554. Upgrade Linux to 52fce648607e0d6a76eeb443d78708c49df1c554 or later.

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

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

- other: <https://git.kernel.org/stable/c/7b7bb07efe41bb646a93c4624aa2bb35df190342>
- other: <https://git.kernel.org/stable/c/7d330a1d663381579b9d5dafa642b1b3158a0ce2>
- other: <https://git.kernel.org/stable/c/52fce648607e0d6a76eeb443d78708c49df1c554>

## 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-72080>

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