CVE-2026-142970
Description
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 ]
Affected products
1Patches
Vulnerability mechanics
References
6- git.kernel.org/stable/c/0c170ace4a09f86ab6d03d0054f7b54f629c3891nvd
- git.kernel.org/stable/c/20e1c895482c39900960561ebbbcd1e28800d1e2nvd
- git.kernel.org/stable/c/6f3ef3485a7df6fc3e6674cda2109ba4eccff919nvd
- git.kernel.org/stable/c/8804ec0725821fda09c620f83fc6688f59c843ccnvd
- git.kernel.org/stable/c/a3d43b39032cc5565a5693a10c581844342372cdnvd
- git.kernel.org/stable/c/be5b64cd8fbdca9d052a250be3f09fb2105ecac4nvd
News mentions
0No linked articles in our index yet.