From: Bongani Hlope <developer@hlope.org.za>
To: linux-wireless@vger.kernel.org
Subject: Re: [BUG] wifi: mt7902: NULL pointer dereference
Date: Sat, 2 May 2026 14:06:16 +0200 [thread overview]
Message-ID: <20260502140616.7672da98@bongani-mini.home.org.za> (raw)
In-Reply-To: <20260502125824.425d7159@bongani-mini.home.org.za>
On Sat, 2 May 2026 12:58:24 +0200
Bongani Hlope <developer@hlope.org.za> wrote:
> Hello
>
> I'm not sure if this has been reported yet, first ran into this on
> linux-next and it is still present on linux 7.1.0-rc1+. I get the
> following kernel Oops:
addr2line -e drivers/net/wireless/mediatek/mt76/mt7921/mt7921-common.ko
mt7921_channel_switch_rx_beacon+0x1f
Gives:
include/net/cfg80211.h:1016
Which is here:
1007 static inline bool
1008 cfg80211_chandef_identical(const struct cfg80211_chan_def *chandef1,
1009 const struct cfg80211_chan_def *chandef2)
1010 {
1011 return (chandef1->chan == chandef2->chan &&
1012 chandef1->width == chandef2->width &&
1013 chandef1->center_freq1 == chandef2->center_freq1 &&
1014 chandef1->freq1_offset == chandef2->freq1_offset &&
1015 chandef1->center_freq2 == chandef2->center_freq2 &&
--> 1016 chandef1->punctured == chandef2->punctured &&
1017 chandef1->s1g_primary_2mhz == chandef2->s1g_primary_2mhz);
1018 }
8<
> Regards,
> Bongani Hlope
>
>
next prev parent reply other threads:[~2026-05-02 12:41 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-02 10:58 [BUG] wifi: mt7902: NULL pointer dereference Bongani Hlope
2026-05-02 12:06 ` Bongani Hlope [this message]
2026-05-04 14:51 ` [PATCH] wifi: mt76: mt7921/mt7925: fix NULL dereference in CSA beacon Arjan van de Ven
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260502140616.7672da98@bongani-mini.home.org.za \
--to=developer@hlope.org.za \
--cc=linux-wireless@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox