{"id":"CVE-2026-98773","aliases":["CVE-2026-98773"],"related":[],"kind":"vulnerability","state":"published","title":"USB: cdc-acm: skip URB restart in port_shutdown if disconnected","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nUSB: cdc-acm: skip URB restart in port_shutdown if disconnected\n\nacm_port_shutdown() is called from the tty-port machinery whenever the\nlast user closes the port.  acm_disconnect() sets acm->disconnected and\ncalls tty_port_tty_vhangup(), which eventually triggers port_shutdown().\nAt that point acm_disconnect() has already called acm_poison_urbs() and\nis about to free the control and read URBs.\n\nHowever, acm_port_shutdown() unconditionally calls acm_unpoison_urbs()\nand, when the ALWAYS_POLL_CTRL quirk is set, immediately re-submits the\nctrlurb and all read URBs.  If the concurrent acm_disconnect() then\nfrees those URBs and their DMA buffers while they are in-flight, the\nresult is a use-after-free in acm_ctrl_irq() or acm_read_bulk_callback()\naccessing the freed DMA memory.\n\nFix by checking acm->disconnected after draining the delayed anchor and\nreturning early: if we are in a disconnect path the URBs must remain\npoisoned and must not be resubmitted.\n\nThe early return is placed after the delayed-anchor drain loop because\nthat loop only cancels write-side accounting (wb->use = false and\nautopm counter) and does not touch the hardware path.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nUSB: cdc-acm: skip URB restart in port_shutdown if disconnected\n\nacm_port_shutdown() is called from the tty-port machinery whenever the\nlast user closes the port.  acm_disconnect() sets acm->disconnected and\ncalls tty_port_tty_vhangup(), which eventually triggers port_shutdown().\nAt that point acm_disconnect() has already called acm_poison_urbs() and\nis about to free the control and read URBs.\n\nHowever, acm_port_shutdown() unconditionally calls acm_unpoison_urbs()\nand, when the ALWAYS_POLL_CTRL quirk is set, immediately re-submits the\nctrlurb and all read URBs.  If the concurrent acm_disconnect() then\nfrees those URBs and their DMA buffers while they are in-flight, the\nresult is a use-after-free in acm_ctrl_irq() or acm_read_bulk_callback()\naccessing the freed DMA memory.\n\nFix by checking acm->disconnected after draining the delayed anchor and\nreturning early: if we are in a disconnect path the URBs must remain\npoisoned and must not be resubmitted.\n\nThe early return is placed after the delayed-anchor drain loop because\nthat loop only cancels write-side accounting (wb->use = false and\nautopm counter) and does not touch the hardware path.","source":"cvelist"}],"published":"2026-10-18T15:48:09.093Z","modified":"2026-10-30T13:21:27.007Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"d826061aa64cb28089bf4c73e301dd7928662b84","fixed":"d97da42e9de577dc827d4e8866e6971deefe2d9c","status":"affected"},{"type":"git","introduced":"8fb82e3555a7d56a05d8ef0edee9859f889c0860","fixed":"d86775e79838d7d2e38ccf506a7d0f8e2dd4d5d0","status":"affected"},{"type":"git","introduced":"603d5a7110832e10165d21f9a1486399457177de","fixed":"9742905d9ed5bf23ebe4c100dec80b6bc50fb522","status":"affected"},{"type":"git","introduced":"5d29d7ff8679e5a525f22da467ba33c042e8029b","fixed":"a0ed07b5bbb2d8fcef86810453216070691816e7","status":"affected"},{"type":"git","introduced":"f58752ebcb35e156c85cd1a82d6579c7af3b9023","fixed":"420ca35af891d33522cc08504768ccd60a4c450a","status":"affected"},{"type":"git","introduced":"f58752ebcb35e156c85cd1a82d6579c7af3b9023","fixed":"dc614d6bc991740d41d5a99ac7765c4b675dda88","status":"affected"},{"type":"git","version":"283f8162cc3c82086537cbc7dc01870dbeb07a91","status":"affected"},{"type":"git","version":"f77f10bc76c2da86b4248269472f6d971e37828b","status":"affected"},{"type":"semver","introduced":"6.1.175","fixed":"6.1.191","status":"affected"},{"type":"semver","introduced":"6.6.136","fixed":"6.6.160","status":"affected"},{"type":"semver","introduced":"6.12.83","fixed":"6.12.113","status":"affected"},{"type":"semver","introduced":"6.18.24","fixed":"6.18.56","status":"affected"},{"type":"semver","introduced":"6.19.14","fixed":"6.20","status":"affected"},{"type":"semver","introduced":"7.0.1","fixed":"7.1","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"7.1","status":"affected"},{"type":"semver","introduced":"0","fixed":"7.1","status":"unaffected"},{"type":"semver","introduced":"6.1.191","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.160","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.113","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.56","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.10","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/d97da42e9de577dc827d4e8866e6971deefe2d9c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d86775e79838d7d2e38ccf506a7d0f8e2dd4d5d0","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9742905d9ed5bf23ebe4c100dec80b6bc50fb522","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a0ed07b5bbb2d8fcef86810453216070691816e7","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/420ca35af891d33522cc08504768ccd60a4c450a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/dc614d6bc991740d41d5a99ac7765c4b675dda88","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-98773","url":"https://www.cve.org/CVERecord?id=CVE-2026-98773","licence":"CVE Terms of Use","modified":"2026-10-30T12:39:41.890Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-98773","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98773","licence":"Public domain","modified":"2026-10-30T13:21:27.007Z"}],"updatedAt":"2026-11-25T22:59:45.298Z","epss":{"score":0.00173,"percentile":0.07039,"date":"2026-12-01T12:00:22.000Z"}}