Description
In the Linux kernel, the following vulnerability has been resolved:

drm/komeda: fix integer overflow in AFBC framebuffer size check

The AFBC framebuffer size validation calculates the minimum required
buffer size by adding the AFBC payload size to the framebuffer offset.
This addition is performed without checking for integer overflow.

If the addition oveflows, the size check may incorrectly succed and
allow userspace to provide an undersized drm_gem_object, potentially
leading to out-of-bounds memory access.

Add usage of check_add_overflow() to safely compute the minimum
required size and reject the framebuffer if an overflow is detected.
This makes the AFBC size validation more robust against malformed.

Found by Linux Verification Center (linuxtesting.org) with SVACE.
Published: 2026-06-24
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

In the Linux kernel DRM Komeda driver, an integer overflow occurs when computing the minimum required buffer size for an AFBC framebuffer. The overflow causes the validation to incorrectly succeed, allowing userspace to supply an undersized drm_gem_object that can write beyond the intended memory region. This out-of-bounds write may corrupt kernel memory or crash the system, potentially enabling arbitrary code execution in kernel mode or causing a denial of service. The flaw stems from insufficient bounds checking during an arithmetic addition.

Affected Systems

The vulnerability exists in the Linux kernel, affecting any kernel build that contains the Komeda DRM driver before the patch that adds check_add_overflow. The vendor is Linux and the product is the Linux kernel; no specific version range is listed, so any kernel missing the fix is potentially vulnerable.

Risk and Exploitability

The EPSS score is not available, and the issue is not listed in KEV, leaving the public exploitation likelihood uncertain. Nonetheless, an integer overflow in a kernel driver suggests a high‑impact flaw triggered by local users who can open DRM devices. If exploited, an attacker could achieve kernel privilege escalation or destabilize the system via memory corruption.

Generated by OpenCVE AI on June 24, 2026 at 19:19 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the Linux kernel to a version that contains the Komeda driver patch, which adds overflow checking to the AFBC framebuffer size validation.
  • If a kernel update cannot be disable AFBC support in the kernel configuration or by using a boot‑time parameter to prevent the vulnerable functionality from being enabled.
  • Restrict access to DRM devices by limiting the active user group membership (e.g., drm group) and enforce SELinux/AppArmor policies to restrict which processes may open the affected devices.

Generated by OpenCVE AI on June 24, 2026 at 19:19 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 24 Jun 2026 19:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-119
CWE-680

Wed, 24 Jun 2026 17:15:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: drm/komeda: fix integer overflow in AFBC framebuffer size check The AFBC framebuffer size validation calculates the minimum required buffer size by adding the AFBC payload size to the framebuffer offset. This addition is performed without checking for integer overflow. If the addition oveflows, the size check may incorrectly succed and allow userspace to provide an undersized drm_gem_object, potentially leading to out-of-bounds memory access. Add usage of check_add_overflow() to safely compute the minimum required size and reject the framebuffer if an overflow is detected. This makes the AFBC size validation more robust against malformed. Found by Linux Verification Center (linuxtesting.org) with SVACE.
Title drm/komeda: fix integer overflow in AFBC framebuffer size check
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-06-24T16:30:10.140Z

Reserved: 2026-06-09T07:44:35.382Z

Link: CVE-2026-53068

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-24T19:30:08Z

Weaknesses
  • CWE-119

    Improper Restriction of Operations within the Bounds of a Memory Buffer

  • CWE-680

    Integer Overflow to Buffer Overflow