KernelScan.io

HIGH Introduced in 3.10

go7007 SndCard UAF

CVE-2026-89890

CVSS 7.8 / 10.0 NVD

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

KernelScan AI7.8HIGH

01

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.

02

Engine v0.6.0

Risk summary

A local user with access to the ALSA PCM device on a system with a go7007 USB video capture device can trigger a use-after-free by keeping the PCM open while the USB device is disconnected. The freed kernel object is then accessed through stale PCM callbacks when the audio stream is closed, potentially leading to kernel memory corruption, privilege escalation, or a system crash. Exploitation requires the go7007 driver to be loaded and local access to the audio device node.

Affecteddrivers/media/usb/go7007/snd-go7007.c (go7007 USB video capture ALSA driver)

Vulnerability analysis

In the go7007 USB video capture driver, the audio support takes a reference on the video device during initialization, but the removal path drops that reference too early—immediately after scheduling deferred destruction of the audio card. When a userspace process still has the capture device open, the audio card and its callbacks remain alive until the last file descriptor is closed, so the release path can still reach the driver structure through the stored pointer after the video side has freed it, resulting in a use-after-free. The fix delays the reference release until the audio card is fully destroyed, so the existing reference covers the entire deferred lifetime. This vulnerability is reachable by a local unprivileged user who can open the audio capture device, combined with a USB device disconnect that can be triggered either by physical removal or by a privileged software action.

03

BranchIntroducedFixed inPatch commit
5.103.105.10.2701c57d1a3396b
5.153.105.15.2219c4f9628b855
6.13.106.1.188b7a0de398ad5
6.123.106.12.11029fe4d38fb59
7.23.107.2.5e6f1a1ac9b8c
6.183.106.18.510745a59945d9
6.63.106.6.1571c9fdd946521
mainline3.107.3-rc11bd456afeb8a
cip/6.123.106.12.111-cip3229fe4d38fb59