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  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Tue, 10 Aug 2021 16:31:33 +0300
From:   Andy Shevchenko <>
To:     Chris von Recklinghausen <>
Subject: Re: [PATCH] fix UBSAN splat in test_scanf

On Mon, Aug 09, 2021 at 06:20:13AM -0400, Chris von Recklinghausen wrote:

Thanks for the report and fix!

First of all, have you seen this:

> On a system with CONFIG_UBSAN_SHIFT=y, the following splat was observed:

> [  104.676826] test_scanf: loaded.
> [  104.680862] ================================================================================
> [  104.690304] UBSAN: shift-out-of-bounds in lib/test_scanf.c:274:51
> [  104.697144] shift exponent 32 is too large for 32-bit type 'unsigned int'

As you may see in the above the rule of thumb is to include only meaningful
parts of the oops.

With Best Regards,
Andy Shevchenko

Powered by blists - more mailing lists