CVE-2026-142992: USB: serial: oti6858: fix the teardown order in close

Published Dec 3, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

USB: serial: oti6858: fix the teardown order in close

The driver passes a baton around: the completion handler of the interrupt urb either resubmits the urb, submits the read urb or schedules one of the two delayed works, and the works and the bulk completion handlers submit the interrupt urb again.

oti6858close() cancels the works first and kills the urbs afterwards. An interrupt urb that completes in between schedules a work again:

oti6858close() canceldelayedworksync(setup) canceldelayedworksync(write) oti6858readintcallback() scheduledelayedwork(setup) usbkillurb(interruptinurb) / not in flight / setupline() usbsubmiturb(interruptinurb)

The port is now closed with the baton still going round. The next open fails because the interrupt urb is already submitted, and if the device is unplugged, oti6858portremove() frees the private data while a work may be pending or running.

Poison the interrupt urb first: that waits for the handler and makes all further submissions fail, so nothing schedules the works any more. Then cancel the works, after which only the bulk urbs are left, kill those, and make the interrupt urb usable again for the next open. Don't print an error for the submissions that fail with -EPERM in this window, as oti6858readbulkcallback() already does.

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    In oti6858_close(), poison the interrupt URB first; then cancel the setup and write delayed works, kill the remaining bulk URBs, and unpoison the interrupt URB so it can be used on the next open.

Event History

Dec 3, 2026
CVE Published
via MITRE·09:17 AM
Data Sourced
via MITRE·09:17 AM
Description

Frequently Asked Questions

1

Which systems are exposed to this issue?

Systems using the Linux kernel oti6858 USB serial driver are exposed when an affected OTI6858 USB serial device is in use. The issue involves driver close and device-removal paths.

2

What conditions trigger the failure?

The failure requires a race during port closure: an interrupt URB can complete after delayed work has been cancelled but before the URBs are killed, allowing it to schedule work and resubmit the interrupt URB. Unplugging the device while such work is pending or running can lead to private data being freed prematurely.

3

How can an administrator recognize that the issue may have occurred?

A subsequent attempt to open the serial port can fail because the interrupt URB remains submitted after the port was closed. Device removal during the race can also leave delayed work pending or running against freed driver-private data.

4

What is the relevant mitigation if an update cannot be applied immediately?

The provided data does not specify a configuration workaround. Reducing close/open cycling and avoiding unplugging an OTI6858 device while its port is being closed may reduce exposure to the described race, but this is not a complete mitigation.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203