Skip to main content
← All vulnerabilities
CVE-2026-89870

media: zoran: Avoid freeing a registered video_device twice

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.10.273, 5.15.224, 5.17, 5.18, 6.1.188, and 4 more
None on Exploit-DB, Metasploit or GitHub

Summary

In the Linux kernel, the following vulnerability has been resolved: media: zoran: Avoid freeing a registered video_device twice zoran_init_video_device() installs zoran_vdev_release() as the video_device release callback through zoran_template. After video_register_device() succeeds, video_unregister_device() drops the registered video_device reference and the V4L2 core eventually invokes that release callback, which kfree()s the video_device. zoran_exit_video_devices() called video_unregister_device() and then kfree(zr->video_dev), so device teardown could free the same video_device twice. Remove the direct kfree() and clear the cached pointer after unregistering. The pre-registration failure path keeps its manual free because the video_device was not registered there. This issue was found by a static analysis checker and confirmed by manual source review.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • Linux Linux

    From 5.10.110 · fixed in 5.10.273; From 5.15.33 · fixed in 5.15.224; From 5.16.19 · fixed in 5.17; From 5.17.2 · fixed in 5.18

  • Linux Linux

    5.18

  • KernelLinux

    From 5.18.0 · fixed in 6.1.188; From 6.2.0 · fixed in 6.6.157; From 6.7.0 · fixed in 6.12.110; From 6.13.0 · fixed in 6.18.51; From 6.19.0 · fixed in 7.2.5

References 8

git.kernel.org