Re: [PATCH] wifi: mt76: mt792x: fix NULL pointer dereference in mt792x_init_acpi_sar_power
From: Devin Wittmayer
Date: Fri Sep 04 2026 - 19:48:55 EST
On Fri, 4 Sep 2026 18:18:26 +0200, Marco Scardovi wrote:
> Fixes: f965333e491e ("mt76: mt7921: introduce ACPI SAR support")
There is a patch for this from 25 August:
https://lore.kernel.org/linux-wireless/20260825181712.28548-1-lucid_duck@xxxxxxxxxxxxx/
Klara Modin reported it, David Gow confirmed the fix on a Framework 13.
One note on the Fixes tag. The crash needs a regulatory update to run
before registration, and that only started with these:
9b80bd9cab40 2026-06-09 mt7921 regulatory wiphy self manager
e9f3f1cc133f 2026-06-09 mt7925 regulatory wiphy self manager
Before those it just set flags, so the 2022 commit would reach stable
kernels that never had the bug.
Your trace enters through the regulatory notifier, mine through
firmware init. I could not find mt7921_regd_notifier_work in mt76
here, so if you have a second trigger I would like to see it.
Thanks for taking this one on.
Devin