{"id":"CVE-2026-99374","aliases":["CVE-2026-99374"],"related":[],"kind":"vulnerability","state":"published","title":"NFSv4/flexfiles: Use the full 64-bit stripe_unit","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nNFSv4/flexfiles: Use the full 64-bit stripe_unit\n\nff_layout_alloc_lseg() decodes stripe_unit as the 64-bit value the\nprotocol defines and struct nfs4_ff_layout_segment stores it as one, but\nboth consumers narrow it back to 32 bits: nfs4_ff_layout_calc_dss_id()\ndivides with do_div(), which casts the divisor, and ff_layout_pg_test()\ncopies it into a u32 first.  A stripe_unit that does not fit is silently\ntruncated, so the client stripes on a unit the server did not specify --\nor divides by zero, if the low 32 bits happen to be clear.\n\nDivide by the full value, with div64_u64() and div64_u64_rem().","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nNFSv4/flexfiles: Use the full 64-bit stripe_unit\n\nff_layout_alloc_lseg() decodes stripe_unit as the 64-bit value the\nprotocol defines and struct nfs4_ff_layout_segment stores it as one, but\nboth consumers narrow it back to 32 bits: nfs4_ff_layout_calc_dss_id()\ndivides with do_div(), which casts the divisor, and ff_layout_pg_test()\ncopies it into a u32 first.  A stripe_unit that does not fit is silently\ntruncated, so the client stripes on a unit the server did not specify --\nor divides by zero, if the low 32 bits happen to be clear.\n\nDivide by the full value, with div64_u64() and div64_u64_rem().","source":"cvelist"}],"published":"2026-11-19T14:23:10.418Z","modified":"2026-11-19T15:17:49.320Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"20b1d75fb840cc27490028a5b13914e22375f273","fixed":"43b9e0c39eed665be2267329b5c041ba2b2a997c","status":"affected"},{"type":"git","introduced":"20b1d75fb840cc27490028a5b13914e22375f273","fixed":"2e58e4f9a8dcab90d384d5888ffec38c8718ea05","status":"affected"},{"type":"git","introduced":"20b1d75fb840cc27490028a5b13914e22375f273","fixed":"0cc1191538b1523dfe944eedc799fdd146c05fbf","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.18","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.18","status":"unaffected"},{"type":"semver","introduced":"6.18.61","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.2","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/43b9e0c39eed665be2267329b5c041ba2b2a997c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2e58e4f9a8dcab90d384d5888ffec38c8718ea05","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0cc1191538b1523dfe944eedc799fdd146c05fbf","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-99374","url":"https://www.cve.org/CVERecord?id=CVE-2026-99374","licence":"CVE Terms of Use","modified":"2026-11-19T14:38:07.794Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-99374","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99374","licence":"Public domain","modified":"2026-11-19T15:17:49.320Z"}],"updatedAt":"2026-11-25T22:59:52.047Z","epss":{"score":0.00222,"percentile":0.13666,"date":"2026-12-01T12:00:22.000Z"}}