syzbot


upstream test error: KCSAN: data-race in pollwake / pollwake (2)

Status: moderation: reported on 2024/11/03 02:52
Subsystems: fs
[Documentation on labels]
Reported-by: syzbot+51ab8c9ec6aa929e3344@syzkaller.appspotmail.com
First crash: 18d, last: 18d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream upstream test error: KCSAN: data-race in pollwake / pollwake fs 1 147d 147d 0/28 auto-obsoleted due to no activity on 2024/07/31 22:46

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

write to 0xffffc9000132fa00 of 4 bytes by task 3326 on cpu 0:
 __pollwake fs/select.c:195 [inline]
 pollwake+0xbe/0x110 fs/select.c:215
 __wake_up_common kernel/sched/wait.c:89 [inline]
 __wake_up_common_lock kernel/sched/wait.c:106 [inline]
 __wake_up_sync_key+0x51/0x80 kernel/sched/wait.c:173
 pipe_write+0x962/0xd20 fs/pipe.c:602
 new_sync_write fs/read_write.c:590 [inline]
 vfs_write+0x77f/0x920 fs/read_write.c:683
 ksys_write+0xeb/0x1b0 fs/read_write.c:736
 __do_sys_write fs/read_write.c:748 [inline]
 __se_sys_write fs/read_write.c:745 [inline]
 __x64_sys_write+0x42/0x50 fs/read_write.c:745
 x64_sys_call+0x27dd/0x2d60 arch/x86/include/generated/asm/syscalls_64.h:2
 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

write to 0xffffc9000132fa00 of 4 bytes by task 3325 on cpu 1:
 __pollwake fs/select.c:195 [inline]
 pollwake+0xbe/0x110 fs/select.c:215
 __wake_up_common kernel/sched/wait.c:89 [inline]
 __wake_up_common_lock kernel/sched/wait.c:106 [inline]
 __wake_up_sync_key+0x51/0x80 kernel/sched/wait.c:173
 pipe_write+0x962/0xd20 fs/pipe.c:602
 new_sync_write fs/read_write.c:590 [inline]
 vfs_write+0x77f/0x920 fs/read_write.c:683
 ksys_write+0xeb/0x1b0 fs/read_write.c:736
 __do_sys_write fs/read_write.c:748 [inline]
 __se_sys_write fs/read_write.c:745 [inline]
 __x64_sys_write+0x42/0x50 fs/read_write.c:745
 x64_sys_call+0x27dd/0x2d60 arch/x86/include/generated/asm/syscalls_64.h:2
 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: 1 UID: 0 PID: 3325 Comm: syz-executor Not tainted 6.12.0-rc5-syzkaller-00308-g3e5e6c9900c3 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/11/03 02:51 upstream 3e5e6c9900c3 f00eed24 .config console log report [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce upstream test error: KCSAN: data-race in pollwake / pollwake
* Struck through repros no longer work on HEAD.