wifi: wcn36xx: fix heap overflow from oversized firmware HAL response
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 8e84c25821698bdef73c0329fb2022a4673b7adc · < 1b5d8a248c3afa640bcc99fa95abcd1e36f3ee18| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
wifi: wcn36xx: fix heap overflow from oversized firmware HAL response
The firmware response dispatcher copies all synchronous HAL responses into the 4096-byte hal_buf without validating the response length. A response exceeding WCN36XX_HAL_BUF_SIZE causes a heap buffer overflow with firmware-controlled content.
Add a bounds check on the response length.
From the CVE record · Linux
The Linux kernel’s wcn36xx firmware response dispatcher copies synchronous HAL responses into a 4096-byte buffer without checking their length. A firmware response larger than that buffer can cause a heap overflow with firmware-controlled content. The input does not specify how an attacker could trigger such a response or whether authentication or user interaction is required.
Engineers running Linux systems that use the wcn36xx Wi-Fi driver should check their kernel versions; affected versions are not specified.