CVE-2024-53107

Severity CVSS v4.0:
Pending analysis
Type:
CWE-190 Integer Overflow or Wraparound
Publication date:
02/12/2024
Last modified:
01/10/2025

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> fs/proc/task_mmu: prevent integer overflow in pagemap_scan_get_args()<br /> <br /> The "arg-&gt;vec_len" variable is a u64 that comes from the user at the start<br /> of the function. The "arg-&gt;vec_len * sizeof(struct page_region))"<br /> multiplication can lead to integer wrapping. Use size_mul() to avoid<br /> that.<br /> <br /> Also the size_add/mul() functions work on unsigned long so for 32bit<br /> systems we need to ensure that "arg-&gt;vec_len" fits in an unsigned long.

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.7 (including) 6.11.10 (excluding)
cpe:2.3:o:linux:linux_kernel:6.12:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.12:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.12:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.12:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.12:rc5:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.12:rc6:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.12:rc7:*:*:*:*:*:*