CVE-2026-139495: wifi: mt76: usb: fix source overread in mt76u_copy
In the Linux kernel, the following vulnerability has been resolved:
wifi: mt76: usb: fix source overread in mt76ucopy
mt76ucopy() rounds up len to a multiple of four and uses the rounded length as the bound for memcpy() from the source buffer. When the caller's length is not four-byte aligned, the final copy reads up to three bytes past the source buffer.
Keep the original length for the source copy and zero the remaining bytes in the transmit buffer so that the hardware access width remains four-byte aligned.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
In mt76u_copy(), retain the caller's original length as the bound for copying from the source buffer, then zero the remaining bytes in the transmit buffer while keeping the hardware access width four-byte aligned.
Event History
Frequently Asked Questions
Which systems are exposed to this issue?
Systems running the Linux kernel with the mt76 USB Wi-Fi driver are relevant. The overread occurs in the mt76u_copy() transmit-buffer handling path when a caller supplies a length that is not divisible by four.
What condition triggers the overread?
A source buffer length that is not four-byte aligned triggers the issue. The function rounds the length up for a memcpy() bound, causing it to read up to three bytes beyond the source buffer.
What is the remediation?
Apply a Linux kernel update containing the mt76u_copy() fix. The corrected behavior copies only the original source length and zero-fills the remaining transmit-buffer bytes needed for four-byte-aligned hardware access.