CVE-2026-89818 drm/amdgpu/vcn: fix integer overflow in dec_msg buffer count check
설명
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.
영향 받는 제품 제품 1개
-
해결 버전 있음
Linux
Linux
영향 받는 버전
- 6.1.175 이상 6.1.188 미만
- 6.6.140 이상 6.6.157 미만
- 6.12.90 이상 6.12.110 미만
- 6.18.32 이상 6.18.51 미만
- 5.15.209 이상 5.16 미만
- 7.0.9 이상 7.1 미만
- 7.1
해결 버전
- 6.1.188 이상
- 6.6.157 이상
- 6.12.110 이상
- 6.18.51 이상
- 5.16 이상
- 7.1 이상
- 7.1 미만
- 7.2.5 이상
참고 자료 6건
- git.kernel.org https://git.kernel.org/stable/c/47799e1f893d47d8af231710a61065e3ec8a13e8 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/4d7390530853eb7befda9cc786e4c86e8ad7ac9e (새 창)
- git.kernel.org https://git.kernel.org/stable/c/6dceaeceaa7c8396339f3ea34b0110cb912ca61b (새 창)
- git.kernel.org https://git.kernel.org/stable/c/7e28853c78c20bb8ba4c1dba702430cd05e09f76 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/9ae19bd60891bea0a7b7504cc8dbfe74570ac3b3 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/c2340281be4ddacb8c203e2bce59b126d1d6c4c8 (새 창)