# CVE-2026-99704: mm/page-writeback: avoid 32-bit overflow in dirty threshold shares

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 6, 2026-11-28)
- **Published:** 2026-11-20T05:50:45.494Z
- **Modified:** 2026-11-23T08:18:11.270Z

## Who should check

- Anyone running Linux \>= ae82291e9ca47c3d6da6b77a00f427754aca413e, \< d80b9edae6a099a678387a2ff041f87a674833f5; \>= ae82291e9ca47c3d6da6b77a00f427754aca413e, \< 64783904ec5eb7240c9e035122367294757311ed; \>= ae82291e9ca47c3d6da6b77a00f427754aca413e, \< 45a2f3102660845d4992ae20587e9afe7c613485; \>= ae82291e9ca47c3d6da6b77a00f427754aca413e, \< d342881c5bb75460ae28cfd2006e21dbf9aec443; \>= ae82291e9ca47c3d6da6b77a00f427754aca413e, \< 9597c2056e05bd79df9d343a9b42e84a54de1c52
- Anyone running Linux 6.2

## 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.

## Affected and fixed versions

- Linux: \>= ae82291e9ca47c3d6da6b77a00f427754aca413e, \< d80b9edae6a099a678387a2ff041f87a674833f5; \>= ae82291e9ca47c3d6da6b77a00f427754aca413e, \< 64783904ec5eb7240c9e035122367294757311ed; \>= ae82291e9ca47c3d6da6b77a00f427754aca413e, \< 45a2f3102660845d4992ae20587e9afe7c613485; \>= ae82291e9ca47c3d6da6b77a00f427754aca413e, \< d342881c5bb75460ae28cfd2006e21dbf9aec443; \>= ae82291e9ca47c3d6da6b77a00f427754aca413e, \< 9597c2056e05bd79df9d343a9b42e84a54de1c52 (cvelist)
- Linux: 6.2 (cvelist)

## Technologies

Linux kernel

## Mitigation

- Upgrade Linux to 9597c2056e05bd79df9d343a9b42e84a54de1c52 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-99704. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-99704.md
Affected: Linux >= ae82291e9ca47c3d6da6b77a00f427754aca413e, < d80b9edae6a099a678387a2ff041f87a674833f5; >= ae82291e9ca47c3d6da6b77a00f427754aca413e, < 64783904ec5eb7240c9e035122367294757311ed; >= ae82291e9ca47c3d6da6b77a00f427754aca413e, < 45a2f3102660845d4992ae20587e9afe7c613485; >= ae82291e9ca47c3d6da6b77…
Fixed in: Linux 64783904ec5eb7240c9e035122367294757311ed, Linux 45a2f3102660845d4992ae20587e9afe7c613485, Linux 9597c2056e05bd79df9d343a9b42e84a54de1c52

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-99704 being exploited?

There is no confirmed exploitation: CVE-2026-99704 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-99704?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-99704?

Linux \>= ae82291e9ca47c3d6da6b77a00f427754aca413e, \< d80b9edae6a099a678387a2ff041f87a674833f5; \>= ae82291e9ca47c3d6da6b77a00f427754aca413e, \< 64783904ec5eb7240c9e035122367294757311ed; \>= ae82291e9ca47c3d6da6b77a00f427754aca413e, \< 45a2f3102660845d4992ae20587e9afe7c613485; \>= ae82291e9ca47c3d6da6b77a00f427754aca413e, \< d342881c5bb75460ae28cfd2006e21dbf9aec443; \>= ae82291e9ca47c3d6da6b77a00f427754aca413e, \< 9597c2056e05bd79df9d343a9b42e84a54de1c52; Linux 6.2.

### Is there a fix for CVE-2026-99704?

Yes. Fixed in Linux 64783904ec5eb7240c9e035122367294757311ed, Linux 45a2f3102660845d4992ae20587e9afe7c613485, Linux 9597c2056e05bd79df9d343a9b42e84a54de1c52. Upgrade Linux to 9597c2056e05bd79df9d343a9b42e84a54de1c52 or later.

### How do I check if I'm affected by CVE-2026-99704?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/d80b9edae6a099a678387a2ff041f87a674833f5>
- other: <https://git.kernel.org/stable/c/64783904ec5eb7240c9e035122367294757311ed>
- other: <https://git.kernel.org/stable/c/45a2f3102660845d4992ae20587e9afe7c613485>
- other: <https://git.kernel.org/stable/c/d342881c5bb75460ae28cfd2006e21dbf9aec443>
- other: <https://git.kernel.org/stable/c/9597c2056e05bd79df9d343a9b42e84a54de1c52>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-99704>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

HTML: <https://flawdb.com/CVE-2026-99704> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-99704>
