CVE Explore

Integer overflow in Linux

CVE-2024-53107

CVSS v3
7.8 High
Public exploits
None known
EPSS
0.002 · 11.8th percentile
Published
2024-12-02

In the Linux kernel, the following vulnerability has been resolved:

fs/proc/task_mmu: prevent integer overflow in pagemap_scan_get_args()

The "arg->vec_len" variable is a u64 that comes from the user at the start
of the function. The "arg->vec_len * sizeof(struct page_region))"
multiplication can lead to integer wrapping. Use size_mul() to avoid
that.

Also the size_add/mul() functions work on unsigned long so for 32bit
systems we need to ensure that "arg->vec_len" fits in an unsigned long.

Vulnerability class: Integer Overflow

Published · last modified .

CVSS v3 metric

CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

Attack Vector
Local AV:L
Attack Complexity
Low AC:L
Privileges Required
Low PR:L
User Interaction
None UI:N
Scope
Unchanged S:U
Confidentiality
High C:H
Integrity
High I:H
Availability
High A:H

EPSS exploit prediction

EPSS 0.002, 11.8th percentile (last changed ); unchanged over 30 days. About EPSS.

Affected products

  • Linux — versions 52526ca7fdb905a768a93f8faa418e9b988fc34b, 6.7, 0
  • Linux Kernel — versions 6.12

Weakness classification (CWE)

References