Re: BUG in slab_free after iSCSI login timeout

2018-08-11 Thread Vincent Pelletier
On Sun, 12 Aug 2018 03:51:40 +, Vincent Pelletier wrote: > This said, I was surprised by "free" output listing only a bit > above 3GB of ram total: > $ free -m > totalusedfree shared buff/cache > available > Mem: 3310 250

Re: BUG in slab_free after iSCSI login timeout

2018-08-11 Thread Vincent Pelletier
On Sun, 12 Aug 2018 02:55:31 +, Vincent Pelletier wrote: > Aug 12 04:44:53 boke kernel: [ 64.737069] BUG: KASAN: use-after-free in > iscsi_target_login_sess_out.cold.11+0x58/0x123 [iscsi_target_mod] > Aug 12 04:44:53 boke kernel: [ 64.771148] BUG: KASAN: double-free or > invalid-free in

Re: BUG in slab_free after iSCSI login timeout

2018-08-11 Thread Vincent Pelletier
On Sat, 11 Aug 2018 22:50:12 +, Bart Van Assche wrote: > On Sat, 2018-08-11 at 09:36 +, Vincent Pelletier wrote: > > What can I try to help debug this further ? > > Can you try to reproduce this with KASAN enabled in the kernel config? Here is the syslog with KASAN enabled: Aug 12

Re: BUG in slab_free after iSCSI login timeout

2018-08-11 Thread Bart Van Assche
On Sat, 2018-08-11 at 09:36 +, Vincent Pelletier wrote: > What can I try to help debug this further ? Can you try to reproduce this with KASAN enabled in the kernel config? Thanks, Bart.

[PATCH] scsi: csiostor: fix incorrect port capabilities

2018-08-11 Thread Varun Prakash
- use be32_to_cpu() instead of ntohs() for 32 bit port capabilities. - add a new function fwcaps32_to_caps16() to convert 32 bit port capabilities to 16 bit port capabilities. Signed-off-by: Varun Prakash --- drivers/scsi/csiostor/csio_hw.c | 55 -