CVE-2022-50781
amdgpu/pm: prevent array underflow in vega20_odn_edit_dpm_table()
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= d5bf26539494d16dfabbbea0854a47d202ea15c0, < 4d3dc0de9c46d9f73be6bac026e40b893e37ea21; >= d5bf26539494d16dfabbbea0854a47d202ea15c0, < 85273b4a7076ed5328c8ace02234e4e7e10972d5; >= d5bf26539494d16dfabbbea0854a47d202ea15c0, < f289a38df0da4cfe4b50d04b1b9c3bc646fecd57; >= d5bf26539494d16dfabbbea0854a47d202ea15c0, < a03625ad11b50429930f4c491d6c97e70f2ba89a; >= d5bf26539494d16dfabbbea0854a47d202ea15c0, < 8084bd0a64e278314b733993f388d83a86aa1183; >= d5bf26539494d16dfabbbea0854a47d202ea15c0, < d27252b5706e51188aed7647126e44dcf9e940c1
- Anyone running Linux 4.20
Vulnerability facts
- Affected
- Linux >= d5bf26539494d16dfabbbea0854a47d202ea15c0, < 4d3dc0de9c46d9f73be6bac026e40b893e37ea21; >= d5bf26539494d16dfabbbea0854a47d202ea15c0, < 85273b4a7076ed5328c8ace02234e4e7e10972d5; >= d5bf26539494d16dfabbbea0854a47d202ea15c0, < f289a38df0da4cfe4b50d04b1b9c3bc646fecd57; >= d5bf26539494d16dfabbbea0854a47d202ea15c0, < a03625ad11b50429930f4c491d6c97e70f2ba89a; >= d5bf26539494d16dfabbbea0854a47d202ea15c0, < 8084bd0a64e278314b733993f388d83a86aa1183; >= d5bf26539494d16dfabbbea0854a47d202ea15c0, < d27252b5706e51188aed7647126e44dcf9e940c1; Linux 4.20
- Fixed in
- Linux 4d3dc0de9c46d9f73be6bac026e40b893e37ea21, Linux 85273b4a7076ed5328c8ace02234e4e7e10972d5, Linux 8084bd0a64e278314b733993f388d83a86aa1183
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- EPSS
- 0.29% chance of exploitation in 30 days (percentile 14, 2026-11-26)
- Modified
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= d5bf26539494d16dfabbbea0854a47d202ea15c0, < 4d3dc0de9c46d9f73be6bac026e40b893e37ea21; >= d5bf26539494d16dfabbbea0854a47d202ea15c0, < 85273b4a7076ed5328c8ace02234e4e7e10972d5; >= d5bf26539494d16dfabbbea0854a47d202ea15c0, < f289a38df0da4cfe4b50d04b1b9c3bc646fecd57; >= d5bf26539494d16dfabbbea0854a47d202ea15c0, < a03625ad11b50429930f4c491d6c97e70f2ba89a; >= d5bf26539494d16dfabbbea0854a47d202ea15c0, < 8084bd0a64e278314b733993f388d83a86aa1183; >= d5bf26539494d16dfabbbea0854a47d202ea15c0, < d27252b5706e51188aed7647126e44dcf9e940c1 | — | cvelist |
| Linux | 4.20 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2022-50781. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2022-50781.md Affected: Linux >= d5bf26539494d16dfabbbea0854a47d202ea15c0, < 4d3dc0de9c46d9f73be6bac026e40b893e37ea21; >= d5bf26539494d16dfabbbea0854a47d202ea15c0, < 85273b4a7076ed5328c8ace02234e4e7e10972d5; >= d5bf26539494d16dfabbbea0854a47d202ea15c0, < f289a38df0da4cfe4b50d04b1b9c3bc646fecd57; >= d5bf26539494d16dfabbbea… Fixed in: Linux 4d3dc0de9c46d9f73be6bac026e40b893e37ea21, Linux 85273b4a7076ed5328c8ace02234e4e7e10972d5, Linux 8084bd0a64e278314b733993f388d83a86aa1183 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Other
- 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
FAQ
Is CVE-2022-50781 being exploited?
There is no confirmed exploitation: CVE-2022-50781 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.29% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2022-50781?
It has no CVSS score yet. Unknown.
Which versions are affected by CVE-2022-50781?
Linux >= d5bf26539494d16dfabbbea0854a47d202ea15c0, < 4d3dc0de9c46d9f73be6bac026e40b893e37ea21; >= d5bf26539494d16dfabbbea0854a47d202ea15c0, < 85273b4a7076ed5328c8ace02234e4e7e10972d5; >= d5bf26539494d16dfabbbea0854a47d202ea15c0, < f289a38df0da4cfe4b50d04b1b9c3bc646fecd57; >= d5bf26539494d16dfabbbea0854a47d202ea15c0, < a03625ad11b50429930f4c491d6c97e70f2ba89a; >= d5bf26539494d16dfabbbea0854a47d202ea15c0, < 8084bd0a64e278314b733993f388d83a86aa1183; >= d5bf26539494d16dfabbbea0854a47d202ea15c0, < d27252b5706e51188aed7647126e44dcf9e940c1; Linux 4.20.
Is there a fix for CVE-2022-50781?
Yes. Fixed in Linux 4d3dc0de9c46d9f73be6bac026e40b893e37ea21, Linux 85273b4a7076ed5328c8ace02234e4e7e10972d5, Linux 8084bd0a64e278314b733993f388d83a86aa1183. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2022-50781?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.