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>] [day] [month] [year] [list]
Message-ID: <20160524182759.GA4747@cherokee.in.rdlabs.hpecorp.net>
Date:	Tue, 24 May 2016 23:57:59 +0530
From:	Kuthonuzo Luruo <kuthonuzo.luruo@....com>
To:	dvyukov@...gle.com, aryabinin@...tuozzo.com, glider@...gle.com,
	cl@...ux.com, penberg@...nel.org, rientjes@...gle.com,
	iamjoonsoo.kim@....com, akpm@...ux-foundation.org
Cc:	kasan-dev@...glegroups.com, linux-kernel@...r.kernel.org,
	linux-mm@...ck.org, ynorov@...iumnetworks.com,
	kuthonuzo.luruo@....com
Subject: [PATCH v3 0/2] KASAN double-free detection

Hello Alexander/Andrey/Dmitry/Reviewers,

Submitting v3 for your review/consideration. First patch provides more
reliable double-free detection for KASAN. Second patch provides new
double-free tests for 'test_kasan'.

Major changes from v2:
o object lock/unlock simplified to use generic bit spinlock apis instead of
  custom CAS loop. A 'safety valve' is provided for lock in case an
  out-of-bounds write flips lock bit.

o test_kasan concurrent double-free test simplified to use
  on_each_cpu_mask() instead of custom threads.
 
v2 link: https://lkml.org/lkml/2016/5/6/210

Patchset is based on linux-next 'next-20160524'.

Thanks,

Kuthonuzo

Kuthonuzo Luruo (2):
  mm, kasan: improve double-free detection
  kasan: add double-free tests

 include/linux/kasan.h |    7 +++-
 lib/test_kasan.c      |   47 ++++++++++++++++++++++++++
 mm/kasan/kasan.c      |   88 ++++++++++++++++++++++++++++++++++---------------
 mm/kasan/kasan.h      |   44 +++++++++++++++++++++++-
 mm/kasan/quarantine.c |    2 +
 mm/kasan/report.c     |   28 ++++++++++++++--
 mm/slab.c             |    3 +-
 mm/slub.c             |    2 +-
 8 files changed, 185 insertions(+), 36 deletions(-)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ