CVE-2024-42131: mm: avoid overflows in dirty throttling logic
Vulnerability summary
CVE-2024-42131 is a medium (CVSS 4.4) Integer Overflow or Wraparound vulnerability in linux. EPSS estimates a 0.25% chance of exploitation in the next 30 days, higher than 17.9% of scored vulnerabilities.
Not severe (CVSS 4.4, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 41 · Related 32Timeline
- 30-07-2024PublishedVulnerability first disclosed.
- 15-10-2026Last modifiedVulnerability information updated.
Description
In the Linux kernel, the following vulnerability has been resolved: mm: avoid overflows in dirty throttling logic The dirty throttling logic is interspersed with assumptions that dirty limits in PAGE_SIZE units fit into 32-bit (so that various multiplications fit into 64-bits). If limits end up being larger, we will hit overflows, possible divisions by 0 etc. Fix these problems by never allowing so large dirty limits as they have dubious practical value anyway. For dirty_bytes / dirty_background_bytes interfaces we can just refuse to set so large limits. For dirty_ratio / dirty_background_ratio it isn't so simple as the dirty limit is computed from the amount of available memory which can change due to memory hotplug etc. So when converting dirty limits from ratios to numbers of pages, we just don't allow the result to exceed UINT_MAX. This is root-only triggerable problem which occurs when the operator sets dirty limits to >16 TB.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated4.4MediumCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated4.4MediumCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.25%
Chance of exploitation in the next 30 days
Percentile
18%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.25% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, administrative account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu130 products
- linuxAll versions (No fix recorded) | < 5.4.0-200.220 | < 5.15.0-121.131 | < 6.8.0-48.48
- linux-allwinner-5.19All versions (No fix recorded)
- linux-awsAll versions (No fix recorded) | < 5.4.0-1135.145 | < 5.15.0-1069.75 | < 6.8.0-1018.20
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ 2da02997e08d3efe8174c7a47696e6f7cbe69ba9, < 2b2d2b8766db028bd827af34075f221ae9e9efff | ≥ 2da02997e08d3efe8174c7a47696e6f7cbe69ba9, < 4d3817b64eda07491bdd86a234629fe0764fb42a | ≥ 2da02997e08d3efe8174c7a47696e6f7cbe69ba9, < 7a49389771ae7666f4dc3426e2a4594bf23ae290 | ≥ 2da02997e08d3efe8174c7a47696e6f7cbe69ba9, < a25e8536184516b55ef89ab91dd2eea429de28d2 | ≥ 2da02997e08d3efe8174c7a47696e6f7cbe69ba9, < c83ed422c24f0d4b264f89291d4fabe285f80dbc | ≥ 2da02997e08d3efe8174c7a47696e6f7cbe69ba9, < bd16a7ee339aef3ee4c90cb23902afb6af379ea0 | ≥ 2da02997e08d3efe8174c7a47696e6f7cbe69ba9, < 8e0b5e7f2895eccef5c2a0018b589266f90c4805 | ≥ 2da02997e08d3efe8174c7a47696e6f7cbe69ba9, < 385d838df280eba6c8680f9777bfa0d0bfe7e8b2 | 2.6.29
- linux_kernel< 4.19.320 | ≥ 4.20, < 5.4.282 | ≥ 5.5, < 5.10.222 | ≥ 5.11, < 5.15.163 | ≥ 5.16, < 6.1.98 | ≥ 6.2, < 6.6.39 | ≥ 6.7, < 6.9.9 | 6.10:rc1 | 6.10:rc2 | 6.10:rc3 | 6.10:rc4 | 6.10:rc5 | 6.10:rc6
Debian1 product
- linux< 6.1.98-1 | < 6.9.9-1
3 vendors · 133 products