AZL-117833: CVE-2026-142970 affecting package kernel 6.6.161.1-1
In the Linux kernel, the following vulnerability has been resolved:
USB: serial: sierra: validate URB length in instat callback
sierrainstatcallback() reads request fields and one byte past the usbctrlrequest header without first checking that urb->actuallength 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 (optioninstatcallback): one for the request header before accessing bRequestType, and one for the line-state data byte inside the serial-state notification handler. Use deverr() since failing these checks causes the interrupt URB not to be resubmitted.
[ johan: use sizeof(reqpkt) consistently ]
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
In sierra_instat_callback(), check urb->actual_length before accessing bRequestType, using sizeof(*req_pkt) for the request-header length, and check that the serial-state notification contains the line-state data byte before reading it.
Event History
Frequently Asked Questions
What must occur for this issue to be triggered?
The Sierra USB serial driver's interrupt-status callback must receive a USB interrupt transfer shorter than the data it reads. The vulnerable path accesses USB request fields and a line-state byte without first confirming that the transfer contains those bytes.
What is the effect of the fix when a malformed short transfer is received?
The driver checks the transfer length before accessing the request header and again before accessing the line-state data byte. If either check fails, it reports an error with dev_err() and does not resubmit the interrupt URB.
Which package version is identified in the provided vulnerability record?
The record identifies the Azure Linux kernel package version 6.6.161.1-1.