{"id":"CVE-2026-89818","aliases":["CVE-2026-89818"],"related":[],"kind":"vulnerability","state":"published","title":"drm/amdgpu/vcn: fix integer overflow in dec_msg buffer count check","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdgpu/vcn: fix integer overflow in dec_msg buffer count check\n\nIf the supplied msg[2] (num_buffers) is 0x3FFFFFFF, the expression\n6 + num_buffers * 4 wraps to 2 and the bounds check passes, letting\nthe parser loop far past the end of the message BO. Triggering it\nadditionally requires a ~4GiB mapping so that msg[1] survives the\nearlier \"header does not fit in BO\" check.\n\nRewrite the test in division form, which is overflow-free by\nconstruction. Also update the message to reflect that msg is invalid.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdgpu/vcn: fix integer overflow in dec_msg buffer count check\n\nIf the supplied msg[2] (num_buffers) is 0x3FFFFFFF, the expression\n6 + num_buffers * 4 wraps to 2 and the bounds check passes, letting\nthe parser loop far past the end of the message BO. Triggering it\nadditionally requires a ~4GiB mapping so that msg[1] survives the\nearlier \"header does not fit in BO\" check.\n\nRewrite the test in division form, which is overflow-free by\nconstruction. Also update the message to reflect that msg is invalid.","source":"cvelist"}],"published":"2026-09-16T10:30:50.946Z","modified":"2026-10-19T09:18:25.673Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","score":7.1,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"88411caee8f576d6b5abf6531232fcc0ce756dc5","fixed":"c2340281be4ddacb8c203e2bce59b126d1d6c4c8","status":"affected"},{"type":"git","introduced":"c72a8b4dc6d598e3831ef3abd9c6527dfbf4810e","fixed":"6dceaeceaa7c8396339f3ea34b0110cb912ca61b","status":"affected"},{"type":"git","introduced":"7688143ca62edeecacb3ba0a2cea129dbd262a18","fixed":"47799e1f893d47d8af231710a61065e3ec8a13e8","status":"affected"},{"type":"git","introduced":"63b51e8a9d54317d31cc3856c1e12407070d5fc2","fixed":"7e28853c78c20bb8ba4c1dba702430cd05e09f76","status":"affected"},{"type":"git","introduced":"b193019860d61e92da395eae2011f2f6716b182f","fixed":"9ae19bd60891bea0a7b7504cc8dbfe74570ac3b3","status":"affected"},{"type":"git","introduced":"b193019860d61e92da395eae2011f2f6716b182f","fixed":"4d7390530853eb7befda9cc786e4c86e8ad7ac9e","status":"affected"},{"type":"git","version":"f55552adb100eb54a6e6dabff4fbdc8679bd3fa0","status":"affected"},{"type":"git","version":"82c535eff05490c71153af57de9fe85502fcb5d5","status":"affected"},{"type":"git","version":"638d3e0b9eb77aa53fdd60e2b928761d16ba76fa","status":"affected"},{"type":"git","version":"870c8738c3774336baedddd0240951d078a703b8","status":"affected"},{"type":"git","version":"638e48ee39d0f2af9336f917a6f5d6692dd64d93","status":"affected"},{"type":"git","version":"e382e0b81a3e7bd21504fee1d01ae8b08f84d3a7","status":"affected"},{"type":"git","version":"3c817a60b09eaab926e475088e750936efcc95ae","status":"affected"},{"type":"semver","introduced":"6.1.175","fixed":"6.1.188","status":"affected"},{"type":"semver","introduced":"6.6.140","fixed":"6.6.157","status":"affected"},{"type":"semver","introduced":"6.12.90","fixed":"6.12.110","status":"affected"},{"type":"semver","introduced":"6.18.32","fixed":"6.18.51","status":"affected"},{"type":"semver","introduced":"5.15.209","fixed":"5.16","status":"affected"},{"type":"semver","introduced":"7.0.9","fixed":"7.1","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"7.1","status":"affected"},{"type":"semver","introduced":"0","fixed":"7.1","status":"unaffected"},{"type":"semver","introduced":"6.1.188","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.157","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.110","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.51","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.5","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","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/c2340281be4ddacb8c203e2bce59b126d1d6c4c8","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6dceaeceaa7c8396339f3ea34b0110cb912ca61b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/47799e1f893d47d8af231710a61065e3ec8a13e8","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7e28853c78c20bb8ba4c1dba702430cd05e09f76","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9ae19bd60891bea0a7b7504cc8dbfe74570ac3b3","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4d7390530853eb7befda9cc786e4c86e8ad7ac9e","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-89818","url":"https://www.cve.org/CVERecord?id=CVE-2026-89818","licence":"CVE Terms of Use","modified":"2026-10-19T08:53:12.347Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-89818","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89818","licence":"Public domain","modified":"2026-10-19T09:18:25.673Z"}],"updatedAt":"2026-11-25T22:59:38.946Z","epss":{"score":0.0016,"percentile":0.05381,"date":"2026-12-01T12:00:22.000Z"}}