AZL-114359: CVE-2026-99314 affecting package kernel 6.6.161.1-1
In the Linux kernel, the following vulnerability has been resolved:
ALSA: us122l: Add missing NULL check in usbstreamhwdepmmap()
usbstreamhwdepmmap() reads us122l->sk.s and dereferences it without checking for NULL. The stream object is released by usbstreamfree(), which is reached through us122lstop() both when the device is disconnected and when us122lstart() 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:usbstreamhwdepmmap+0x107/0x890 sound/usb/usx2y/us122l.c:182
crashes while reading s->readsize, which sits at offset 0x10.
That NULL is an expected state for this field: usbstreamhwdepvmfault(), usbstreamhwdeppoll(), usbstreamhwdepioctl(), usbstreamstop() and usbstreamfree() 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.