# CVE-2026-99300: media: go7007: only set audio\_enabled if go7007\_snd\_init() succeeded

- Priority: **Routine**
- Reason: Not severe (CVSS 5.1, physical access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-11-16 · Modified: 2026-11-23
- Aliases: DEBIAN-CVE-2026-99300, UBUNTU-CVE-2026-99300, CGA-3hx8-89mv-93h7, CGA-4fw5-wv9q-pr77, CGA-6c5g-76mv-pwmq, CGA-7x6f-r8jx-mj9w, CGA-cx9j-fp66-hm3p, CGA-f4w4-xxpx-cqjf, CGA-pj4r-rprr-m55f, CGA-qpjp-fx9r-r26r, CGA-rc34-3329-g478, CGA-rf9q-9ghq-f6g5, CGA-w3jh-63mf-2xjq, CGA-8pv9-hmm7-96qf
- Record: https://cvemate.com/vulnerability/CVE-2026-99300 · JSON: https://cvemate.com/vulnerability/CVE-2026-99300/json

## Description

```text
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
```

## Signals

- CVSS: 5.1 medium (v4.0, OSV · Ubuntu) CVSS:4.0/AV:P/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- EPSS: 0.202%, percentile 10.639%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 181)

- chainguard linux-desktop-7.2 (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-7.2-bootc (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-7.2-bootc-boot-installed (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-7.2-headers (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-7.2-modules (Chainguard): All versions (No fix recorded)
- chainguard linux-server-7.2 (Chainguard): All versions (No fix recorded)
- chainguard linux-server-7.2-bootc (Chainguard): All versions (No fix recorded)
- chainguard linux-server-7.2-bootc-boot-installed (Chainguard): All versions (No fix recorded)
- chainguard linux-server-7.2-headers (Chainguard): All versions (No fix recorded)
- debian linux (Debian): All versions (No fix recorded) \| \< 6.12.117-1 \| \< 7.3.3-1
- debian linux-6.12 (Debian): \< 6.12.117-1~deb12u1
- ubuntu linux (Ubuntu): All versions (No fix recorded)
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)

## References

- <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>
- <https://security-tracker.debian.org/tracker/CVE-2026-99300>
- <https://ubuntu.com/security/CVE-2026-99300>
- <https://www.cve.org/CVERecord?id=CVE-2026-99300>
- <https://git.kernel.org/linus/2eacf058d2dbb0ae3aaf576459da9e5f2b6bbfbd>
- <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>

---

Data as of 2026-12-05T03:57:24.720Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
