From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-il1-f206.google.com (mail-il1-f206.google.com [209.85.166.206]) (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 A489179DF for ; Sat, 22 Jun 2024 08:42:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.206 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719045748; cv=none; b=A9wBRnZs/whsFNuZ7vWI5uf5Z4MXreze6Kqu1tit8GIveT/uQfDxTHvaQvlNzAyyo3QdyEpOTAztPfLu66LSeOHAPSOayIJDNiCZcHHH/FvSCLVuQcRWSPErreLtBzKxiQBlvwqXQjoGAtw6TqcwdJzCoVhenC4G91WSHShcMTg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719045748; c=relaxed/simple; bh=lkQC8OcPoiLAIJ+F1lzmdNT/KUX9yKgXj09Imij5Al4=; h=MIME-Version:Date:Message-ID:Subject:From:To:Content-Type; b=XQ8HMyNztIVhjD9Zu7ntj+Xt7Z+/Jw5cEXAc90bRZvcXJ9OJph3/lYBAu6c7uY4G4jDogTnOxdQDA3xC1Gp7y18EWQXlN6BvbbjmZmutHJlczs0QyDz+58JG2u8Z+oMxYiDXf3WmwjJMhoizB5EaviyWUXsAwX0T9rhGT319LzE= 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.206 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-f206.google.com with SMTP id e9e14a558f8ab-37613924eefso33306165ab.1 for ; Sat, 22 Jun 2024 01:42:26 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719045746; x=1719650546; h=to:from:subject:message-id:date:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=uF0RKDefBz9SqKwI3Yr8wFRbu9Rfp6DlJ4mlHJgIqEc=; b=digaCguy7RN+izPePl9RjlmqULXnXfLoAXcCLak1vz5ZKo2rrK9oBUbAUqfiLX4QN2 GpET6fn7psPaayQZgpbkVZvtF7dnj+LlGaodMXkvm82wZrFAA7vtf7G5QM83WVw6MOxo AUtepAJ34meXXsmqiKwOVywjlCRiho36OFvdf29eRuSREQM2KOFBZpZpSy6DD0fR0Qjs WgPoSMQlXkeYd3w1aJVoseUc9lkZt6794o7IV16Nn8pk8KmEoLqMkcd1K7cNUTQIZPfI ZLceygnsXEkH4xMnPPwWNLn9R74Fun4Ma0rdeTT8j3d1rXbD1faXK7jcWYNMAMalQ/vR Tsag== X-Forwarded-Encrypted: i=1; AJvYcCVtPOKpE55/xx29Uj7IEb/kMnqK+QyLi74qDIgPtZOy53te5eokUQoWZVpEw/avi4cQknWr3U+aolOQSEShp/7pUQXifdc2ya+i+/75 X-Gm-Message-State: AOJu0YynEX5qgQvxzbzeJVPwOShywI62gRKbjo8XNK7AhUmlNld7jlFV 27KFD+RCeIl+Z9S4HxJpN8lHgB3tp0gZFdsT/bnUlvbcZJpJ6Zx7oyGWIpIzUFPwSE9BOUwM5Q7 uEVlwo2sSd12/je1rfvwNtk+RAuwDc+oqiZCSbUSIay94fOoadv3gx8c= X-Google-Smtp-Source: AGHT+IH2fVqz4iZ5igDL6DuNXr3G6oPS8fgfunnAOi4vWXd7Zm5WVmDZVT9gCo4LHPz38RvpyRtmj7UVJ9HHoGXMiBCyKqxNzdwO 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:1c4d:b0:375:cab8:f175 with SMTP id e9e14a558f8ab-3761d69f09bmr8318055ab.2.1719045745873; Sat, 22 Jun 2024 01:42:25 -0700 (PDT) Date: Sat, 22 Jun 2024 01:42:25 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <0000000000000925b0061b7687a2@google.com> Subject: [syzbot] [io-uring?] KCSAN: data-race in io_submit_sqes / io_uring_poll (8) 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: 66cc544fd75c Merge tag 'dmaengine-fix-6.10' of git://git.k.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=128ed3da980000 kernel config: https://syzkaller.appspot.com/x/.config?x=704451bc2941bcb0 dashboard link: https://syzkaller.appspot.com/bug?extid=6a4002279343ac44c448 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/4b6f7aacd04c/disk-66cc544f.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/083bb1b69afe/vmlinux-66cc544f.xz kernel image: https://storage.googleapis.com/syzbot-assets/05a661578a53/bzImage-66cc544f.xz IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+6a4002279343ac44c448@syzkaller.appspotmail.com ================================================================== BUG: KCSAN: data-race in io_submit_sqes / io_uring_poll read-write to 0xffff888107b41870 of 4 bytes by task 4848 on cpu 1: io_get_sqe io_uring/io_uring.c:2276 [inline] io_submit_sqes+0x23f/0x1080 io_uring/io_uring.c:2327 __do_sys_io_uring_enter io_uring/io_uring.c:3245 [inline] __se_sys_io_uring_enter+0x1c6/0x15a0 io_uring/io_uring.c:3182 __x64_sys_io_uring_enter+0x78/0x90 io_uring/io_uring.c:3182 x64_sys_call+0x25ab/0x2d70 arch/x86/include/generated/asm/syscalls_64.h:427 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 0xffff888107b41870 of 4 bytes by task 4847 on cpu 0: io_sqring_full io_uring/io_uring.h:285 [inline] io_uring_poll+0xcf/0x190 io_uring/io_uring.c:2739 vfs_poll include/linux/poll.h:84 [inline] __io_arm_poll_handler+0x229/0xf30 io_uring/poll.c:622 io_arm_poll_handler+0x411/0x5d0 io_uring/poll.c:756 io_queue_async+0x89/0x320 io_uring/io_uring.c:1943 io_queue_sqe io_uring/io_uring.c:1972 [inline] io_req_task_submit+0xb3/0xc0 io_uring/io_uring.c:1385 io_handle_tw_list+0x1b9/0x200 io_uring/io_uring.c:1083 tctx_task_work_run+0x6c/0x1b0 io_uring/io_uring.c:1155 tctx_task_work+0x40/0x80 io_uring/io_uring.c:1173 task_work_run+0x13a/0x1a0 kernel/task_work.c:180 get_signal+0xeee/0x1080 kernel/signal.c:2681 arch_do_signal_or_restart+0x95/0x4b0 arch/x86/kernel/signal.c:310 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x59/0x130 kernel/entry/common.c:218 do_syscall_64+0xd6/0x1c0 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f value changed: 0x000003b7 -> 0x000003d5 --- 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