Integer overflow in Linux
CVE-2024-52559
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/
Vulnerability class: Integer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.002, 16.3th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Linux — versions 198725337ef1f73b73e7dc953c6ffb0799f26ffe, 3.12, 0
- Linux Kernel
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (fkie-cad/nvd-json-data-feeds). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- git.kernel.org/stable/c/2b99b2c4621d13bd4374ef384e8f1fc188d0a5df (Patch)
- git.kernel.org/stable/c/2f1845e46c41ed500789d53dc45b383b7745c96c (Patch)
- git.kernel.org/stable/c/e43a0f1327a1ee70754f8a0de6e0262cfa3e0b87 (Patch)
- git.kernel.org/stable/c/3a47f4b439beb98e955d501c609dfd12b7836d61 (Patch)
- git.kernel.org/stable/c/e6a1565f5edacc37a82f12810566b8f6d73c33e5