# CVE-2026-99374: NFSv4/flexfiles: Use the full 64-bit stripe_unit

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2026-11-19T14:23:10.418Z
- Modified: 2026-11-19T15:17:49.320Z
- Assigned by: Linux

## Description

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

NFSv4/flexfiles: Use the full 64-bit stripe_unit

ff_layout_alloc_lseg() decodes stripe_unit as the 64-bit value the
protocol defines and struct nfs4_ff_layout_segment stores it as one, but
both consumers narrow it back to 32 bits: nfs4_ff_layout_calc_dss_id()
divides with do_div(), which casts the divisor, and ff_layout_pg_test()
copies it into a u32 first.  A stripe_unit that does not fit is silently
truncated, so the client stripes on a unit the server did not specify --
or divides by zero, if the low 32 bits happen to be clear.

Divide by the full value, with div64_u64() and div64_u64_rem().

(As written by CVE List.)

## Affected

- Linux Linux: from 20b1d75fb840cc27490028a5b13914e22375f273 before 43b9e0c39eed665be2267329b5c041ba2b2a997c; from 20b1d75fb840cc27490028a5b13914e22375f273 before 2e58e4f9a8dcab90d384d5888ffec38c8718ea05; from 20b1d75fb840cc27490028a5b13914e22375f273 before 0cc1191538b1523dfe944eedc799fdd146c05fbf; 6.18 (not affected: before 6.18; from 6.18.61 up to 6.18.*; from 7.3.2 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/43b9e0c39eed665be2267329b5c041ba2b2a997c>
- <https://git.kernel.org/stable/c/2e58e4f9a8dcab90d384d5888ffec38c8718ea05>
- <https://git.kernel.org/stable/c/0cc1191538b1523dfe944eedc799fdd146c05fbf>

## Sources

- CVE List: [CVE-2026-99374](https://www.cve.org/CVERecord?id=CVE-2026-99374), CVE Terms of Use, modified 2026-11-19
- NVD: [CVE-2026-99374](https://nvd.nist.gov/vuln/detail/CVE-2026-99374), Public domain, modified 2026-11-19

---

Page: https://cve.day/CVE-2026-99374 · Whole record: https://cve.day/CVE-2026-99374.json · Rebuilt by cve.day 2026-11-25T22:59:52.047Z
