{
  "schema_version": "1.6.1",
  "id": "RPI-CVE-2026-99314",
  "modified": "2026-11-24T05:30:02Z",
  "upstream": [
    "CVE-2026-99314"
  ],
  "published": "2026-11-18T08:42:23Z",
  "summary": "ALSA: us122l: Add missing NULL check in usb_stream_hwdep_mmap()",
  "details": "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.",
  "affected": [
    {
      "package": {
        "ecosystem": "Raspberry Pi OS:12",
        "name": "linux"
      },
      "versions": [
        "1:6.1.47-1+rpt4"
      ],
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-2712",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v6",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v7",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v7l",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v8",
            "binary_version": "1:6.1.47-1+rpt4"
          }
        ]
      },
      "database_specific": {
        "per_version": {
          "1:6.1.47-1+rpt4": {
            "linux_commit": "655fc658a15ae7a6f37103754adb39ba52a9a14e",
            "upstream_version": "6.1.47",
            "assessment": "commit ancestry (strak rule)",
            "upstream_fixed": "6.1.193",
            "compiled_filter": false
          }
        }
      }
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.cve.org/CVERecord?id=CVE-2026-99314"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/683e063b0ed300d2c09e64b21509ec1ceb6d23c0"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/a4e41eb6cd57b3e6e2d4c6f6753020b5700b2e22"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/6c63082368ea1094fc8a452d01e1f4de999e27e2"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/10dfcb5f0f989b88035c50c752f3e7acd62a6d81"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/0f128b326d3defab6bf5c33c09e55addd87e74ec"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/03d3690ba06713358cd8c89bbec090040c272438"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/6fdd96fa2f7a70d61eeed166e520a990c40ff223"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/f5d3eb483fed59fc0f3b059b8b6a32cedc922360"
    }
  ],
  "database_specific": {
    "source": "https://git.kernel.org/pub/scm/linux/security/vulns.git",
    "upstream_modified": "2026-11-23T08:12:11Z"
  }
}
