Skip to contentSkip to conversation

mac80211 use-after-free fix

RFC In review Johannes Berg 2 participants 4 messages Oct 14, 2022 – Oct 15, 2022 Stable branch

lore
Share & tools
lore
#0 lore raw

cover 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

#1 lore raw

Sorry about the duplicate, I'm on a train to Berlin and network was spotty.

johannes

maintainer
#2 lore raw
Quoted 2 lines · Johannes Berg

Sorry about the duplicate, I'm on a train to Berlin and network was spotty.

No worries! I'll do a round of stable updates with what we have right now tomorrow morning and then will look at these when I return home later tomorrow evening. Thanks for doing them!

greg k-h

maintainer
#3 lore raw
Quoted 7 lines · Greg KH
Quoted 2 lines · Johannes Berg

Sorry about the duplicate, I'm on a train to Berlin and network was spotty.

No worries! I'll do a round of stable updates with what we have right now tomorrow morning and then will look at these when I return home later tomorrow evening. Thanks for doing them!

They look sane, thanks, all now queued up!

greg k-h