[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <nycvar.YFH.7.76.2109160915270.15944@cbobk.fhfr.pm>
Date: Thu, 16 Sep 2021 09:15:36 +0200 (CEST)
From: Jiri Kosina <jikos@...nel.org>
To: Evgeny Novikov <novikov@...ras.ru>
cc: Nehal Shah <nehal-bakulchandra.shah@....com>,
Sandeep Singh <sandeep.singh@....com>,
Benjamin Tissoires <benjamin.tissoires@...hat.com>,
linux-input@...r.kernel.org, linux-kernel@...r.kernel.org,
ldv-project@...uxtesting.org
Subject: Re: [PATCH] AMD_SFH: Fix potential NULL pointer dereference
On Tue, 1 Jun 2021, Evgeny Novikov wrote:
> devm_add_action_or_reset() can suddenly invoke amd_mp2_pci_remove() at
> registration that will cause NULL pointer dereference since
> corresponding data is not initialized yet. The patch moves
> initialization of data before devm_add_action_or_reset().
>
> Found by Linux Driver Verification project (linuxtesting.org).
>
> Signed-off-by: Evgeny Novikov <novikov@...ras.ru>
Applied, thank you.
--
Jiri Kosina
SUSE Labs
Powered by blists - more mailing lists