7.8high
drm/msm/gem: prevent integer overflow in msm_ioctl_gem_submit()
- Severity
- 7.8high CVSS:3.1 by Linux
- Exploit likelihood
- 0.25% (higher than 17% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- 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/
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| 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 * | CVE List |
| linux linux_kernel | from 3.12 before 6.12.16, from 6.13 before 6.13.4 | NVD |
All scores
| Linux | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| CISA-ADP | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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/
NVD (es)
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->cmd[i].size" y "submit->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/
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-52559 changed 2026-10-30 | CVE Terms of Use |
| NVD | CVE-2024-52559 changed 2026-10-30 | Public domain |