CVE-2026-139040

Not scored yetLast modified Nov 30, 2026

Description

In the Linux kernel, the following vulnerability has been resolved:

media: vidtv: fix frontend reference leak on unbind

dvb_register_frontend() keeps two references to the frontend. One is released by dvb_unregister_frontend(), and the other by dvb_frontend_detach(). vidtv only called dvb_unregister_frontend(), so the second reference was never released. As a result, __dvb_frontend_free() was never called, leaking the frontend private data and its struct dvb_device.

The detach call was removed by commit 63101b756893 ("media: vidtv: fix driver unbind/remove") because it caused an OOPS. The demod .release callback freed vidtv_demod_state, and the I2C remove callbacks then accessed the freed state.

That commit also removed those accesses from the I2C remove callbacks. Restore the detach call, but remove the demod .release callback. vidtv_demod_state is owned by the I2C client and is already freed by vidtv_demod_i2c_remove(), so the frontend detach path should not free it.

Tested with kmemleak and KASAN over 10 bind/unbind cycles. The reported frontend and dvb_device leaks were present before the fix and were gone after it, with no KASAN reports.

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

No affected versions have been published.

Timeline

Published
Nov 30, 2026
Last modified
Nov 30, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-139041In the Linux kernel, the following vulnerability has been resolved: media: vicodec: make encoder CAPTURE dimensions read-only Setting the CVE-2026-1390427.8In the Linux kernel, the following vulnerability has been resolved: media: vicodec: fix out-of-bounds write on under-rounded coded dimensioCVE-2026-139043In the Linux kernel, the following vulnerability has been resolved: media: vim2m: keep transaction buffer count stable while streaming V4LCVE-2026-139044In the Linux kernel, the following vulnerability has been resolved: media: go7007: bound EZ-USB I2C transfers to the usb_buf size go7007_uCVE-2026-139045In the Linux kernel, the following vulnerability has been resolved: media: au0828: Free URBs when starting DVB streaming fails start_urb_tCVE-2026-139046In the Linux kernel, the following vulnerability has been resolved: media: cx231xx: Fix cleanup path on failure If cx231xx_init_v4l2() faiCVE-2026-139047In the Linux kernel, the following vulnerability has been resolved: media: cx231xx-audio: drain wq_trigger before audio fini audio_triggerCVE-2026-139048In the Linux kernel, the following vulnerability has been resolved: media: pci: hws: only init channels the device actually has hws_probe(CVE-2026-1390497.0In the Linux kernel, the following vulnerability has been resolved: media: hws: Wait for IRQ handler before returning buffers hws_stop_strCVE-2026-139054.2Race in Chrome for iOS in Google Chrome on iOS prior to 150.0.7871.47 allowed a local attacker to obtain potentially sensitive information fCVE-2026-139050In the Linux kernel, the following vulnerability has been resolved: mtd: rawnand: ndfc: use devm_platform_ioremap_resource() Replace the oCVE-2026-139051In the Linux kernel, the following vulnerability has been resolved: fs: make sure to call fsnotify_inoderemove() only once when inode is de
CVE-2026-139040: Unscored | Vulnix