CVE-2026-89870

media: zoran: Avoid freeing a registered video_device twice

HIGH
7.8
CVSS Score
Published: September 16, 2026 at 10:31 AM UTC
Updated: October 19, 2026 at 09:18 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.2%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

1e501ec38796f43e995731d1bcd4173cb1ccfce05.10.1105.15.335.16.195.17.25.1882e3a496eb56da0b9f29fdc5b63cedb3289e91debd01629315ffd5b63da91d0bd529a77d30e55028c1ba65100a359fe28cfe37e09e10c99f247cbf1eff3357bffd9fb78f59762d8955afc7382a279079
Vendor states this is fixed in 0735e0b5a96761a9ce277a238e834008ad92a0a5 (fixed)
Vendor states this is fixed in 3ad6cf27505017a6794f5f96c31218c2291e951b (fixed)
Vendor states this is fixed in 4d99d8d0d895489064783601a516bd45812fa992 (fixed)
Vendor states this is fixed in 672dbccf4351370dad002d3c78dbb29ca1588f22 (fixed)
Vendor states this is fixed in c4acac8cdc005b2d14b6cef5e215d264212857f3 (fixed)
Vendor states this is fixed in f1c4f3885df1f09bcab5296d86834d104f865e86 (fixed)
Affected range stops below 5.11, so it looks safe — our inference, not a vendor statement
Affected range stops below 5.16, so it looks safe — our inference, not a vendor statement
Affected range stops below 5.17, so it looks safe — our inference, not a vendor statement
Vendor states this is fixed in 5.18 (unaffected)
Vendor states this is fixed in 6.1.188 (unaffected)
Vendor states this is fixed in 6.12.110 (unaffected)
Vendor states this is fixed in 6.18.51 (unaffected)
Vendor states this is fixed in 6.6.157 (unaffected)
Vendor states this is fixed in 7.2.5 (unaffected)
Vendor states this is fixed in 7.3 (unaffected)
Vendor states this is fixed in 7.3-rc1 (unaffected)

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

CVSS

7.8HIGHLinux
Vector?

Quick Info

StatusRECEIVED

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card