{"id":"CVE-2026-99886","aliases":["CVE-2026-99886"],"related":[],"kind":"vulnerability","state":"published","title":"net: usb: pegasus: check rx pkt_len against the received length","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: usb: pegasus: check rx pkt_len against the received length\n\nread_bulk_callback() takes the frame length from the device, from the\nreceive header on the 0x8513 and from the trailing status bytes on the\nother chips, and only checks it against PEGASUS_MTU before passing that\nmany bytes up the stack. In two cases the stack then uses bytes that the\ndevice did not send:\n\n- A device that sends a short transfer but claims a long frame gets the\n  stale or uninitialized remainder of the receive skb delivered as\n  packet data.\n\n- A device that claims a frame shorter than an Ethernet header gets\n  past the check as well. eth_type_trans() takes pkt_type from h_dest\n  and the protocol from h_proto without checking skb->len. If the\n  transfer is also short, those come from bytes left in the skb by an\n  earlier transfer, or from uninitialized memory.\n\nDrop frames shorter than ETH_HLEN, and frames whose claimed length, plus\nthe 0x8513 header, does not fit in the bytes actually received, and\ncount them as length errors. urb->actual_length never exceeds the\nPEGASUS_MTU sized transfer buffer, so this also covers the existing\nPEGASUS_MTU check. Valid Ethernet frames are at least 60 bytes long\nwithout the FCS, so they are not affected.\n\nFound by code review with LLM assistance. With an emulated USB device,\na 101-byte transfer claiming a 1500-byte frame was passed up as a\n1500-byte packet before this change and is dropped after it, and\nframes claiming 0, 4 and 13 bytes were passed up and are now dropped\nand counted in rx_length_errors. The extra bytes happened to be zero\nin the first test, so disclosure of actual kernel data was not\ndemonstrated.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: usb: pegasus: check rx pkt_len against the received length\n\nread_bulk_callback() takes the frame length from the device, from the\nreceive header on the 0x8513 and from the trailing status bytes on the\nother chips, and only checks it against PEGASUS_MTU before passing that\nmany bytes up the stack. In two cases the stack then uses bytes that the\ndevice did not send:\n\n- A device that sends a short transfer but claims a long frame gets the\n  stale or uninitialized remainder of the receive skb delivered as\n  packet data.\n\n- A device that claims a frame shorter than an Ethernet header gets\n  past the check as well. eth_type_trans() takes pkt_type from h_dest\n  and the protocol from h_proto without checking skb->len. If the\n  transfer is also short, those come from bytes left in the skb by an\n  earlier transfer, or from uninitialized memory.\n\nDrop frames shorter than ETH_HLEN, and frames whose claimed length, plus\nthe 0x8513 header, does not fit in the bytes actually received, and\ncount them as length errors. urb->actual_length never exceeds the\nPEGASUS_MTU sized transfer buffer, so this also covers the existing\nPEGASUS_MTU check. Valid Ethernet frames are at least 60 bytes long\nwithout the FCS, so they are not affected.\n\nFound by code review with LLM assistance. With an emulated USB device,\na 101-byte transfer claiming a 1500-byte frame was passed up as a\n1500-byte packet before this change and is dropped after it, and\nframes claiming 0, 4 and 13 bytes were passed up and are now dropped\nand counted in rx_length_errors. The extra bytes happened to be zero\nin the first test, so disclosure of actual kernel data was not\ndemonstrated.","source":"cvelist"}],"published":"2026-11-30T13:17:58.596Z","modified":"2026-11-30T14:20:23.333Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"76ff3ffdc8d3a83e0d12143e17053747200cf9f8","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"735008c0ed2d1e85900ef7473d50eda63ee47598","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"da9b52e9b2fe357adf94440c11278f2b40344a30","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"eb13f958159f481ea45640a3c9d2fc2cbc0cf1a1","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"8c0f5e2babfa63b13c2bf0b9624ce519fd1d2207","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"1179a864db9dff2258d72deee2348d967cfd6f29","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"c160b4490d5ed9e4d8fa3c602583858f89cfc80a","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"efee699f6de06611234ef9b0abd52db1340e5452","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.12","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.12","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.117","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.63","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.4","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","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/76ff3ffdc8d3a83e0d12143e17053747200cf9f8","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/735008c0ed2d1e85900ef7473d50eda63ee47598","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/da9b52e9b2fe357adf94440c11278f2b40344a30","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/eb13f958159f481ea45640a3c9d2fc2cbc0cf1a1","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8c0f5e2babfa63b13c2bf0b9624ce519fd1d2207","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1179a864db9dff2258d72deee2348d967cfd6f29","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c160b4490d5ed9e4d8fa3c602583858f89cfc80a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/efee699f6de06611234ef9b0abd52db1340e5452","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-99886","url":"https://www.cve.org/CVERecord?id=CVE-2026-99886","licence":"CVE Terms of Use","modified":"2026-11-30T13:17:58.596Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-99886","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99886","licence":"Public domain","modified":"2026-11-30T14:20:23.333Z"}],"updatedAt":"2026-11-30T14:33:43.259Z","epss":{"score":0.00221,"percentile":0.13463,"date":"2026-12-01T12:00:22.000Z"}}