CVE-2024-52559

published 27 Feb 2025 · updated 30 Oct 2026

drm/msm/gem: prevent integer overflow in msm_ioctl_gem_submit()

7.8HighCVSS 7.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 2b99b2c4621d13bd4374ef384e8f1fc188d0a5df, Kernel 2f1845e46c41ed500789d53dc45b383b7745c96c, Kernel 3a47f4b439beb98e955d501c609dfd12b7836d61 and 2 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=3.12, >=198725337ef1f73b73e7dc953c6ffb0799f26ffe <2b99b2c4621d13bd4374ef384e8f1fc188d0a5df, >=198725337ef1f73b73e7dc953c6ffb0799f26ffe <2f1845e46c41ed500789d53dc45b383b7745c96c, >=198725337ef1f73b73e7dc953c6ffb0799f26ffe <3a47f4b439beb98e955d501c609dfd12b7836d61, >=198725337ef1f73b73e7dc953c6ffb0799f26ffe <e43a0f1327a1ee70754f8a0de6e0262cfa3e0b87, >=198725337ef1f73b73e7dc953c6ffb0799f26ffe <e6a1565f5edacc37a82f12810566b8f6d73c33e52b99b2c4621d13bd4374ef384e8f1fc188d0a5df, 2f1845e46c41ed500789d53dc45b383b7745c96c, 3a47f4b439beb98e955d501c609dfd12b7836d61, e43a0f1327a1ee70754f8a0de6e0262cfa3e0b87, e6a1565f5edacc37a82f12810566b8f6d73c33e5

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-52559 severity on Zeptric[![CVE-2024-52559](https://zeptric.io/badge/cve/CVE-2024-52559.svg)](https://zeptric.io/cve/CVE-2024-52559)