{"api_version":"1","generated_at":"2026-12-04T13:19:53+00:00","cve":"CVE-2026-142992","urls":{"html":"https://cve.report/CVE-2026-142992","api":"https://cve.report/api/cve/CVE-2026-142992.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-142992","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-142992"},"summary":{"title":"USB: serial: oti6858: fix the teardown order in close","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nUSB: serial: oti6858: fix the teardown order in close\n\nThe driver passes a baton around: the completion handler of the\ninterrupt urb either resubmits the urb, submits the read urb or\nschedules one of the two delayed works, and the works and the bulk\ncompletion handlers submit the interrupt urb again.\n\noti6858_close() cancels the works first and kills the urbs afterwards.\nAn interrupt urb that completes in between schedules a work again:\n\n\toti6858_close()\n\t  cancel_delayed_work_sync(setup)\n\t  cancel_delayed_work_sync(write)\n\t\t\t\toti6858_read_int_callback()\n\t\t\t\t  schedule_delayed_work(setup)\n\t  usb_kill_urb(interrupt_in_urb)\t/* not in flight */\n\t\t\t\tsetup_line()\n\t\t\t\t  usb_submit_urb(interrupt_in_urb)\n\nThe port is now closed with the baton still going round. The next open\nfails because the interrupt urb is already submitted, and if the device\nis unplugged, oti6858_port_remove() frees the private data while a work\nmay be pending or running.\n\nPoison the interrupt urb first: that waits for the handler and makes all\nfurther submissions fail, so nothing schedules the works any more. Then\ncancel the works, after which only the bulk urbs are left, kill those,\nand make the interrupt urb usable again for the next open. Don't print\nan error for the submissions that fail with -EPERM in this window, as\noti6858_read_bulk_callback() already does.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-12-03 10:17:24","updated_at":"2026-12-04 04:17:32"},"problem_types":[],"metrics":[{"version":"3.1","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","score":"7.8","severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"7.8","severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","data":{"baseScore":7.8,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}}],"references":[{"url":"https://git.kernel.org/stable/c/dda790fa08fb17ad57bb5609e4b132b01f1e47be","name":"https://git.kernel.org/stable/c/dda790fa08fb17ad57bb5609e4b132b01f1e47be","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/f184ae84a5d19554d980a918a9c8baaef87ac301","name":"https://git.kernel.org/stable/c/f184ae84a5d19554d980a918a9c8baaef87ac301","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/00dafa5677fad18633320221fc6ae87e3007e925","name":"https://git.kernel.org/stable/c/00dafa5677fad18633320221fc6ae87e3007e925","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/752d4f56fc2cd53048b29453f43e9c86367f1b8b","name":"https://git.kernel.org/stable/c/752d4f56fc2cd53048b29453f43e9c86367f1b8b","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/1991a62c2f6d1b5878ae33486b055c0d43d50b8d","name":"https://git.kernel.org/stable/c/1991a62c2f6d1b5878ae33486b055c0d43d50b8d","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/b334404229260f3145e6e229c76289266985096e","name":"https://git.kernel.org/stable/c/b334404229260f3145e6e229c76289266985096e","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-142992","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-142992","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 49cdee0ed0fce9e1bda81f5dcad8d5cce6aec983 752d4f56fc2cd53048b29453f43e9c86367f1b8b git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 49cdee0ed0fce9e1bda81f5dcad8d5cce6aec983 dda790fa08fb17ad57bb5609e4b132b01f1e47be git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 49cdee0ed0fce9e1bda81f5dcad8d5cce6aec983 b334404229260f3145e6e229c76289266985096e git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 49cdee0ed0fce9e1bda81f5dcad8d5cce6aec983 1991a62c2f6d1b5878ae33486b055c0d43d50b8d git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 49cdee0ed0fce9e1bda81f5dcad8d5cce6aec983 00dafa5677fad18633320221fc6ae87e3007e925 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 49cdee0ed0fce9e1bda81f5dcad8d5cce6aec983 f184ae84a5d19554d980a918a9c8baaef87ac301 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2.6.23","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 2.6.23 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.10.276 5.10.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.227 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.120 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.66 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.7 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc4 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"142992","cve":"CVE-2026-142992","epss":"0.002150000","percentile":"0.126240000","score_date":"2026-12-03","updated_at":"2026-12-04 00:14:18"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/usb/serial/oti6858.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"752d4f56fc2cd53048b29453f43e9c86367f1b8b","status":"affected","version":"49cdee0ed0fce9e1bda81f5dcad8d5cce6aec983","versionType":"git"},{"lessThan":"dda790fa08fb17ad57bb5609e4b132b01f1e47be","status":"affected","version":"49cdee0ed0fce9e1bda81f5dcad8d5cce6aec983","versionType":"git"},{"lessThan":"b334404229260f3145e6e229c76289266985096e","status":"affected","version":"49cdee0ed0fce9e1bda81f5dcad8d5cce6aec983","versionType":"git"},{"lessThan":"1991a62c2f6d1b5878ae33486b055c0d43d50b8d","status":"affected","version":"49cdee0ed0fce9e1bda81f5dcad8d5cce6aec983","versionType":"git"},{"lessThan":"00dafa5677fad18633320221fc6ae87e3007e925","status":"affected","version":"49cdee0ed0fce9e1bda81f5dcad8d5cce6aec983","versionType":"git"},{"lessThan":"f184ae84a5d19554d980a918a9c8baaef87ac301","status":"affected","version":"49cdee0ed0fce9e1bda81f5dcad8d5cce6aec983","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/usb/serial/oti6858.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"2.6.23"},{"lessThan":"2.6.23","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"5.10.*","status":"unaffected","version":"5.10.276","versionType":"semver"},{"lessThanOrEqual":"5.15.*","status":"unaffected","version":"5.15.227","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.120","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.66","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.7","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc4","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.10.276","versionStartIncluding":"2.6.23","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.227","versionStartIncluding":"2.6.23","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.120","versionStartIncluding":"2.6.23","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.66","versionStartIncluding":"2.6.23","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.7","versionStartIncluding":"2.6.23","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc4","versionStartIncluding":"2.6.23","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nUSB: serial: oti6858: fix the teardown order in close\n\nThe driver passes a baton around: the completion handler of the\ninterrupt urb either resubmits the urb, submits the read urb or\nschedules one of the two delayed works, and the works and the bulk\ncompletion handlers submit the interrupt urb again.\n\noti6858_close() cancels the works first and kills the urbs afterwards.\nAn interrupt urb that completes in between schedules a work again:\n\n\toti6858_close()\n\t  cancel_delayed_work_sync(setup)\n\t  cancel_delayed_work_sync(write)\n\t\t\t\toti6858_read_int_callback()\n\t\t\t\t  schedule_delayed_work(setup)\n\t  usb_kill_urb(interrupt_in_urb)\t/* not in flight */\n\t\t\t\tsetup_line()\n\t\t\t\t  usb_submit_urb(interrupt_in_urb)\n\nThe port is now closed with the baton still going round. The next open\nfails because the interrupt urb is already submitted, and if the device\nis unplugged, oti6858_port_remove() frees the private data while a work\nmay be pending or running.\n\nPoison the interrupt urb first: that waits for the handler and makes all\nfurther submissions fail, so nothing schedules the works any more. Then\ncancel the works, after which only the bulk urbs are left, kill those,\nand make the interrupt urb usable again for the next open. Don't print\nan error for the submissions that fail with -EPERM in this window, as\noti6858_read_bulk_callback() already does."}],"metrics":[{"cvssV3_1":{"baseScore":7.8,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"scenarios":[{"lang":"en","value":"AV:L - The patched function is oti6858_close(). Closing the oti6858 tty (USB 0ea0:6858) runs tty_release() -> serial_close() -> tty_port_close() -> serial_port_shutdown() -> oti6858_close(). The defect is that order: oti6858_read_int_callback() can schedule delayed_setup_work after cancel_delayed_work_sync() returns. No status-packet field carries a malformed value.\nAC:L - The attacker opens the node so oti6858_open() submits interrupt_in_urb, tcsetattr()s so pending_setup fails OTI6858_CTRL_EQUALS_PENDING with rx_bytes_avail 0, and close()s. oti6858_read_int_callback() then schedule_delayed_work()s delayed_setup_work in the gap before usb_kill_urb(interrupt_in_urb). Repeating that sequence hits the gap; the attacker unplugs while setup_line() is queued or blocked in usb_control_msg().\nPR:L - oti6858_open() and oti6858_close() are reached from serial_port_activate() and serial_port_shutdown() with no capable() check. Opening and closing ttyUSB for id 0ea0:6858 needs only node permission (dialout or a logind uaccess ACL), not CAP_SYS_ADMIN.\nUI:N - The same process opens the tty, changes termios, and closes it, so oti6858_close() runs on its own fd. Disconnecting the adapter so oti6858_port_remove() frees priv is that attacker's own action; nobody else has to open the node or confirm a prompt.\nS:U - kfree() of struct oti6858_private in oti6858_port_remove(), while setup_line() or send_data() still uses it, stays in the host kernel on that machine. It is not a guest-to-host, IOMMU, or sandbox crossing.\nC:H - oti6858_port_remove() kfree()s priv while delayed_setup_work can still run setup_line(). The work_struct and priv->port sit in that object; reclaiming the slab lets a later load of priv->port in setup_line(), or work->func, be aimed at attacker-chosen memory.\nI:H - delayed_setup_work is embedded in the freed oti6858_private, so a reclaimed slab can replace work->func before the worker runs. setup_line() also schedule_delayed_work()s itself again when usb_control_msg() fails, writing the workqueue linkage through the freed object.\nA:H - setup_line() after oti6858_port_remove()'s kfree() dereferences priv->port and priv->lock, and a corrupted delayed_work func is called by the workqueue. Either fault oopses or panics the kernel."}]}],"providerMetadata":{"dateUpdated":"2026-12-04T03:26:52.756Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/752d4f56fc2cd53048b29453f43e9c86367f1b8b"},{"url":"https://git.kernel.org/stable/c/dda790fa08fb17ad57bb5609e4b132b01f1e47be"},{"url":"https://git.kernel.org/stable/c/b334404229260f3145e6e229c76289266985096e"},{"url":"https://git.kernel.org/stable/c/1991a62c2f6d1b5878ae33486b055c0d43d50b8d"},{"url":"https://git.kernel.org/stable/c/00dafa5677fad18633320221fc6ae87e3007e925"},{"url":"https://git.kernel.org/stable/c/f184ae84a5d19554d980a918a9c8baaef87ac301"}],"title":"USB: serial: oti6858: fix the teardown order in close","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-142992","datePublished":"2026-12-03T09:17:23.927Z","dateReserved":"2026-12-03T03:10:28.341Z","dateUpdated":"2026-12-04T03:26:52.756Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-12-03 10:17:24","lastModifiedDate":"2026-12-04 04:17:32","problem_types":[],"metrics":{"cvssMetricV31":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.9}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"142992","Ordinal":"1","Title":"USB: serial: oti6858: fix the teardown order in close","CVE":"CVE-2026-142992","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"142992","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nUSB: serial: oti6858: fix the teardown order in close\n\nThe driver passes a baton around: the completion handler of the\ninterrupt urb either resubmits the urb, submits the read urb or\nschedules one of the two delayed works, and the works and the bulk\ncompletion handlers submit the interrupt urb again.\n\noti6858_close() cancels the works first and kills the urbs afterwards.\nAn interrupt urb that completes in between schedules a work again:\n\n\toti6858_close()\n\t  cancel_delayed_work_sync(setup)\n\t  cancel_delayed_work_sync(write)\n\t\t\t\toti6858_read_int_callback()\n\t\t\t\t  schedule_delayed_work(setup)\n\t  usb_kill_urb(interrupt_in_urb)\t/* not in flight */\n\t\t\t\tsetup_line()\n\t\t\t\t  usb_submit_urb(interrupt_in_urb)\n\nThe port is now closed with the baton still going round. The next open\nfails because the interrupt urb is already submitted, and if the device\nis unplugged, oti6858_port_remove() frees the private data while a work\nmay be pending or running.\n\nPoison the interrupt urb first: that waits for the handler and makes all\nfurther submissions fail, so nothing schedules the works any more. Then\ncancel the works, after which only the bulk urbs are left, kill those,\nand make the interrupt urb usable again for the next open. Don't print\nan error for the submissions that fail with -EPERM in this window, as\noti6858_read_bulk_callback() already does.","Type":"Description","Title":"USB: serial: oti6858: fix the teardown order in close"}]}}}