VulnWatch by ve1ve2
medium 4.7 EPSS 0.19%

CVE-2026-99315: 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 us…

Source:
NVD CVE API 2.0
Published:
Fetched:
Updated:
Affects:
linux

https://nvd.nist.gov/vuln/detail/CVE-2026-99315 ↗

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

Linked vulnerabilities (1)

CVE-2026-99315 medium 4.7 EPSS 0.19% (p9) NVDCVE.org
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H

kernel: kernel: Denial of Service via NULL pointer dereference in ALSA US122L driver

CWE: CWE-476Aliases: CVE-2026-99272, CVE-2026-99275, CVE-2026-99308, CVE-2026-99312, CVE-2026-99314, CVE-2026-99316, CVE-2026-99317, CVE-2026-99318, CVE-2026-99319, CVE-2026-99320, CVE-2026-99335, CVE-2026-99336, CVE-2026-99345, CVE-2026-99347, CVE-2026-99348, CVE-2026-99350, CVE-2026-99363, CVE-2026-99376, CVE-2026-99377, CVE-2026-99379, CVE-2026-99382, CVE-2026-99384, CVE-2026-99387, CVE-2026-99394, CVE-2026-99426, CVE-2026-99484, CVE-2026-99496, CVE-2026-99566, CVE-2026-99567, CVE-2026-99568, CVE-2026-99569, CVE-2026-99570, CVE-2026-99573, CVE-2026-99574, CVE-2026-99575, CVE-2026-99576, CVE-2026-99577, CVE-2026-99578, CVE-2026-99579, CVE-2026-99580, CVE-2026-99582, CVE-2026-99583, CVE-2026-99587, CVE-2026-99588, CVE-2026-99589, CVE-2026-99590, CVE-2026-99591, CVE-2026-99593, CVE-2026-99594NVD: Received

Also reported by (1)