Re: [PATCH v2 for-rc 3/3] IB/isert: Fix incorrect release of isert connextion

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




The ib_isert module is releasing the isert connection both in
isert_wait_conn() handler as well as isert_free_conn() handler.
In isert_wait_conn() handler, it is expected to wait for iSCSI
session logout operation to complete. It should free the isert
connection only in isert_free_conn() handler.

When a bunch of iSER target is cleared, this issue can lead to
use-after-free memory issue as isert conn is twice released

Fixes: 0fc4ea701fcf ("Target/iser: Don't put isert_conn inside disconnected handler")

Doesn't seem quite right?



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux