Linux kernel -stable discussions
 help / color / mirror / Atom feed
From: Mattia Rombi <mattyro96@gmail.com>
To: Andreas Haerter <ah@foundata.com>, Gris Ge <cnfourt@gmail.com>
Cc: Felix Fietkau <nbd@nbd.name>,
	Lorenzo Bianconi <lorenzo@kernel.org>,
	Ryder Lee <ryder.lee@mediatek.com>,
	Matthias Brugger <matthias.bgg@gmail.com>,
	AngeloGioacchino Del Regno
	<angelogioacchino.delregno@collabora.com>,
	stable@vger.kernel.org, Shayne Chen <shayne.chen@mediatek.com>,
	Sean Wang <sean.wang@mediatek.com>,
	Ming Yen Hsieh <mingyen.hsieh@mediatek.com>,
	Devin Wittmayer <lucid_duck@justthetip.ca>,
	Stella Liu <yu-ching.liu@mediatek.com>,
	Leon Yen <leon.yen@mediatek.com>,
	linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	linux-mediatek@lists.infradead.org
Subject: Re: [PATCH] wifi: mt76: mt7925: fix NULL dereference in CSA worker
Date: Wed, 02 Dec 2026 11:34:30 +0100	[thread overview]
Message-ID: <179620767096.34185.3417221790955648382@gmail.com> (raw)
In-Reply-To: <20261106055710.222567-1-ah@foundata.com>

On Fri, Nov 06, 2026 at 05:57 UTC, Andreas Haerter wrote:
> It has happened once. Two earlier channel switches on this machine
> completed normally, and the log does not show what tore the context
> down.

I hit the same oops in normal use on a ThinkPad with MT7925 (14c3:7925),
running Bazzite's 7.3.5-ogc3.1.fc45 kernel (tainted G S OE; its
mt7925_csa_work() disassembles to the upstream v7.3.5 code):

  BUG: kernel NULL pointer dereference, address: 0000000000000000
  Workqueue: phy0 mt7925_csa_work [mt7925_common]
  RIP: 0010:mt7925_csa_work+0x83/0x160 [mt7925_common]
  RAX: 0000000000000000 RCX: 0000000000000fa0

In my log a disconnect falls in the middle of a channel switch, and a
second switch follows the reconnect:

  10:27:28.49 CTRL-EVENT-STARTED-CHANNEL-SWITCH freq=5500 (80 MHz)
  10:27:30.08 CTRL-EVENT-DISCONNECTED reason=3 locally_generated=1
  10:27:32.84 CTRL-EVENT-CONNECTED, same BSS on 5500 MHz
  10:27:34.12 CTRL-EVENT-STARTED-CHANNEL-SWITCH freq=5180 (80 MHz)
  10:27:34.24 oops

The aftermath was the same as yours: WiFi never came back, the reboot
hung on services that ignored SIGKILL, and the machine needed a forced
power-off.

I have no reproducer and have not run the patch, so no Tested-by.

Thanks,
Mattia Rombi

  reply	other threads:[~2026-12-02 10:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-25 14:01 [PATCH] wifi: mt76: mt7925: fix NULL dereference in CSA worker Gris Ge
2026-11-06  5:57 ` Andreas Haerter
2026-12-02 10:34   ` Mattia Rombi [this message]
2026-12-02 11:40     ` Gris Ge

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=179620767096.34185.3417221790955648382@gmail.com \
    --to=mattyro96@gmail.com \
    --cc=ah@foundata.com \
    --cc=angelogioacchino.delregno@collabora.com \
    --cc=cnfourt@gmail.com \
    --cc=leon.yen@mediatek.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mediatek@lists.infradead.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=lorenzo@kernel.org \
    --cc=lucid_duck@justthetip.ca \
    --cc=matthias.bgg@gmail.com \
    --cc=mingyen.hsieh@mediatek.com \
    --cc=nbd@nbd.name \
    --cc=ryder.lee@mediatek.com \
    --cc=sean.wang@mediatek.com \
    --cc=shayne.chen@mediatek.com \
    --cc=stable@vger.kernel.org \
    --cc=yu-ching.liu@mediatek.com \
    /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