public inbox for io-uring@vger.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>
Cc: syzbot+5a486fef3de40e0d8c76@syzkaller.appspotmail.com
Subject: Re: [PATCH 1/1] io_uring: protect register tracing
Date: Mon, 18 Nov 2024 09:11:26 -0700	[thread overview]
Message-ID: <173194628682.10763.16149276183212711183.b4-ty@kernel.dk> (raw)
In-Reply-To: <8233af2886a37b57f79e444e3db88fcfda1817ac.1731942203.git.asml.silence@gmail.com>


On Mon, 18 Nov 2024 15:14:50 +0000, Pavel Begunkov wrote:
> Syz reports:
> 
> BUG: KCSAN: data-race in __se_sys_io_uring_register / io_sqe_files_register
> 
> read-write to 0xffff8881021940b8 of 4 bytes by task 5923 on cpu 1:
>  io_sqe_files_register+0x2c4/0x3b0 io_uring/rsrc.c:713
>  __io_uring_register io_uring/register.c:403 [inline]
>  __do_sys_io_uring_register io_uring/register.c:611 [inline]
>  __se_sys_io_uring_register+0x8d0/0x1280 io_uring/register.c:591
>  __x64_sys_io_uring_register+0x55/0x70 io_uring/register.c:591
>  x64_sys_call+0x202/0x2d60 arch/x86/include/generated/asm/syscalls_64.h:428
>  do_syscall_x64 arch/x86/entry/common.c:52 [inline]
>  do_syscall_64+0xc9/0x1c0 arch/x86/entry/common.c:83
>  entry_SYSCALL_64_after_hwframe+0x77/0x7f
> 
> [...]

Applied, thanks!

[1/1] io_uring: protect register tracing
      commit: e358e09a894dbcd51fdbbcf62bec1df249915834

Best regards,
-- 
Jens Axboe




      reply	other threads:[~2024-11-18 16:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-18 15:14 [PATCH 1/1] io_uring: protect register tracing Pavel Begunkov
2024-11-18 16:11 ` 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=173194628682.10763.16149276183212711183.b4-ty@kernel.dk \
    --to=axboe@kernel.dk \
    --cc=asml.silence@gmail.com \
    --cc=io-uring@vger.kernel.org \
    --cc=syzbot+5a486fef3de40e0d8c76@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