CVE-2026-74421
Received Received - Intake

Use-After-Free in Rockchip DRM Driver

Vulnerability report for CVE-2026-74421, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-15

Last updated on: 2026-08-17

Assigner: kernel.org

Description

In the Linux kernel, the following vulnerability has been resolved: drm/rockchip: dw_dp: 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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-15
Last Modified
2026-08-17
Generated
2026-09-04
AI Q&A
2026-08-15
EPSS Evaluated
2026-09-03
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
rockchip drm *

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This is a use-after-free vulnerability in the Linux kernel's Rockchip DRM driver. The issue occurs when the driver's internal structure for the display encoder is allocated with devm_kzalloc() but later accessed after being freed during cleanup. The encoder cleanup function tries to access this freed memory when the DRM device is released, leading to potential crashes or other undefined behavior.

Detection Guidance

This vulnerability is specific to the Linux kernel's Rockchip DRM driver and involves a use-after-free issue in the display encoder cleanup process. Detection requires checking the kernel version and Rockchip DRM driver configuration. Use commands like 'uname -a' to check the kernel version and 'lsmod | grep rockchip' to verify if the vulnerable driver is loaded.

Impact Analysis

If exploited, this vulnerability could cause system instability, crashes, or unexpected behavior in systems running vulnerable versions of the Linux kernel with the Rockchip DRM driver. It may lead to denial-of-service conditions or potential privilege escalation if combined with other exploits.

Compliance Impact

This vulnerability is a use-after-free issue in the Linux kernel's Rockchip DRM driver, which could lead to memory corruption or crashes. It does not directly affect compliance with standards like GDPR or HIPAA, as those focus on data protection and privacy rather than kernel memory management.

Mitigation Strategies

Immediate mitigation involves updating the Linux kernel to a patched version where this issue is resolved. Check your distribution's security updates or kernel release notes for a fix. If an update is unavailable, consider disabling the Rockchip DRM driver if not in use.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-74421. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart