CVE-2024-42131
MediumIn 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 3.1 score
4.4
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
Weakness type
CWE-190CVE-2024-42131 is a Integer Overflow vulnerability
What is Integer Overflow?
The product performs a calculation that can produce an integer overflow, leading to unexpected values. Learn more on MITRE CWE
References
The following references provide additional information about CVE-2024-42131 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
-
PatchKernel patch commithttps://git.kernel.org/stable/c/2b2d2b8766db028bd827af34075f221ae9e9efff
-
PatchKernel patch commithttps://git.kernel.org/stable/c/385d838df280eba6c8680f9777bfa0d0bfe7e8b2
-
PatchKernel patch commithttps://git.kernel.org/stable/c/4d3817b64eda07491bdd86a234629fe0764fb42a
Frequently asked questions
-
What is CVE-2024-42131?
CVE-2024-42131 is a Medium severity Linux kernel vulnerability with a CVSS score of 4.4 out of 10 , classified as an Integer Overflow flaw (CWE-190) . CVE-2024-42131 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2024-42131?
CVE-2024-42131 has a CVSS score of 4.4 out of 10, rated Medium severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H. -
Is there a patch available for CVE-2024-42131?
No patch is currently available for CVE-2024-42131. Monitor the NIST NVD and your Linux distribution's security advisories for updates.
-
Is CVE-2024-42131 actively exploited?
No — CVE-2024-42131 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.
-
What is Integer Overflow (CWE-190)?
The product performs a calculation that can produce an integer overflow, leading to unexpected values. View CWE-190 on MITRE CWE →