media: go7007: only set audio_enabled if go7007_snd_init() succeeded (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.20 % · percentile 11 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- Affected products
- Linux · Linux
- NVD status
- Received
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
References
- https://git.kernel.org/stable/c/63c4867908c5961335f163bbb42657a5f68bdfde
- https://git.kernel.org/stable/c/9cbebcd98e74f3fd9f931c7425f28e007e9a896b
- https://git.kernel.org/stable/c/ce761854e094e4fbdd4a2b83835213574dd39460
- https://git.kernel.org/stable/c/c6791aabde0e84aef319f326afe25245b9e96cf3
- https://git.kernel.org/stable/c/1db31d3ddc386a8094a34e186243e26ce8fd175d
- https://git.kernel.org/stable/c/8e2fc3941b4005eaeef0a6b69b44a8a4941b57ab
- https://git.kernel.org/stable/c/5d17cf3d380d56018a5ae8ef03af8df12ed910e9
- https://git.kernel.org/stable/c/2eacf058d2dbb0ae3aaf576459da9e5f2b6bbfbd
European references
- ENISA EUVD · EUVD-2026-126206
- GCVE · GCVE-0-2026-99300
CERT-FR advisories
- CERTFR-2026-AVI-1639 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
Affected products
| Product | Affected versions |
|---|---|
| Linux · Linux | affected : ≥ 866b8695d67e83f47194731d3a7ba55826a7ec70 < 63c4867908c5961335f163bbb42657a5f68bdfde affected : ≥ 866b8695d67e83f47194731d3a7ba55826a7ec70 < 9cbebcd98e74f3fd9f931c7425f28e007e9a896b affected : ≥ 866b8695d67e83f47194731d3a7ba55826a7ec70 < ce761854e094e4fbdd4a2b83835213574dd39460 affected : ≥ 866b8695d67e83f47194731d3a7ba55826a7ec70 < c6791aabde0e84aef319f326afe25245b9e96cf3 affected : ≥ 866b8695d67e83f47194731d3a7ba55826a7ec70 < 1db31d3ddc386a8094a34e186243e26ce8fd175d affected : ≥ 866b8695d67e83f47194731d3a7ba55826a7ec70 < 8e2fc3941b4005eaeef0a6b69b44a8a4941b57ab affected : ≥ 866b8695d67e83f47194731d3a7ba55826a7ec70 < 5d17cf3d380d56018a5ae8ef03af8df12ed910e9 affected : ≥ 866b8695d67e83f47194731d3a7ba55826a7ec70 < 2eacf058d2dbb0ae3aaf576459da9e5f2b6bbfbd Other versions : unaffected |
| Linux · Linux | affected : 2.6.28 unaffected : ≥ 0 < 2.6.28 unaffected : ≥ 5.10.275 ≤ 5.10.* unaffected : ≥ 5.15.226 ≤ 5.15.* unaffected : ≥ 6.1.193 ≤ 6.1.* unaffected : ≥ 6.6.163 ≤ 6.6.* unaffected : ≥ 6.12.117 ≤ 6.12.* unaffected : ≥ 6.18.61 ≤ 6.18.* unaffected : ≥ 7.3.2 ≤ 7.3.* unaffected : ≥ 7.4-rc1 ≤ * Other versions : affected |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |