# CVE-2026-89806: drm/sysfb: ofdrm: Fix integer overflow in fb_size calculation

- Severity: High 8.4 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/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.19%, higher than 8% of CVEs (2026-12-01)
- Published: 2026-09-16T10:30:39.548Z
- Modified: 2026-10-21T13:20:28.067Z
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from c8a17756c42581ba1a567d1dd3b69e8f5619a7d8 before 0cec951667a624fafaca2695c46042f45851caec; from c8a17756c42581ba1a567d1dd3b69e8f5619a7d8 before 711fe7949d37656a5586244afee9523b9e5e37e9; from c8a17756c42581ba1a567d1dd3b69e8f5619a7d8 before ded6ad826fe0fd059333d3a3b3e1742c8e45ff41; from c8a17756c42581ba1a567d1dd3b69e8f5619a7d8 before d9daf9a6e7a6f82ef338a09386eefc6807100d3f; from c8a17756c42581ba1a567d1dd3b69e8f5619a7d8 before c6f48e59ece0123f6a11527ad4d89b21c2d65b87; 6.2 (not affected: before 6.2; from 6.6.160 up to 6.6.*; from 6.12.112 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/0cec951667a624fafaca2695c46042f45851caec>
- <https://git.kernel.org/stable/c/711fe7949d37656a5586244afee9523b9e5e37e9>
- <https://git.kernel.org/stable/c/ded6ad826fe0fd059333d3a3b3e1742c8e45ff41>
- <https://git.kernel.org/stable/c/d9daf9a6e7a6f82ef338a09386eefc6807100d3f>
- <https://git.kernel.org/stable/c/c6f48e59ece0123f6a11527ad4d89b21c2d65b87>

## Sources

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

---

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