mbox series

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

Message ID 20221014164150.24310-1-johannes@sipsolutions.net (mailing list archive)
Headers show
Series mac80211 use-after-free fix | expand

Message

Johannes Berg Oct. 14, 2022, 4:41 p.m. UTC
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