[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170424.161116.271050954695792950.davem@davemloft.net>
Date: Mon, 24 Apr 2017 16:11:16 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: bianpan201602@....com
Cc: harish.patil@...ium.com, manish.chopra@...ium.com,
Dept-GELinuxNICDev@...ium.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, bianpan2016@....com
Subject: Re: [PATCH 1/1] qlcnic: fix unchecked return value
aFrom: Pan Bian <bianpan201602@....com>
Date: Sun, 23 Apr 2017 20:04:04 +0800
> From: Pan Bian <bianpan2016@....com>
>
> Function pci_find_ext_capability() may return 0, which is an invalid
> address. In function qlcnic_sriov_virtid_fn(), its return value is used
> without validation. This may result in invalid memory access bugs. This
> patch fixes the bug.
>
> Signed-off-by: Pan Bian <bianpan2016@....com>
Applied.
Powered by blists - more mailing lists