Re: [PATCH] wifi: mt76: mt792x: fix NULL pointer dereference in mt792x_init_acpi_sar_power
From: Marco Scardovi <hidden>
Date: 2026-09-05 05:49:12
Also in:
linux-wireless, lkml
In data sabato 5 settembre 2026 01:48:38 Ora legale dell’Europa centrale, Devin Wittmayer ha scritto:
On Fri, 4 Sep 2026 18:18:26 +0200, Marco Scardovi wrote:quoted
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@ju stthetip.ca/ Klara Modin reported it, David Gow confirmed the fix on a Framework 13.
Hi Devin, sorry, I didn't notice that a thread was already opened so I supposed no one reported it at all.
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.
You are right on that, I'll pay more attention next time
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.
The whole patch is as you see it but: I didn't add anything more. Tbh I was working on a whole different sub but the OS refused to start because of this one so I came up with the absolute minimum patch to make it working
Thanks for taking this one on. Devin
At this point you can count this patch as void. Thank you for your time, Marco