CVE-2026-74340: wifi: wcn36xx: fix OOB read from firmware count in PRINT_REG_INFO indication
In the Linux kernel, the following vulnerability has been resolved:
wifi: wcn36xx: fix OOB read from firmware count in PRINTREGINFO 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.
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Linux kernel - wifi: wcn36xxto a version that resolves this vulnerability.Patch fix OOB read from firmware count in PRINT_REG_INFO indication - Compensating control
Add a bounds check to ensure the firmware-controlled rsp->count value fits within the received message (validate rsp->count against the message length) before using it as the loop bound for reads and for indexing into rsp->regs[] (to prevent out-of-bounds reads).