VYPR
Unrated severityNVD Advisory· Published Nov 30, 2026

CVE-2026-139521

CVE-2026-139521

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 products

1

Patches

Vulnerability mechanics

References

8

News mentions

0

No linked articles in our index yet.