CyberAlerts is shutting down on June 30th, 2025. Thank you for your support!

CVE-2024-52559: drm/msm/gem: prevent integer overflow in msm_ioctl_gem_submit()

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/

Classification

CVE ID: CVE-2024-52559

Affected Products

Vendor: Linux, Linux

Product: Linux, Linux

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.02% (probability of being exploited)

EPSS Percentile: 2.04% (scored less or equal to compared to others)

EPSS Date: 2025-03-27 (when was this score calculated)

References

https://nvd.nist.gov/vuln/detail/CVE-2024-52559
https://git.kernel.org/stable/c/2f1845e46c41ed500789d53dc45b383b7745c96c
https://git.kernel.org/stable/c/e43a0f1327a1ee70754f8a0de6e0262cfa3e0b87
https://git.kernel.org/stable/c/3a47f4b439beb98e955d501c609dfd12b7836d61

Timeline