Re: [PATCH] scsi: be2iscsi: Reset the address passed in beiscsi_iface_create_default

From: Greg KH
Date: Tue Apr 20 2021 - 03:18:30 EST


On Tue, Apr 06, 2021 at 07:24:45PM -0500, Aditya Pakki wrote:
> if_info is a local variable that is passed to beiscsi_if_get_info. In
> case of failure, the variable is free'd but not reset to NULL. The patch
> avoids security issue by passing NULL to if_info.

That is just not true at all.

Stop submitting patches that you know are invalid. Your experiment is
not ethical, and not welcome or appreciated.

greg k-h