CVE-2026-139521
NFS: filelayout: calculate dense stripe width in 64 bits
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.
INFO
Published Date :
Nov. 30, 2026, 2:19 p.m.
Last Modified :
Nov. 30, 2026, 2:19 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Solution
- Update integer types to u64.
- Use div64_u64() instead of div_u64().
- Apply the kernel patch to fix filelayout_get_dense_offset().
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-139521.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-139521 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-139521
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-139521 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-139521 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Nov. 30, 2026
Action Type Old Value New Value Added 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. Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/139xxx/CVE-2026-139521.json">CVE-2026-139521</a> Added Reference https://git.kernel.org/stable/c/2023ecd92fc3c594a6677fd72be8c1a843b67781 Added Reference https://git.kernel.org/stable/c/23f2d1abde4d905edfaecc85fa03a117d5c74719 Added Reference https://git.kernel.org/stable/c/3823b7bf79a9955a9e1c66b856e455e46df2c83f Added Reference https://git.kernel.org/stable/c/4e33aa616a4d15372302dc71069383aa81d92ba8 Added Reference https://git.kernel.org/stable/c/6c00e4a99060a04132e3dd26a8aaf52b332b6cdf Added Reference https://git.kernel.org/stable/c/9ba13ef0e3ad033d3ddbaeb740b12d135a88363d Added Reference https://git.kernel.org/stable/c/f73e551d4023f1018669a879ab365153b497a375 Added Reference https://git.kernel.org/stable/c/f816bfe5cf8ffbc4953b2050207053ea8a3125a6