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

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2026-11-18T08:42:07.946Z
- Modified: 2026-11-23T08:17:36.670Z
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 030a07e441296c372f946cd4065b5d831d8dc40c before 92d766c3d2b5d2fb45f4e0215dfab944f23c1bbc; from 030a07e441296c372f946cd4065b5d831d8dc40c before c290616fbb7a4abb40ce4df0d53a1815e6442784; from 030a07e441296c372f946cd4065b5d831d8dc40c before ab9b4ed047713411dcb354c37a0aad54d06441db; from 030a07e441296c372f946cd4065b5d831d8dc40c before ba9a21ab9a6bf37a6b40b8dc4df651daae9ee758; from 030a07e441296c372f946cd4065b5d831d8dc40c before 3be1ac0b73e9bf73eec0000197d0177ebeb3cc79; from 030a07e441296c372f946cd4065b5d831d8dc40c before 57dc5db514ab188a24cb300bda70a1ead3c9e479; from 030a07e441296c372f946cd4065b5d831d8dc40c before b21aa212c9ba4536e66d65783cc883951c95ba01; from 030a07e441296c372f946cd4065b5d831d8dc40c before 820e0050866942b5498488496462d12c6ce1c7a9; 2.6.28 (not affected: before 2.6.28; from 5.10.275 up to 5.10.*; from 5.15.226 up to 5.15.*; from 6.1.193 up to 6.1.*; from 6.6.163 up to 6.6.*; from 6.12.118 up to 6.12.*; from 6.18.64 up to 6.18.*; from 7.3.5 up to 7.3.*; from 7.4-rc2 up to *)

## References

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

## Sources

- CVE List: [CVE-2026-99315](https://www.cve.org/CVERecord?id=CVE-2026-99315), CVE Terms of Use, modified 2026-11-23
- NVD: [CVE-2026-99315](https://nvd.nist.gov/vuln/detail/CVE-2026-99315), Public domain, modified 2026-11-23

---

Page: https://cve.day/CVE-2026-99315 · Whole record: https://cve.day/CVE-2026-99315.json · Rebuilt by cve.day 2026-11-25T22:59:51.771Z
