Re: [PATCH 0/8] wifi: fix PMSR lifetime and frame validation issues
From: Johannes Berg
Date: Wed Jul 22 2026 - 10:50:28 EST
On Tue, 2026-07-21 at 18:00 +0200, Johannes Berg wrote:
>
> > wifi: mac80211: validate probe response countdown offsets
>
> I think this one is falling into a typical LLM pattern patching trap, it
> describes [0] as being out-of-bounds for some allocated data, and
> neglects that the offsets have already been checked by cfg80211. Please
> describe more why it's actually an issue beyond "there's a similar
> pattern elsewhere".
>
> > wifi: mac80211: validate S1G TWT params before driver setup
>
> I don't know about this, you should probably resend it. Anyway I'm not
> loosing sleep over it since there's no driver with the callback, tracing
> is mostly not enabled, and while a potential 12 bytes OOB read at the
> end of the SKB is a bug, it's not a very important one since there
> should be stuff there anyway.
>
> > wifi: mwifiex: validate action frame fixed fields
>
> Francesco should look at that - again, sending it all together makes
> this really hard - but it seems to me it should use MIN_ACTION_SIZE()?
Also in addition - please resend these, the s1g should go also to
Lachlan I think who wrote it, and I don't think anyone is paying
attention to this patchset :)
johannes