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

Status: published. Published: 2026-11-20. Updated: 2026-11-23.

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.

## Remediation

No remediation reported in collected sources

## Affected products and versions

- Linux / Linux: ≥ ae82291e9ca47c3d6da6b77a00f427754aca413e; < d80b9edae6a099a678387a2ff041f87a674833f5 (affected, git); ≥ ae82291e9ca47c3d6da6b77a00f427754aca413e; < 64783904ec5eb7240c9e035122367294757311ed (affected, git); ≥ ae82291e9ca47c3d6da6b77a00f427754aca413e; < 45a2f3102660845d4992ae20587e9afe7c613485 (affected, git); ≥ ae82291e9ca47c3d6da6b77a00f427754aca413e; < d342881c5bb75460ae28cfd2006e21dbf9aec443 (affected, git); ≥ ae82291e9ca47c3d6da6b77a00f427754aca413e; < 9597c2056e05bd79df9d343a9b42e84a54de1c52 (affected, git). Source: CNA: Linux
- Linux / Linux: 6.2 (affected); ≥ 0; < 6.2 (unaffected, semver); ≥ 6.6.163; ≤ 6.6.* (unaffected, semver); ≥ 6.12.118; ≤ 6.12.* (unaffected, semver); ≥ 6.18.64; ≤ 6.18.* (unaffected, semver); ≥ 7.3.5; ≤ 7.3.* (unaffected, semver); ≥ 7.4-rc2; ≤ * (unaffected, original_commit_for_fix). Source: CNA: Linux

## Severity and prioritization

- CISA KEV: No listing in collected sources

- EPSS: 0.17% as of 2026-11-22; percentile 6.23%

- SSVC: Not available

- Weaknesses: Not reported

## Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

## References

- https://git.kernel.org/stable/c/d80b9edae6a099a678387a2ff041f87a674833f5 (CNA: Linux)

- https://git.kernel.org/stable/c/64783904ec5eb7240c9e035122367294757311ed (CNA: Linux)

- https://git.kernel.org/stable/c/45a2f3102660845d4992ae20587e9afe7c613485 (CNA: Linux)

- https://git.kernel.org/stable/c/d342881c5bb75460ae28cfd2006e21dbf9aec443 (CNA: Linux)

- https://git.kernel.org/stable/c/9597c2056e05bd79df9d343a9b42e84a54de1c52 (CNA: Linux)

- https://git.kernel.org/stable/c/45a2f3102660845d4992ae20587e9afe7c613485 (416baaa9-dc9f-4396-8d5f-8c081fb06d67)

- https://git.kernel.org/stable/c/64783904ec5eb7240c9e035122367294757311ed (416baaa9-dc9f-4396-8d5f-8c081fb06d67)

- https://git.kernel.org/stable/c/9597c2056e05bd79df9d343a9b42e84a54de1c52 (416baaa9-dc9f-4396-8d5f-8c081fb06d67)

- https://git.kernel.org/stable/c/d342881c5bb75460ae28cfd2006e21dbf9aec443 (416baaa9-dc9f-4396-8d5f-8c081fb06d67)

## Provenance

- CNA: Linux: https://www.cve.org/CVERecord?id=CVE-2026-99704; retrieved 2026-11-23; source updated 2026-11-23

- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-99704; retrieved 2026-11-20; source updated 2026-11-20

- FIRST EPSS: https://api.first.org/data/v1/epss?cve=CVE-2026-99704; retrieved 2026-11-23; source updated Not reported

Revision: 47b7d683c944c818583812239b2ef119cdb2d071c4ba434207ac225a2ea39f80

Canonical: https://y2.dev/cve/CVE-2026-99704

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.