{"api_version":"1","generated_at":"2026-11-20T07:29:58+00:00","cve":"CVE-2026-99704","urls":{"html":"https://cve.report/CVE-2026-99704","api":"https://cve.report/api/cve/CVE-2026-99704.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-99704","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-99704"},"summary":{"title":"mm/page-writeback: avoid 32-bit overflow in dirty threshold shares","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/page-writeback: avoid 32-bit overflow in dirty threshold shares\n\nThe ratios used by __wb_calc_thresh() are scaled to parts per million, but\nthe threshold and ratio operands are unsigned long.  On 32-bit kernels,\ntheir multiplication can wrap before the result is assigned to u64.\n\nFor example, with a threshold of 25600 pages and the default maximum ratio\nof 1000000, wb_max_thresh becomes 4125 pages instead of 25600.  The shared\nthreshold and minimum share calculations can overflow in the same way,\nproducing incorrect per-writeback dirty limits.\n\nUse a u64 threshold for the three ratio multiplications and div_u64() to\nretain the existing division order and rounding.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-20 06:18:06","updated_at":"2026-11-20 06:18:06"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/45a2f3102660845d4992ae20587e9afe7c613485","name":"https://git.kernel.org/stable/c/45a2f3102660845d4992ae20587e9afe7c613485","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/9597c2056e05bd79df9d343a9b42e84a54de1c52","name":"https://git.kernel.org/stable/c/9597c2056e05bd79df9d343a9b42e84a54de1c52","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/d342881c5bb75460ae28cfd2006e21dbf9aec443","name":"https://git.kernel.org/stable/c/d342881c5bb75460ae28cfd2006e21dbf9aec443","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/64783904ec5eb7240c9e035122367294757311ed","name":"https://git.kernel.org/stable/c/64783904ec5eb7240c9e035122367294757311ed","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-99704","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99704","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected ae82291e9ca47c3d6da6b77a00f427754aca413e 64783904ec5eb7240c9e035122367294757311ed git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected ae82291e9ca47c3d6da6b77a00f427754aca413e 45a2f3102660845d4992ae20587e9afe7c613485 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected ae82291e9ca47c3d6da6b77a00f427754aca413e d342881c5bb75460ae28cfd2006e21dbf9aec443 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected ae82291e9ca47c3d6da6b77a00f427754aca413e 9597c2056e05bd79df9d343a9b42e84a54de1c52 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.2","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.2 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.118 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.64 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.5 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc2 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["mm/page-writeback.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"64783904ec5eb7240c9e035122367294757311ed","status":"affected","version":"ae82291e9ca47c3d6da6b77a00f427754aca413e","versionType":"git"},{"lessThan":"45a2f3102660845d4992ae20587e9afe7c613485","status":"affected","version":"ae82291e9ca47c3d6da6b77a00f427754aca413e","versionType":"git"},{"lessThan":"d342881c5bb75460ae28cfd2006e21dbf9aec443","status":"affected","version":"ae82291e9ca47c3d6da6b77a00f427754aca413e","versionType":"git"},{"lessThan":"9597c2056e05bd79df9d343a9b42e84a54de1c52","status":"affected","version":"ae82291e9ca47c3d6da6b77a00f427754aca413e","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["mm/page-writeback.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"6.2"},{"lessThan":"6.2","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.118","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.64","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.5","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc2","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.118","versionStartIncluding":"6.2","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.64","versionStartIncluding":"6.2","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.5","versionStartIncluding":"6.2","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc2","versionStartIncluding":"6.2","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/page-writeback: avoid 32-bit overflow in dirty threshold shares\n\nThe ratios used by __wb_calc_thresh() are scaled to parts per million, but\nthe threshold and ratio operands are unsigned long.  On 32-bit kernels,\ntheir multiplication can wrap before the result is assigned to u64.\n\nFor example, with a threshold of 25600 pages and the default maximum ratio\nof 1000000, wb_max_thresh becomes 4125 pages instead of 25600.  The shared\nthreshold and minimum share calculations can overflow in the same way,\nproducing incorrect per-writeback dirty limits.\n\nUse a u64 threshold for the three ratio multiplications and div_u64() to\nretain the existing division order and rounding."}],"providerMetadata":{"dateUpdated":"2026-11-20T05:50:45.494Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/64783904ec5eb7240c9e035122367294757311ed"},{"url":"https://git.kernel.org/stable/c/45a2f3102660845d4992ae20587e9afe7c613485"},{"url":"https://git.kernel.org/stable/c/d342881c5bb75460ae28cfd2006e21dbf9aec443"},{"url":"https://git.kernel.org/stable/c/9597c2056e05bd79df9d343a9b42e84a54de1c52"}],"title":"mm/page-writeback: avoid 32-bit overflow in dirty threshold shares","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-99704","datePublished":"2026-11-20T05:50:45.494Z","dateReserved":"2026-09-25T10:25:14.430Z","dateUpdated":"2026-11-20T05:50:45.494Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-20 06:18:06","lastModifiedDate":"2026-11-20 06:18:06","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"99704","Ordinal":"1","Title":"mm/page-writeback: avoid 32-bit overflow in dirty threshold shar","CVE":"CVE-2026-99704","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"99704","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/page-writeback: avoid 32-bit overflow in dirty threshold shares\n\nThe ratios used by __wb_calc_thresh() are scaled to parts per million, but\nthe threshold and ratio operands are unsigned long.  On 32-bit kernels,\ntheir multiplication can wrap before the result is assigned to u64.\n\nFor example, with a threshold of 25600 pages and the default maximum ratio\nof 1000000, wb_max_thresh becomes 4125 pages instead of 25600.  The shared\nthreshold and minimum share calculations can overflow in the same way,\nproducing incorrect per-writeback dirty limits.\n\nUse a u64 threshold for the three ratio multiplications and div_u64() to\nretain the existing division order and rounding.","Type":"Description","Title":"mm/page-writeback: avoid 32-bit overflow in dirty threshold shar"}]}}}