# CVE-2026-89870: media: zoran: Avoid freeing a registered video_device twice

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2026-09-16T10:31:39.271Z
- Modified: 2026-10-30T13:20:34.007Z
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from bd01629315ffd5b63da91d0bd529a77d30e55028 before 29792762e65d4eefbe75b6048c59763fd844191a; from ff3357bffd9fb78f59762d8955afc7382a279079 before 99277a387802eb6c1907c73f09d746908cc64913; from 82e3a496eb56da0b9f29fdc5b63cedb3289e91de before 3ad6cf27505017a6794f5f96c31218c2291e951b; from 82e3a496eb56da0b9f29fdc5b63cedb3289e91de before c4acac8cdc005b2d14b6cef5e215d264212857f3; from 82e3a496eb56da0b9f29fdc5b63cedb3289e91de before 4d99d8d0d895489064783601a516bd45812fa992; from 82e3a496eb56da0b9f29fdc5b63cedb3289e91de before f1c4f3885df1f09bcab5296d86834d104f865e86; from 82e3a496eb56da0b9f29fdc5b63cedb3289e91de before 672dbccf4351370dad002d3c78dbb29ca1588f22; from 82e3a496eb56da0b9f29fdc5b63cedb3289e91de before 0735e0b5a96761a9ce277a238e834008ad92a0a5; c1ba65100a359fe28cfe37e09e10c99f247cbf1e; 1e501ec38796f43e995731d1bcd4173cb1ccfce0; from 5.10.110 before 5.10.273; from 5.15.33 before 5.15.224; and 3 more (not affected: before 5.18; from 5.10.273 up to 5.10.*; from 5.15.224 up to 5.15.*; from 6.1.188 up to 6.1.*; from 6.6.157 up to 6.6.*; from 6.12.110 up to 6.12.*; from 6.18.51 up to 6.18.*; from 7.2.5 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/29792762e65d4eefbe75b6048c59763fd844191a>
- <https://git.kernel.org/stable/c/99277a387802eb6c1907c73f09d746908cc64913>
- <https://git.kernel.org/stable/c/3ad6cf27505017a6794f5f96c31218c2291e951b>
- <https://git.kernel.org/stable/c/c4acac8cdc005b2d14b6cef5e215d264212857f3>
- <https://git.kernel.org/stable/c/4d99d8d0d895489064783601a516bd45812fa992>
- <https://git.kernel.org/stable/c/f1c4f3885df1f09bcab5296d86834d104f865e86>
- <https://git.kernel.org/stable/c/672dbccf4351370dad002d3c78dbb29ca1588f22>
- <https://git.kernel.org/stable/c/0735e0b5a96761a9ce277a238e834008ad92a0a5>

## Sources

- CVE List: [CVE-2026-89870](https://www.cve.org/CVERecord?id=CVE-2026-89870), CVE Terms of Use, modified 2026-10-30
- NVD: [CVE-2026-89870](https://nvd.nist.gov/vuln/detail/CVE-2026-89870), Public domain, modified 2026-10-30

---

Page: https://cve.day/CVE-2026-89870 · Whole record: https://cve.day/CVE-2026-89870.json · Rebuilt by cve.day 2026-11-25T22:59:38.962Z
