FKIE_CVE-2026-99881

Vulnerability from fkie_nvd - Published: 2026-11-30 14:20 - Updated: 2026-11-30 14:20
Severity
Summary
In the Linux kernel, the following vulnerability has been resolved: ALSA: ua101: Bound packet copies by the PCM buffer size copy_capture_data() and copy_playback_data() wrap the ring buffer position once and split the memcpy() in two at the buffer end, which is only correct when one packet holds at most buffer_size frames. The capture packet size is the device's (actual_length up to wMaxPacketSize, divided by 3 * bNrChannels from its own descriptor), the playback packet size is taken from the capture packets, and set_stream_hw() lets the PCM client pick period_bytes_min 1, periods_min 2 and a period time of 1.5 packet intervals: 9 frames at 44.1 kHz high speed, an 18-frame buffer. A device sending 672-byte mono 24-bit packets delivers 224 frames per packet. After the first packet buffer_pos is 206 and stays beyond buffer_size. On the next packet frames1 = buffer_size - buffer_pos wraps and memcpy() runs away: snd-ua101 2-1:1.0: invalid position: , pos = 206, buffer size = 18, period size = 9 BUG: KASAN: slab-out-of-bounds in capture_urb_complete+0x9eb/0xcb0 Read of size 4294966732 at addr ffff88800d73e7e0 by task vhci_rx/81 and for playback: BUG: KASAN: vmalloc-out-of-bounds in playback_work+0x789/0xac0 Read of size 4294966732 at addr ffffc9000002626a by task kworker/0:1H/80 Clamp the capture copy to buffer_size. On playback, copy at most one buffer and fill the rest of the packet with silence, so the URB length, the delay accounting and the data sent stay consistent. With that bound the single wrap and both memcpy() halves stay inside the buffer. A device whose packets do not fit the buffer never played correctly anyway. Reproduced on 7.3-rc7 with a USB/IP device presenting the UA-101 interface layout and a 672-byte isochronous endpoint.
Impacted products
Vendor Product Version

{
  "affected": [
    {
      "affectedData": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "sound/usb/misc/ua101.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "526d39cd04fb14506ee486b60177189b3eafb997",
              "status": "affected",
              "version": "63978ab3e3e963db28093b53bb4598f2702e1ad7",
              "versionType": "git"
            },
            {
              "lessThan": "4dad0c670b8b521429166f33835c6def728f0f59",
              "status": "affected",
              "version": "63978ab3e3e963db28093b53bb4598f2702e1ad7",
              "versionType": "git"
            },
            {
              "lessThan": "2a66353afb99f52451fd6e4ad86292695b33e221",
              "status": "affected",
              "version": "63978ab3e3e963db28093b53bb4598f2702e1ad7",
              "versionType": "git"
            },
            {
              "lessThan": "493a77a9f20fca07ca5654f61c1b03bef035df25",
              "status": "affected",
              "version": "63978ab3e3e963db28093b53bb4598f2702e1ad7",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "sound/usb/misc/ua101.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "2.6.34"
            },
            {
              "lessThan": "2.6.34",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.120",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.64",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.3.*",
              "status": "unaffected",
              "version": "7.3.4",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.4-rc1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    }
  ],
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: ua101: Bound packet copies by the PCM buffer size\n\ncopy_capture_data() and copy_playback_data() wrap the ring buffer\nposition once and split the memcpy() in two at the buffer end, which is\nonly correct when one packet holds at most buffer_size frames. The\ncapture packet size is the device\u0027s (actual_length up to wMaxPacketSize,\ndivided by 3 * bNrChannels from its own descriptor), the playback packet\nsize is taken from the capture packets, and set_stream_hw() lets the\nPCM client pick period_bytes_min 1, periods_min 2 and a period time of\n1.5 packet intervals: 9 frames at 44.1 kHz high speed, an 18-frame\nbuffer. A device sending 672-byte mono 24-bit packets delivers 224\nframes per packet.\n\nAfter the first packet buffer_pos is 206 and stays beyond buffer_size.\nOn the next packet frames1 = buffer_size - buffer_pos wraps and memcpy()\nruns away:\n\n  snd-ua101 2-1:1.0: invalid position: , pos = 206, buffer size = 18,\nperiod size = 9\n  BUG: KASAN: slab-out-of-bounds in capture_urb_complete+0x9eb/0xcb0\n  Read of size 4294966732 at addr ffff88800d73e7e0 by task vhci_rx/81\n\nand for playback:\n\n  BUG: KASAN: vmalloc-out-of-bounds in playback_work+0x789/0xac0\n  Read of size 4294966732 at addr ffffc9000002626a by task kworker/0:1H/80\n\nClamp the capture copy to buffer_size. On playback, copy at most one\nbuffer and fill the rest of the packet with silence, so the URB length,\nthe delay accounting and the data sent stay consistent. With that bound\nthe single wrap and both memcpy() halves stay inside the buffer. A\ndevice whose packets do not fit the buffer never played correctly\nanyway.\n\nReproduced on 7.3-rc7 with a USB/IP device presenting the UA-101\ninterface layout and a 672-byte isochronous endpoint."
    }
  ],
  "id": "CVE-2026-99881",
  "lastModified": "2026-11-30T14:20:22.660",
  "metrics": {},
  "published": "2026-11-30T14:20:22.660",
  "references": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/2a66353afb99f52451fd6e4ad86292695b33e221"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/493a77a9f20fca07ca5654f61c1b03bef035df25"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/4dad0c670b8b521429166f33835c6def728f0f59"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/526d39cd04fb14506ee486b60177189b3eafb997"
    }
  ],
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
  "vulnStatus": "Received"
}



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. The method is described in a publication.

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.