syzbot


KCSAN: data-race in pipe_poll / pipe_release (2)

Status: auto-closed as invalid on 2021/01/19 18:58
Subsystems: fs
[Documentation on labels]
First crash: 1226d, last: 1226d
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in pipe_poll / pipe_release (3) fs 1 790d 790d 0/26 auto-closed as invalid on 2022/04/01 01:04
upstream KCSAN: data-race in pipe_poll / pipe_release (4) fs 1 49d 49d 0/26 auto-obsoleted due to no activity on 2024/04/10 23:01
upstream KCSAN: data-race in pipe_poll / pipe_release fs 3 1557d 1622d 0/26 auto-closed as invalid on 2020/03/30 06:30

Sample crash report:
==================================================================
BUG: KCSAN: data-race in pipe_poll / pipe_release

write to 0xffff8881314b71ec of 4 bytes by task 11210 on cpu 0:
 pipe_release+0xb2/0x1c0 fs/pipe.c:707
 __fput+0x243/0x4d0 fs/file_table.c:281
 ____fput+0x11/0x20 fs/file_table.c:314
 task_work_run+0x8e/0x110 kernel/task_work.c:168
 tracehook_notify_resume include/linux/tracehook.h:189 [inline]
 exit_to_user_mode_loop kernel/entry/common.c:174 [inline]
 exit_to_user_mode_prepare+0x16b/0x1a0 kernel/entry/common.c:201
 __syscall_exit_to_user_mode_work kernel/entry/common.c:291 [inline]
 syscall_exit_to_user_mode+0x20/0x40 kernel/entry/common.c:302
 do_syscall_64+0x45/0x80 arch/x86/entry/common.c:56
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

read to 0xffff8881314b71ec of 4 bytes by task 11202 on cpu 1:
 pipe_poll+0x16c/0x250 fs/pipe.c:665
 vfs_poll include/linux/poll.h:90 [inline]
 __io_arm_poll_handler+0x18f/0x400 fs/io_uring.c:5149
 io_poll_add fs/io_uring.c:5402 [inline]
 io_issue_sqe+0x54c/0x45e0 fs/io_uring.c:5947
 __io_queue_sqe+0x230/0x1160 fs/io_uring.c:6233
 io_queue_sqe+0x1e2/0x580 fs/io_uring.c:6299
 io_submit_sqe+0x385/0x8f0 fs/io_uring.c:6368
 io_submit_sqes+0x9a8/0x1720 fs/io_uring.c:6597
 __do_sys_io_uring_enter fs/io_uring.c:8984 [inline]
 __se_sys_io_uring_enter+0x554/0xb00 fs/io_uring.c:8933
 __x64_sys_io_uring_enter+0x74/0x80 fs/io_uring.c:8933
 do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

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

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/12/15 18:52 upstream 148842c98a24 f213e07e .config console log report info ci2-upstream-kcsan-gce
* Struck through repros no longer work on HEAD.