media: go7007: only set audio_enabled if go7007_snd_init() succeeded
Summary
| CVE | CVE-2026-99300 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-11-16 10:17:03 UTC |
| Updated | 2026-11-23 08:17:34 UTC |
| Description | In the Linux kernel, the following vulnerability has been resolved: media: go7007: only set audio_enabled if go7007_snd_init() succeeded go7007_register_encoder() sets go->audio_enabled before calling go7007_snd_init() and discards its return value. go7007_snd_init() assigns go->snd_context only on success, so a failed ALSA setup leaves audio_enabled set with snd_context still NULL. The disconnect path tests audio_enabled and calls go7007_snd_remove(), which dereferences snd_context unconditionally. go7007_snd_init() returns -ENODEV once its never-decremented static card counter reaches SNDRV_CARDS, so SNDRV_CARDS attach/detach cycles arm the next attach; no memory pressure is needed. Set go->audio_enabled only once go7007_snd_init() has succeeded. Oops: general protection fault, probably for non-canonical address ... KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] Workqueue: usb_hub_wq hub_event RIP: 0010:go7007_snd_remove (drivers/media/usb/go7007/snd-go7007.c:273) Call Trace: go7007_usb_disconnect (drivers/media/usb/go7007/go7007-usb.c:1336) usb_unbind_interface (drivers/usb/core/driver.c:461) device_remove (drivers/base/dd.c:618) device_release_driver_internal (drivers/base/dd.c:1349) bus_remove_device (drivers/base/bus.c:664) device_del (drivers/base/core.c:3965) usb_disable_device (drivers/usb/core/message.c:1478) usb_disconnect hub_event (drivers/usb/core/hub.c:5966) process_one_work (kernel/workqueue.c:3396) worker_thread (kernel/workqueue.c:3560) kthread (kernel/kthread.c:436) ret_from_fork (arch/x86/kernel/process.c:158) ret_from_fork_asm (arch/x86/entry/entry_64.S:245) Kernel panic - not syncing: Fatal exception |
Risk And Classification
EPSS: 0.002020000 probability, percentile 0.100310000 (date 2026-11-23)
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected 866b8695d67e83f47194731d3a7ba55826a7ec70 63c4867908c5961335f163bbb42657a5f68bdfde git | Not specified |
| CNA | Linux | Linux | affected 866b8695d67e83f47194731d3a7ba55826a7ec70 9cbebcd98e74f3fd9f931c7425f28e007e9a896b git | Not specified |
| CNA | Linux | Linux | affected 866b8695d67e83f47194731d3a7ba55826a7ec70 ce761854e094e4fbdd4a2b83835213574dd39460 git | Not specified |
| CNA | Linux | Linux | affected 866b8695d67e83f47194731d3a7ba55826a7ec70 c6791aabde0e84aef319f326afe25245b9e96cf3 git | Not specified |
| CNA | Linux | Linux | affected 866b8695d67e83f47194731d3a7ba55826a7ec70 1db31d3ddc386a8094a34e186243e26ce8fd175d git | Not specified |
| CNA | Linux | Linux | affected 866b8695d67e83f47194731d3a7ba55826a7ec70 8e2fc3941b4005eaeef0a6b69b44a8a4941b57ab git | Not specified |
| CNA | Linux | Linux | affected 866b8695d67e83f47194731d3a7ba55826a7ec70 5d17cf3d380d56018a5ae8ef03af8df12ed910e9 git | Not specified |
| CNA | Linux | Linux | affected 866b8695d67e83f47194731d3a7ba55826a7ec70 2eacf058d2dbb0ae3aaf576459da9e5f2b6bbfbd git | Not specified |
| CNA | Linux | Linux | affected 2.6.28 | Not specified |
| CNA | Linux | Linux | unaffected 2.6.28 semver | Not specified |
| CNA | Linux | Linux | unaffected 5.10.275 5.10.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.15.226 5.15.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.1.193 6.1.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.6.163 6.6.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.12.117 6.12.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.18.61 6.18.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.3.2 7.3.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.4-rc1 * original_commit_for_fix | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/8e2fc3941b4005eaeef0a6b69b44a8a4941b57ab | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/c6791aabde0e84aef319f326afe25245b9e96cf3 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/2eacf058d2dbb0ae3aaf576459da9e5f2b6bbfbd | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/1db31d3ddc386a8094a34e186243e26ce8fd175d | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/5d17cf3d380d56018a5ae8ef03af8df12ed910e9 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/9cbebcd98e74f3fd9f931c7425f28e007e9a896b | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/63c4867908c5961335f163bbb42657a5f68bdfde | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/ce761854e094e4fbdd4a2b83835213574dd39460 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.