syzbot


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

Status: auto-obsoleted due to no activity on 2023/06/09 03:35
Subsystems: fs
[Documentation on labels]
First crash: 706d, last: 576d
Similar bugs (14)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in pipe_lock / pipe_release (5) fs 1 1083d 1083d 0/28 auto-closed as invalid on 2022/01/18 04:35
upstream KCSAN: data-race in pipe_lock / pipe_release (8) fs 1 831d 831d 0/28 auto-closed as invalid on 2022/09/27 07:59
upstream KCSAN: data-race in pipe_lock / pipe_release (13) fs 1 286d 286d 0/28 auto-obsoleted due to no activity on 2024/03/25 04:35
upstream KCSAN: data-race in pipe_lock / pipe_release (15) fs 1 18d 18d 0/28 moderation: reported on 2024/11/13 04:28
upstream KCSAN: data-race in pipe_lock / pipe_release (4) fs 1 1344d 1344d 0/28 auto-closed as invalid on 2021/05/02 03:19
upstream KCSAN: data-race in pipe_lock / pipe_release (11) fs 1 432d 432d 0/28 auto-obsoleted due to no activity on 2023/10/31 07:05
upstream KCSAN: data-race in pipe_lock / pipe_release (14) fs 2 175d 177d 0/28 auto-obsoleted due to no activity on 2024/07/14 01:56
upstream KCSAN: data-race in pipe_lock / pipe_release (6) fs 2 1010d 1012d 0/28 auto-closed as invalid on 2022/04/01 19:16
upstream KCSAN: data-race in pipe_lock / pipe_release fs 2 1610d 1627d 0/28 auto-closed as invalid on 2020/08/09 18:16
upstream KCSAN: data-race in pipe_lock / pipe_release (3) fs 1 1502d 1502d 0/28 auto-closed as invalid on 2020/11/25 12:55
upstream KCSAN: data-race in pipe_lock / pipe_release (12) fs 1 340d 340d 0/28 auto-obsoleted due to no activity on 2024/01/31 07:04
upstream KCSAN: data-race in pipe_lock / pipe_release (7) fs 2 942d 970d 0/28 auto-closed as invalid on 2022/06/08 19:34
upstream KCSAN: data-race in pipe_lock / pipe_release (10) fs 2 513d 534d 0/28 auto-obsoleted due to no activity on 2023/08/10 23:17
upstream KCSAN: data-race in pipe_lock / pipe_release (2) fs 1 1552d 1552d 0/28 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 0xffff88813b06fbac of 4 bytes by task 3494 on cpu 1:
 put_pipe_info fs/pipe.c:704 [inline]
 pipe_release+0x164/0x1c0 fs/pipe.c:734
 __fput+0x245/0x570 fs/file_table.c:321
 ____fput+0x15/0x20 fs/file_table.c:349
 task_work_run+0x123/0x160 kernel/task_work.c:179
 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline]
 exit_to_user_mode_loop+0xd1/0xe0 kernel/entry/common.c:171
 exit_to_user_mode_prepare+0x6c/0xb0 kernel/entry/common.c:204
 __syscall_exit_to_user_mode_work kernel/entry/common.c:286 [inline]
 syscall_exit_to_user_mode+0x26/0x140 kernel/entry/common.c:297
 do_syscall_64+0x4d/0xc0 arch/x86/entry/common.c:86
 entry_SYSCALL_64_after_hwframe+0x63/0xcd

read to 0xffff88813b06fbac of 4 bytes by task 3496 on cpu 0:
 pipe_lock_nested fs/pipe.c:81 [inline]
 pipe_lock+0x17/0x40 fs/pipe.c:90
 vmsplice_to_user fs/splice.c:1323 [inline]
 __do_sys_vmsplice fs/splice.c:1419 [inline]
 __se_sys_vmsplice+0x239/0xaa0 fs/splice.c:1391
 __x64_sys_vmsplice+0x55/0x60 fs/splice.c:1391
 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: 3496 Comm: syz-executor.0 Not tainted 6.3.0-syzkaller-13027-g1a5304fecee5 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023
==================================================================

Crashes (6):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/05/05 03:29 upstream 1a5304fecee5 518a39a6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in pipe_lock / pipe_release
2023/04/04 17:43 upstream 148341f0a2f5 928dd177 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in pipe_lock / pipe_release
2023/03/16 18:58 upstream 9c1bec9c0b08 18b58603 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in pipe_lock / pipe_release
2023/02/15 19:35 upstream e1c04510f521 6be0f1f5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in pipe_lock / pipe_release
2023/02/04 17:59 upstream 0136d86b7852 be607b78 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in pipe_lock / pipe_release
2022/12/26 04:54 upstream 1b929c02afd3 9da18ae8 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in pipe_lock / pipe_release
* Struck through repros no longer work on HEAD.