[PATCH v3] cxl: Fix possible null pointer dereference in read_handle()

Greg KH gregkh at linuxfoundation.org
Sun Jul 14 23:37:33 AEST 2024


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


More information about the Linuxppc-dev mailing list