{"id":"CVE-2026-99314","aliases":["CVE-2026-99314"],"related":[],"kind":"vulnerability","state":"published","title":"ALSA: us122l: Add missing NULL check in usb_stream_hwdep_mmap()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: us122l: Add missing NULL check in usb_stream_hwdep_mmap()\n\nusb_stream_hwdep_mmap() reads us122l->sk.s and dereferences it without\nchecking for NULL.  The stream object is released by usb_stream_free(),\nwhich is reached through us122l_stop() both when the device is\ndisconnected and when us122l_start() fails, and it leaves us122l->sk.s\nset to NULL.  The hwdep file stays usable after that, so a later mmap()\n\n\tKASAN: null-ptr-deref in range [0x0000000000000010-0x0000000000000017]\n\tRIP: 0010:usb_stream_hwdep_mmap+0x107/0x890 sound/usb/usx2y/us122l.c:182\n\ncrashes while reading s->read_size, which sits at offset 0x10.\n\nThat NULL is an expected state for this field: usb_stream_hwdep_vm_fault(),\nusb_stream_hwdep_poll(), usb_stream_hwdep_ioctl(), usb_stream_stop() and\nusb_stream_free() all test it before use.  Only the mmap callback misses\nthe check, so let it return -ENODEV, matching what the other hwdep mapping\nin usx2yhwdeppcm.c does when its shared buffer has not been allocated.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: us122l: Add missing NULL check in usb_stream_hwdep_mmap()\n\nusb_stream_hwdep_mmap() reads us122l->sk.s and dereferences it without\nchecking for NULL.  The stream object is released by usb_stream_free(),\nwhich is reached through us122l_stop() both when the device is\ndisconnected and when us122l_start() fails, and it leaves us122l->sk.s\nset to NULL.  The hwdep file stays usable after that, so a later mmap()\n\n\tKASAN: null-ptr-deref in range [0x0000000000000010-0x0000000000000017]\n\tRIP: 0010:usb_stream_hwdep_mmap+0x107/0x890 sound/usb/usx2y/us122l.c:182\n\ncrashes while reading s->read_size, which sits at offset 0x10.\n\nThat NULL is an expected state for this field: usb_stream_hwdep_vm_fault(),\nusb_stream_hwdep_poll(), usb_stream_hwdep_ioctl(), usb_stream_stop() and\nusb_stream_free() all test it before use.  Only the mmap callback misses\nthe check, so let it return -ENODEV, matching what the other hwdep mapping\nin usx2yhwdeppcm.c does when its shared buffer has not been allocated.","source":"cvelist"}],"published":"2026-11-18T08:42:07.299Z","modified":"2026-11-23T08:17:36.540Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"030a07e441296c372f946cd4065b5d831d8dc40c","fixed":"683e063b0ed300d2c09e64b21509ec1ceb6d23c0","status":"affected"},{"type":"git","introduced":"030a07e441296c372f946cd4065b5d831d8dc40c","fixed":"a4e41eb6cd57b3e6e2d4c6f6753020b5700b2e22","status":"affected"},{"type":"git","introduced":"030a07e441296c372f946cd4065b5d831d8dc40c","fixed":"6c63082368ea1094fc8a452d01e1f4de999e27e2","status":"affected"},{"type":"git","introduced":"030a07e441296c372f946cd4065b5d831d8dc40c","fixed":"10dfcb5f0f989b88035c50c752f3e7acd62a6d81","status":"affected"},{"type":"git","introduced":"030a07e441296c372f946cd4065b5d831d8dc40c","fixed":"0f128b326d3defab6bf5c33c09e55addd87e74ec","status":"affected"},{"type":"git","introduced":"030a07e441296c372f946cd4065b5d831d8dc40c","fixed":"03d3690ba06713358cd8c89bbec090040c272438","status":"affected"},{"type":"git","introduced":"030a07e441296c372f946cd4065b5d831d8dc40c","fixed":"6fdd96fa2f7a70d61eeed166e520a990c40ff223","status":"affected"},{"type":"git","introduced":"030a07e441296c372f946cd4065b5d831d8dc40c","fixed":"f5d3eb483fed59fc0f3b059b8b6a32cedc922360","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.28","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.28","status":"unaffected"},{"type":"semver","introduced":"5.10.275","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.226","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.193","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.163","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.118","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.64","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.5","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/683e063b0ed300d2c09e64b21509ec1ceb6d23c0","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a4e41eb6cd57b3e6e2d4c6f6753020b5700b2e22","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6c63082368ea1094fc8a452d01e1f4de999e27e2","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/10dfcb5f0f989b88035c50c752f3e7acd62a6d81","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0f128b326d3defab6bf5c33c09e55addd87e74ec","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/03d3690ba06713358cd8c89bbec090040c272438","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6fdd96fa2f7a70d61eeed166e520a990c40ff223","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f5d3eb483fed59fc0f3b059b8b6a32cedc922360","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-99314","url":"https://www.cve.org/CVERecord?id=CVE-2026-99314","licence":"CVE Terms of Use","modified":"2026-11-23T08:01:18.565Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-99314","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99314","licence":"Public domain","modified":"2026-11-23T08:17:36.540Z"}],"updatedAt":"2026-11-25T22:59:51.771Z","epss":{"score":0.00223,"percentile":0.13854,"date":"2026-12-01T12:00:22.000Z"}}