CVE-2026-89890: media: go7007: defer the ALSA v4l2 put until card release
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
media: go7007: defer the ALSA v4l2 put until card release
go7007_snd_init() already takes a v4l2_device reference for the ALSA side, but go7007_snd_remove() drops it immediately after calling snd_card_free_when_closed().
That is too early when a userspace process still has the capture PCM open. The ALSA card and its PCM callbacks remain alive until the last file is closed, so the release path can still reach struct go7007 through pcm->private_data and call go7007_snd_hw_free() after the V4L2 release path has freed the object.
Move the matching v4l2_device_put() to the ALSA card private_free callback so the existing ALSA reference covers the whole deferred card lifetime.
The Linux kernel CVE team has assigned CVE-2026-89890 to this issue.
Affected and fixed versions
===========================
Issue introduced in 3.10 with commit d5d3a7cc127d096c22ad63c4ff72970e1beb22ef and fixed in 5.10.270 with commit 1c57d1a3396b2d767d58f10dff09bb397586c714 Issue introduced in 3.10 with commit d5d3a7cc127d096c22ad63c4ff72970e1beb22ef and fixed in 5.15.221 with commit 9c4f9628b8558c87903492a777834cc5be14ded3 Issue introduced in 3.10 with commit d5d3a7cc127d096c22ad63c4ff72970e1beb22ef and fixed in 6.1.188 with commit b7a0de398ad510426db9c8e96c516ef7abf48b0e Issue introduced in 3.10 with commit d5d3a7cc127d096c22ad63c4ff72970e1beb22ef and fixed in 6.6.157 with commit 1c9fdd9465211432d5c0ff70caaec0be245823d5 Issue introduced in 3.10 with commit d5d3a7cc127d096c22ad63c4ff72970e1beb22ef and fixed in 6.12.110 with commit 29fe4d38fb59ec28ca656cb2dabc2b0f78e78980 Issue introduced in 3.10 with commit d5d3a7cc127d096c22ad63c4ff72970e1beb22ef and fixed in 6.18.51 with commit 0745a59945d927652d892437f9647ed6e87c0677 Issue introduced in 3.10 with commit d5d3a7cc127d096c22ad63c4ff72970e1beb22ef and fixed in 7.2.5 with commit e6f1a1ac9b8ccabfec548aef0d0d93eaf4dba4f4 Issue introduced in 3.10 with commit d5d3a7cc127d096c22ad63c4ff72970e1beb22ef and fixed in 7.3-rc1 with commit 1bd456afeb8a515137e567967069fce6f8fcd23e
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-89890
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/go7007/snd-go7007.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/1c57d1a3396b2d767d58f10dff09bb397586c714 https://git.kernel.org/stable/c/9c4f9628b8558c87903492a777834cc5be14ded3 https://git.kernel.org/stable/c/b7a0de398ad510426db9c8e96c516ef7abf48b0e https://git.kernel.org/stable/c/1c9fdd9465211432d5c0ff70caaec0be245823d5 https://git.kernel.org/stable/c/29fe4d38fb59ec28ca656cb2dabc2b0f78e78980 https://git.kernel.org/stable/c/0745a59945d927652d892437f9647ed6e87c0677 https://git.kernel.org/stable/c/e6f1a1ac9b8ccabfec548aef0d0d93eaf4dba4f4 https://git.kernel.org/stable/c/1bd456afeb8a515137e567967069fce6f8fcd23e