CVE-2026-142966: USB: serial: io_edgeport: fix potential NULL-deref at open
In the Linux kernel, the following vulnerability has been resolved:
USB: serial: ioedgeport: fix potential NULL-deref at open
Do not mark the port as open until after the write FIFO has been allocated and initialised to prevent a racing interrupt completion from attempting to send stale data and dereference the FIFO buffer pointer.
Note that the open flag defaults to false and is cleared on close() so there is no need to reinitialise it on every open().
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
Set the port's open flag only after the write FIFO has been allocated and initialized; rely on the flag defaulting to false and being cleared by close() rather than reinitializing it on every open().
Event History
Frequently Asked Questions
Which systems are exposed to this issue?
Systems using the Linux kernel io_edgeport USB serial driver are exposed when an affected Edgeport port is opened. The race involves an interrupt completion occurring while the port is being opened.
What has to happen for the NULL dereference to occur?
The port must be marked open before its write FIFO has been allocated and initialized, allowing a racing interrupt completion to attempt to send stale data through a NULL FIFO pointer.
How can I determine whether the fix is present?
Inspect the io_edgeport open path: the port open flag should be set only after the write FIFO has been allocated and initialized. The referenced stable commits contain the resolved change.