{"id":"CVE-2024-52559","title":"drm/msm/gem: prevent integer overflow in msm_ioctl_gem_submit()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/msm/gem: prevent integer overflow in msm_ioctl_gem_submit()\n\nThe \"submit->cmd[i].size\" and \"submit->cmd[i].offset\" variables are u32\nvalues that come from the user …","severity":"high","cvss":7.8,"cvssVector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","cvssSource":"cna","vendor":"Linux","product":"Linux","affected":["Linux >= 198725337ef1f73b73e7dc953c6ffb0799f26ffe < e6a1565f5edacc37a82f12810566b8f6d73c33e5","Linux >= 198725337ef1f73b73e7dc953c6ffb0799f26ffe < 2b99b2c4621d13bd4374ef384e8f1fc188d0a5df","Linux >= 198725337ef1f73b73e7dc953c6ffb0799f26ffe < 2f1845e46c41ed500789d53dc45b383b7745c96c","Linux >= 198725337ef1f73b73e7dc953c6ffb0799f26ffe < e43a0f1327a1ee70754f8a0de6e0262cfa3e0b87","Linux >= 198725337ef1f73b73e7dc953c6ffb0799f26ffe < 3a47f4b439beb98e955d501c609dfd12b7836d61","Linux 3.12"],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-10-01T19:30:56.189127Z"},"published":"2025-02-27","updated":"2026-10-30","sourceUpdated":"2026-10-30T12:19:53.618Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2024-52559","references":[{"url":"https://git.kernel.org/stable/c/e6a1565f5edacc37a82f12810566b8f6d73c33e5"},{"url":"https://git.kernel.org/stable/c/2b99b2c4621d13bd4374ef384e8f1fc188d0a5df"},{"url":"https://git.kernel.org/stable/c/2f1845e46c41ed500789d53dc45b383b7745c96c"},{"url":"https://git.kernel.org/stable/c/e43a0f1327a1ee70754f8a0de6e0262cfa3e0b87"},{"url":"https://git.kernel.org/stable/c/3a47f4b439beb98e955d501c609dfd12b7836d61"}],"tags":["cve.org"],"epss":0.00248,"epssPercentile":0.16137,"ingestedAt":"2026-11-03T14:47:02.512Z","slug":"CVE-2024-52559","body":"## Overview\n\nIn the Linux kernel, the following vulnerability has been resolved:\n\ndrm/msm/gem: prevent integer overflow in msm_ioctl_gem_submit()\n\nThe \"submit->cmd[i].size\" and \"submit->cmd[i].offset\" variables are u32\nvalues that come from the user via the submit_lookup_cmds() function.\nThis addition could lead to an integer wrapping bug so use size_add()\nto prevent that.\n\nPatchwork: https://patchwork.freedesktop.org/patch/624696/\n\n## Affected\n\n- `Linux >= 198725337ef1f73b73e7dc953c6ffb0799f26ffe < e6a1565f5edacc37a82f12810566b8f6d73c33e5`\n- `Linux >= 198725337ef1f73b73e7dc953c6ffb0799f26ffe < 2b99b2c4621d13bd4374ef384e8f1fc188d0a5df`\n- `Linux >= 198725337ef1f73b73e7dc953c6ffb0799f26ffe < 2f1845e46c41ed500789d53dc45b383b7745c96c`\n- `Linux >= 198725337ef1f73b73e7dc953c6ffb0799f26ffe < e43a0f1327a1ee70754f8a0de6e0262cfa3e0b87`\n- `Linux >= 198725337ef1f73b73e7dc953c6ffb0799f26ffe < 3a47f4b439beb98e955d501c609dfd12b7836d61`\n- `Linux 3.12`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"twilight","depthScore":43,"depthScoreParts":{"impact":42.9,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}