CVE-2026-89806

drm/sysfb: ofdrm: Fix integer overflow in fb_size calculation

Published Sep 16, 2026 CVSS 3.1 · 8.4 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The Linux kernel’s DRM subsystem in the sysfb driver contains an integer overflow in the calculation of framebuffer size. The calculation fb_size = linebytes * height uses int operands; if both linebytes and height are large, multiplication can exceed INT_MAX, triggering undefined behavior. This overflow allows an attacker to potentially influence how kernel memory is allocated or accessed for framebuffers, leading to kernel memory corruption and possible privilege escalation.

Affected Systems

The issue exists in the Linux kernel’s DRM subsystem, specifically the sysfb driver’s ofdrm configuration. All Linux distributions that ship a kernel version prior to the stable commit adding check_mul_overflow() are affected. The change is part of the generic Linux kernel; no specific vendor scope beyond the Linux kernel itself.

Risk and Exploitability

The CVSS score of 8.4 indicates high severity, and the EPSS score of less than 1% shows a low probability of exploitation in the wild. The vulnerability is not listed in the CISA KEV catalog, implying no widespread exploitation documented yet. Based on the description, it is inferred that an attacker would need to trigger the framebuffer size calculation with large dimensions—i.e., influence the linebytes and height values—through a local or privileged interface such as a graphics driver or ioctl. This suggests the attack vector is likely local or requires elevated privileges, and from the overflow it may lead to arbitrary kernel memory writes and privilege escalation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the kernel to a version that includes the check_mul_overflow() patch for the ofdrm framebuffer size calculation.
  • If updating is not immediately possible, disable or remove the ofdrm framebuffer driver from the kernel configuration to eliminate the vulnerable code path.
  • Monitor logs for framebuffer-related kernel panics or corruption that could indicate exploitation.

Generated by OpenCVE AI on September 18, 2026 at 10:45 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4850-1 linux-6.12 security update
Debian DSA Debian DSA DSA-6568-1 linux security update
Ubuntu USN Ubuntu USN USN-9002-1 Linux kernel (NVIDIA Tegra) vulnerabilities
Ubuntu USN Ubuntu USN USN-9019-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9020-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9022-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9023-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9024-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9025-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9026-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9039-1 Linux kernel (Azure CVM) vulnerabilities
Ubuntu USN Ubuntu USN USN-9040-1 Linux kernel (Low Latency NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-9066-1 Linux kernel (HWE) vulnerabilities
History
Type Values Removed Values Added
Weaknesses CWE-190
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 8.4, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

Type Values Removed Values Added
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.
Title drm/sysfb: ofdrm: Fix integer overflow in fb_size calculation
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-190

    Integer Overflow or Wraparound

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Oct 21, 2026, 12:48 PM
Reserved
Sep 11, 2026, 7:38 PM
Status
Received
Published
Sep 16, 2026, 11:16 AM
Modified
Oct 21, 2026, 1:20 PM