{"id":"CVE-2026-98773","published":"2026-10-18T16:17:31.223","lastModified":"2026-10-19T10:19:41.400","description":"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.","cvssScore":null,"cvssSeverity":null,"cvssVector":null,"cwes":[],"vendors":[],"products":[],"references":[{"url":"https://git.kernel.org/stable/c/420ca35af891d33522cc08504768ccd60a4c450a","tags":[]},{"url":"https://git.kernel.org/stable/c/9742905d9ed5bf23ebe4c100dec80b6bc50fb522","tags":[]},{"url":"https://git.kernel.org/stable/c/a0ed07b5bbb2d8fcef86810453216070691816e7","tags":[]},{"url":"https://git.kernel.org/stable/c/dc614d6bc991740d41d5a99ac7765c4b675dda88","tags":[]}],"exploitRefs":[],"hasPoc":false,"ai":null}