CVE-2026-139521

Source
https://cve.org/CVERecord?id=CVE-2026-139521
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139521.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-139521
Downstream
Published
2026-11-30T13:35:31Z
Modified
2026-11-30T15:02:28Z
Summary
NFS: filelayout: calculate dense stripe width in 64 bits
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139521.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
cfe7f4120f8b1b9465c333d1e42efd4669b1799f
Fixed
2023ecd92fc3c594a6677fd72be8c1a843b67781
Fixed
23f2d1abde4d905edfaecc85fa03a117d5c74719
Fixed
6c00e4a99060a04132e3dd26a8aaf52b332b6cdf
Fixed
f73e551d4023f1018669a879ab365153b497a375
Fixed
3823b7bf79a9955a9e1c66b856e455e46df2c83f
Fixed
f816bfe5cf8ffbc4953b2050207053ea8a3125a6
Fixed
4e33aa616a4d15372302dc71069383aa81d92ba8
Fixed
9ba13ef0e3ad033d3ddbaeb740b12d135a88363d

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139521.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.6.39
Fixed
5.10.275
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.226
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.193
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.163
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.119
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.65
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139521.json"