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

Summary

CVECVE-2026-99314
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-11-18 09:17:45 UTC
Updated2026-11-23 08:17:36 UTC
DescriptionIn 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.

Risk And Classification

EPSS: 0.002040000 probability, percentile 0.102670000 (date 2026-11-23)

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 030a07e441296c372f946cd4065b5d831d8dc40c 683e063b0ed300d2c09e64b21509ec1ceb6d23c0 git Not specified
CNA Linux Linux affected 030a07e441296c372f946cd4065b5d831d8dc40c a4e41eb6cd57b3e6e2d4c6f6753020b5700b2e22 git Not specified
CNA Linux Linux affected 030a07e441296c372f946cd4065b5d831d8dc40c 6c63082368ea1094fc8a452d01e1f4de999e27e2 git Not specified
CNA Linux Linux affected 030a07e441296c372f946cd4065b5d831d8dc40c 10dfcb5f0f989b88035c50c752f3e7acd62a6d81 git Not specified
CNA Linux Linux affected 030a07e441296c372f946cd4065b5d831d8dc40c 0f128b326d3defab6bf5c33c09e55addd87e74ec git Not specified
CNA Linux Linux affected 030a07e441296c372f946cd4065b5d831d8dc40c 03d3690ba06713358cd8c89bbec090040c272438 git Not specified
CNA Linux Linux affected 030a07e441296c372f946cd4065b5d831d8dc40c 6fdd96fa2f7a70d61eeed166e520a990c40ff223 git Not specified
CNA Linux Linux affected 030a07e441296c372f946cd4065b5d831d8dc40c f5d3eb483fed59fc0f3b059b8b6a32cedc922360 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

ReferenceSourceLinkTags
git.kernel.org/stable/c/0f128b326d3defab6bf5c33c09e55addd87e74ec 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/f5d3eb483fed59fc0f3b059b8b6a32cedc922360 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/a4e41eb6cd57b3e6e2d4c6f6753020b5700b2e22 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/683e063b0ed300d2c09e64b21509ec1ceb6d23c0 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/03d3690ba06713358cd8c89bbec090040c272438 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/10dfcb5f0f989b88035c50c752f3e7acd62a6d81 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/6fdd96fa2f7a70d61eeed166e520a990c40ff223 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/6c63082368ea1094fc8a452d01e1f4de999e27e2 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

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report