CVE-2024-42131

CVSS v3.1 5.5 (Medium)
55% Progress
EPSS 0.04 % (5th)
0.04% Progress
Affected Products 1
Advisories 6
NVD Status Analyzed

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.

Weaknesses
CWE-190
Integer Overflow or Wraparound
CVE Status
PUBLISHED
NVD Status
Analyzed
CNA
kernel.org
Published Date
2024-07-30 08:15:05
(7 weeks ago)
Updated Date
2024-09-16 13:52:37
(2 days ago)

Affected Products

Loading...
Loading...
Loading...

Configuration #1

    CPE23 From Up To
  Linux Kernel prior 4.19.320 version cpe:2.3:o:linux:linux_kernel < 4.19.320
  Linux Kernel from 4.20 version and prior 5.4.282 version cpe:2.3:o:linux:linux_kernel >= 4.20 < 5.4.282
  Linux Kernel from 5.5 version and prior 5.10.222 version cpe:2.3:o:linux:linux_kernel >= 5.5 < 5.10.222
  Linux Kernel from 5.11 version and prior 5.15.163 version cpe:2.3:o:linux:linux_kernel >= 5.11 < 5.15.163
  Linux Kernel from 5.16 version and prior 6.1.98 version cpe:2.3:o:linux:linux_kernel >= 5.16 < 6.1.98
  Linux Kernel from 6.2 version and prior 6.6.39 version cpe:2.3:o:linux:linux_kernel >= 6.2 < 6.6.39
  Linux Kernel from 6.7 version and prior 6.9.9 version cpe:2.3:o:linux:linux_kernel >= 6.7 < 6.9.9
  Linux Kernel 6.10 Rc1 cpe:2.3:o:linux:linux_kernel:6.10:rc1
  Linux Kernel 6.10 Rc2 cpe:2.3:o:linux:linux_kernel:6.10:rc2
  Linux Kernel 6.10 Rc3 cpe:2.3:o:linux:linux_kernel:6.10:rc3
  Linux Kernel 6.10 Rc4 cpe:2.3:o:linux:linux_kernel:6.10:rc4
  Linux Kernel 6.10 Rc5 cpe:2.3:o:linux:linux_kernel:6.10:rc5
  Linux Kernel 6.10 Rc6 cpe:2.3:o:linux:linux_kernel:6.10:rc6
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...