# CVE-2024-53107: fs/proc/task_mmu: prevent integer overflow in pagemap_scan_get_args()

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 12% of CVEs (2026-12-01)
- Published: 2024-12-02T13:44:39.811Z
- Modified: 2026-08-05T11:43:45.543Z
- Weaknesses: CWE-190
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 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 *)
- linux linux_kernel: from 6.7 before 6.11.10; 6.12

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/adee03f8903c58a6a559f21388a430211fac8ce9> (patch)
- <https://git.kernel.org/stable/c/669b0cb81e4e4e78cff77a5b367c7f70c0c6c05e> (patch)

## Sources

- CVE List: [CVE-2024-53107](https://www.cve.org/CVERecord?id=CVE-2024-53107), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2024-53107](https://nvd.nist.gov/vuln/detail/CVE-2024-53107), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2024-53107 · Whole record: https://cve.day/CVE-2024-53107.json · Rebuilt by cve.day 2026-11-25T22:58:49.614Z
