{"id":"CVE-2022-50781","summary":"amdgpu/pm: prevent array underflow in vega20_odn_edit_dpm_table()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\namdgpu/pm: prevent array underflow in vega20_odn_edit_dpm_table()\n\nIn the PP_OD_EDIT_VDDC_CURVE case the \"input_index\" variable is capped at\n2 but not checked for negative values so it results in an out of bounds\nread.  This value comes from the user via sysfs.","modified":"2026-04-02T08:28:45.761231Z","published":"2025-12-24T13:06:09.238Z","related":["SUSE-SU-2026:0263-1","SUSE-SU-2026:0317-1","SUSE-SU-2026:0411-1","SUSE-SU-2026:0617-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50781.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/4d3dc0de9c46d9f73be6bac026e40b893e37ea21"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8084bd0a64e278314b733993f388d83a86aa1183"},{"type":"WEB","url":"https://git.kernel.org/stable/c/85273b4a7076ed5328c8ace02234e4e7e10972d5"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a03625ad11b50429930f4c491d6c97e70f2ba89a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d27252b5706e51188aed7647126e44dcf9e940c1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f289a38df0da4cfe4b50d04b1b9c3bc646fecd57"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50781.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50781"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"d5bf26539494d16dfabbbea0854a47d202ea15c0"},{"fixed":"4d3dc0de9c46d9f73be6bac026e40b893e37ea21"},{"fixed":"85273b4a7076ed5328c8ace02234e4e7e10972d5"},{"fixed":"f289a38df0da4cfe4b50d04b1b9c3bc646fecd57"},{"fixed":"a03625ad11b50429930f4c491d6c97e70f2ba89a"},{"fixed":"8084bd0a64e278314b733993f388d83a86aa1183"},{"fixed":"d27252b5706e51188aed7647126e44dcf9e940c1"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50781.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.20.0"},{"fixed":"5.4.229"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.5.0"},{"fixed":"5.10.163"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.86"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.0.16"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.1.0"},{"fixed":"6.1.2"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50781.json"}}],"schema_version":"1.7.5"}