{"id":"CVE-2026-89818","summary":"drm/amdgpu/vcn: fix integer overflow in dec_msg buffer count check","details":"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.","modified":"2026-11-13T04:07:09.507182624Z","published":"2026-09-16T10:30:50.946Z","related":["SUSE-SU-2026:24550-1","SUSE-SU-2026:24619-1","SUSE-SU-2026:24643-1","SUSE-SU-2026:24648-1","SUSE-SU-2026:24651-1","SUSE-SU-2026:24662-1","SUSE-SU-2026:5091-1","openSUSE-SU-2026:11880-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89818.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/47799e1f893d47d8af231710a61065e3ec8a13e8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4d7390530853eb7befda9cc786e4c86e8ad7ac9e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6dceaeceaa7c8396339f3ea34b0110cb912ca61b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7e28853c78c20bb8ba4c1dba702430cd05e09f76"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9ae19bd60891bea0a7b7504cc8dbfe74570ac3b3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c2340281be4ddacb8c203e2bce59b126d1d6c4c8"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89818.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89818"},{"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":"88411caee8f576d6b5abf6531232fcc0ce756dc5"},{"fixed":"c2340281be4ddacb8c203e2bce59b126d1d6c4c8"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"c72a8b4dc6d598e3831ef3abd9c6527dfbf4810e"},{"fixed":"6dceaeceaa7c8396339f3ea34b0110cb912ca61b"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"7688143ca62edeecacb3ba0a2cea129dbd262a18"},{"fixed":"47799e1f893d47d8af231710a61065e3ec8a13e8"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"63b51e8a9d54317d31cc3856c1e12407070d5fc2"},{"fixed":"7e28853c78c20bb8ba4c1dba702430cd05e09f76"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"b193019860d61e92da395eae2011f2f6716b182f"},{"fixed":"9ae19bd60891bea0a7b7504cc8dbfe74570ac3b3"},{"fixed":"4d7390530853eb7befda9cc786e4c86e8ad7ac9e"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"f55552adb100eb54a6e6dabff4fbdc8679bd3fa0"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"82c535eff05490c71153af57de9fe85502fcb5d5"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"638d3e0b9eb77aa53fdd60e2b928761d16ba76fa"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"870c8738c3774336baedddd0240951d078a703b8"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"638e48ee39d0f2af9336f917a6f5d6692dd64d93"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"e382e0b81a3e7bd21504fee1d01ae8b08f84d3a7"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"3c817a60b09eaab926e475088e750936efcc95ae"}]}],"versions":["v6.1.187","v6.1.186","v6.1.185","v6.1.184","v6.1.183","v6.1.182","v6.1.181","v6.1.180","v6.1.179","v6.1.178","v6.1.177","v6.1.176","v6.1.175","v6.6.156","v6.6.155","v6.6.154","v6.6.153","v6.6.152","v6.6.151","v6.6.150","v6.6.149","v6.6.148","v6.6.147","v6.6.146","v6.6.145","v6.6.144","v6.6.143","v6.6.142","v6.6.141","v6.6.140","v6.12.109","v6.12.108","v6.12.107","v6.12.106","v6.12.105","v6.12.104","v6.12.103","v6.12.102","v6.12.101","v6.12.100","v6.12.99","v6.12.98","v6.12.97","v6.12.96","v6.12.95","v6.12.94","v6.12.93","v6.12.92","v6.12.91","v6.12.90","v6.18.50","v6.18.49","v6.18.48","v6.18.47","v6.18.46","v6.18.45","v6.18.44","v6.18.43","v6.18.42","v6.18.41","v6.18.40","v6.18.39","v6.18.38","v6.18.37","v6.18.36","v6.18.35","v6.18.34","v6.18.33","v6.18.32","v5.15.225","v5.15.224","v5.15.223","v5.15.222","v5.15.221","v5.15.220","v5.15.219","v5.15.218","v5.15.217","v5.15.216","v5.15.215","v5.15.214","v5.15.213","v5.15.212","v5.15.211","v5.15.210","v5.15.209","v6.1.192","v6.1.191","v6.1.190","v6.1.189","v6.1.188","v6.6.162","v6.6.161","v6.6.160","v6.6.159","v6.6.158","v6.6.157","v6.12.117","v6.12.116","v6.12.115","v6.12.114","v6.12.113","v6.12.112","v6.12.111","v6.12.110","v6.18.63","v6.18.62","v6.18.61","v6.18.60","v6.18.59","v6.18.58","v6.18.57","v6.18.56","v6.18.55","v6.18.54","v6.18.53","v6.18.52","v6.18.51","v7.0.14","v7.0.13","v7.0.12","v7.0.11","v7.0.10","v7.0.9"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-89818.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.15.209"},{"fixed":"5.16"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.1.175"},{"fixed":"6.1.188"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.6.140"},{"fixed":"6.6.157"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.12.90"},{"fixed":"6.12.110"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.18.32"},{"fixed":"6.18.51"}]},{"type":"ECOSYSTEM","events":[{"introduced":"7.0.9"},{"fixed":"7.1"}]},{"type":"ECOSYSTEM","events":[{"introduced":"7.1.0"},{"fixed":"7.2.5"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-89818.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H"}]}