# CVE-2026-89818: drm/amdgpu/vcn: fix integer overflow in dec_msg buffer count check

- Severity: High 7.1 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 5% of CVEs (2026-12-01)
- Published: 2026-09-16T10:30:50.946Z
- Modified: 2026-10-19T09:18:25.673Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

drm/amdgpu/vcn: fix integer overflow in dec_msg buffer count check

If the supplied msg[2] (num_buffers) is 0x3FFFFFFF, the expression
6 + num_buffers * 4 wraps to 2 and the bounds check passes, letting
the parser loop far past the end of the message BO. Triggering it
additionally requires a ~4GiB mapping so that msg[1] survives the
earlier "header does not fit in BO" check.

Rewrite the test in division form, which is overflow-free by
construction. Also update the message to reflect that msg is invalid.

(As written by CVE List.)

## Affected

- Linux Linux: from 88411caee8f576d6b5abf6531232fcc0ce756dc5 before c2340281be4ddacb8c203e2bce59b126d1d6c4c8; from c72a8b4dc6d598e3831ef3abd9c6527dfbf4810e before 6dceaeceaa7c8396339f3ea34b0110cb912ca61b; from 7688143ca62edeecacb3ba0a2cea129dbd262a18 before 47799e1f893d47d8af231710a61065e3ec8a13e8; from 63b51e8a9d54317d31cc3856c1e12407070d5fc2 before 7e28853c78c20bb8ba4c1dba702430cd05e09f76; from b193019860d61e92da395eae2011f2f6716b182f before 9ae19bd60891bea0a7b7504cc8dbfe74570ac3b3; from b193019860d61e92da395eae2011f2f6716b182f before 4d7390530853eb7befda9cc786e4c86e8ad7ac9e; f55552adb100eb54a6e6dabff4fbdc8679bd3fa0; 82c535eff05490c71153af57de9fe85502fcb5d5; 638d3e0b9eb77aa53fdd60e2b928761d16ba76fa; 870c8738c3774336baedddd0240951d078a703b8; 638e48ee39d0f2af9336f917a6f5d6692dd64d93; e382e0b81a3e7bd21504fee1d01ae8b08f84d3a7; and 8 more (not affected: before 7.1; from 6.1.188 up to 6.1.*; from 6.6.157 up to 6.6.*; from 6.12.110 up to 6.12.*; from 6.18.51 up to 6.18.*; from 7.2.5 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/c2340281be4ddacb8c203e2bce59b126d1d6c4c8>
- <https://git.kernel.org/stable/c/6dceaeceaa7c8396339f3ea34b0110cb912ca61b>
- <https://git.kernel.org/stable/c/47799e1f893d47d8af231710a61065e3ec8a13e8>
- <https://git.kernel.org/stable/c/7e28853c78c20bb8ba4c1dba702430cd05e09f76>
- <https://git.kernel.org/stable/c/9ae19bd60891bea0a7b7504cc8dbfe74570ac3b3>
- <https://git.kernel.org/stable/c/4d7390530853eb7befda9cc786e4c86e8ad7ac9e>

## Sources

- CVE List: [CVE-2026-89818](https://www.cve.org/CVERecord?id=CVE-2026-89818), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-89818](https://nvd.nist.gov/vuln/detail/CVE-2026-89818), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-89818 · Whole record: https://cve.day/CVE-2026-89818.json · Rebuilt by cve.day 2026-11-25T22:59:38.946Z
