Re: [PATCH wireless-next 3/4] wifi: mm81x: bound the .fw_info TLV walk

From: Lachlan Hodges

Date: Thu Nov 19 2026 - 18:51:30 EST


On Wed, Aug 12, 2026 at 02:07:39PM +0800, Linmao Li wrote:
> mm81x_fw_parse_info() only checks that a TLV header starts before the
> end of the section, so a header that straddles the end is read anyway,
> and MM81X_FW_INFO_TLV_BCF_ADDR reads its four-byte value without looking
> at the TLV length at all. The BCF address can come from whatever
> follows the section.
>
> Walk by remaining length, and only take the address when the value is
> really there.

Can you rebase 3 & 4 of this set on mm81x-next [1], they no longer
apply as a new new TLVs were added. I applied 1 & 2 a while ago.

[1] https://github.com/MorseMicro/linux-wireless/

pw-bot: cr