Skip to content

RFC mac80211 use-after-free fix

Johannes Berg linux-wireless stable 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3mac80211: mlme: find auth challenge directlynet/mac80211/ieee80211_i.h net/mac80211/mlme.c net/mac80211/util.c+6 -110 replies
2/3wifi: mac80211: don't parse mbssid in assoc responsenet/mac80211/mlme.c+2 -20 replies
3/3wifi: mac80211: fix MBSSID parsing use-after-freenet/mac80211/ieee80211_i.h net/mac80211/mlme.c net/mac80211/scan.c +1 more+15 -20 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchKees Cook
1/3
2/3
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [RFC v5.10 0/3] mac80211 use-after-free fix

Hi,

So I looked at this, and it wasn't great one way or the other...

The first patch here is obvious, let's just take it and get one of the parsings out of the way.

The second one removes a couple of more cases where this is done, since it only happens when the last argument is non-NULL.

The third then is to avoid the UAF, and is simpler now since only a few places can even allocate it.

johannes