[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <TYCP286MB1188F633AE0B7A52EB6917478A859@TYCP286MB1188.JPNP286.PROD.OUTLOOK.COM>
Date: Wed, 27 Oct 2021 11:35:25 +0000
From: YE Chengfeng <cyeaa@...nect.ust.hk>
To: "alison.schofield@...el.com" <alison.schofield@...el.com>,
"vishal.l.verma@...el.com" <vishal.l.verma@...el.com>,
"ira.weiny@...el.com" <ira.weiny@...el.com>,
"ben.widawsky@...el.com" <ben.widawsky@...el.com>,
"dan.j.williams@...el.com" <dan.j.williams@...el.com>,
"Jonathan.Cameron@...wei.com" <Jonathan.Cameron@...wei.com>
CC: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: drivers/cxl: suspected null pointer dereference in core/bus.c
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
Powered by blists - more mailing lists