syzbot


KCSAN: data-race in pipe_lock / pipe_release (12)

Status: auto-obsoleted due to no activity on 2024/01/31 07:04
Subsystems: fs
[Documentation on labels]
Reported-by: syzbot+58f9471378c38316b5a2@syzkaller.appspotmail.com
First crash: 565d, last: 565d
Similar bugs (14)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in pipe_lock / pipe_release (5) fs 6 1 1308d 1308d 0/29 auto-closed as invalid on 2022/01/18 04:35
upstream KCSAN: data-race in pipe_lock / pipe_release (8) fs 6 1 1056d 1056d 0/29 auto-closed as invalid on 2022/09/27 07:59
upstream KCSAN: data-race in pipe_lock / pipe_release (13) fs 6 1 511d 511d 0/29 auto-obsoleted due to no activity on 2024/03/25 04:35
upstream KCSAN: data-race in pipe_lock / pipe_release (15) fs 6 3 170d 243d 0/29 auto-obsoleted due to no activity on 2025/03/21 15:25
upstream KCSAN: data-race in pipe_lock / pipe_release (4) fs 6 1 1569d 1569d 0/29 auto-closed as invalid on 2021/05/02 03:19
upstream KCSAN: data-race in pipe_lock / pipe_release (11) fs 6 1 657d 657d 0/29 auto-obsoleted due to no activity on 2023/10/31 07:05
upstream KCSAN: data-race in pipe_lock / pipe_release (14) fs 6 2 400d 402d 0/29 auto-obsoleted due to no activity on 2024/07/14 01:56
upstream KCSAN: data-race in pipe_lock / pipe_release (6) fs 6 2 1234d 1237d 0/29 auto-closed as invalid on 2022/04/01 19:16
upstream KCSAN: data-race in pipe_lock / pipe_release (9) fs 6 6 801d 931d 0/29 auto-obsoleted due to no activity on 2023/06/09 03:35
upstream KCSAN: data-race in pipe_lock / pipe_release fs 6 2 1834d 1851d 0/29 auto-closed as invalid on 2020/08/09 18:16
upstream KCSAN: data-race in pipe_lock / pipe_release (3) fs 6 1 1726d 1726d 0/29 auto-closed as invalid on 2020/11/25 12:55
upstream KCSAN: data-race in pipe_lock / pipe_release (7) fs 6 2 1166d 1194d 0/29 auto-closed as invalid on 2022/06/08 19:34
upstream KCSAN: data-race in pipe_lock / pipe_release (10) fs 6 2 738d 759d 0/29 auto-obsoleted due to no activity on 2023/08/10 23:17
upstream KCSAN: data-race in pipe_lock / pipe_release (2) fs 6 1 1777d 1777d 0/29 auto-closed as invalid on 2020/10/06 00:08

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

read-write to 0xffff88814627a66c of 4 bytes by task 13853 on cpu 1:
 put_pipe_info fs/pipe.c:715 [inline]
 pipe_release+0x164/0x1c0 fs/pipe.c:745
 __fput+0x299/0x630 fs/file_table.c:394
 __fput_sync+0x44/0x50 fs/file_table.c:475
 __do_sys_close fs/open.c:1587 [inline]
 __se_sys_close+0xfa/0x1a0 fs/open.c:1572
 __x64_sys_close+0x1f/0x30 fs/open.c:1572
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0x44/0x110 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x63/0x6b

read to 0xffff88814627a66c of 4 bytes by task 13957 on cpu 0:
 pipe_lock_nested fs/pipe.c:81 [inline]
 pipe_lock+0x17/0x40 fs/pipe.c:90
 splice_to_socket+0x7e/0x9c0 fs/splice.c:801
 do_splice_from fs/splice.c:933 [inline]
 do_splice+0x99d/0x10a0 fs/splice.c:1292
 __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:52 [inline]
 do_syscall_64+0x44/0x110 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x63/0x6b

value changed: 0x00000002 -> 0x00000001

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 13957 Comm: syz-executor.4 Not tainted 6.7.0-rc7-syzkaller-00003-gfbafc3e621c3 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/12/27 07:04 upstream fbafc3e621c3 fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in pipe_lock / pipe_release
* Struck through repros no longer work on HEAD.