{"schema_version":"1.9.0","id":"CVE-2024-53107","published":"2024-12-02T13:44:39.811Z","modified":"2026-08-12T03:51:36.050866557Z","related":["USN-7276-1","USN-7277-1"],"summary":"fs/proc/task_mmu: prevent integer overflow in pagemap_scan_get_args()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nfs/proc/task_mmu: prevent integer overflow in pagemap_scan_get_args()\n\nThe \"arg->vec_len\" variable is a u64 that comes from the user at the start\nof the function.  The \"arg->vec_len * sizeof(struct page_region))\"\nmultiplication can lead to integer wrapping.  Use size_mul() to avoid\nthat.\n\nAlso the size_add/mul() functions work on unsigned long so for 32bit\nsystems we need to ensure that \"arg->vec_len\" fits in an unsigned long.","affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"52526ca7fdb905a768a93f8faa418e9b988fc34b"},{"fixed":"adee03f8903c58a6a559f21388a430211fac8ce9"},{"fixed":"669b0cb81e4e4e78cff77a5b367c7f70c0c6c05e"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-53107.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.11.10"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-53107.json"}}],"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/669b0cb81e4e4e78cff77a5b367c7f70c0c6c05e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/adee03f8903c58a6a559f21388a430211fac8ce9"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/53xxx/CVE-2024-53107.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-53107"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/53xxx/CVE-2024-53107.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}