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-prev] [day] [month] [year] [list]
Date:	Sat, 27 Feb 2016 02:08:35 +0900
From:	Joonsoo Kim <js1304@...il.com>
To:	Andrey Ryabinin <ryabinin.a.a@...il.com>
Cc:	Andrew Morton <akpm@...ux-foundation.org>,
	Christoph Lameter <cl@...ux.com>,
	Pekka Enberg <penberg@...nel.org>,
	David Rientjes <rientjes@...gle.com>,
	"linux-mm@...ck.org" <linux-mm@...ck.org>,
	LKML <linux-kernel@...r.kernel.org>,
	Joonsoo Kim <iamjoonsoo.kim@....com>
Subject: Re: [PATCH v2] mm/slub: support left redzone

2016-02-27 1:47 GMT+09:00 Andrey Ryabinin <ryabinin.a.a@...il.com>:
> 2016-02-26 7:36 GMT+03:00  <js1304@...il.com>:
>> From: Joonsoo Kim <iamjoonsoo.kim@....com>
>>
>> SLUB already has a redzone debugging feature.  But it is only positioned
>> at the end of object (aka right redzone) so it cannot catch left oob.
>> Although current object's right redzone acts as left redzone of next
>> object, first object in a slab cannot take advantage of this effect.  This
>> patch explicitly adds a left red zone to each object to detect left oob
>> more precisely.
>>
>
> So why for each object? Can't we have left redzone only for the first object?

It's easier to implement and less code churn than allowing left redzone
only for the first object.

Thanks.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ