[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-wireless
Subject: Re: [v3] wifi: mt76: mt7921: Fix use-after-free in fw features query.
From: Kalle Valo <kvalo () kernel ! org>
Date: 2023-03-31 15:01:19
Message-ID: 168027487819.3675.4308323171224302056.kvalo () kernel ! org
[Download RAW message or body]
Lorenzo Bianconi <lorenzo@kernel.org> wrote:
> From: Ben Greear <greearb@candelatech.com>
>
> Stop referencing 'features' memory after release_firmware is called.
>
> Fixes this crash:
>
> RIP: 0010:mt7921_check_offload_capability+0x17d
> mt7921_pci_probe+0xca/0x4b0
> ...
>
> Signed-off-by: Ben Greear <greearb@candelatech.com>
> Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
> Acked-by: Felix Fietkau <nbd@nbd.name>
Patch applied to wireless.git, thanks.
2ceb76f734e3 wifi: mt76: mt7921: Fix use-after-free in fw features query.
--
https://patchwork.kernel.org/project/linux-wireless/patch/51fd8f76494348aa9ecbf0abc471ebe47a983dfd.1679502607.git.lorenzo@kernel.org/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic