{
  "schema_version": "1.6.1",
  "id": "RPI-CVE-2026-99315",
  "modified": "2026-11-24T05:30:02Z",
  "upstream": [
    "CVE-2026-99315"
  ],
  "published": "2026-11-18T08:42:23Z",
  "summary": "ALSA: us122l: Fix NULL dereference at hwdep open and release",
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: us122l: Fix NULL dereference at hwdep open and release\n\nusb_stream_hwdep_open() and usb_stream_hwdep_release() pass the result of\nusb_ifnum_to_if() straight to usb_autopm_get_interface() and\nusb_autopm_put_interface(), without checking it for NULL.\n\nusb_ifnum_to_if() returns NULL once the device is gone, since\nusb_disable_device() clears udev->actconfig on disconnect.  The hwdep file\ncan outlive the disconnect: the card is released with\nsnd_card_free_when_closed(), so a process that keeps the character device\nopen reaches the driver's release callback after the USB configuration has\nbeen dropped, and interface_to_usbdev() then dereferences the NULL\ninterface at offsetof(struct device, parent).  The open callback has the\nsame problem when it races with the disconnect.\n\nCheck both lookups and fail the open with -ENODEV; in release, skip the\nruntime PM put when the interface is already gone and still run the rest\nof the per-file cleanup.  Move the us122l->first bookkeeping after the\nchecks so that a failed open no longer leaves a stale file pointer behind.",
  "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-99315"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/92d766c3d2b5d2fb45f4e0215dfab944f23c1bbc"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/c290616fbb7a4abb40ce4df0d53a1815e6442784"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/ab9b4ed047713411dcb354c37a0aad54d06441db"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/ba9a21ab9a6bf37a6b40b8dc4df651daae9ee758"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/3be1ac0b73e9bf73eec0000197d0177ebeb3cc79"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/57dc5db514ab188a24cb300bda70a1ead3c9e479"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/b21aa212c9ba4536e66d65783cc883951c95ba01"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/820e0050866942b5498488496462d12c6ce1c7a9"
    }
  ],
  "database_specific": {
    "source": "https://git.kernel.org/pub/scm/linux/security/vulns.git",
    "upstream_modified": "2026-11-23T08:12:11Z"
  }
}
