mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* drivers/cxl: suspected null pointer dereference in core/bus.c
@ 2021-10-27 11:35 YE Chengfeng
  2021-10-27 15:04 ` Ben Widawsky
  0 siblings, 1 reply; 3+ messages in thread
From: YE Chengfeng @ 2021-10-27 11:35 UTC (permalink / raw)
  To: alison.schofield, vishal.l.verma, ira.weiny, ben.widawsky,
	dan.j.williams, Jonathan.Cameron
  Cc: linux-kernel

Hi,

https://github.com/torvalds/linux/blob/master/drivers/cxl/core/bus.c#L98

We notice that in multiple call sites, the return pointer of to_cxl_decoder is not null-checked, could it be a potential null-pointer-dereference problem?

This is detected by our experimental static analysis tool, it could be false positive, we manually check and report those we think may be true issues. Would you like to have a look at them?

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:35 drivers/cxl: suspected null pointer dereference in core/bus.c YE Chengfeng
2021-10-27 15:04 ` Ben Widawsky
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®