WSL2-Linux-Kernel/net/mac80211
Sara Sharon bb2509c12b mac80211: free skb fraglist before freeing the skb
[ Upstream commit 34b1e0e9ef ]

mac80211 uses the frag list to build AMSDU. When freeing
the skb, it may not be really freed, since someone is still
holding a reference to it.
In that case, when TCP skb is being retransmitted, the
pointer to the frag list is being reused, while the data
in there is no longer valid.
Since we will never get frag list from the network stack,
as mac80211 doesn't advertise the capability, we can safely
free and nullify it before releasing the SKB.

Signed-off-by: Sara Sharon <sara.sharon@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-01-13 10:01:01 +01:00
..
Kconfig
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
aes_ccm.c
aes_ccm.h
aes_cmac.c
aes_cmac.h
aes_gcm.c
aes_gcm.h
aes_gmac.c
aes_gmac.h
agg-rx.c mac80211: Fix sending ADDBA response for an ongoing session 2018-05-30 07:51:58 +02:00
agg-tx.c mac80211: use timeout from the AddBA response instead of the request 2018-06-21 04:02:55 +09:00
cfg.c mac80211: fix setting IEEE80211_KEY_FLAG_RX_MGMT for AP mode keys 2018-10-13 09:27:24 +02:00
chan.c
debug.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
debugfs.c
debugfs.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
debugfs_key.c
debugfs_key.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
debugfs_netdev.c networking: convert many more places to skb_put_zero() 2017-06-16 11:48:35 -04:00
debugfs_netdev.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
debugfs_sta.c mac80211: Dynamically set CoDel parameters per station 2017-05-17 16:03:40 +02:00
debugfs_sta.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
driver-ops.c
driver-ops.h mac80211: Fix setting TX power on monitor interfaces 2018-04-12 12:32:15 +02:00
ethtool.c
fils_aead.c
fils_aead.h
ht.c mac80211: fix deadlock in driver-managed RX BA session start 2017-09-06 15:22:02 +02:00
ibss.c mac80211: shorten the IBSS debug messages 2018-10-10 08:54:22 +02:00
ieee80211_i.h mac80211: mesh: fix wrong mesh TTL offset calculation 2018-05-30 07:51:54 +02:00
iface.c mac80211: Clear beacon_int in ieee80211_do_stop 2018-12-13 09:18:54 +01:00
key.c mac80211: restrict delayed tailroom needed decrement 2018-09-26 08:38:03 +02:00
key.h
led.c
led.h
main.c mac80211: fix a race between restart and CSA flows 2018-10-10 08:54:21 +02:00
mesh.c mac80211: mesh: fix wrong mesh TTL offset calculation 2018-05-30 07:51:54 +02:00
mesh.h mac80211: fix TX status reporting for ieee80211s 2018-11-04 14:52:37 +01:00
mesh_hwmp.c mac80211: fix TX status reporting for ieee80211s 2018-11-04 14:52:37 +01:00
mesh_pathtbl.c
mesh_plink.c networking: convert many more places to skb_put_zero() 2017-06-16 11:48:35 -04:00
mesh_ps.c networking: make skb_put & friends return void pointers 2017-06-16 11:48:39 -04:00
mesh_sync.c
michael.c
michael.h
mlme.c mac80211: Fix condition validating WMM IE 2018-12-21 14:13:10 +01:00
ocb.c
offchannel.c mac80211: flush hw_roc_start work before cancelling the ROC 2017-09-05 16:25:07 +02:00
pm.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
rate.c mac80211: Dynamically set CoDel parameters per station 2017-05-17 16:03:40 +02:00
rate.h
rc80211_minstrel.c
rc80211_minstrel.h
rc80211_minstrel_debugfs.c
rc80211_minstrel_ht.c
rc80211_minstrel_ht.h
rc80211_minstrel_ht_debugfs.c
rx.c mac80211: ignore NullFunc frames in the duplicate detection 2018-12-13 09:18:54 +01:00
scan.c
spectmgmt.c mac80211: Do not disconnect on invalid operating class 2018-05-30 07:51:58 +02:00
sta_info.c mac80211: fix calling sleeping function in atomic context 2018-05-30 07:51:58 +02:00
sta_info.h mac80211: manage RX BA session offload without SKB queue 2017-06-08 14:16:29 +02:00
status.c mac80211: free skb fraglist before freeing the skb 2019-01-13 10:01:01 +01:00
tdls.c mac80211: TDLS: fix skb queue/priority assignment 2018-11-04 14:52:37 +01:00
tkip.c
tkip.h
trace.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
trace.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
trace_msg.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
tx.c mac80211: fix reordering of buffered broadcast packets 2018-12-13 09:18:54 +01:00
util.c mac80211: add stations tied to AP_VLANs during hw reconfig 2018-09-05 09:26:23 +02:00
vht.c
wep.c
wep.h
wme.c
wme.h
wpa.c networking: make skb_put & friends return void pointers 2017-06-16 11:48:39 -04:00
wpa.h