CVE-2026-139040
publishedmedia: vidtv: fix frontend reference leak on unbind
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux63101b75689331c5392c9330291f57b9fd2ef94c to < 2b45bc494aa22e56e3d7292a9b02841439584fee · 63101b75689331c5392c9330291f57b9fd2ef94c to < 2c755e120cefdf10cf2cb35e85e64e2bc8a03727 · 63101b75689331c5392c9330291f57b9fd2ef94c to < 7121f1fffce20419ffdb352650a49bb94aeef800 · 63101b75689331c5392c9330291f57b9fd2ef94c to < d2e17624f28f1c4805795f7cbb2e6f92554b9a75 · 63101b75689331c5392c9330291f57b9fd2ef94c to < 22797db3f9ca19e253cb2816a66fcbc9251464cb · 63101b75689331c5392c9330291f57b9fd2ef94c to < b0f8a0f8058e2e5811ed975cc24757f64c2962ce · 63101b75689331c5392c9330291f57b9fd2ef94c to < f438de68eb13e77b616f8e6373695d17598fbc7c · 63101b75689331c5392c9330291f57b9fd2ef94c to < 6f412f9fe6a1f3ce9694757f50353bbec221d832 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.10 (affected) · 0 to < 5.10 (unaffected · semver) · 5.10.275 through 5.10.* (unaffected · semver) · 5.15.226 through 5.15.* (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.117 through 6.12.* (unaffected · semver) · 6.18.63 through 6.18.* (unaffected · semver) · 7.3.4 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 63101b75689331c5392c9330291f57b9fd2ef94c to < 2b45bc494aa22e56e3d7292a9b02841439584fee (affected · git)63101b75689331c5392c9330291f57b9fd2ef94c to < 2c755e120cefdf10cf2cb35e85e64e2bc8a03727 (affected · git)63101b75689331c5392c9330291f57b9fd2ef94c to < 7121f1fffce20419ffdb352650a49bb94aeef800 (affected · git)63101b75689331c5392c9330291f57b9fd2ef94c to < d2e17624f28f1c4805795f7cbb2e6f92554b9a75 (affected · git)63101b75689331c5392c9330291f57b9fd2ef94c to < 22797db3f9ca19e253cb2816a66fcbc9251464cb (affected · git)63101b75689331c5392c9330291f57b9fd2ef94c to < b0f8a0f8058e2e5811ed975cc24757f64c2962ce (affected · git)63101b75689331c5392c9330291f57b9fd2ef94c to < f438de68eb13e77b616f8e6373695d17598fbc7c (affected · git)63101b75689331c5392c9330291f57b9fd2ef94c to < 6f412f9fe6a1f3ce9694757f50353bbec221d832 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.10 (affected)0 to < 5.10 (unaffected · semver)5.10.275 through 5.10.* (unaffected · semver)5.15.226 through 5.15.* (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.117 through 6.12.* (unaffected · semver)6.18.63 through 6.18.* (unaffected · semver)7.3.4 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
8- https://git.kernel.org/stable/c/22797db3f9ca19e253cb2816a66fcbc9251464cb
- https://git.kernel.org/stable/c/2b45bc494aa22e56e3d7292a9b02841439584fee
- https://git.kernel.org/stable/c/2c755e120cefdf10cf2cb35e85e64e2bc8a03727
- https://git.kernel.org/stable/c/6f412f9fe6a1f3ce9694757f50353bbec221d832
- https://git.kernel.org/stable/c/7121f1fffce20419ffdb352650a49bb94aeef800
- https://git.kernel.org/stable/c/b0f8a0f8058e2e5811ed975cc24757f64c2962ce
- https://git.kernel.org/stable/c/d2e17624f28f1c4805795f7cbb2e6f92554b9a75
- https://git.kernel.org/stable/c/f438de68eb13e77b616f8e6373695d17598fbc7c
Provider assertions
1Linux · cna
media: vidtv: fix frontend reference leak on unbind
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 31a6bc4aa434f3dc6f85b30ca6ee133bdd7b27b908dd601934e7cf8743cd88d1
- Ingested
- 30 Nov 2026, 13:36:40 UTC
- Source record
- Official CVE record