From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-il1-f200.google.com (mail-il1-f200.google.com [209.85.166.200]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 671C21FAC30 for ; Wed, 13 Nov 2024 11:08:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.200 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731496104; cv=none; b=aiOHLM3iVjpKFyldsocl5ht/ydNWwe8OV4aVUB4tCWhNRAyhKPFu/I7ewvHcXG3yb1SMSvizUjXgHhAjafgunhlSgyN4BczH0UvYuFn1BURWy+1/SX8l24wvPVJD3MOF5APFzGxANCFye0CmcB5L8rd01bHYqEC7k73/cBilq8o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731496104; c=relaxed/simple; bh=BttepegVwmZfjhL0wAJzClhZUY/sI0zBSBjji2tJCHA=; h=MIME-Version:Date:Message-ID:Subject:From:To:Content-Type; b=EkjNYPTmLruCxz82YToyn/2YeNyy/llu8lV8npDvGWYt/5o4wToQJFUjgrv1it0wHoxI+XP7EEXuJQRKwxIvRO30IW+lg9tjvu3DS0GOcdU6/nrHFg9a7TgTZCKFB6zQaXLmzNE+D7VofWCtXHgm3sgRlp3uKUOpjkgGLRcADpI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=syzkaller.appspotmail.com; spf=pass smtp.mailfrom=M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com; arc=none smtp.client-ip=209.85.166.200 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=syzkaller.appspotmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com Received: by mail-il1-f200.google.com with SMTP id e9e14a558f8ab-3a71a9ed154so2088115ab.0 for ; Wed, 13 Nov 2024 03:08:23 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731496102; x=1732100902; h=to:from:subject:message-id:date:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=FxKyyJT3LSMHkt5w14DHewRVHGYzuoWGX77T7Jz2XrE=; b=tze3xNdF+WBrS9dEb5XNZvPcwiv6Qp6nrEDsS5e3tXJMqrHkJR+vTbr24IGSVo+lO8 NdbcAyCiecJATYdbATdaynoO0V6+diwPN5oXGt1ZvUP/KlF0r7kWpcOzGNX2nzGIi1Nw 0sXxtNm5tx+S/YOTv/LnU53WjIEggIkCNdhus76Htp1OJ7d7S2jjCJ3mnWvOfqlSeWWR GkR2/HQfYljccv2XkiCGKgPNUdr3ltR+Wi13A8nbRZVUyFX/tjo6xX5paczPRN014D1z 8oIhLHJuUi9C8AsnuNr9MqeyG1cB2sLd1Oi7MbTrx0VwyXVTKewKrx+SrOQOor9GOOSa feXw== X-Forwarded-Encrypted: i=1; AJvYcCV7N/7HGk4BMJRImd+QNnHhtZe2sV3pMPG42TapKZO1qvsotkk3vhNzj4l1uFSNizLCEvn+8w9TAKSt+fg=@vger.kernel.org X-Gm-Message-State: AOJu0Yxm5ZENYa5LdzzU1Vbij7o9uW8TFg+3nsQngFQUxZjtC9mOGBTT 9xWg/wcdWmiqFoO6e6zJBbIlamT+qFzvcVKfG876WsXYuWPGhhptxKxK8rdqCdG3cJSbUXZoTTm 6Y6JYepevN/2GuD8FioS9TU2T6jp5X3aeaUeWWLpMhwnZNC8ZCG58nWI= X-Google-Smtp-Source: AGHT+IFxkz+oqfY40/x239QSKjuhklYHKhhajqoIuStvoJhvimR3uWz0oTt4CTw5EPVKx2zqpnppQrC7I5dQ662lq+Fe4Kw9gHaX Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Received: by 2002:a05:6e02:144c:b0:3a5:e1a8:8ab1 with SMTP id e9e14a558f8ab-3a6f19944bfmr211984735ab.3.1731496102525; Wed, 13 Nov 2024 03:08:22 -0800 (PST) Date: Wed, 13 Nov 2024 03:08:22 -0800 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <673488a6.050a0220.2a2fcc.000a.GAE@google.com> Subject: [syzbot] [io-uring?] KCSAN: data-race in __se_sys_io_uring_register / io_sqe_files_register (3) From: syzbot To: asml.silence@gmail.com, axboe@kernel.dk, io-uring@vger.kernel.org, linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8" Hello, syzbot found the following issue on: HEAD commit: 2d5404caa8c7 Linux 6.12-rc7 git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=10e838c0580000 kernel config: https://syzkaller.appspot.com/x/.config?x=29fedde79f609854 dashboard link: https://syzkaller.appspot.com/bug?extid=5a486fef3de40e0d8c76 compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 Unfortunately, I don't have any reproducer for this issue yet. Downloadable assets: disk image: https://storage.googleapis.com/syzbot-assets/15a7713979b8/disk-2d5404ca.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/b51c4f695d4a/vmlinux-2d5404ca.xz kernel image: https://storage.googleapis.com/syzbot-assets/e8c0f17bc00b/bzImage-2d5404ca.xz IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+5a486fef3de40e0d8c76@syzkaller.appspotmail.com ================================================================== 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 read to 0xffff8881021940b8 of 4 bytes by task 5924 on cpu 0: __do_sys_io_uring_register io_uring/register.c:613 [inline] __se_sys_io_uring_register+0xe4a/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 value changed: 0x00000000 -> 0x00000001 Reported by Kernel Concurrency Sanitizer on: CPU: 0 UID: 0 PID: 5924 Comm: syz.1.1000 Not tainted 6.12.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 ================================================================== --- This report is generated by a bot. It may contain errors. See https://goo.gl/tpsmEJ for more information about syzbot. syzbot engineers can be reached at syzkaller@googlegroups.com. syzbot will keep track of this issue. See: https://goo.gl/tpsmEJ#status for how to communicate with syzbot. If the report is already addressed, let syzbot know by replying with: #syz fix: exact-commit-title If you want to overwrite report's subsystems, reply with: #syz set subsystems: new-subsystem (See the list of subsystem names on the web dashboard) If the report is a duplicate of another one, reply with: #syz dup: exact-subject-of-another-report If you want to undo deduplication, reply with: #syz undup