Re: [PATCH v3] wifi: mt76: handle failure of vzalloc in mt7615_coredump_work

From: Simon Horman
Date: Mon Mar 06 2023 - 06:00:23 EST


On Mon, Feb 27, 2023 at 10:48:23PM +0800, void0red wrote:
> From: Kang Chen <void0red@xxxxxxxxx>
>
> vzalloc may fails, dump might be null and will cause
> illegal address access later.
>
> Link: https://lore.kernel.org/all/Y%2Fy5Asxw3T3m4jCw@lore-desk
> Fixes: d2bf7959d9c0 ("mt76: mt7663: introduce coredump support")
> Signed-off-by: Kang Chen <void0red@xxxxxxxxx>

Reviewed-by: Simon Horman <simon.horman@xxxxxxxxxxxx>