ALSA: us122l: Fix NULL dereference at hwdep open and release
Summary
| CVE | CVE-2026-99315 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-11-18 09:17:45 UTC |
| Updated | 2026-11-23 08:17:36 UTC |
| 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. |
Risk And Classification
EPSS: 0.002040000 probability, percentile 0.102680000 (date 2026-11-23)
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected 030a07e441296c372f946cd4065b5d831d8dc40c 92d766c3d2b5d2fb45f4e0215dfab944f23c1bbc git | Not specified |
| CNA | Linux | Linux | affected 030a07e441296c372f946cd4065b5d831d8dc40c c290616fbb7a4abb40ce4df0d53a1815e6442784 git | Not specified |
| CNA | Linux | Linux | affected 030a07e441296c372f946cd4065b5d831d8dc40c ab9b4ed047713411dcb354c37a0aad54d06441db git | Not specified |
| CNA | Linux | Linux | affected 030a07e441296c372f946cd4065b5d831d8dc40c ba9a21ab9a6bf37a6b40b8dc4df651daae9ee758 git | Not specified |
| CNA | Linux | Linux | affected 030a07e441296c372f946cd4065b5d831d8dc40c 3be1ac0b73e9bf73eec0000197d0177ebeb3cc79 git | Not specified |
| CNA | Linux | Linux | affected 030a07e441296c372f946cd4065b5d831d8dc40c 57dc5db514ab188a24cb300bda70a1ead3c9e479 git | Not specified |
| CNA | Linux | Linux | affected 030a07e441296c372f946cd4065b5d831d8dc40c b21aa212c9ba4536e66d65783cc883951c95ba01 git | Not specified |
| CNA | Linux | Linux | affected 030a07e441296c372f946cd4065b5d831d8dc40c 820e0050866942b5498488496462d12c6ce1c7a9 git | Not specified |
| CNA | Linux | Linux | affected 2.6.28 | Not specified |
| CNA | Linux | Linux | unaffected 2.6.28 semver | Not specified |
| CNA | Linux | Linux | unaffected 5.10.275 5.10.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.15.226 5.15.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.1.193 6.1.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.6.163 6.6.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.12.118 6.12.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.18.64 6.18.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.3.5 7.3.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.4-rc2 * original_commit_for_fix | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/92d766c3d2b5d2fb45f4e0215dfab944f23c1bbc | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/c290616fbb7a4abb40ce4df0d53a1815e6442784 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/ba9a21ab9a6bf37a6b40b8dc4df651daae9ee758 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/57dc5db514ab188a24cb300bda70a1ead3c9e479 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/820e0050866942b5498488496462d12c6ce1c7a9 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/b21aa212c9ba4536e66d65783cc883951c95ba01 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/ab9b4ed047713411dcb354c37a0aad54d06441db | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/3be1ac0b73e9bf73eec0000197d0177ebeb3cc79 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.