CVE-2024-42131

Medium

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.

Package Linux Kernel
Published 2024-07-30
Last modified 2025-11-03
CVSS version 3.1
Patch available
Yes

CVSS 3.1 score

4.4

out of 10
Medium
Attack Vector
Local
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
High
Vector string
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H

Weakness type

CWE-190

CVE-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

Affected versions

Linux kernel versions 2.6.29 and later are affected. Fixed in 4.19.320, 5.4.282, 5.10.222, 5.15.163, 6.1.98, 6.6.39, 6.9.9, 6.10 and their respective stable series.

Affected from
≥ 2.6.29
Fixed in
✓ 4.19.320 4.19.x ✓ 5.4.282 5.4.x ✓ 5.10.222 5.10.x ✓ 5.15.163 5.15.x ✓ 6.1.98 6.1.x ✓ 6.6.39 6.6.x ✓ 6.9.9 6.9.x ✓ 6.10

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) . It affects Linux kernel versions from 2.6.29 onward and has been patched in 4.19.320, 5.4.282, 5.10.222 and others. 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?

    Yes. CVE-2024-42131 has been patched. Fixed versions include 4.19.320, 5.4.282, 5.10.222 and others. If you are running Linux kernel 2.6.29 or later up to the fix versions, apply the relevant patch for your kernel branch.

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