From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
To: Chris von Recklinghausen <crecklin@redhat.com>
Cc: pmladek@suse.com, rostedt@goodmis.org, senozhatsky@chromium.org,
linux@rasmusvillemoes.dk, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] fix UBSAN splat in test_scanf
Date: Tue, 10 Aug 2021 16:31:33 +0300 [thread overview]
Message-ID: <YRJ/tTuj7r4jppv4@smile.fi.intel.com> (raw)
In-Reply-To: <20210809102013.525671-1-crecklin@redhat.com>
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:
https://lore.kernel.org/lkml/20210727150132.28920-1-andriy.shevchenko@linux.intel.com/T/#u
?
> 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
next prev parent reply other threads:[~2021-08-10 13:31 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-09 10:20 [PATCH] fix UBSAN splat in test_scanf Chris von Recklinghausen
2021-08-10 13:31 ` Andy Shevchenko [this message]
2021-08-10 13:37 ` Christoph von Recklinghausen
-- strict thread matches above, loose matches on Subject: below --
2021-08-05 18:55 Chris von Recklinghausen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YRJ/tTuj7r4jppv4@smile.fi.intel.com \
--to=andriy.shevchenko@linux.intel.com \
--cc=crecklin@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@rasmusvillemoes.dk \
--cc=pmladek@suse.com \
--cc=rostedt@goodmis.org \
--cc=senozhatsky@chromium.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).