{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-142992",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-12-03T03:10:28.341Z",
        "datePublished": "2026-12-03T09:17:23.927Z",
        "dateUpdated": "2026-12-04T03:26:52.756Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-12-04T03:26:52.756Z"
            },
            "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": {
                        "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"
                    },
                    "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."
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/usb/serial/oti6858.c"
                    ],
                    "versions": [
                        {
                            "version": "49cdee0ed0fce9e1bda81f5dcad8d5cce6aec983",
                            "lessThan": "752d4f56fc2cd53048b29453f43e9c86367f1b8b",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "49cdee0ed0fce9e1bda81f5dcad8d5cce6aec983",
                            "lessThan": "dda790fa08fb17ad57bb5609e4b132b01f1e47be",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "49cdee0ed0fce9e1bda81f5dcad8d5cce6aec983",
                            "lessThan": "b334404229260f3145e6e229c76289266985096e",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "49cdee0ed0fce9e1bda81f5dcad8d5cce6aec983",
                            "lessThan": "1991a62c2f6d1b5878ae33486b055c0d43d50b8d",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "49cdee0ed0fce9e1bda81f5dcad8d5cce6aec983",
                            "lessThan": "00dafa5677fad18633320221fc6ae87e3007e925",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "49cdee0ed0fce9e1bda81f5dcad8d5cce6aec983",
                            "lessThan": "f184ae84a5d19554d980a918a9c8baaef87ac301",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/usb/serial/oti6858.c"
                    ],
                    "versions": [
                        {
                            "version": "2.6.23",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "2.6.23",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.10.276",
                            "lessThanOrEqual": "5.10.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15.227",
                            "lessThanOrEqual": "5.15.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.120",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.66",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.3.7",
                            "lessThanOrEqual": "7.3.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.4-rc4",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.23",
                                    "versionEndExcluding": "5.10.276"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.23",
                                    "versionEndExcluding": "5.15.227"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.23",
                                    "versionEndExcluding": "6.12.120"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.23",
                                    "versionEndExcluding": "6.18.66"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.23",
                                    "versionEndExcluding": "7.3.7"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.23",
                                    "versionEndExcluding": "7.4-rc4"
                                }
                            ]
                        }
                    ]
                }
            ],
            "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"
            }
        }
    }
}