CVE-2026-89806 drm/sysfb: ofdrm: Fix integer overflow in fb_size calculation
설명
In the Linux kernel, the following vulnerability has been resolved: drm/sysfb: ofdrm: Fix integer overflow in fb_size calculation The framebuffer size calculation `fb_size = linebytes * height` can overflow when both values are large (e.g., 46341 * 46341 > INT_MAX). Since linebytes and height are both int types, the multiplication is performed as int * int, which results in undefined behavior on overflow. Use check_mul_overflow() to detect and prevent this overflow, consistent with the approach used in simpledrm.c and corebootdrm.c.
영향 받는 제품 제품 1개
-
해결 버전 있음
Linux
Linux
영향 받는 버전
- 6.2
해결 버전
- 6.2 미만
- 6.6.160 이상
- 6.12.112 이상
- 6.18.51 이상
- 7.2.5 이상
참고 자료 5건
- git.kernel.org https://git.kernel.org/stable/c/0cec951667a624fafaca2695c46042f45851caec (새 창)
- git.kernel.org https://git.kernel.org/stable/c/711fe7949d37656a5586244afee9523b9e5e37e9 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/c6f48e59ece0123f6a11527ad4d89b21c2d65b87 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/d9daf9a6e7a6f82ef338a09386eefc6807100d3f (새 창)
- git.kernel.org https://git.kernel.org/stable/c/ded6ad826fe0fd059333d3a3b3e1742c8e45ff41 (새 창)