CVE-2024-53107
JSON

7.8high

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

Severity
7.8high CVSS:3.1 by Linux
Exploit likelihood
0.28% (higher than 13% of CVEs)
Published
Last changed
Assigned by
Linux

Description

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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 52526ca7fdb905a768a93f8faa418e9b988fc34b before adee03f8903c58a6a559f21388a430211fac8ce9, from 52526ca7fdb905a768a93f8faa418e9b988fc34b before 669b0cb81e4e4e78cff77a5b367c7f70c0c6c05e, 6.7
Not affected: before 6.7, from 6.11.10 up to 6.11.*, from 6.12 up to *
CVE List
linux linux_kernelfrom 6.7 before 6.11.10, 6.12NVD

All scores

Linux7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CISA-ADP5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-190

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: fs/proc/task_mmu: evitar el desbordamiento de enteros en pagemap_scan_get_args() La variable "arg->vec_len" es una u64 que proviene del usuario al inicio de la función. La multiplicación "arg->vec_len * sizeof(struct page_region))" puede provocar un ajuste de enteros. Utilice size_mul() para evitarlo. Además, las funciones size_add/mul() funcionan en unsigned long, por lo que para los sistemas de 32 bits debemos asegurarnos de que "arg->vec_len" quepa en un unsigned long.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-53107 changed 2026-08-05CVE Terms of Use
NVDCVE-2024-53107 changed 2026-08-04Public domain