Skip to contentSkip to conversation

CVE-2026-90032: media: usbtv: keep device alive while ALSA card exists

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Sep 16

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

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.

The Linux kernel CVE team has assigned CVE-2026-90032 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 3.18 with commit 63ddf68de52efaac40a9287e44266ac30e71dd36 and fixed in 5.10.270 with commit 97b5e8b22b98e287481a97a9a4cfebbb348738a5
	Issue introduced in 3.18 with commit 63ddf68de52efaac40a9287e44266ac30e71dd36 and fixed in 5.15.221 with commit 503be26ff888cb3576e55d251895d290e8146f27
	Issue introduced in 3.18 with commit 63ddf68de52efaac40a9287e44266ac30e71dd36 and fixed in 6.1.188 with commit be0f7745f883386e5263b4e475686a81dfa87175
	Issue introduced in 3.18 with commit 63ddf68de52efaac40a9287e44266ac30e71dd36 and fixed in 6.6.157 with commit 67374e3a00814dcdd46e9feca61f69f7f2d81957
	Issue introduced in 3.18 with commit 63ddf68de52efaac40a9287e44266ac30e71dd36 and fixed in 6.12.110 with commit 239d1683e08b2aee2a15ef35706e1ea9a76681d8
	Issue introduced in 3.18 with commit 63ddf68de52efaac40a9287e44266ac30e71dd36 and fixed in 6.18.51 with commit 7690a86b193271322cd31ab77349a87aa10858e4
	Issue introduced in 3.18 with commit 63ddf68de52efaac40a9287e44266ac30e71dd36 and fixed in 7.2.5 with commit 1618257cb0aba4ce342ae8c0228368c24161f5fb
	Issue introduced in 3.18 with commit 63ddf68de52efaac40a9287e44266ac30e71dd36 and fixed in 7.3-rc1 with commit fc530fe168bb2b745a93f553ad21fc25fd9cba3d

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2026-90032

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:
drivers/media/usb/usbtv/usbtv-audio.c

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	https://git.kernel.org/stable/c/97b5e8b22b98e287481a97a9a4cfebbb348738a5
	https://git.kernel.org/stable/c/503be26ff888cb3576e55d251895d290e8146f27
	https://git.kernel.org/stable/c/be0f7745f883386e5263b4e475686a81dfa87175
	https://git.kernel.org/stable/c/67374e3a00814dcdd46e9feca61f69f7f2d81957
	https://git.kernel.org/stable/c/239d1683e08b2aee2a15ef35706e1ea9a76681d8
	https://git.kernel.org/stable/c/7690a86b193271322cd31ab77349a87aa10858e4
	https://git.kernel.org/stable/c/1618257cb0aba4ce342ae8c0228368c24161f5fb
	https://git.kernel.org/stable/c/fc530fe168bb2b745a93f553ad21fc25fd9cba3d