CVE-2026-139521
NFS: filelayout: calculate dense stripe width in 64 bits
Check your servers for CVE-2026-139521
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-139521 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.18%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 7.59% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from cfe7f4120f8b1b9465c333d1e42efd4669b1799f, before 2023ecd92fc3c594a6677fd72be8c1a843b67781 affected from cfe7f4120f8b1b9465c333d1e42efd4669b1799f, before 23f2d1abde4d905edfaecc85fa03a117d5c74719 affected from cfe7f4120f8b1b9465c333d1e42efd4669b1799f, before 6c00e4a99060a04132e3dd26a8aaf52b332b6cdf affected from cfe7f4120f8b1b9465c333d1e42efd4669b1799f, before f73e551d4023f1018669a879ab365153b497a375 affected from cfe7f4120f8b1b9465c333d1e42efd4669b1799f, before 3823b7bf79a9955a9e1c66b856e455e46df2c83f affected from cfe7f4120f8b1b9465c333d1e42efd4669b1799f, before f816bfe5cf8ffbc4953b2050207053ea8a3125a6 affected from cfe7f4120f8b1b9465c333d1e42efd4669b1799f, before 4e33aa616a4d15372302dc71069383aa81d92ba8 affected from cfe7f4120f8b1b9465c333d1e42efd4669b1799f, before 9ba13ef0e3ad033d3ddbaeb740b12d135a88363d
Other versions: unaffected
|
| Linux |
affected 2.6.39 unaffected before 2.6.39 unaffected from 5.10.275 up to and including 5.10.* unaffected from 5.15.226 up to and including 5.15.* unaffected from 6.1.193 up to and including 6.1.* unaffected from 6.6.163 up to and including 6.6.* unaffected from 6.12.119 up to and including 6.12.* unaffected from 6.18.65 up to and including 6.18.* unaffected from 7.3.6 up to and including 7.3.* unaffected 7.4-rc1 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-139521 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-139521
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-139521
trivy image --scanners vuln IMAGE | grep CVE-2026-139521
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/2023ecd92fc3c594a6677fd72be8c1a843b67781 git.kernel.org
- https://git.kernel.org/stable/c/23f2d1abde4d905edfaecc85fa03a117d5c74719 git.kernel.org
- https://git.kernel.org/stable/c/6c00e4a99060a04132e3dd26a8aaf52b332b6cdf git.kernel.org
- https://git.kernel.org/stable/c/f73e551d4023f1018669a879ab365153b497a375 git.kernel.org
- https://git.kernel.org/stable/c/3823b7bf79a9955a9e1c66b856e455e46df2c83f git.kernel.org
- https://git.kernel.org/stable/c/f816bfe5cf8ffbc4953b2050207053ea8a3125a6 git.kernel.org
- https://git.kernel.org/stable/c/4e33aa616a4d15372302dc71069383aa81d92ba8 git.kernel.org
- https://git.kernel.org/stable/c/9ba13ef0e3ad033d3ddbaeb740b12d135a88363d git.kernel.org
Source: the record CVE-2026-139521 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse