CVE-2022-50781

amdgpu/pm: prevent array underflow in vega20_odn_edit_dpm_table()

State
Published
Severity
Not scored
Published
Dec 24, 2025
Updated
May 11, 2026
Reserved
Dec 24, 2025

Read the record on cve.org

Description

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

amdgpu/pm: prevent array underflow in vega20_odn_edit_dpm_table()

In the PP_OD_EDIT_VDDC_CURVE case the "input_index" variable is capped at 2 but not checked for negative values so it results in an out of bounds read. This value comes from the user via sysfs.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • d5bf26539494d16dfabbbea0854a47d202ea15c0 to before 4d3dc0de9c46d9f73be6bac026e40b893e37ea21Affected
  • d5bf26539494d16dfabbbea0854a47d202ea15c0 to before 85273b4a7076ed5328c8ace02234e4e7e10972d5Affected
  • d5bf26539494d16dfabbbea0854a47d202ea15c0 to before f289a38df0da4cfe4b50d04b1b9c3bc646fecd57Affected
  • d5bf26539494d16dfabbbea0854a47d202ea15c0 to before a03625ad11b50429930f4c491d6c97e70f2ba89aAffected
  • d5bf26539494d16dfabbbea0854a47d202ea15c0 to before 8084bd0a64e278314b733993f388d83a86aa1183Affected
  • d5bf26539494d16dfabbbea0854a47d202ea15c0 to before d27252b5706e51188aed7647126e44dcf9e940c1Affected
LinuxLinux
  • 4.20Affected
  • before 4.20Not affected
  • 5.4.229 through 5.4.*Not affected
  • 5.10.163 through 5.10.*Not affected
  • 5.15.86 through 5.15.*Not affected
  • 6.0.16 through 6.0.*Not affected
  • 6.1.2 through 6.1.*Not affected
  • 6.2 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.