# CVE-2026-99315: ALSA: us122l: Fix NULL dereference at hwdep open and release

- Priority: **Routine**
- Reason: Not severe (CVSS 5.7, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-11-18 · Modified: 2026-11-23
- Aliases: DEBIAN-CVE-2026-99315, UBUNTU-CVE-2026-99315, CGA-2945-68q6-692h, CGA-2vx2-jm5m-x65q, CGA-4pfx-8w6m-hfqx, CGA-697r-gchw-cfq7, CGA-g5p4-x4hm-rh4c, CGA-gj25-59m6-4v5c, CGA-hwqp-qw6g-548q, CGA-jq76-9gcg-wf7v, CGA-rph2-2rv9-v7xm, CGA-xm6h-p5hf-5fc6, CGA-xrx3-6238-cqmw, CGA-5pjx-4gwv-264x, CGA-7658-jmhx-vwwx, CGA-m8qh-3prw-wg4j, CGA-pf73-7rfc-5657, CGA-q4jj-pg9w-5r4x, CGA-pjhw-q7c7-jx8q, CGA-v48f-pv7g-953v, CGA-r6f6-9mvq-64h6
- Record: https://cvemate.com/vulnerability/CVE-2026-99315 · JSON: https://cvemate.com/vulnerability/CVE-2026-99315/json

## Description

```text
In the Linux kernel, the following vulnerability has been resolved:

ALSA: us122l: Fix NULL dereference at hwdep open and release

usb_stream_hwdep_open() and usb_stream_hwdep_release() pass the result of
usb_ifnum_to_if() straight to usb_autopm_get_interface() and
usb_autopm_put_interface(), without checking it for NULL.

usb_ifnum_to_if() returns NULL once the device is gone, since
usb_disable_device() clears udev->actconfig on disconnect.  The hwdep file
can outlive the disconnect: the card is released with
snd_card_free_when_closed(), so a process that keeps the character device
open reaches the driver's release callback after the USB configuration has
been dropped, and interface_to_usbdev() then dereferences the NULL
interface at offsetof(struct device, parent).  The open callback has the
same problem when it races with the disconnect.

Check both lookups and fail the open with -ENODEV; in release, skip the
runtime PM put when the interface is already gone and still run the rest
of the per-file cleanup.  Move the us122l->first bookkeeping after the
checks so that a failed open no longer leaves a stale file pointer behind.
```

## Signals

- CVSS: 5.7 medium (v4.0, OSV · Ubuntu) CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- EPSS: 0.223%, percentile 13.819%, 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 182)

- 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)
- chainguard linux-server-7.2-modules (Chainguard): All versions (No fix recorded)
- debian linux (Debian): All versions (No fix recorded) \| \< 6.12.118-1 \| \< 7.3.5-1
- debian linux-6.12 (Debian): \< 6.12.118-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)

## References

- <https://git.kernel.org/stable/c/3be1ac0b73e9bf73eec0000197d0177ebeb3cc79>
- <https://git.kernel.org/stable/c/57dc5db514ab188a24cb300bda70a1ead3c9e479>
- <https://git.kernel.org/stable/c/b21aa212c9ba4536e66d65783cc883951c95ba01>
- <https://git.kernel.org/stable/c/820e0050866942b5498488496462d12c6ce1c7a9>
- <https://security-tracker.debian.org/tracker/CVE-2026-99315>
- <https://ubuntu.com/security/CVE-2026-99315>
- <https://www.cve.org/CVERecord?id=CVE-2026-99315>
- <https://git.kernel.org/linus/820e0050866942b5498488496462d12c6ce1c7a9>
- <https://git.kernel.org/stable/c/92d766c3d2b5d2fb45f4e0215dfab944f23c1bbc>
- <https://git.kernel.org/stable/c/c290616fbb7a4abb40ce4df0d53a1815e6442784>
- <https://git.kernel.org/stable/c/ab9b4ed047713411dcb354c37a0aad54d06441db>
- <https://git.kernel.org/stable/c/ba9a21ab9a6bf37a6b40b8dc4df651daae9ee758>

---

Data as of 2026-12-05T03:57:31.220Z. 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
