CVE-2024-52559 drm/msm/gem: prevent integer overflow in msm_ioctl_gem_submit()
An integer overflow in the Linux kernel's MSM DRM driver allows local attackers to potentially execute arbitrary code or escalate privileges.
- 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-52559?
CVE-2024-52559 is a high-severity vulnerability in Linux kernel, published on 27 Feb 2025. 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:
drm/msm/gem: prevent integer overflow in msm_ioctl_gem_submit()
The "submit->cmd[i].size" and "submit->cmd[i].offset" variables are u32 values that come from the user via the submit_lookup_cmds() function. This addition could lead to an integer wrapping bug so use size_add() to prevent that.
Patchwork: https://patchwork.freedesktop.org/patch/624696/
Weakness: CWE-190
Which versions are affected by CVE-2024-52559?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-52559?
Apply the vendor's patch.
Is CVE-2024-52559 being exploited?
There is no known exploitation of CVE-2024-52559 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as AZL-57985, AZL-57991, BELL-CVE-2024-52559, DEBIAN-CVE-2024-52559, GHSA-86f7-x66f-vfwc, ROOT-OS-DEBIAN-11-CVE-2024-52559 and 4 more.