CVE-2026-99316 (GCVE-0-2026-99316)

Vulnerability from cvelistv5 – Published: 2026-11-18 08:42 – Updated: 2026-11-19 13:52
VLAI
Title
ALSA: usx2y: Initialize idle URBs before submitting streams
Summary
In the Linux kernel, the following vulnerability has been resolved: ALSA: usx2y: Initialize idle URBs before submitting streams usb_stream_start() submits the first two capture and playback URBs and only afterwards assigns sk->idle_inurb, sk->idle_outurb, sk->completed_inurb and sk->completed_outurb to the remaining two URBs of each direction. A transfer can complete as soon as usb_submit_urb() has been called, so the completion handler i_capture_start() or i_playback_start() may run before those pointers are set. While the stream is still being synchronized (state below usb_stream_sync1), stream_start() then calls playback_prep_freqn(sk, sk->idle_outurb) with sk->idle_outurb still NULL, and the packet descriptors are written through that NULL pointer: Oops: general protection fault, probably for non-canonical address 0xdffffc0000000018: 0000 [#1] SMP KASAN KASAN: null-ptr-deref in range [0x00000000000000c0-0x00000000000000c7] RIP: 0010:playback_prep_freqn+0x11c/0x4a0 sound/usb/usx2y/usb_stream.c:33 Call Trace: <IRQ> stream_start+0x5dc/0x8d0 sound/usb/usx2y/usb_stream.c:596 i_capture_start+0x3da/0x710 sound/usb/usx2y/usb_stream.c:654 __usb_hcd_giveback_urb+0x238/0x550 drivers/usb/core/hcd.c:1657 usb_giveback_urb_bh+0x20b/0x530 drivers/usb/core/hcd.c:1691 tasklet_hi_action+0xa/0x20 kernel/softirq.c:994 handle_softirqs+0x16f/0x440 kernel/softirq.c:645 </IRQ> The four URBs referenced by these pointers are allocated long before and do not depend on any transfer state, so assign them before the submit loop. Keeping the assignment inside the retry path also restores a well-defined URB rotation when the start frame mismatch handling kills and resubmits the streams.
Assigner
Linux CNA
Impacted products
Vendor Product Version
Linux Linux Affected: 030a07e441296c372f946cd4065b5d831d8dc40c , < cc826d8f6074305af7bf1d2b7c13564d194db914 (git)
Affected: 030a07e441296c372f946cd4065b5d831d8dc40c , < 1f32f490350fae3d64f60b5ab9b02e5254fa0a90 (git)
Affected: 030a07e441296c372f946cd4065b5d831d8dc40c , < aa91b5324b5c856e18a9d356df875b29fbedd33a (git)
Affected: 030a07e441296c372f946cd4065b5d831d8dc40c , < ceb0d8c22473933099b46cec70639d0f1f7c68ad (git)
Create a notification for this product.
Linux Linux Affected: 2.6.28
Unaffected: 0 , < 2.6.28 (semver)
Unaffected: 6.12.118 , ≤ 6.12.* (semver)
Unaffected: 6.18.64 , ≤ 6.18.* (semver)
Unaffected: 7.3.5 , ≤ 7.3.* (semver)
Unaffected: 7.4-rc2 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "sound/usb/usx2y/usb_stream.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "cc826d8f6074305af7bf1d2b7c13564d194db914",
              "status": "affected",
              "version": "030a07e441296c372f946cd4065b5d831d8dc40c",
              "versionType": "git"
            },
            {
              "lessThan": "1f32f490350fae3d64f60b5ab9b02e5254fa0a90",
              "status": "affected",
              "version": "030a07e441296c372f946cd4065b5d831d8dc40c",
              "versionType": "git"
            },
            {
              "lessThan": "aa91b5324b5c856e18a9d356df875b29fbedd33a",
              "status": "affected",
              "version": "030a07e441296c372f946cd4065b5d831d8dc40c",
              "versionType": "git"
            },
            {
              "lessThan": "ceb0d8c22473933099b46cec70639d0f1f7c68ad",
              "status": "affected",
              "version": "030a07e441296c372f946cd4065b5d831d8dc40c",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "sound/usb/usx2y/usb_stream.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "2.6.28"
            },
            {
              "lessThan": "2.6.28",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.118",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.64",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.3.*",
              "status": "unaffected",
              "version": "7.3.5",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.4-rc2",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.118",
                  "versionStartIncluding": "2.6.28",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.64",
                  "versionStartIncluding": "2.6.28",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3.5",
                  "versionStartIncluding": "2.6.28",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.4-rc2",
                  "versionStartIncluding": "2.6.28",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: usx2y: Initialize idle URBs before submitting streams\n\nusb_stream_start() submits the first two capture and playback URBs and\nonly afterwards assigns sk-\u003eidle_inurb, sk-\u003eidle_outurb,\nsk-\u003ecompleted_inurb and sk-\u003ecompleted_outurb to the remaining two URBs\nof each direction.\n\nA transfer can complete as soon as usb_submit_urb() has been called, so\nthe completion handler i_capture_start() or i_playback_start() may run\nbefore those pointers are set.  While the stream is still being\nsynchronized (state below usb_stream_sync1), stream_start() then calls\nplayback_prep_freqn(sk, sk-\u003eidle_outurb) with sk-\u003eidle_outurb still\nNULL, and the packet descriptors are written through that NULL pointer:\n\n  Oops: general protection fault, probably for non-canonical address\n  0xdffffc0000000018: 0000 [#1] SMP KASAN\n  KASAN: null-ptr-deref in range [0x00000000000000c0-0x00000000000000c7]\n  RIP: 0010:playback_prep_freqn+0x11c/0x4a0 sound/usb/usx2y/usb_stream.c:33\n  Call Trace:\n   \u003cIRQ\u003e\n   stream_start+0x5dc/0x8d0 sound/usb/usx2y/usb_stream.c:596\n   i_capture_start+0x3da/0x710 sound/usb/usx2y/usb_stream.c:654\n   __usb_hcd_giveback_urb+0x238/0x550 drivers/usb/core/hcd.c:1657\n   usb_giveback_urb_bh+0x20b/0x530 drivers/usb/core/hcd.c:1691\n   tasklet_hi_action+0xa/0x20 kernel/softirq.c:994\n   handle_softirqs+0x16f/0x440 kernel/softirq.c:645\n   \u003c/IRQ\u003e\n\nThe four URBs referenced by these pointers are allocated long before and\ndo not depend on any transfer state, so assign them before the submit\nloop.  Keeping the assignment inside the retry path also restores a\nwell-defined URB rotation when the start frame mismatch handling kills\nand resubmits the streams."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - usb_stream_hwdep_ioctl() on SNDRV_USB_STREAM_IOCTL_SET_PARAMS calls us122l_stop() then us122l_start(), and us122l_start() calls usb_stream_start(), which stored sk-\u003eidle_outurb only after usb_submit_urb() of the first isochronous URBs. A local opener of the bound snd-usb-us122l hwdep node issues that ioctl.\nAC:H - stream_start() calls playback_prep_freqn(sk, sk-\u003eidle_outurb) only after balance_check() sees iso_frame_balance at 0, so both interval-1 isochronous URBs must finish. xhci_get_isoc_start_frame() schedules them at mfindex+ist+XHCI_CFC_DELAY (10 microframes) plus every packet, and usb_stream_start() stores the idle pointers with no sleep, so the giveback wins only if that thread is delayed across the frame time.\nPR:L - usb_stream_hwdep_open() and usb_stream_hwdep_ioctl() never call capable(). File mode on the hwdep node admits a local user in the audio group or the active session, which is enough to issue SNDRV_USB_STREAM_IOCTL_SET_PARAMS.\nUI:N - The attacker opens the hwdep node and issues SNDRV_USB_STREAM_IOCTL_SET_PARAMS. usb_stream_hwdep_ioctl() restarts the stream itself under us122l-\u003emutex.\nS:U - The dangling urb and its transfer buffer are host kernel memory in snd-usb-us122l, the same security domain as usb_stream_start().\nC:H - us122l_stop() calls usb_stream_free(), which usb_free_urb()s every inurb[] and outurb[] entry but leaves sk-\u003eidle_outurb and sk-\u003eidle_inurb pointing at those freed URBs. submit_urbs() then reads number_of_packets, transfer_buffer and complete from that freed object, a use-after-free of kernel heap.\nI:H - playback_prep_freqn() writes iso_frame_desc offsets and lengths, number_of_packets and transfer_buffer_length through dangling sk-\u003eidle_outurb, and submit_urbs() calls usb_submit_urb() on that urb and on dangling sk-\u003eidle_inurb, so the host controller consumes freed URB metadata and the already-freed transfer pages.\nA:H - When sk-\u003eidle_outurb is still NULL, playback_prep_freqn()\u0027s store to iso_frame_desc (offset 0xc0) is the general-protection fault in the commit, from i_capture_start() through stream_start() in the giveback tasklet. On the SET_PARAMS path the dangling urb is consumed by usb_submit_urb() and crashes the kernel."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-11-19T13:52:48.921Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/cc826d8f6074305af7bf1d2b7c13564d194db914"
        },
        {
          "url": "https://git.kernel.org/stable/c/1f32f490350fae3d64f60b5ab9b02e5254fa0a90"
        },
        {
          "url": "https://git.kernel.org/stable/c/aa91b5324b5c856e18a9d356df875b29fbedd33a"
        },
        {
          "url": "https://git.kernel.org/stable/c/ceb0d8c22473933099b46cec70639d0f1f7c68ad"
        }
      ],
      "title": "ALSA: usx2y: Initialize idle URBs before submitting streams",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-99316",
    "datePublished": "2026-11-18T08:42:08.606Z",
    "dateReserved": "2026-09-25T10:25:14.407Z",
    "dateUpdated": "2026-11-19T13:52:48.921Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-99316",
      "date": "2026-11-19",
      "epss": "0.00187",
      "percentile": "0.08394"
    },
    "microsoft_vex": {
      "current_release_date": "2026-11-19T01:06:22.000Z",
      "cve": "CVE-2026-99316",
      "id": "msrc_CVE-2026-99316",
      "initial_release_date": "2026-11-18T22:17:37.000Z",
      "product_status:known_affected": "1",
      "product_status:under_investigation": "1",
      "source": "Microsoft CSAF VEX",
      "status": "final",
      "title": "ALSA: usx2y: Initialize idle URBs before submitting streams",
      "url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-99316.json",
      "version": "2"
    },
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-11-19T16:40:12+00:00",
      "cve": "CVE-2026-99316",
      "id": "CVE-2026-99316",
      "initial_release_date": "2026-11-18T08:42:08.606000+00:00",
      "product_status:known_not_affected": "204",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: kernel: Denial of Service via null pointer dereference in ALSA usx2y driver",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-99316.json",
      "version": "3"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.