wifi: wcn36xx: fix OOB read from firmware count in PRINT_REG_INFO indication
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 43efa3c0f241e04862be8e6a68ff765d36cde1ba · < f03782f7f41f2afee5076a1ef08ced5649218771| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
wifi: wcn36xx: fix OOB read from firmware count in PRINT_REG_INFO indication
The firmware-controlled rsp->count field is used as the loop bound for indexing into the flexible rsp->regs[] array without validation against the message length. A count exceeding the actual data causes out-of- bounds reads from the heap-allocated message buffer.
Add a check that count fits within the received message.
From the CVE record · Linux
The Linux kernel's wcn36xx Wi-Fi driver does not validate a firmware-provided register count against the received message length. A count larger than the available data causes out-of-bounds reads from a heap-allocated message buffer. The input does not establish whether an attacker can trigger this remotely or whether authentication or user interaction is required.
Engineers running Linux kernels with the wcn36xx Wi-Fi driver should check their kernel version; affected versions were not provided.