Bug 2535194 (CVE-2026-89806) - CVE-2026-89806 kernel: drm/sysfb: ofdrm: Fix integer overflow in fb_size calculation
Summary: CVE-2026-89806 kernel: drm/sysfb: ofdrm: Fix integer overflow in fb_size calc...
Keywords:
Status: NEW
Alias: CVE-2026-89806
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-09-16 11:22 UTC by OSIDB Bzimport
Modified: 2026-11-04 18:55 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-09-16 11:22:11 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.