linux/drivers/target/iscsi
Maurizio Lombardi 5dd6c49339 scsi: iscsi: set auth_protocol back to NULL if CHAP_A value is not supported
If the CHAP_A value is not supported, the chap_server_open() function
should free the auth_protocol pointer and set it to NULL, or we will leave
a dangling pointer around.

[   66.010905] Unsupported CHAP_A value
[   66.011660] Security negotiation failed.
[   66.012443] iSCSI Login negotiation failed.
[   68.413924] general protection fault: 0000 [#1] SMP PTI
[   68.414962] CPU: 0 PID: 1562 Comm: targetcli Kdump: loaded Not tainted 4.18.0-80.el8.x86_64 #1
[   68.416589] Hardware name: Red Hat KVM, BIOS 0.5.1 01/01/2011
[   68.417677] RIP: 0010:__kmalloc_track_caller+0xc2/0x210

Signed-off-by: Maurizio Lombardi <mlombard@redhat.com>
Reviewed-by: Chris Leech <cleech@redhat.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2019-07-02 16:38:35 -04:00
..
cxgbit scsi: target/iscsi: Rename a function and a function pointer 2019-02-04 21:34:49 -05:00
iscsi_target_auth.c scsi: iscsi: set auth_protocol back to NULL if CHAP_A value is not supported 2019-07-02 16:38:35 -04:00
iscsi_target_auth.h
iscsi_target_configfs.c scsi: target/core: Remove the write_pending_status() callback function 2019-02-04 21:23:59 -05:00
iscsi_target_datain_values.c
iscsi_target_datain_values.h
iscsi_target_device.c
iscsi_target_device.h
iscsi_target_erl0.c scsi: target/iscsi: Convert comments about locking into runtime checks 2019-02-04 21:33:08 -05:00
iscsi_target_erl0.h
iscsi_target_erl1.c scsi: target/iscsi: Simplify iscsit_dump_data_payload() 2019-02-04 21:36:54 -05:00
iscsi_target_erl1.h
iscsi_target_erl2.c
iscsi_target_erl2.h
iscsi_target_login.c scsi: target: iscsi: Free conn_ops when zalloc_cpumask_var failed 2019-03-20 20:38:07 -04:00
iscsi_target_login.h
iscsi_target_nego.c
iscsi_target_nego.h
iscsi_target_nodeattrib.c
iscsi_target_nodeattrib.h
iscsi_target_parameters.c
iscsi_target_parameters.h
iscsi_target_seq_pdu_list.c
iscsi_target_seq_pdu_list.h
iscsi_target_stat.c
iscsi_target_tmr.c
iscsi_target_tmr.h
iscsi_target_tpg.c
iscsi_target_tpg.h
iscsi_target_transport.c
iscsi_target_util.c scsi: target/iscsi: Handle too large immediate data buffers correctly 2019-04-12 20:20:06 -04:00
iscsi_target_util.h scsi: target: split out helper for cxn timeout error stashing 2018-10-16 00:38:37 -04:00
iscsi_target.c scsi: target/iscsi: Make sure PDU processing continues if parsing a command fails 2019-04-12 20:20:06 -04:00
iscsi_target.h scsi: target/iscsi: Fix spelling of "unsolicited" 2019-02-04 21:33:59 -05:00
Kconfig
Makefile