Re: [PATCH] wifi: cfg80211: bound element ID read when checking non-inheritance

From: HE WEI(ギカク)

Date: Tue Jul 07 2026 - 05:32:22 EST


Hi Johannes,

I'm sorry, that was my oversight. After reconfirmation, I found that
cfg80211_is_element_inherited() was introduced in commit f7dacfb11475b
("cfg80211: support non-inheritance element"), not dfd9aa3e7a45.

The bug existed from the initial implementation of this function in 2019.
I will send v2 with the correct Fixes tag.

Thank you for catching this!

Best regards,
HE WEI(ギカク)

Johannes Berg <johannes@xxxxxxxxxxxxxxxx> 于2026年7月6日周一 20:44写道:
>
> On Fri, 2026-06-26 at 23:45 +0900, HE WEI (ギカク) wrote:
>
> >
> > Fixes: dfd9aa3e7a45 ("wifi: cfg80211: rewrite merging of inherited elements")
>
> This doesn't seem right at all?
>
> johannes