CVE-2026-99314

ALSA: us122l: Add missing NULL check in usb_stream_hwdep_mmap()

Published Nov 18, 2026 CVSS 3.1 · 5.5 Medium EPSS n/a KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

ALSA: us122l: Add missing NULL check in usb_stream_hwdep_mmap()

usb_stream_hwdep_mmap() reads us122l->sk.s and dereferences it without
checking for NULL. The stream object is released by usb_stream_free(),
which is reached through us122l_stop() both when the device is
disconnected and when us122l_start() fails, and it leaves us122l->sk.s
set to NULL. The hwdep file stays usable after that, so a later mmap()

KASAN: null-ptr-deref in range [0x0000000000000010-0x0000000000000017]
RIP: 0010:usb_stream_hwdep_mmap+0x107/0x890 sound/usb/usx2y/us122l.c:182

crashes while reading s->read_size, which sits at offset 0x10.

That NULL is an expected state for this field: usb_stream_hwdep_vm_fault(),
usb_stream_hwdep_poll(), usb_stream_hwdep_ioctl(), usb_stream_stop() and
usb_stream_free() all test it before use. Only the mmap callback misses
the check, so let it return -ENODEV, matching what the other hwdep mapping
in usx2yhwdeppcm.c does when its shared buffer has not been allocated.

Analysis

AI-generated

Technical impact

In the ALSA us122l driver for USB audio, the function usb_stream_hwdep_mmap() dereferences a pointer that can be NULL when the hardware stream has been released. The release path sets us122l->sk.s to NULL, but the mmap callback does not perform a NULL check, causing a kernel panic when a user performs an mmap after the device disconnects or a start failure. This crash disables the entire kernel, resulting in a denial‑of‑service for all system processes.

Affected Systems

The flaw is present in every Linux kernel that ships the us122l ALSA driver without the patch that adds the missing NULL check. All distributions whose kernels include this driver—whether compiled into the kernel or as a loadable module—are potentially affected. The specific version boundary is the commit that introduced the fix (03d3690ba06713358cd8c89bbec090040c272438).

Risk and Exploitability

No CVSS score is publicly reported, and the EPSS metric is unavailable; the vulnerability is not listed in the CISA KEV catalog. Exploitation requires local privileges to invoke the mmap operation on the us122l device, typically on a machine where the vulnerable driver is loaded. Because the attack does not involve a network interface, remote exploitation is unlikely. The risk level can be considered moderate to high for systems that allow local users direct access to the ALSA device interface and that run a kernel version prior to the patch.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Linux kernel to a version that includes commit 03d3690ba06713358cd8c89bbec090040c272438 or the equivalent hardware‑device driver patch.
  • If a kernel update is not immediately available, disable or restrict the use of memory‑mapped I/O on the us122l hwdep device after the device has been disconnected or after a failed start; use ioctl or other interfaces that perform their own NULL checks instead.
  • If the us122l device is not required, unload the ALSA us122l module or configure the system to prevent local users from accessing the hwdep interface, thereby eliminating the potential for the crash.

Generated by OpenCVE AI on November 18, 2026 at 23:47 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-476
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate

Type Values Removed Values Added
First Time appeared Linux linux
Vendors & Products Linux linux
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: ALSA: us122l: Add missing NULL check in usb_stream_hwdep_mmap() usb_stream_hwdep_mmap() reads us122l->sk.s and dereferences it without checking for NULL. The stream object is released by usb_stream_free(), which is reached through us122l_stop() both when the device is disconnected and when us122l_start() fails, and it leaves us122l->sk.s set to NULL. The hwdep file stays usable after that, so a later mmap() KASAN: null-ptr-deref in range [0x0000000000000010-0x0000000000000017] RIP: 0010:usb_stream_hwdep_mmap+0x107/0x890 sound/usb/usx2y/us122l.c:182 crashes while reading s->read_size, which sits at offset 0x10. That NULL is an expected state for this field: usb_stream_hwdep_vm_fault(), usb_stream_hwdep_poll(), usb_stream_hwdep_ioctl(), usb_stream_stop() and usb_stream_free() all test it before use. Only the mmap callback misses the check, so let it return -ENODEV, matching what the other hwdep mapping in usx2yhwdeppcm.c does when its shared buffer has not been allocated.
Title ALSA: us122l: Add missing NULL check in usb_stream_hwdep_mmap()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 18, 2026, 8:42 AM
Reserved
Sep 25, 2026, 10:25 AM
Status
Received
Published
Nov 18, 2026, 9:17 AM
Modified
Nov 18, 2026, 9:17 AM
Severity
Moderate
Public date
Nov 18, 2026, 8:42 AM