Re: [PATCH] wifi: mt76: mt7921: skip unknown CLC firmware records
From: Junjie Cao
Date: Tue Sep 01 2026 - 12:00:59 EST
On Sun, 16 Aug 2026 23:33:40 +0545, Laxman Acharya Padhya wrote:
> Treat an out-of-range CLC index as newer firmware rather than a
> malformed image. linux-firmware 20260810 ships MT7922 records with
> idx 3, and rejecting them made mt7921e fail to probe.
[...]
> Fixes: 9417c5818a01 ("wifi: mt76: mt7921: validate CLC firmware records")
Reviewed-by: Junjie Cao <junjie.cao@xxxxxxxxx>
This wants Cc: stable, and it must not reach stable after 9417c5818a01
does. That commit carries Fixes: 23bdc5d8cadf (2022) and is in v7.3-rc1,
so the Fixes-tag scan can pick it for every series with a three-entry
phy->clc[]; there this firmware then fails probe. Those trees today read
the idx 3 record past the array instead (UBSAN at mcu.c:474 on 7.1.12,
https://bugzilla.redhat.com/show_bug.cgi?id=2515420).
Greg: if 9417c5818a01 gets queued, please take the two together.
My Sep 1 patch duplicates this; withdrawn.