CVE-2022-50781
JSON

Not scored

amdgpu/pm: prevent array underflow in vega20_odn_edit_dpm_table()

Severity
Not scored
Exploit likelihood
0.23% (higher than 14% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom d5bf26539494d16dfabbbea0854a47d202ea15c0 before 4d3dc0de9c46d9f73be6bac026e40b893e37ea21, from d5bf26539494d16dfabbbea0854a47d202ea15c0 before 85273b4a7076ed5328c8ace02234e4e7e10972d5, from d5bf26539494d16dfabbbea0854a47d202ea15c0 before f289a38df0da4cfe4b50d04b1b9c3bc646fecd57, from d5bf26539494d16dfabbbea0854a47d202ea15c0 before a03625ad11b50429930f4c491d6c97e70f2ba89a, from d5bf26539494d16dfabbbea0854a47d202ea15c0 before 8084bd0a64e278314b733993f388d83a86aa1183, from d5bf26539494d16dfabbbea0854a47d202ea15c0 before d27252b5706e51188aed7647126e44dcf9e940c1, 4.20
Not affected: before 4.20, from 5.4.229 up to 5.4.*, from 5.10.163 up to 5.10.*, from 5.15.86 up to 5.15.*, from 6.0.16 up to 6.0.*, from 6.1.2 up to 6.1.*
CVE List

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: amdgpu/pm: prevenir desbordamiento negativo de array en vega20_odn_edit_dpm_table() En el caso PP_OD_EDIT_VDDC_CURVE, la variable ’input_index’ está limitada a 2 pero no se verifica si hay valores negativos, lo que resulta en una lectura fuera de límites. Este valor proviene del usuario a través de sysfs.

References

Sources

SourceRecordLicence
CVE ListCVE-2022-50781 changed 2026-05-11CVE Terms of Use
NVDCVE-2022-50781 changed 2026-11-10Public domain