freenode

← CVE tracker

CVE-2026-142970

USB: serial: sierra: validate URB length in instat callback

Severity
unscored
Affects
Linux
Published
3 December 2026 by Linux
First seen on our lists
3 December 2026
In the Linux kernel, the following vulnerability has been resolved: USB: serial: sierra: validate URB length in instat callback sierra_instat_callback() reads request fields and one byte past the usb_ctrlrequest header without first checking that urb->actual_length is large enough. A short USB interrupt transfer could cause an out-of-bounds read. Add two length checks matching the pattern already present in the option driver (option_instat_callback): one for the request header before accessing bRequestType, and one for the line-state data byte inside the serial-state notification handler. Use dev_err() since failing these checks causes the interrupt URB not to be resubmitted. [ johan: use sizeof(*req_pkt) consistently ]

Our coverage

We have not written about this one. Know why it matters? Send a tip.

On the lists