media: usbtv: keep device alive while ALSA card exists
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel fc530fe168bb2b745a93f553ad21fc25fd9cba3d, Kernel 1618257cb0aba4ce342ae8c0228368c24161f5fb, Kernel 239d1683e08b2aee2a15ef35706e1ea9a76681d8 and 12 more.
In the Linux kernel, the following vulnerability has been resolved: media: usbtv: keep device alive while ALSA card exists The ALSA PCM callbacks store the driver state in pcm->private_data. An open PCM file can outlive USB disconnect because usbtv_audio_free() uses snd_card_free_when_closed(). The disconnect path can then drop the V4L2 device reference and free struct usbtv before ALSA releases the substream, so a later close dereferences freed memory in snd_usbtv_pcm_close(). Take a V4L2 device reference for the ALSA card and drop it from the card private_free callback. This keeps struct usbtv valid until ALSA has closed the remaining files and freed the card.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=63ddf68de52efaac40a9287e44266ac30e71dd36 <fc530fe168bb2b745a93f553ad21fc25fd9cba3d, >=63ddf68de52efaac40a9287e44266ac30e71dd36 <1618257cb0aba4ce342ae8c0228368c24161f5fb, >=63ddf68de52efaac40a9287e44266ac30e71dd36 <239d1683e08b2aee2a15ef35706e1ea9a76681d8, >=63ddf68de52efaac40a9287e44266ac30e71dd36 <503be26ff888cb3576e55d251895d290e8146f27, >=63ddf68de52efaac40a9287e44266ac30e71dd36 <67374e3a00814dcdd46e9feca61f69f7f2d81957, >=63ddf68de52efaac40a9287e44266ac30e71dd36 <7690a86b193271322cd31ab77349a87aa10858e4, >=63ddf68de52efaac40a9287e44266ac30e71dd36 <97b5e8b22b98e287481a97a9a4cfebbb348738a5, >=63ddf68de52efaac40a9287e44266ac30e71dd36 <be0f7745f883386e5263b4e475686a81dfa87175, =3.18 | fc530fe168bb2b745a93f553ad21fc25fd9cba3d, 1618257cb0aba4ce342ae8c0228368c24161f5fb, 239d1683e08b2aee2a15ef35706e1ea9a76681d8, 503be26ff888cb3576e55d251895d290e8146f27, 67374e3a00814dcdd46e9feca61f69f7f2d81957, 7690a86b193271322cd31ab77349a87aa10858e4, 97b5e8b22b98e287481a97a9a4cfebbb348738a5, be0f7745f883386e5263b4e475686a81dfa87175 |
| linux-kernel: Kernel | >=5.11.0 <5.15.221, >=5.16.0 <6.1.188, >=6.13.0 <6.18.51, >=6.19.0 <7.2.5, >=6.2.0 <6.6.157, >=6.7.0 <6.12.110, >=3.18.0 <5.10.270 | 5.15.221, 6.1.188, 6.18.51, 7.2.5, 6.6.157, 6.12.110, 5.10.270 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket