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

drm/rockchip: inno-hdmi: Switch to drmm_kzalloc()

Driver makes use of drmm_encoder_init() to initialize the encoder and
automatically handle the cleanup by registering drm_encoder_cleanup()
with drmm_add_action().

However, the internal structure containing the encoder part gets
allocated with devm_kzalloc(), which happens while component_bind_all()
is being called from Rockchip DRM driver. The component framework
further ensures it is deallocated as part of releasing all the resources
claimed during bind, which is triggered from component_unbind_all().

When the reference to the DRM device gets eventually dropped via
drm_dev_put() in rockchip_drm_unbind(), drmm_encoder_alloc_release()
attempts to access the now released encoder structure, leading to
use-after-free.

Ensure driver's internal structure is still reachable on encoder cleanup
by switching from a device-managed allocation to a drm-managed one.
Published: 2026-08-15
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The flaw occurs in the Rockchip DRM driver for the HDMI component. The driver allocates an internal encoder structure with devm_kzalloc during component binding, which is automatically freed when bindings are torn down. A cleanup routine later accesses this now-freed structure because the DRM device reference has already been released, causing a use‑after‑free. In a kernel context this anomaly can allow a local attacker to perform memory corruption that may lead to arbitrary code execution. The possibility of privilege escalation is inferred from the nature of the kernel use‑after‑free and is not explicitly documented in the advisory.

Affected Systems

The vulnerability applies to the Linux kernel's Rockchip DRM driver, specifically the inno‑hdmi component. Any kernel build that contains the unpatched Rockchip HDMI code is affected; no precise version range is provided, so all current kernels with the buggy code should be considered at risk.

Risk and Exploitability

The CVSS score of 5.5 indicates medium severity for this kernel use‑after‑free. The EPSS score of < 1% shows a low probability of exploitation currently, and the vulnerability is not listed in the CISA KEV catalog. Exploitation would likely require local access that triggers the driver unbinding process, so the risk to remote attackers is low; however, a local compromise could lead to privilege escalation. No publicly known exploit exists.

Generated by OpenCVE AI on August 21, 2026 at 23:12 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the latest Linux kernel update that includes the Rockchip DRM patch.
  • If an immediate update is not possible, disable or unload the Rockchip DRM HDMI driver until the patch is applied.
  • Monitor system logs for kernel crashes or abnormal memory usage that could indicate exploitation attempts.

Generated by OpenCVE AI on August 21, 2026 at 23:12 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 21 Aug 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-825
References
Metrics threat_severity

None

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'}

threat_severity

Moderate


Sat, 15 Aug 2026 06:15:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: drm/rockchip: inno-hdmi: Switch to drmm_kzalloc() Driver makes use of drmm_encoder_init() to initialize the encoder and automatically handle the cleanup by registering drm_encoder_cleanup() with drmm_add_action(). However, the internal structure containing the encoder part gets allocated with devm_kzalloc(), which happens while component_bind_all() is being called from Rockchip DRM driver. The component framework further ensures it is deallocated as part of releasing all the resources claimed during bind, which is triggered from component_unbind_all(). When the reference to the DRM device gets eventually dropped via drm_dev_put() in rockchip_drm_unbind(), drmm_encoder_alloc_release() attempts to access the now released encoder structure, leading to use-after-free. Ensure driver's internal structure is still reachable on encoder cleanup by switching from a device-managed allocation to a drm-managed one.
Title drm/rockchip: inno-hdmi: Switch to drmm_kzalloc()
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-08-17T05:19:07.404Z

Reserved: 2026-08-15T05:44:03.894Z

Link: CVE-2026-74422

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-15T06:22:44.293

Modified: 2026-08-17T06:19:37.633

Link: CVE-2026-74422

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-08-15T00:00:00Z

Links: CVE-2026-74422 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-21T23:15:05Z

Weaknesses
  • CWE-825

    Expired Pointer Dereference