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

drm/vc4: Fix a memory leak in hang state error path

When vc4_save_hang_state() encounters an early return condition, it
returns without freeing the previously allocated `kernel_state`,
leaking memory.

Add the missing kfree() calls by consolidating the early return paths
into a single place.
Published: 2026-05-06
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A flaw in the Linux kernel’s vc4 DRM driver causes a memory leak when the hang‑state capturing function returns early without freeing a previously allocated kernel block. The cumulative effect of repeated leaks can exhaust kernel memory, potentially rendering the system unresponsive or crashing the kernel. This vulnerability does not allow direct code execution, but it enables a local entity to degrade or deny service by repeatedly triggering the leak path.

Affected Systems

Any Linux system that includes the vc4 DRM driver is affected. The known affected products are the Linux kernel itself, with a range of versions up to at least 7.0‑rc7 and any earlier kernels containing the unpatched code before the referenced commit adds the missing kfree() calls. Since no specific version range is supplied, all kernels that ship the vulnerable vc4 code prior to the fix should be considered at risk.

Risk and Exploitability

The EPSS score is less than 1% and the vulnerability is not listed in the CISA KEV catalog, indicating a low probability of widespread exploitation to date. The likely attack vector is a local user or process that can interact with the Vulkan or DRM subsystem to trigger the leaked path, as inferred from the description. The CVSS score of 5.5 reflects moderate severity; the main risk is resource exhaustion leading to potential denial of service if the leak is repeatedly triggered by an attacker.

Generated by OpenCVE AI on May 11, 2026 at 18:53 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the Linux kernel to a version that includes the fix from the referenced commits
  • If a kernel upgrade cannot be performed immediately, disable the vc4 module by adding "blacklist vc4" to /etc/modprobe.d/blacklist.conf to prevent the vulnerable driver from loading
  • As a temporary fix if disabling is not feasible, apply a custom kernel patch that incorporates the missing kfree() calls from the commit diffs, then rebuild and install the patched kernel

Generated by OpenCVE AI on May 11, 2026 at 18:53 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 11 May 2026 17:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-401
CPEs cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc5:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc6:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc7:*:*:*:*:*:*
Metrics cvssV3_1

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


Thu, 07 May 2026 00:15:00 +0000


Wed, 06 May 2026 09:30:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: drm/vc4: Fix a memory leak in hang state error path When vc4_save_hang_state() encounters an early return condition, it returns without freeing the previously allocated `kernel_state`, leaking memory. Add the missing kfree() calls by consolidating the early return paths into a single place.
Title drm/vc4: Fix a memory leak in hang state error path
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-05-11T22:17:48.648Z

Reserved: 2026-05-01T14:12:55.984Z

Link: CVE-2026-43104

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2026-05-06T10:16:23.980

Modified: 2026-05-11T17:32:55.727

Link: CVE-2026-43104

cve-icon Redhat

Severity :

Publid Date: 2026-05-06T00:00:00Z

Links: CVE-2026-43104 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-05-11T19:00:13Z

Weaknesses