[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20191105.183218.1289105160253580168.davem@davemloft.net>
Date: Tue, 05 Nov 2019 18:32:18 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: bianpan2016@....com
Cc: allison@...utok.net, gregkh@...uxfoundation.org,
tglx@...utronix.de, rfontana@...hat.com,
kstewart@...uxfoundation.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] NFC: fdp: fix incorrect free object
From: Pan Bian <bianpan2016@....com>
Date: Tue, 5 Nov 2019 16:34:07 +0800
> The address of fw_vsc_cfg is on stack. Releasing it with devm_kfree() is
> incorrect, which may result in a system crash or other security impacts.
> The expected object to free is *fw_vsc_cfg.
>
> Signed-off-by: Pan Bian <bianpan2016@....com>
Applied and queued up for -stable, thanks.
Powered by blists - more mailing lists