{"id":"CVE-2026-74421","published":"2026-08-15T05:59:25Z","modified":"2026-08-17T05:19:06Z","title":"drm/rockchip: dw_dp: Switch to drmm_kzalloc()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/rockchip: dw_dp: Switch to drmm_kzalloc()\n\nDriver makes use of drmm_encoder_init() to initialize the encoder and\nautomatically handle the cleanup by registering drm_encoder_cleanup()\nwith drmm_add_action().\n\nHowever, the internal structure containing the encoder part gets\nallocated with devm_kzalloc(), which happens while component_bind_all()\nis being called from Rockchip DRM driver.  The component framework\nfurther ensures it is deallocated as part of releasing all the resources\nclaimed during bind, which is triggered from component_unbind_all().\n\nWhen the reference to the DRM device gets eventually dropped via\ndrm_dev_put() in rockchip_drm_unbind(), drmm_encoder_alloc_release()\nattempts to access the now released encoder structure, leading to\nuse-after-free.\n\nEnsure driver's internal structure is still reachable on encoder cleanup\nby switching from a device-managed allocation to a drm-managed one.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00206,"percentile":0.06015,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/0d60b835bca42f0f790689dd47819ed881a92ccc","tags":[]},{"url":"https://git.kernel.org/stable/c/6b0b92d1110eccccbd5ba2949bd2b9fb6ea5fc12","tags":[]},{"url":"https://git.kernel.org/stable/c/ed9da8d23020352ad24c528db09b5acdd78b81fd","tags":[]}],"priority":{"score":1.2,"factors":[{"name":"EPSS percentile","points":1.2}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= d68ba7bac9555d05e2f5b310c898b2a5c7eff174, < 0d60b835bca42f0f790689dd47819ed881a92ccc",">= d68ba7bac9555d05e2f5b310c898b2a5c7eff174, < 6b0b92d1110eccccbd5ba2949bd2b9fb6ea5fc12",">= d68ba7bac9555d05e2f5b310c898b2a5c7eff174, < ed9da8d23020352ad24c528db09b5acdd78b81fd"]},{"vendor":"Linux","product":"Linux","versions":["6.18"]}],"euvd":{"id":"EUVD-2026-59568","exploited":false,"provenance":"source"}}