Skip to content
CVE PROGRAM SOURCE RECORD7.8 High

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/

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 198725337ef1f73b73e7dc953c6ffb0799f26ffe to < e6a1565f5edacc37a82f12810566b8f6d73c33e5affected
  • 198725337ef1f73b73e7dc953c6ffb0799f26ffe to < 2b99b2c4621d13bd4374ef384e8f1fc188d0a5dfaffected
  • 198725337ef1f73b73e7dc953c6ffb0799f26ffe to < 2f1845e46c41ed500789d53dc45b383b7745c96caffected
  • 198725337ef1f73b73e7dc953c6ffb0799f26ffe to < e43a0f1327a1ee70754f8a0de6e0262cfa3e0b87affected
  • 198725337ef1f73b73e7dc953c6ffb0799f26ffe to < 3a47f4b439beb98e955d501c609dfd12b7836d61affected

Linux Linux

Default version status: affected

  • 3.12affected
  • 0 to < 3.12unaffected
  • 6.1.191 to ≤ 6.1.*unaffected
  • 6.6.80 to ≤ 6.6.*unaffected
  • 6.12.16 to ≤ 6.12.*unaffected
  • 6.13.4 to ≤ 6.13.*unaffected
  • 6.14 to ≤ *unaffected

References