{"id":"CVE-2024-52559","aliases":["CVE-2024-52559"],"related":[],"kind":"vulnerability","state":"published","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 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/","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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 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/","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: drm/msm/gem: evitar el desbordamiento de enteros en msm_ioctl_gem_submit() Las variables \"submit-&gt;cmd[i].size\" y \"submit-&gt;cmd[i].offset\" son valores u32 que provienen del usuario a través de la función submission_lookup_cmds(). Esta adición podría provocar un error de envoltura de enteros, por lo que se debe utilizar size_add() para evitarlo. Patchwork: https://patchwork.freedesktop.org/patch/624696/","source":"nvd"}],"published":"2025-02-27T02:18:07.106Z","modified":"2026-10-30T13:17:41.317Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-190"],"affected":[{"ranges":[{"type":"git","introduced":"198725337ef1f73b73e7dc953c6ffb0799f26ffe","fixed":"e6a1565f5edacc37a82f12810566b8f6d73c33e5","status":"affected"},{"type":"git","introduced":"198725337ef1f73b73e7dc953c6ffb0799f26ffe","fixed":"2b99b2c4621d13bd4374ef384e8f1fc188d0a5df","status":"affected"},{"type":"git","introduced":"198725337ef1f73b73e7dc953c6ffb0799f26ffe","fixed":"2f1845e46c41ed500789d53dc45b383b7745c96c","status":"affected"},{"type":"git","introduced":"198725337ef1f73b73e7dc953c6ffb0799f26ffe","fixed":"e43a0f1327a1ee70754f8a0de6e0262cfa3e0b87","status":"affected"},{"type":"git","introduced":"198725337ef1f73b73e7dc953c6ffb0799f26ffe","fixed":"3a47f4b439beb98e955d501c609dfd12b7836d61","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.12","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.12","status":"unaffected"},{"type":"semver","introduced":"6.1.191","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.80","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.16","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.13.4","lastAffected":"6.13.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.14","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"3.12","fixed":"6.12.16"},{"status":"affected","introduced":"6.13","fixed":"6.13.4"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/e6a1565f5edacc37a82f12810566b8f6d73c33e5","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2b99b2c4621d13bd4374ef384e8f1fc188d0a5df","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2f1845e46c41ed500789d53dc45b383b7745c96c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e43a0f1327a1ee70754f8a0de6e0262cfa3e0b87","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3a47f4b439beb98e955d501c609dfd12b7836d61","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-10-01T19:30:56.189Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-52559","url":"https://www.cve.org/CVERecord?id=CVE-2024-52559","licence":"CVE Terms of Use","modified":"2026-10-30T12:19:53.618Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-52559","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-52559","licence":"Public domain","modified":"2026-10-30T13:17:41.317Z"}],"updatedAt":"2026-11-25T22:58:52.096Z","epss":{"score":0.00248,"percentile":0.17284,"date":"2026-12-01T12:00:22.000Z"}}