mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* drivers/crypto: suspected missing null check in hisi_qm_pre_init
@ 2021-10-27 11:06 YE Chengfeng
  2021-10-28  1:24 ` Zhou Wang
  0 siblings, 1 reply; 3+ messages in thread
From: YE Chengfeng @ 2021-10-27 11:06 UTC (permalink / raw)
  To: wangzhou1, herbert, davem; +Cc: linux-kernel

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-10-28  2:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-27 11:06 drivers/crypto: suspected missing null check in hisi_qm_pre_init YE Chengfeng
2021-10-28  1:24 ` Zhou Wang
2021-10-28  2:20   ` 回复: " YE Chengfeng

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®