What’s Vulnerable › Vulnerabilities
CVE-2024-52559: drm/msm/gem: prevent integer overflow in msm_ioctl_gem_submit()
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-02-27 · updated 2026-10-30
- Weakness: CWE-190
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/
Affected products
- Linux kernel: from 3.12 before 6.12.16; from 6.13 before 6.13.4 — fixed in 6.12.16, 6.13.4
- Linux: 3.12 — fixed in 6.14
How to fix
Upgrade to a fixed version: Linux kernel 6.12.16, 6.13.4; Linux 6.14. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/2b99b2c4621d13bd4374ef384e8f1fc188d0a5df
- https://git.kernel.org/stable/c/2f1845e46c41ed500789d53dc45b383b7745c96c
- https://git.kernel.org/stable/c/3a47f4b439beb98e955d501c609dfd12b7836d61
- https://git.kernel.org/stable/c/e43a0f1327a1ee70754f8a0de6e0262cfa3e0b87
- https://git.kernel.org/stable/c/e6a1565f5edacc37a82f12810566b8f6d73c33e5
Get alerted when CVE-2024-52559 or the next vulnerability affects your stack