# CVE-2026-139521: NFS: filelayout: calculate dense stripe width in 64 bits

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **Published:** 2026-11-30T13:35:31.228Z
- **Modified:** 2026-11-30T14:19:28.360Z

## Who should check

- Anyone running Linux \>= cfe7f4120f8b1b9465c333d1e42efd4669b1799f, \< 2023ecd92fc3c594a6677fd72be8c1a843b67781; \>= cfe7f4120f8b1b9465c333d1e42efd4669b1799f, \< 23f2d1abde4d905edfaecc85fa03a117d5c74719; \>= cfe7f4120f8b1b9465c333d1e42efd4669b1799f, \< 6c00e4a99060a04132e3dd26a8aaf52b332b6cdf; \>= cfe7f4120f8b1b9465c333d1e42efd4669b1799f, \< f73e551d4023f1018669a879ab365153b497a375; \>= cfe7f4120f8b1b9465c333d1e42efd4669b1799f, \< 3823b7bf79a9955a9e1c66b856e455e46df2c83f; \>= cfe7f4120f8b1b9465c333d1e42efd4669b1799f, \< f816bfe5cf8ffbc4953b2050207053ea8a3125a6; \>= cfe7f4120f8b1b9465c333d1e42efd4669b1799f, \< 4e33aa616a4d15372302dc71069383aa81d92ba8; \>= cfe7f4120f8b1b9465c333d1e42efd4669b1799f, \< 9ba13ef0e3ad033d3ddbaeb740b12d135a88363d
- Anyone running Linux 2.6.39

## Description

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

NFS: filelayout: calculate dense stripe width in 64 bits

filelayout\_get\_dense\_offset() calculates the stripe width from the
stripe unit and count, where both values are provided by the server.
Their product is stored on 32 bits, and can wrap to zero despite
passing individual checks. For example, a 1 GiB stripe unit (0x40000000)
and four stripes (4) cause the following div\_u64() to raise a divide
error during the first read through the dense layout.

Update u32 to u64 and use div64\_u64() instead of div\_u64().
stripe\_unit is a u32 and stripe\_count is limited to 4096, so the
product cannot overflow a u64.

## Affected and fixed versions

- Linux: \>= cfe7f4120f8b1b9465c333d1e42efd4669b1799f, \< 2023ecd92fc3c594a6677fd72be8c1a843b67781; \>= cfe7f4120f8b1b9465c333d1e42efd4669b1799f, \< 23f2d1abde4d905edfaecc85fa03a117d5c74719; \>= cfe7f4120f8b1b9465c333d1e42efd4669b1799f, \< 6c00e4a99060a04132e3dd26a8aaf52b332b6cdf; \>= cfe7f4120f8b1b9465c333d1e42efd4669b1799f, \< f73e551d4023f1018669a879ab365153b497a375; \>= cfe7f4120f8b1b9465c333d1e42efd4669b1799f, \< 3823b7bf79a9955a9e1c66b856e455e46df2c83f; \>= cfe7f4120f8b1b9465c333d1e42efd4669b1799f, \< f816bfe5cf8ffbc4953b2050207053ea8a3125a6; \>= cfe7f4120f8b1b9465c333d1e42efd4669b1799f, \< 4e33aa616a4d15372302dc71069383aa81d92ba8; \>= cfe7f4120f8b1b9465c333d1e42efd4669b1799f, \< 9ba13ef0e3ad033d3ddbaeb740b12d135a88363d (cvelist)
- Linux: 2.6.39 (cvelist)

## Technologies

Linux kernel

## Mitigation

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

Details: https://flawdb.com/CVE-2026-139521.md
Affected: Linux >= cfe7f4120f8b1b9465c333d1e42efd4669b1799f, < 2023ecd92fc3c594a6677fd72be8c1a843b67781; >= cfe7f4120f8b1b9465c333d1e42efd4669b1799f, < 23f2d1abde4d905edfaecc85fa03a117d5c74719; >= cfe7f4120f8b1b9465c333d1e42efd4669b1799f, < 6c00e4a99060a04132e3dd26a8aaf52b332b6cdf; >= cfe7f4120f8b1b9465c333d…
Fixed in: Linux 2023ecd92fc3c594a6677fd72be8c1a843b67781, Linux 23f2d1abde4d905edfaecc85fa03a117d5c74719, Linux 6c00e4a99060a04132e3dd26a8aaf52b332b6cdf, Linux 3823b7bf79a9955a9e1c66b856e455e46df2c83f, Linux 4e33aa616a4d15372302dc71069383aa81d92ba8, Linux 9ba13ef0e3ad033d3ddbaeb740b12d135a88363d

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

There is no confirmed exploitation: CVE-2026-139521 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.

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

It has no CVSS score yet. Unknown.

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

Linux \>= cfe7f4120f8b1b9465c333d1e42efd4669b1799f, \< 2023ecd92fc3c594a6677fd72be8c1a843b67781; \>= cfe7f4120f8b1b9465c333d1e42efd4669b1799f, \< 23f2d1abde4d905edfaecc85fa03a117d5c74719; \>= cfe7f4120f8b1b9465c333d1e42efd4669b1799f, \< 6c00e4a99060a04132e3dd26a8aaf52b332b6cdf; \>= cfe7f4120f8b1b9465c333d1e42efd4669b1799f, \< f73e551d4023f1018669a879ab365153b497a375; \>= cfe7f4120f8b1b9465c333d1e42efd4669b1799f, \< 3823b7bf79a9955a9e1c66b856e455e46df2c83f; \>= cfe7f4120f8b1b9465c333d1e42efd4669b1799f, \< f816bfe5cf8ffbc4953b2050207053ea8a3125a6; \>= cfe7f4120f8b1b9465c333d1e42efd4669b1799f, \< 4e33aa616a4d15372302dc71069383aa81d92ba8; \>= cfe7f4120f8b1b9465c333d1e42efd4669b1799f, \< 9ba13ef0e3ad033d3ddbaeb740b12d135a88363d; Linux 2.6.39.

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

Yes. Fixed in Linux 2023ecd92fc3c594a6677fd72be8c1a843b67781, Linux 23f2d1abde4d905edfaecc85fa03a117d5c74719, Linux 6c00e4a99060a04132e3dd26a8aaf52b332b6cdf, Linux 3823b7bf79a9955a9e1c66b856e455e46df2c83f, Linux 4e33aa616a4d15372302dc71069383aa81d92ba8, Linux 9ba13ef0e3ad033d3ddbaeb740b12d135a88363d. Upgrade Linux to 9ba13ef0e3ad033d3ddbaeb740b12d135a88363d or later.

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

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/2023ecd92fc3c594a6677fd72be8c1a843b67781>
- other: <https://git.kernel.org/stable/c/23f2d1abde4d905edfaecc85fa03a117d5c74719>
- other: <https://git.kernel.org/stable/c/6c00e4a99060a04132e3dd26a8aaf52b332b6cdf>
- other: <https://git.kernel.org/stable/c/f73e551d4023f1018669a879ab365153b497a375>
- other: <https://git.kernel.org/stable/c/3823b7bf79a9955a9e1c66b856e455e46df2c83f>
- other: <https://git.kernel.org/stable/c/f816bfe5cf8ffbc4953b2050207053ea8a3125a6>
- other: <https://git.kernel.org/stable/c/4e33aa616a4d15372302dc71069383aa81d92ba8>
- other: <https://git.kernel.org/stable/c/9ba13ef0e3ad033d3ddbaeb740b12d135a88363d>

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

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