diff options
author | Fedor Pchelkin <[email protected]> | 2023-01-04 15:35:46 +0300 |
---|---|---|
committer | Kalle Valo <[email protected]> | 2023-01-17 13:52:35 +0200 |
commit | 9b25e3985477ac3f02eca5fc1e0cc6850a3f7e69 (patch) | |
tree | 3c1fcbb7d9041f496a5b0edd04fecb4d904127f4 /tools/perf/scripts/python/arm-cs-trace-disasm.py | |
parent | 323d91d4684d238f6bc3693fed93caf795378fe0 (diff) |
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.
Fixes: fb9987d0f748 ("ath9k_htc: Support for AR9271 chipset.")
Reported-by: [email protected]
Reported-by: [email protected]
Signed-off-by: Fedor Pchelkin <[email protected]>
Signed-off-by: Alexey Khoroshilov <[email protected]>
Acked-by: Toke Høiland-Jørgensen <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/arm-cs-trace-disasm.py')
0 files changed, 0 insertions, 0 deletions