Thread (2 messages) 2 messages, 2 authors, 2018-11-28

Re: [PATCH] sis5513: fix potential use after free

From: Christoph Hellwig <hch@infradead.org>
Date: 2018-11-28 07:05:26
Also in: lkml

On Wed, Nov 28, 2018 at 08:55:26AM +0800, Pan Bian wrote:
The function sis_find_family drops lpc_bridge reference via pci_dev_put,
however, after that, field lpc_bridge->revision is read. This may result
in a use after free bug. The patch moves the put operation after the
condition check.

Signed-off-by: Pan Bian <redacted>
Looks good,

Reviewed-by: Christoph Hellwig <hch@lst.de>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help