syzbot


KCSAN: data-race in pipe_double_lock / pipe_release (3)

Status: auto-obsoleted due to no activity on 2023/11/21 02:37
Subsystems: fs
[Documentation on labels]
First crash: 204d, last: 204d
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in pipe_double_lock / pipe_release (4) fs 1 112d 112d 0/26 auto-obsoleted due to no activity on 2024/02/21 21:32
upstream KCSAN: data-race in pipe_double_lock / pipe_release (2) fs 1 310d 310d 0/26 auto-obsoleted due to no activity on 2023/08/07 23:55
upstream KCSAN: data-race in pipe_double_lock / pipe_release fs 1 1420d 1420d 0/26 auto-closed as invalid on 2020/07/23 17:42

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

read-write to 0xffff888125ad7bac of 4 bytes by task 6665 on cpu 1:
 put_pipe_info fs/pipe.c:705 [inline]
 pipe_release+0x164/0x1c0 fs/pipe.c:735
 __fput+0x2fd/0x5f0 fs/file_table.c:384
 __fput_sync+0x44/0x50 fs/file_table.c:465
 __do_sys_close fs/open.c:1572 [inline]
 __se_sys_close+0xfa/0x1a0 fs/open.c:1557
 __x64_sys_close+0x1f/0x30 fs/open.c:1557
 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 0xffff888125ad7bac of 4 bytes by task 6682 on cpu 0:
 pipe_lock_nested fs/pipe.c:81 [inline]
 pipe_double_lock+0x4f/0xe0 fs/pipe.c:120
 splice_pipe_to_pipe fs/splice.c:1699 [inline]
 do_splice+0x332/0x1100 fs/splice.c:1269
 __do_splice fs/splice.c:1370 [inline]
 __do_sys_splice fs/splice.c:1586 [inline]
 __se_sys_splice+0x24c/0x380 fs/splice.c:1568
 __x64_sys_splice+0x78/0x90 fs/splice.c:1568
 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: 0x00000002 -> 0x00000001

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 6682 Comm: syz-executor.4 Not tainted 6.6.0-rc6-syzkaller-00029-g213f891525c2 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/10/17 02:33 upstream 213f891525c2 342b9c55 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in pipe_double_lock / pipe_release
* Struck through repros no longer work on HEAD.