syzbot


KCSAN: data-race in __io_cqring_overflow_flush / get_signal

Status: auto-closed as invalid on 2021/03/28 13:13
Subsystems: kernel
[Documentation on labels]
First crash: 1161d, last: 1153d

Sample crash report:
==================================================================
BUG: KCSAN: data-race in __io_cqring_overflow_flush / get_signal

write to 0xffff888029c6002c of 4 bytes by task 11138 on cpu 0:
 get_signal+0xd12/0x14e0 kernel/signal.c:2753
 arch_do_signal_or_restart+0x2a/0x270 arch/x86/kernel/signal.c:811
 handle_signal_work kernel/entry/common.c:147 [inline]
 exit_to_user_mode_loop kernel/entry/common.c:171 [inline]
 exit_to_user_mode_prepare+0x11a/0x1b0 kernel/entry/common.c:201
 __syscall_exit_to_user_mode_work kernel/entry/common.c:283 [inline]
 syscall_exit_to_user_mode+0x20/0x40 kernel/entry/common.c:294
 do_syscall_64+0x45/0x80 arch/x86/entry/common.c:56
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

read to 0xffff888029c6002c of 4 bytes by task 11123 on cpu 1:
 io_match_task fs/io_uring.c:1077 [inline]
 __io_cqring_overflow_flush+0x184/0x770 fs/io_uring.c:1787
 io_cqring_overflow_flush fs/io_uring.c:1837 [inline]
 io_uring_cancel_task_requests+0x70a/0xb30 fs/io_uring.c:8982
 __io_uring_files_cancel+0x9b/0x200 fs/io_uring.c:9066
 io_uring_files_cancel include/linux/io_uring.h:51 [inline]
 do_exit+0x19a/0x1690 kernel/exit.c:780
 do_group_exit+0xce/0x180 kernel/exit.c:922
 get_signal+0xdce/0x14e0 kernel/signal.c:2773
 arch_do_signal_or_restart+0x2a/0x270 arch/x86/kernel/signal.c:811
 handle_signal_work kernel/entry/common.c:147 [inline]
 exit_to_user_mode_loop kernel/entry/common.c:171 [inline]
 exit_to_user_mode_prepare+0x11a/0x1b0 kernel/entry/common.c:201
 __syscall_exit_to_user_mode_work kernel/entry/common.c:283 [inline]
 syscall_exit_to_user_mode+0x20/0x40 kernel/entry/common.c:294
 do_syscall_64+0x45/0x80 arch/x86/entry/common.c:56
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 11123 Comm: syz-executor.4 Not tainted 5.11.0-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
==================================================================

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/02/21 13:08 upstream e767b3530acb 3e5ed8b4 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __io_cqring_overflow_flush / get_signal
2021/02/17 06:10 upstream f40ddce88593 98682e5e .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __io_cqring_overflow_flush / get_signal
2021/02/12 20:23 upstream dcc0b49040c7 98682e5e .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __io_cqring_overflow_flush / get_signal
* Struck through repros no longer work on HEAD.