All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@kernel.dk>
To: io-uring@vger.kernel.org, Pavel Begunkov <asml.silence@gmail.com>
Subject: Re: [PATCH 1/1] io_uring: fix false positive KASAN warnings
Date: Wed, 09 Aug 2023 09:36:51 -0600	[thread overview]
Message-ID: <169159541153.37442.8185245478193724357.b4-ty@kernel.dk> (raw)
In-Reply-To: <c6fbf7a82a341e66a0007c76eefd9d57f2d3ba51.1691541473.git.asml.silence@gmail.com>


On Wed, 09 Aug 2023 13:22:16 +0100, Pavel Begunkov wrote:
> io_req_local_work_add() peeks into the work list, which can be executed
> in the meanwhile. It's completely fine without KASAN as we're in an RCU
> read section and it's SLAB_TYPESAFE_BY_RCU. With KASAN though it may
> trigger a false positive warning because internal io_uring caches are
> sanitised.
> 
> Remove sanitisation from the io_uring request cache for now.
> 
> [...]

Applied, thanks!

[1/1] io_uring: fix false positive KASAN warnings
      commit: e0b94f7b1ec218f73f9a1e3db4ff77a5fde27203

Best regards,
-- 
Jens Axboe




      reply	other threads:[~2023-08-09 15:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-09 12:22 [PATCH 1/1] io_uring: fix false positive KASAN warnings Pavel Begunkov
2023-08-09 15:36 ` Jens Axboe [this message]

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=169159541153.37442.8185245478193724357.b4-ty@kernel.dk \
    --to=axboe@kernel.dk \
    --cc=asml.silence@gmail.com \
    --cc=io-uring@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.