Re: [PATCHv2] iscsi target: Set conn->sess to NULL when iscsi_login_set_conn_values fails

2018-08-24 Thread Martin K. Petersen
Mike, > It looks like there is also going to be a conflict with another patch > upstream. I will just round up all the patches and resend in one set > rebased against your current for-4.19 tree. Super, thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCHv2] iscsi target: Set conn->sess to NULL when iscsi_login_set_conn_values fails

2018-08-24 Thread Mike Christie
On 08/23/2018 09:11 PM, Martin K. Petersen wrote: > > Mike, > >> this was made over that patch that was going through Mathew's tree. I >> do not know exactly which one though. It is in next here > > Doesn't look like Linus will pull Matthew's tree for 4.19. > It looks like there is also going

Re: [PATCHv2] iscsi target: Set conn->sess to NULL when iscsi_login_set_conn_values fails

2018-08-23 Thread Martin K. Petersen
Mike, > this was made over that patch that was going through Mathew's tree. I > do not know exactly which one though. It is in next here Doesn't look like Linus will pull Matthew's tree for 4.19. -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCHv2] iscsi target: Set conn->sess to NULL when iscsi_login_set_conn_values fails

2018-08-15 Thread Mike Christie
On 08/15/2018 05:56 PM, Vincent Pelletier wrote: > Fixes a use-after-free reported by KASAN when later > iscsi_target_login_sess_out gets called and it tries to access > conn->sess->se_sess: > > Disabling lock debugging due to kernel taint > iSCSI Login timeout on Network Portal [::]:3260 > iSCSI

[PATCHv2] iscsi target: Set conn->sess to NULL when iscsi_login_set_conn_values fails

2018-08-15 Thread Vincent Pelletier
Fixes a use-after-free reported by KASAN when later iscsi_target_login_sess_out gets called and it tries to access conn->sess->se_sess: Disabling lock debugging due to kernel taint iSCSI Login timeout on Network Portal [::]:3260 iSCSI Login negotiation failed.