CVE-2024-50282

drm/amdgpu: add missing size check in amdgpu_debugfs_gprwave_read()

State
Published
Severity
7.8 High
Published
Nov 19, 2024
Updated
Aug 5, 2026
Reserved
Oct 21, 2024

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

drm/amdgpu: add missing size check in amdgpu_debugfs_gprwave_read()

Avoid a possible buffer overflow if size is larger than 4K.

(cherry picked from commit f5d873f5825b40d886d03bd2aede91d4cf002434)

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HCISA-ADP

Weaknesses

  • CWE-120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')

Affected Products

ProductVersions
LinuxLinux
  • d38ceaf99ed015f2a0b9af3499791bd3a3daae21 to before 673bdb4200c092692f83b5f7ba3df57021d52d29Affected
  • d38ceaf99ed015f2a0b9af3499791bd3a3daae21 to before 8906728f2fbd6504cb488f4afdd66af28f330a7aAffected
  • d38ceaf99ed015f2a0b9af3499791bd3a3daae21 to before 2faaee36e6e30f9efc7fa6bcb0bdcbe05c23f51fAffected
  • d38ceaf99ed015f2a0b9af3499791bd3a3daae21 to before 4d75b9468021c73108b4439794d69e892b1d24e3Affected
LinuxLinux
  • 4.2Affected
  • before 4.2Not affected
  • 4.19.324 through 4.19.*Not affected
  • 6.6.61 through 6.6.*Not affected
  • 6.11.8 through 6.11.*Not affected
  • 6.12 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.