CVE-2022-50781

amdgpu/pm: prevent array underflow in vega20_odn_edit_dpm_table()

No CVSS score yet EPSS 0.23%

Published 24 Dec 2025 Updated 11 May 2026 CNA: Linux

Check your servers for CVE-2022-50781

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2022-50781 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.23%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 14.7% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from d5bf26539494d16dfabbbea0854a47d202ea15c0, before 4d3dc0de9c46d9f73be6bac026e40b893e37ea21
affected from d5bf26539494d16dfabbbea0854a47d202ea15c0, before 85273b4a7076ed5328c8ace02234e4e7e10972d5
affected from d5bf26539494d16dfabbbea0854a47d202ea15c0, before f289a38df0da4cfe4b50d04b1b9c3bc646fecd57
affected from d5bf26539494d16dfabbbea0854a47d202ea15c0, before a03625ad11b50429930f4c491d6c97e70f2ba89a
affected from d5bf26539494d16dfabbbea0854a47d202ea15c0, before 8084bd0a64e278314b733993f388d83a86aa1183
affected from d5bf26539494d16dfabbbea0854a47d202ea15c0, before d27252b5706e51188aed7647126e44dcf9e940c1
Other versions: unaffected
Linux
affected 4.20
unaffected before 4.20
unaffected from 5.4.229 up to and including 5.4.*
unaffected from 5.10.163 up to and including 5.10.*
unaffected from 5.15.86 up to and including 5.15.*
unaffected from 6.0.16 up to and including 6.0.*
unaffected from 6.1.2 up to and including 6.1.*
unaffected 6.2 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2022-50781 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2022-50781

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2022-50781
trivy image --scanners vuln IMAGE | grep CVE-2022-50781

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2022-50781 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.