lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Wed,  5 Sep 2012 17:09:12 +0200
From:	Paolo Bonzini <pbonzini@...hat.com>
To:	linux-kernel@...r.kernel.org
Cc:	target-devel@...r.kernel.org, nab@...ux-iscsi.org
Subject: [PATCH 3.6 0/3] Fix use-after-free in PSCSI

Hi,

this series fixes the bug I reported with wrong sense data.  The
memory corruption is caused by using the sense data after freeing
it.  The series corrects it by moving the copy of the sense data
earlier, to the transport_complete callback.

Please review and be kind on my first lio patches! :)

Paolo

Paolo Bonzini (3):
  target: move transport_get_sense_data
  target: simplify code around transport_get_sense_data
  target: fix use-after-free with PSCSI sense data

 drivers/target/target_core_pscsi.c     |   21 ++----
 drivers/target/target_core_transport.c |  117 ++++++++++++--------------------
 include/target/target_core_backend.h   |    4 +-
 3 files changed, 53 insertions(+), 89 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ