diff options
| author | Emmanuel Grumbach <[email protected]> | 2019-07-22 10:02:25 +0000 |
|---|---|---|
| committer | Johannes Berg <[email protected]> | 2019-07-30 16:34:32 +0000 |
| commit | 71b256f8f7a5c09810d2c3ed6165629c2cc0a652 (patch) | |
| tree | b6855d953e722017be475e4b121871a9f59223a7 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | iwlwifi: mvm: fix an out-of-bound access (diff) | |
| download | kernel-71b256f8f7a5c09810d2c3ed6165629c2cc0a652.tar.gz kernel-71b256f8f7a5c09810d2c3ed6165629c2cc0a652.zip | |
iwlwifi: mvm: fix a use-after-free bug in iwl_mvm_tx_tso_segment
Accessing the hdr of an skb that was consumed already isn't
a good idea.
First ask if the skb is a QoS packet, then keep that data
on stack, and then consume the skb.
This was spotted by KASAN.
Cc: [email protected]
Fixes: 08f7d8b69aaf ("iwlwifi: mvm: bring back mvm GSO code")
Signed-off-by: Emmanuel Grumbach <[email protected]>
Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
