diff options
author | Dmitry Antipov <[email protected]> | 2023-08-14 12:49:57 +0300 |
---|---|---|
committer | Kalle Valo <[email protected]> | 2023-08-23 14:11:42 +0300 |
commit | 35a7a1ce7c7d61664ee54f5239a1f120ab95a87e (patch) | |
tree | ffdb5402c0f5f6db312ebccacf241f345451d7c7 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 821b5192c955144bd2f0aeea6cd153e1aedd16e1 (diff) |
wifi: mwifiex: avoid possible NULL skb pointer dereference
In 'mwifiex_handle_uap_rx_forward()', always check the value
returned by 'skb_copy()' to avoid potential NULL pointer
dereference in 'mwifiex_uap_queue_bridged_pkt()', and drop
original skb in case of copying failure.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
Fixes: 838e4f449297 ("mwifiex: improve uAP RX handling")
Acked-by: Brian Norris <[email protected]>
Signed-off-by: Dmitry Antipov <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions