summaryrefslogtreecommitdiffstats
path: root/net/wireless
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2023-09-19 08:34:16 +0200
committerJohannes Berg <johannes.berg@intel.com>2023-09-25 08:40:07 +0200
commitd097ae01ebd48adc028aebcf760117a5317975dc (patch)
treef3a9d7d4721fb75ce103862d0e58a057213c9a54 /net/wireless
parentwifi: mac80211: fix potential key use-after-free (diff)
downloadlinux-d097ae01ebd48adc028aebcf760117a5317975dc.tar.xz
linux-d097ae01ebd48adc028aebcf760117a5317975dc.zip
wifi: mac80211: fix potential key leak
When returning from ieee80211_key_link(), the key needs to have been freed or successfully installed. This was missed in a number of error paths, fix it. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless')
0 files changed, 0 insertions, 0 deletions