# CVE-2026-72379: fs: refuse O\_TMPFILE creation with an unmapped fsuid or fsgid

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

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 7, 2026-11-26)
- **Published:** 2026-08-15T05:56:12.251Z
- **Modified:** 2026-10-30T13:19:50.350Z

## Who should check

- Anyone running Linux \>= 8e5389132ab429604c1a2459b52f0c849a71cc61, \< 74365c6e367725728d5ce36d38ca116c9f77a254; \>= 8e5389132ab429604c1a2459b52f0c849a71cc61, \< bac8fb0d60254846f3b56957435dcd870ae12948; \>= 8e5389132ab429604c1a2459b52f0c849a71cc61, \< 503d0568a525b168d9aa5ca046ec72fc5477df84; \>= 8e5389132ab429604c1a2459b52f0c849a71cc61, \< a2038514e69371eb493083a6a897ed20fcbb8acb; \>= 8e5389132ab429604c1a2459b52f0c849a71cc61, \< 47e434da476b5a8bcd1e6e52ab03c5ee7764ee78; \>= 8e5389132ab429604c1a2459b52f0c849a71cc61, \< 539dce1144651f7976fa418e618b0b574bf15eeb
- Anyone running Linux 5.13

## Description

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

fs: refuse O\_TMPFILE creation with an unmapped fsuid or fsgid

vfs\_tmpfile() never checked that the caller's fsuid and fsgid map into
the filesystem.  On an idmapped mount whose idmapping does not cover the
caller's fs{u,g}id, the -\>tmpfile() instance initializes the new inode
through inode\_init\_owner(), where mapped\_fsuid()/mapped\_fsgid() return
INVALID\_UID/INVALID\_GID, and the tmpfile ends up owned by (uid\_t)-1.

Every other creation path already refuses this: may\_o\_create() (O\_CREAT)
and may\_create\_dentry() (mkdir, mknod, symlink, link) bail out with
-EOVERFLOW via fsuidgid\_has\_mapping() precisely so that an object cannot
be created with an owner the filesystem cannot represent.  An O\_TMPFILE
is no exception: it is created I\_LINKABLE and linkat(2) can splice it
into the namespace afterwards, so the same guarantee must hold.

Add the missing fsuidgid\_has\_mapping() check to vfs\_tmpfile().  On a
non-idmapped mount the caller's fs{u,g}id always map in the superblock's
user namespace, so this is a no-op there and only takes effect on an
idmapped mount that does not map the caller.  It applies to every
filesystem that sets FS\_ALLOW\_IDMAP and implements -\>tmpfile() (tmpfs,
ext4, btrfs, xfs, f2fs, ...), and to overlayfs, whose upper-layer
tmpfile creation funnels through vfs\_tmpfile() via backing\_tmpfile\_open().

## Affected and fixed versions

- Linux: \>= 8e5389132ab429604c1a2459b52f0c849a71cc61, \< 74365c6e367725728d5ce36d38ca116c9f77a254; \>= 8e5389132ab429604c1a2459b52f0c849a71cc61, \< bac8fb0d60254846f3b56957435dcd870ae12948; \>= 8e5389132ab429604c1a2459b52f0c849a71cc61, \< 503d0568a525b168d9aa5ca046ec72fc5477df84; \>= 8e5389132ab429604c1a2459b52f0c849a71cc61, \< a2038514e69371eb493083a6a897ed20fcbb8acb; \>= 8e5389132ab429604c1a2459b52f0c849a71cc61, \< 47e434da476b5a8bcd1e6e52ab03c5ee7764ee78; \>= 8e5389132ab429604c1a2459b52f0c849a71cc61, \< 539dce1144651f7976fa418e618b0b574bf15eeb (cvelist)
- Linux: 5.13 (cvelist)

## Mitigation

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

Details: https://flawdb.com/CVE-2026-72379.md
Affected: Linux >= 8e5389132ab429604c1a2459b52f0c849a71cc61, < 74365c6e367725728d5ce36d38ca116c9f77a254; >= 8e5389132ab429604c1a2459b52f0c849a71cc61, < bac8fb0d60254846f3b56957435dcd870ae12948; >= 8e5389132ab429604c1a2459b52f0c849a71cc61, < 503d0568a525b168d9aa5ca046ec72fc5477df84; >= 8e5389132ab429604c1a245…
Fixed in: Linux 74365c6e367725728d5ce36d38ca116c9f77a254, Linux 503d0568a525b168d9aa5ca046ec72fc5477df84, Linux 47e434da476b5a8bcd1e6e52ab03c5ee7764ee78, Linux 539dce1144651f7976fa418e618b0b574bf15eeb

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

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= 8e5389132ab429604c1a2459b52f0c849a71cc61, \< 74365c6e367725728d5ce36d38ca116c9f77a254; \>= 8e5389132ab429604c1a2459b52f0c849a71cc61, \< bac8fb0d60254846f3b56957435dcd870ae12948; \>= 8e5389132ab429604c1a2459b52f0c849a71cc61, \< 503d0568a525b168d9aa5ca046ec72fc5477df84; \>= 8e5389132ab429604c1a2459b52f0c849a71cc61, \< a2038514e69371eb493083a6a897ed20fcbb8acb; \>= 8e5389132ab429604c1a2459b52f0c849a71cc61, \< 47e434da476b5a8bcd1e6e52ab03c5ee7764ee78; \>= 8e5389132ab429604c1a2459b52f0c849a71cc61, \< 539dce1144651f7976fa418e618b0b574bf15eeb; Linux 5.13.

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

Yes. Fixed in Linux 74365c6e367725728d5ce36d38ca116c9f77a254, Linux 503d0568a525b168d9aa5ca046ec72fc5477df84, Linux 47e434da476b5a8bcd1e6e52ab03c5ee7764ee78, Linux 539dce1144651f7976fa418e618b0b574bf15eeb. Upgrade Linux to 539dce1144651f7976fa418e618b0b574bf15eeb or later.

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

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/74365c6e367725728d5ce36d38ca116c9f77a254>
- other: <https://git.kernel.org/stable/c/bac8fb0d60254846f3b56957435dcd870ae12948>
- other: <https://git.kernel.org/stable/c/503d0568a525b168d9aa5ca046ec72fc5477df84>
- other: <https://git.kernel.org/stable/c/a2038514e69371eb493083a6a897ed20fcbb8acb>
- other: <https://git.kernel.org/stable/c/47e434da476b5a8bcd1e6e52ab03c5ee7764ee78>
- other: <https://git.kernel.org/stable/c/539dce1144651f7976fa418e618b0b574bf15eeb>

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

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