From: Andrew Morton <akpm@linux-foundation.org>
To: Alexander Potapenko <glider@google.com>
Cc: elver@google.com, dvyukov@google.com, ojeda@kernel.org,
linux-kernel@vger.kernel.org,
syzbot+355c5bb8c1445c871ee8@syzkaller.appspotmail.com
Subject: Re: [PATCH] kmsan: compiler_types: declare __no_sanitize_or_inline
Date: Thu, 25 Apr 2024 13:31:21 -0700 [thread overview]
Message-ID: <20240425133121.efd1f9da094be454a6366cf2@linux-foundation.org> (raw)
In-Reply-To: <20240425092859.3370297-1-glider@google.com>
On Thu, 25 Apr 2024 11:28:59 +0200 Alexander Potapenko <glider@google.com> wrote:
> It turned out that KMSAN instruments READ_ONCE_NOCHECK(), resulting in
> false positive reports, because __no_sanitize_or_inline enforced inlining.
>
> Properly declare __no_sanitize_or_inline under __SANITIZE_MEMORY__,
> so that it does not inline the annotated function.
>
> Reported-by: syzbot+355c5bb8c1445c871ee8@syzkaller.appspotmail.com
I'll add
Link: https://lkml.kernel.org/r/000000000000826ac1061675b0e3@google.com
And I think a cc:stable is justifiable. A Fixes: target would be nice?
next prev parent reply other threads:[~2024-04-25 20:31 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-25 9:28 Alexander Potapenko
2024-04-25 9:32 ` Marco Elver
2024-04-25 20:31 ` Andrew Morton [this message]
2024-04-26 9:09 ` Alexander Potapenko
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=20240425133121.efd1f9da094be454a6366cf2@linux-foundation.org \
--to=akpm@linux-foundation.org \
--cc=dvyukov@google.com \
--cc=elver@google.com \
--cc=glider@google.com \
--cc=linux-kernel@vger.kernel.org \
--cc=ojeda@kernel.org \
--cc=syzbot+355c5bb8c1445c871ee8@syzkaller.appspotmail.com \
/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
all inboxes | Powered by JetHome®