{"id":"CVE-2022-50781","aliases":["CVE-2022-50781"],"related":[],"kind":"vulnerability","state":"published","title":"amdgpu/pm: prevent array underflow in vega20_odn_edit_dpm_table()","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\namdgpu/pm: prevenir desbordamiento negativo de array en vega20_odn_edit_dpm_table()\n\nEn 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.","source":"nvd"}],"published":"2025-12-24T13:06:09.238Z","modified":"2026-11-10T12:10:00.177Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"d5bf26539494d16dfabbbea0854a47d202ea15c0","fixed":"4d3dc0de9c46d9f73be6bac026e40b893e37ea21","status":"affected"},{"type":"git","introduced":"d5bf26539494d16dfabbbea0854a47d202ea15c0","fixed":"85273b4a7076ed5328c8ace02234e4e7e10972d5","status":"affected"},{"type":"git","introduced":"d5bf26539494d16dfabbbea0854a47d202ea15c0","fixed":"f289a38df0da4cfe4b50d04b1b9c3bc646fecd57","status":"affected"},{"type":"git","introduced":"d5bf26539494d16dfabbbea0854a47d202ea15c0","fixed":"a03625ad11b50429930f4c491d6c97e70f2ba89a","status":"affected"},{"type":"git","introduced":"d5bf26539494d16dfabbbea0854a47d202ea15c0","fixed":"8084bd0a64e278314b733993f388d83a86aa1183","status":"affected"},{"type":"git","introduced":"d5bf26539494d16dfabbbea0854a47d202ea15c0","fixed":"d27252b5706e51188aed7647126e44dcf9e940c1","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.20","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.20","status":"unaffected"},{"type":"semver","introduced":"5.4.229","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.163","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.86","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.0.16","lastAffected":"6.0.*","status":"unaffected"},{"type":"semver","introduced":"6.1.2","lastAffected":"6.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/4d3dc0de9c46d9f73be6bac026e40b893e37ea21","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/85273b4a7076ed5328c8ace02234e4e7e10972d5","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f289a38df0da4cfe4b50d04b1b9c3bc646fecd57","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a03625ad11b50429930f4c491d6c97e70f2ba89a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8084bd0a64e278314b733993f388d83a86aa1183","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d27252b5706e51188aed7647126e44dcf9e940c1","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-50781","url":"https://www.cve.org/CVERecord?id=CVE-2022-50781","licence":"CVE Terms of Use","modified":"2026-05-11T19:25:25.274Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-50781","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50781","licence":"Public domain","modified":"2026-11-10T12:10:00.177Z"}],"updatedAt":"2026-11-25T22:58:21.359Z","epss":{"score":0.0023,"percentile":0.14741,"date":"2026-12-01T12:00:22.000Z"}}