CVE-2026-99300: media: go7007: only set audio_enabled if go7007_snd_init() succeeded

Published Nov 16, 2026
·
Updated

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

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    Set go->audio_enabled only after go7007_snd_init() succeeds.

    Linux kernel go7007 go->audio_enabled = set only if go7007_snd_init() succeeds

Event History

Nov 16, 2026
CVE Published
via MITRE·09:59 AM
Data Sourced
via MITRE·09:59 AM
Description

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203