CVE-2026-99315
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Mitigation details
CVE-2026-99315 NameCVE-2026-99315 DescriptionIn 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…
CVE-2026-99315
| Name | CVE-2026-99315 |
| 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| linux (PTS) | bookworm | 6.1.176-1 | vulnerable |
| bookworm (security) | 6.1.192-2 | vulnerable | |
| trixie | 6.12.107-1 | vulnerable | |
| trixie (security) | 6.12.117-1 | vulnerable | |
| forky | 7.3.4-1 | vulnerable | |
| sid | 7.3.5-1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| linux | source | (unstable) | 7.3.5-1 |
Notes
https://git.kernel.org/linus/820e0050866942b5498488496462d12c6ce1c7a9 (7.4-rc2)
Apply commands
https://git.kernel.org/linus/820e0050866942b5498488496462d12c6ce1c7a9 (7.4-rc2)
OS impact
Azure Linux Affected 2 releases
| Version | Package | Status | Fixed in |
|---|---|---|---|
| 4.0 | — | Affected | — |
| 3.0 | — | Affected | — |
Debian Mixed 4 releases
| Version | Package | Status | Fixed in |
|---|---|---|---|
| trixie | linux |
Fixed | 6.12.118-1 |
| sid | linux |
Fixed | 7.3.5-1 |
| forky | linux |
Fixed | 7.3.5-1 |
| bookworm | linux |
Affected | — |
SUSE Tracked 1 release
| Version | Package | Status | Fixed in |
|---|---|---|---|
| — | — | Unknown | — |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| linux | linux | 2.6.28 | |
References
- https://git.kernel.org/stable/c/3be1ac0b73e9bf73eec0000197d0177ebeb3cc79
- https://git.kernel.org/stable/c/57dc5db514ab188a24cb300bda70a1ead3c9e479
- https://git.kernel.org/stable/c/820e0050866942b5498488496462d12c6ce1c7a9
- https://git.kernel.org/stable/c/b21aa212c9ba4536e66d65783cc883951c95ba01
- https://security-tracker.debian.org/tracker/CVE-2026-99315
- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-99315
- https://www.suse.com/security/cve/CVE-2026-99315.html
- https://git.kernel.org/stable/c/92d766c3d2b5d2fb45f4e0215dfab944f23c1bbc
- https://git.kernel.org/stable/c/ab9b4ed047713411dcb354c37a0aad54d06441db
- https://git.kernel.org/stable/c/ba9a21ab9a6bf37a6b40b8dc4df651daae9ee758
- https://git.kernel.org/stable/c/c290616fbb7a4abb40ce4df0d53a1815e6442784
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.