UBUNTU-CVE-2026-99300: Medium severity ubuntu/linux vulnerability
In the Linux kernel, the following vulnerability has been resolved: media: go7007: only set audioenabled if go7007sndinit() succeeded go7007registerencoder() sets go->audioenabled before calling go7007sndinit() and discards its return value. go7007sndinit() assigns go->sndcontext only on success, so a failed ALSA setup leaves audioenabled set with sndcontext still NULL. The disconnect path tests audioenabled and calls go7007sndremove(), which dereferences sndcontext unconditionally. go7007sndinit() returns -ENODEV once its never-decremented static card counter reaches SNDRVCARDS, so SNDRVCARDS attach/detach cycles arm the next attach; no memory pressure is needed. Set go->audioenabled only once go7007sndinit() has succeeded. Oops: general protection fault, probably for non-canonical address ... KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] Workqueue: usbhubwq hubevent RIP: 0010:go7007sndremove (drivers/media/usb/go7007/snd-go7007.c:273) Call Trace: go7007usbdisconnect (drivers/media/usb/go7007/go7007-usb.c:1336) usbunbindinterface (drivers/usb/core/driver.c:461) deviceremove (drivers/base/dd.c:618) devicereleasedriverinternal (drivers/base/dd.c:1349) busremovedevice (drivers/base/bus.c:664) devicedel (drivers/base/core.c:3965) usbdisabledevice (drivers/usb/core/message.c:1478) usbdisconnect hubevent (drivers/usb/core/hub.c:5966) processonework (kernel/workqueue.c:3396) workerthread (kernel/workqueue.c:3560) kthread (kernel/kthread.c:436) retfromfork (arch/x86/kernel/process.c:158) retfromforkasm (arch/x86/entry/entry64.S:245) Kernel panic - not syncing: Fatal exception
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Configuration
Set go->audio_enabled only after go7007_snd_init() succeeds.
Linux kernel media go7007 go->audio_enabled = true only after go7007_snd_init() succeeds
Event History
Frequently Asked Questions
Which systems are realistically exposed to this issue?
Systems using the Linux go7007 USB media encoder driver are exposed. The affected Ubuntu kernel package families listed are linux, linux-fips, linux-aws, linux-azure, linux-gcp, linux-oracle, linux-aws-fips, and linux-azure-fips.
What conditions are required to trigger the crash?
The ALSA setup for a go7007 device must fail after audio is marked enabled, then the device must be disconnected. The description identifies a deterministic trigger: after the static ALSA card counter reaches SNDRV_CARDS through attach/detach cycles, the next attachment causes go7007_snd_init() to return -ENODEV; memory pressure is not required.
What is the likely impact if the issue is triggered?
Device disconnect can cause a kernel null-pointer dereference in go7007_snd_remove(), producing an oops or general protection fault from the USB hub workqueue. The provided information supports a denial-of-service impact through a kernel crash or fault.
How can administrators recognize that they may already have encountered it?
Relevant kernel logs may show a KASAN null-pointer dereference or general protection fault in go7007_snd_remove, with go7007_usb_disconnect and usb_unbind_interface in the call trace. The fault occurs during USB device removal or disconnect.