{"id":"CVE-2026-98025","aliases":["CVE-2026-98025"],"related":[],"kind":"vulnerability","state":"published","title":"net: usb: cx82310_eth: drop URB after 0xffff reboot sentinel to prevent partial_data heap overflow","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: usb: cx82310_eth: drop URB after 0xffff reboot sentinel to prevent partial_data heap overflow\n\nThe 0xffff length sentinel detects a router reboot and schedules\nre-enabling of ethernet mode, but then falls through to the rest\nof the loop body.  The next check is\n\n\t} else if (len > CX82310_MTU) {\n\nwhich is the else of the just-matched if -- it never fires for\nlen == 0xffff.  The MTU bound that normally caps the\nincomplete-packet save path is silently bypassed.\n\nWith 0xffff > skb->len always true (rx_urb_size is 4096), the\nincomplete-packet branch saves dev->partial_len = skb->len bytes\ninto dev->partial_data.  partial_data is kmalloc(hard_mtu) =\nkmalloc(CX82310_MTU + 2) = 1516 bytes, but skb->len after the\n2-byte header pull can be up to 4094.  A device that sends a\n4096-byte URB starting with [0xff 0xff] therefore copies 4094\ndevice-provided bytes into a buffer allocated for 1516 bytes,\nexceeding its requested size by 2578 bytes.\n\nThe next URB then reads dev->partial_len (4094) back from the same\n1516-byte buffer and dev->partial_rem (65535 - 4094 = 61441) from\nthe new URB's ~4KB skb, both well past their allocations, and\ndelivers the spliced result as a 64KB \"frame\" to the network\nstack.\n\nBail out of rx_fixup after scheduling the re-enable work; the\nremainder of a reboot-marker URB is not meaningful packet data.\nThis restores the invariant that partial_len < CX82310_MTU + 2 on\nthe save path, since every other route there has already passed\nthe MTU check.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: usb: cx82310_eth: drop URB after 0xffff reboot sentinel to prevent partial_data heap overflow\n\nThe 0xffff length sentinel detects a router reboot and schedules\nre-enabling of ethernet mode, but then falls through to the rest\nof the loop body.  The next check is\n\n\t} else if (len > CX82310_MTU) {\n\nwhich is the else of the just-matched if -- it never fires for\nlen == 0xffff.  The MTU bound that normally caps the\nincomplete-packet save path is silently bypassed.\n\nWith 0xffff > skb->len always true (rx_urb_size is 4096), the\nincomplete-packet branch saves dev->partial_len = skb->len bytes\ninto dev->partial_data.  partial_data is kmalloc(hard_mtu) =\nkmalloc(CX82310_MTU + 2) = 1516 bytes, but skb->len after the\n2-byte header pull can be up to 4094.  A device that sends a\n4096-byte URB starting with [0xff 0xff] therefore copies 4094\ndevice-provided bytes into a buffer allocated for 1516 bytes,\nexceeding its requested size by 2578 bytes.\n\nThe next URB then reads dev->partial_len (4094) back from the same\n1516-byte buffer and dev->partial_rem (65535 - 4094 = 61441) from\nthe new URB's ~4KB skb, both well past their allocations, and\ndelivers the spliced result as a 64KB \"frame\" to the network\nstack.\n\nBail out of rx_fixup after scheduling the re-enable work; the\nremainder of a reboot-marker URB is not meaningful packet data.\nThis restores the invariant that partial_len < CX82310_MTU + 2 on\nthe save path, since every other route there has already passed\nthe MTU check.","source":"cvelist"}],"published":"2026-09-25T10:23:43.906Z","modified":"2026-10-19T10:17:56.440Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"ca139d76b0d9e59d18f2d2ec8f0d81b82acd6808","fixed":"d0c1ce6ef4cefe568e19afa83f543caa3c3c0873","status":"affected"},{"type":"git","introduced":"ca139d76b0d9e59d18f2d2ec8f0d81b82acd6808","fixed":"0dbc89e664b4609ad672b5bdeef60df251294b8f","status":"affected"},{"type":"git","introduced":"ca139d76b0d9e59d18f2d2ec8f0d81b82acd6808","fixed":"00520cdd21ea6a9b5dc8d53bbd241620d2059554","status":"affected"},{"type":"git","introduced":"ca139d76b0d9e59d18f2d2ec8f0d81b82acd6808","fixed":"59bf9e94bdc49557f07d87164269daff7340f4d6","status":"affected"},{"type":"git","introduced":"ca139d76b0d9e59d18f2d2ec8f0d81b82acd6808","fixed":"3bd689409bb1c93bdc6dd8ec6cbf5161bc4f0287","status":"affected"},{"type":"git","introduced":"ca139d76b0d9e59d18f2d2ec8f0d81b82acd6808","fixed":"659654654eb140851467af41d610473c100c7975","status":"affected"},{"type":"git","introduced":"ca139d76b0d9e59d18f2d2ec8f0d81b82acd6808","fixed":"237c9ae7145772af147e4665f158938350fa5658","status":"affected"},{"type":"git","introduced":"ca139d76b0d9e59d18f2d2ec8f0d81b82acd6808","fixed":"5d50e90add8b4a978395e893e81954d19d58a7c5","status":"affected"},{"type":"git","version":"5adf7fbdfa3e9e425b04771e1d64c4e184ad8fdb","status":"affected"},{"type":"git","version":"c1b187a86a176e42f5e48066556980e3232b6cab","status":"affected"},{"type":"semver","introduced":"4.19.322","fixed":"4.20","status":"affected"},{"type":"semver","introduced":"5.4.284","fixed":"5.5","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.10","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.10","status":"unaffected"},{"type":"semver","introduced":"5.10.271","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.222","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.189","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.158","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.111","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.53","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.7","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","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/d0c1ce6ef4cefe568e19afa83f543caa3c3c0873","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0dbc89e664b4609ad672b5bdeef60df251294b8f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/00520cdd21ea6a9b5dc8d53bbd241620d2059554","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/59bf9e94bdc49557f07d87164269daff7340f4d6","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3bd689409bb1c93bdc6dd8ec6cbf5161bc4f0287","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/659654654eb140851467af41d610473c100c7975","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/237c9ae7145772af147e4665f158938350fa5658","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5d50e90add8b4a978395e893e81954d19d58a7c5","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-98025","url":"https://www.cve.org/CVERecord?id=CVE-2026-98025","licence":"CVE Terms of Use","modified":"2026-10-19T09:12:30.354Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-98025","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98025","licence":"Public domain","modified":"2026-10-19T10:17:56.440Z"}],"updatedAt":"2026-11-25T22:59:41.028Z","epss":{"score":0.00237,"percentile":0.15754,"date":"2026-12-01T12:00:22.000Z"}}