diff options
author | YueHaibing <yuehaibing@huawei.com> | 2022-11-23 16:12:53 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-12-05 13:26:08 +0100 |
commit | d30f4436f364b4ad915ca2c09be07cd0f93ceb44 (patch) | |
tree | 8a274fde0ce3b72fc7752036f10cc897db5a7105 /tools/perf/scripts/python/stackcollapse.py | |
parent | e0005909e5e98f230397064de391371ba6a66fba (diff) |
staging: rtl8192e: Fix potential use-after-free in rtllib_rx_Monitor()
The skb is delivered to netif_rx() in rtllib_monitor_rx(), which may free it,
after calling this, dereferencing skb may trigger use-after-free.
Found by Smatch.
Fixes: 94a799425eee ("From: wlanfae <wlanfae@realtek.com> [PATCH 1/8] rtl8192e: Import new version of driver from realtek")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20221123081253.22296-1-yuehaibing@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions