Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wifi: mt76: mt7925e: fix use-after-free in free_irq()
[ Upstream commit a5a5f4413d91f395cb2d89829d376d7393ad48b9 ] From commit a304e1b ("[PATCH] Debug shared irqs"), there is a test to make sure the shared irq handler should be able to handle the unexpected event after deregistration. For this case, let's apply MT76_REMOVED flag to indicate the device was removed and do not run into the resource access anymore. Fixes: c948b5d ("wifi: mt76: mt7925: add Mediatek Wi-Fi7 driver for mt7925 chips") Signed-off-by: Deren Wu <deren.wu@mediatek.com> Signed-off-by: Felix Fietkau <nbd@nbd.name> Signed-off-by: Sasha Levin <sashal@kernel.org>
- Loading branch information