Bug 2576701 (CVE-2026-99374) - CVE-2026-99374 kernel: kernel: Denial of Service via divide-by-zero in NFSv4 flexfiles client
Summary: CVE-2026-99374 kernel: kernel: Denial of Service via divide-by-zero in NFSv4 ...
Keywords:
Status: NEW
Alias: CVE-2026-99374
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-19 14:34 UTC by OSIDB Bzimport
Modified: 2026-11-19 16:07 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-11-19 14:34:56 UTC
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().


Note You need to log in before you can comment on or make changes to this bug.