Re: [PATCH v3] cxl: Fix possible null pointer dereference in read_handle()
From: Greg KH
Date: Sun Jul 14 2024 - 09:37:49 EST
On Sun, Jul 14, 2024 at 08:14:04PM +0800, Ma Ke wrote:
> In read_handle(), of_get_address() may return NULL which is later
> dereferenced. Fix this by adding NULL check.
>
> Based on our customized static analysis tool, extract vulnerability
> features[1], then match similar vulnerability features in this function.
Please follow the documented rules for researchers submitting patches
based on non-public tools.
thanks,
greg k-h