[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <TYCP286MB11889662BE368CEEF92CF65E8A859@TYCP286MB1188.JPNP286.PROD.OUTLOOK.COM>
Date: Wed, 27 Oct 2021 11:06:10 +0000
From: YE Chengfeng <cyeaa@...nect.ust.hk>
To: "wangzhou1@...ilicon.com" <wangzhou1@...ilicon.com>,
"herbert@...dor.apana.org.au" <herbert@...dor.apana.org.au>,
"davem@...emloft.net" <davem@...emloft.net>
CC: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: drivers/crypto: suspected missing null check in hisi_qm_pre_init
Hi,
https://github.com/torvalds/linux/blob/master/drivers/crypto/hisilicon/qm.c#L3286
We notice that at #line 3286, the return pointer of ACPI_COMPANION is not null-checked, and then it's dereferenced in acpi_device_power_manageable. Seems that it could be a potential null-pointer-dereference issue.
This is detected by our experimental static analysis tool, it could be false positive, so we manually check and report those we think may be true bugs. Would you like to have a look at them? If it's real bug, we could like to provide patch to ease your workflow.
Thanks so much,
Chengfeng
Powered by blists - more mailing lists