CVE-2026-142992

Source
https://cve.org/CVERecord?id=CVE-2026-142992
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142992.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-142992
Downstream
Published
2026-12-03T09:17:23Z
Modified
2026-12-03T11:00:48Z
Summary
USB: serial: oti6858: fix the teardown order in close
Details

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.

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

oti6858_close()
  cancel_delayed_work_sync(setup)
  cancel_delayed_work_sync(write)
			oti6858_read_int_callback()
			  schedule_delayed_work(setup)
  usb_kill_urb(interrupt_in_urb)	/* not in flight */
			setup_line()
			  usb_submit_urb(interrupt_in_urb)

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, oti6858_port_remove() 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 oti6858_read_bulk_callback() already does.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142992.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
49cdee0ed0fce9e1bda81f5dcad8d5cce6aec983
Fixed
752d4f56fc2cd53048b29453f43e9c86367f1b8b
Fixed
dda790fa08fb17ad57bb5609e4b132b01f1e47be
Fixed
b334404229260f3145e6e229c76289266985096e
Fixed
1991a62c2f6d1b5878ae33486b055c0d43d50b8d
Fixed
00dafa5677fad18633320221fc6ae87e3007e925
Show 1 more event Show fewer events
Fixed
f184ae84a5d19554d980a918a9c8baaef87ac301

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142992.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.6.23
Fixed
5.10.276
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.227
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.12.120
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.66
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.7

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142992.json"