{"id":"CVE-2026-74422","aliases":["CVE-2026-74422"],"related":[],"kind":"vulnerability","state":"published","title":"drm/rockchip: inno-hdmi: Switch to drmm_kzalloc()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/rockchip: inno-hdmi: 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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/rockchip: inno-hdmi: 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.","source":"cvelist"}],"published":"2026-08-15T05:59:25.955Z","modified":"2026-08-17T06:19:37.633Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"969325a2597ebc4cb001a92992f06f698ab2b467","fixed":"195ab348af4b2bdf5988f9397059317bb68fd797","status":"affected"},{"type":"git","introduced":"969325a2597ebc4cb001a92992f06f698ab2b467","fixed":"3cc50e7f73fcf79f28660b9d91566b13cb62e520","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"7.0","status":"affected"},{"type":"semver","introduced":"0","fixed":"7.0","status":"unaffected"},{"type":"semver","introduced":"7.1.5","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/195ab348af4b2bdf5988f9397059317bb68fd797","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3cc50e7f73fcf79f28660b9d91566b13cb62e520","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-74422","url":"https://www.cve.org/CVERecord?id=CVE-2026-74422","licence":"CVE Terms of Use","modified":"2026-08-17T05:19:07.404Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-74422","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-74422","licence":"Public domain","modified":"2026-08-17T06:19:37.633Z"}],"updatedAt":"2026-11-25T22:59:33.204Z","epss":{"score":0.00145,"percentile":0.03991,"date":"2026-12-01T12:00:22.000Z"}}