syzbot


KCSAN: data-race in pipe_poll / pipe_resize_ring

Status: auto-obsoleted due to no activity on 2023/05/30 00:40
Subsystems: fs
[Documentation on labels]
First crash: 835d, last: 835d
Similar bugs (1)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in pipe_poll / pipe_resize_ring (2) fs 6 1 155d 155d 0/29 auto-obsoleted due to no activity on 2025/04/29 18:52

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

write to 0xffff8881228fdd18 of 4 bytes by task 7041 on cpu 0:
 pipe_resize_ring+0x24d/0x2c0 fs/pipe.c:1302
 pipe_set_size fs/pipe.c:1355 [inline]
 pipe_fcntl+0x2db/0x380 fs/pipe.c:1398
 do_fcntl+0x571/0xef0 fs/fcntl.c:411
 __do_sys_fcntl fs/fcntl.c:455 [inline]
 __se_sys_fcntl+0xc4/0x180 fs/fcntl.c:440
 __x64_sys_fcntl+0x43/0x50 fs/fcntl.c:440
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd

read to 0xffff8881228fdd18 of 4 bytes by task 7040 on cpu 1:
 pipe_poll+0x1f4/0x250 fs/pipe.c:686
 vfs_poll include/linux/poll.h:88 [inline]
 __io_arm_poll_handler+0x205/0xe30 io_uring/poll.c:600
 io_poll_add+0xb7/0x130 io_uring/poll.c:964
 io_issue_sqe+0x147/0x5a0 io_uring/io_uring.c:1907
 io_queue_sqe io_uring/io_uring.c:2079 [inline]
 io_submit_sqe io_uring/io_uring.c:2340 [inline]
 io_submit_sqes+0x689/0xfe0 io_uring/io_uring.c:2450
 __do_sys_io_uring_enter io_uring/io_uring.c:3458 [inline]
 __se_sys_io_uring_enter+0x1e5/0x1b70 io_uring/io_uring.c:3392
 __x64_sys_io_uring_enter+0x78/0x90 io_uring/io_uring.c:3392
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd

value changed: 0x00000010 -> 0x00000001

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 7040 Comm: syz-executor.5 Not tainted 6.3.0-syzkaller-00113-g1a0beef98b58 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/04/25 00:29 upstream 1a0beef98b58 65320f8e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in pipe_poll / pipe_resize_ring
* Struck through repros no longer work on HEAD.