{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-74421","id":"CVE-2026-74421","title":"drm/rockchip: dw_dp: Switch to drmm_kzalloc()","description":"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 com","descriptionLong":"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.","published":"2026-08-15T05:59:25.328Z","updated":"2026-10-28T02:30:57.456046280Z","reserved":"2026-08-15T05:44:03.894Z","status":"Received","rejected":false,"assigner":"Linux","metric":null,"metrics":[],"rating":"unrated","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"d68ba7bac9555d05e2f5b310c898b2a5c7eff174","lessThan":"0d60b835bca42f0f790689dd47819ed881a92ccc","status":"affected","versionType":"git"},{"version":"d68ba7bac9555d05e2f5b310c898b2a5c7eff174","lessThan":"6b0b92d1110eccccbd5ba2949bd2b9fb6ea5fc12","status":"affected","versionType":"git"},{"version":"d68ba7bac9555d05e2f5b310c898b2a5c7eff174","lessThan":"ed9da8d23020352ad24c528db09b5acdd78b81fd","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.18","status":"affected"},{"version":"0","lessThan":"6.18","status":"unaffected","versionType":"semver"},{"version":"6.18.40","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.1.5","lessThanOrEqual":"7.1.*","status":"unaffected","versionType":"semver"},{"version":"7.2","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/0d60b835bca42f0f790689dd47819ed881a92ccc","tags":["web"]},{"url":"https://git.kernel.org/stable/c/6b0b92d1110eccccbd5ba2949bd2b9fb6ea5fc12","tags":["web"]},{"url":"https://git.kernel.org/stable/c/ed9da8d23020352ad24c528db09b5acdd78b81fd","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74421.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-74421","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00206,"epssPercentile":0.10931,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-74421","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-74421","ok":true,"note":"Received"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-74421","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-74421","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}