# CVE-2024-52559: drm/msm/gem: prevent integer overflow in msm_ioctl_gem_submit()

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 17% of CVEs (2026-12-01)
- Published: 2025-02-27T02:18:07.106Z
- Modified: 2026-10-30T13:17:41.317Z
- Weaknesses: CWE-190
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from 198725337ef1f73b73e7dc953c6ffb0799f26ffe before e6a1565f5edacc37a82f12810566b8f6d73c33e5; from 198725337ef1f73b73e7dc953c6ffb0799f26ffe before 2b99b2c4621d13bd4374ef384e8f1fc188d0a5df; from 198725337ef1f73b73e7dc953c6ffb0799f26ffe before 2f1845e46c41ed500789d53dc45b383b7745c96c; from 198725337ef1f73b73e7dc953c6ffb0799f26ffe before e43a0f1327a1ee70754f8a0de6e0262cfa3e0b87; from 198725337ef1f73b73e7dc953c6ffb0799f26ffe before 3a47f4b439beb98e955d501c609dfd12b7836d61; 3.12 (not affected: before 3.12; from 6.1.191 up to 6.1.*; from 6.6.80 up to 6.6.*; from 6.12.16 up to 6.12.*; from 6.13.4 up to 6.13.*; from 6.14 up to *)
- linux linux_kernel: from 3.12 before 6.12.16; from 6.13 before 6.13.4

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/e6a1565f5edacc37a82f12810566b8f6d73c33e5>
- <https://git.kernel.org/stable/c/2b99b2c4621d13bd4374ef384e8f1fc188d0a5df> (patch)
- <https://git.kernel.org/stable/c/2f1845e46c41ed500789d53dc45b383b7745c96c> (patch)
- <https://git.kernel.org/stable/c/e43a0f1327a1ee70754f8a0de6e0262cfa3e0b87> (patch)
- <https://git.kernel.org/stable/c/3a47f4b439beb98e955d501c609dfd12b7836d61> (patch)

## Sources

- CVE List: [CVE-2024-52559](https://www.cve.org/CVERecord?id=CVE-2024-52559), CVE Terms of Use, modified 2026-10-30
- NVD: [CVE-2024-52559](https://nvd.nist.gov/vuln/detail/CVE-2024-52559), Public domain, modified 2026-10-30

---

Page: https://cve.day/CVE-2024-52559 · Whole record: https://cve.day/CVE-2024-52559.json · Rebuilt by cve.day 2026-11-25T22:58:52.096Z
