PT-2026-163081
CVE-2026-139040
·
Published
2026-11-30
·
Updated
2026-11-30
Description by
Score
N/A
Not availableNo severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.
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.
Found an issue in the description? Have something to add? Feel free to write us 👾