In the Linux kernel, the following vulnerability has been resolved: drm/rockchip: dw_dp: Switch to drmm_kzalloc() Driver makes use of… (CVE-2026-74421)
A use-after-free vulnerability was identified and resolved in the Linux kernel's Rockchip DRM driver. The issue involved improper memory management where the encoder's internal structure was allocated with device-managed memory but accessed after being freed, leading to potential use-after-free conditions. The fix involved switching the allocation to a DRM-managed method to ensure the structure remains valid during cleanup.
AI Analysis
Technical Summary
The vulnerability in the Linux kernel's drm/rockchip driver stemmed from the use of devm_kzalloc() for allocating the encoder's internal structure, which is automatically freed during component unbinding. However, drm_encoder_cleanup() accessed this structure after it was freed, causing a use-after-free condition. The resolution was to switch the allocation to drmm_kzalloc(), a DRM-managed allocation that ensures the encoder structure remains accessible during cleanup and prevents use-after-free.
Potential Impact
This use-after-free vulnerability could lead to undefined behavior, including potential kernel crashes or memory corruption, if the freed encoder structure is accessed. No known exploits in the wild have been reported. The impact is limited to the Rockchip DRM driver within the Linux kernel.
Mitigation Recommendations
A fix has been implemented by switching from device-managed allocation (devm_kzalloc) to DRM-managed allocation (drmm_kzalloc) for the encoder's internal structure. Users should update to the Linux kernel version containing this fix once available. Patch status is not explicitly confirmed in the provided data; check the vendor advisory or Linux kernel mailing lists for the official patch and update guidance.
In the Linux kernel, the following vulnerability has been resolved: drm/rockchip: dw_dp: Switch to drmm_kzalloc() Driver makes use of… (CVE-2026-74421)
Description
A use-after-free vulnerability was identified and resolved in the Linux kernel's Rockchip DRM driver. The issue involved improper memory management where the encoder's internal structure was allocated with device-managed memory but accessed after being freed, leading to potential use-after-free conditions. The fix involved switching the allocation to a DRM-managed method to ensure the structure remains valid during cleanup.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in the Linux kernel's drm/rockchip driver stemmed from the use of devm_kzalloc() for allocating the encoder's internal structure, which is automatically freed during component unbinding. However, drm_encoder_cleanup() accessed this structure after it was freed, causing a use-after-free condition. The resolution was to switch the allocation to drmm_kzalloc(), a DRM-managed allocation that ensures the encoder structure remains accessible during cleanup and prevents use-after-free.
Potential Impact
This use-after-free vulnerability could lead to undefined behavior, including potential kernel crashes or memory corruption, if the freed encoder structure is accessed. No known exploits in the wild have been reported. The impact is limited to the Rockchip DRM driver within the Linux kernel.
Mitigation Recommendations
A fix has been implemented by switching from device-managed allocation (devm_kzalloc) to DRM-managed allocation (drmm_kzalloc) for the encoder's internal structure. Users should update to the Linux kernel version containing this fix once available. Patch status is not explicitly confirmed in the provided data; check the vendor advisory or Linux kernel mailing lists for the official patch and update guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-7jwx-fmp4-wp46
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-74421"]
- Ecosystems
- []
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a808b68bf8831d5394f53db
Added to database: 08/15/2026, 15:53:12 UTC
Last enriched: 08/15/2026, 15:58:52 UTC
Last updated: 08/15/2026, 16:08:30 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.