CVE-2024-53107 fs/proc/task_mmu: prevent integer overflow in pagemap_scan_get_args()
An integer overflow in the Linux kernel's pagemap_scan_get_args function can lead to memory corruption or denial of service.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-53107?
CVE-2024-53107 is a high-severity vulnerability in Linux kernel, published on 2 Dec 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Weakness: CWE-190
Which versions are affected by CVE-2024-53107?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-53107?
Apply the vendor's patch.
Is CVE-2024-53107 being exploited?
There is no known exploitation of CVE-2024-53107 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2024-53107, DEBIAN-CVE-2024-53107, GHSA-c6g8-rch8-xjjv, UBUNTU-CVE-2024-53107.