wifi: ath9k: htc_hst: free skb in ath9k_htc_rx_msg() if there is no callback function
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ fb9987d0f748c983bb795a86f47522313f701a08 · < 5a84e51f72580fc70066b03f3dac38421e702a0b| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
wifi: ath9k: htc_hst: free skb in ath9k_htc_rx_msg() if there is no callback function
It is stated that ath9k_htc_rx_msg() either frees the provided skb or passes its management to another callback function. However, the skb is not freed in case there is no another callback function, and Syzkaller was able to cause a memory leak. Also minor comment fix.
Found by Linux Verification Center (linuxtesting.org) with Syzkaller.
From the CVE record · Linux
In the Linux kernel's ath9k Wi-Fi driver, ath9k_htc_rx_msg() can leak an skb when no callback function is available to receive it. Syzkaller triggered the leak; the input does not specify whether an attacker can trigger it, what access would be needed, or whether user interaction is required.
Engineers running Linux kernels with the ath9k driver should check their versions; affected versions are not specified.