CVE-2026-99704

mm/page-writeback: avoid 32-bit overflow in dirty threshold shares

State
Published
Severity
Not scored
Published
Nov 20, 2026
Updated
Nov 20, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

Description

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

mm/page-writeback: avoid 32-bit overflow in dirty threshold shares

The ratios used by __wb_calc_thresh() are scaled to parts per million, but the threshold and ratio operands are unsigned long. On 32-bit kernels, their multiplication can wrap before the result is assigned to u64.

For example, with a threshold of 25600 pages and the default maximum ratio of 1000000, wb_max_thresh becomes 4125 pages instead of 25600. The shared threshold and minimum share calculations can overflow in the same way, producing incorrect per-writeback dirty limits.

Use a u64 threshold for the three ratio multiplications and div_u64() to retain the existing division order and rounding.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • ae82291e9ca47c3d6da6b77a00f427754aca413e to before 64783904ec5eb7240c9e035122367294757311edAffected
  • ae82291e9ca47c3d6da6b77a00f427754aca413e to before 45a2f3102660845d4992ae20587e9afe7c613485Affected
  • ae82291e9ca47c3d6da6b77a00f427754aca413e to before d342881c5bb75460ae28cfd2006e21dbf9aec443Affected
  • ae82291e9ca47c3d6da6b77a00f427754aca413e to before 9597c2056e05bd79df9d343a9b42e84a54de1c52Affected
LinuxLinux
  • 6.2Affected
  • before 6.2Not affected
  • 6.12.118 through 6.12.*Not affected
  • 6.18.64 through 6.18.*Not affected
  • 7.3.5 through 7.3.*Not affected
  • 7.4-rc2 and laterNot affected

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.