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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20160201221852.GA23344@codemonkey.org.uk>
Date:	Mon, 1 Feb 2016 17:18:52 -0500
From:	Dave Jones <davej@...emonkey.org.uk>
To:	Andrey Ryabinin <aryabinin@...tuozzo.com>
Cc:	LKML <linux-kernel@...r.kernel.org>
Subject: Re: UBSAN: run-time undefined behavior sanity checker

On Mon, Feb 01, 2016 at 07:08:46PM +0300, Andrey Ryabinin wrote:

 > >  > > tried it on hangs the same way, really early.  Any thoughts on how to chase this down ?
 > >  > Try to disable instrumentation for early code, like in the patch bellow.
 > > This didn't help.
 > 
 > So after I enabled UBSAN_ALIGNMENT in your config, the kernel didn't boot.
 > That is because unaligned access happens before lockdep_init() so ubsan callback takes the
 > spinlock before locked_init() which is not allowed.
 
 > Could you try it without CONFIG_DEBUG_LOCKDEP?
 > Or alternatively with patch like this:

Tried with the patch, seems to work fine now.

thanks,
	Dave

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ