Patch "be2iscsi: set the boot_kset pointer to NULL in case of failure" has been added to the 4.4-stable tree
Subsystems (3)
This is a note to let you know that I've just added the patch titled
be2iscsi: set the boot_kset pointer to NULL in case of failure
to the 4.4-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
be2iscsi-set-the-boot_kset-pointer-to-null-in-case-of-failure.patch
and it can be found in the queue-4.4 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From
84bd64993f916bcf86270c67686ecf4cea7b8933Mon Sep 17 00:00:00 2001
From: Maurizio Lombardi <[email protected]>
Date: Fri, 4 Mar 2016 10:41:49 +0100
Subject: be2iscsi: set the boot_kset pointer to NULL in case of failure
From: Maurizio Lombardi <[email protected]>
commit 84bd64993f916bcf86270c67686ecf4cea7b8933 upstream.
In beiscsi_setup_boot_info(), the boot_kset pointer should be set to NULL in case of failure otherwise an invalid pointer dereference may occur later.
--- drivers/scsi/be2iscsi/be_main.c | 1 + 1 file changed, 1 insertion(+)
drivers/scsi/be2iscsi/be_main.c +1 -0
@@ -4470,6 +4470,7 @@ put_shost:scsi_host_put (phba->shost); free_kset:iscsi_boot_destroy_kset (phba->boot_kset); + phba->boot_kset =NULL ;return -ENOMEM ; }
Patches currently in stable-queue which might be from [email protected] are
queue-4.4/be2iscsi-set-the-boot_kset-pointer-to-null-in-case-of-failure.patch