syzbot


KCSAN: data-race in __se_sys_vmsplice / do_splice (3)

Status: auto-obsoleted due to no activity on 2023/12/24 00:06
Subsystems: fs
[Documentation on labels]
Reported-by: syzbot+be66cb86fb417ef49481@syzkaller.appspotmail.com
First crash: 677d, last: 636d
Similar bugs (2)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in __se_sys_vmsplice / do_splice fs 6 4 786d 831d 0/29 auto-obsoleted due to no activity on 2023/07/15 12:34
upstream KCSAN: data-race in __se_sys_vmsplice / do_splice (2) fs 6 1 746d 746d 0/29 auto-obsoleted due to no activity on 2023/08/24 14:32

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

write to 0xffff88814f4f0e90 of 4 bytes by task 22113 on cpu 1:
 add_to_pipe fs/splice.c:259 [inline]
 iter_to_pipe fs/splice.c:1412 [inline]
 vmsplice_to_pipe fs/splice.c:1492 [inline]
 __do_sys_vmsplice fs/splice.c:1558 [inline]
 __se_sys_vmsplice+0x74d/0xd60 fs/splice.c:1532
 __x64_sys_vmsplice+0x55/0x60 fs/splice.c:1532
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x44/0x110 arch/x86/entry/common.c:82
 entry_SYSCALL_64_after_hwframe+0x63/0x6b

read to 0xffff88814f4f0e90 of 4 bytes by task 22132 on cpu 0:
 ipipe_prep fs/splice.c:1607 [inline]
 splice_pipe_to_pipe fs/splice.c:1686 [inline]
 do_splice+0x1d4/0x10a0 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:51 [inline]
 do_syscall_64+0x44/0x110 arch/x86/entry/common.c:82
 entry_SYSCALL_64_after_hwframe+0x63/0x6b

value changed: 0x00000001 -> 0x00000002

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 22132 Comm: syz-executor.2 Not tainted 6.6.0-syzkaller-15029-gbe3ca57cfb77 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023
==================================================================

Crashes (5):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/11/07 12:50 upstream be3ca57cfb77 83211397 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __se_sys_vmsplice / do_splice
2023/11/04 21:31 upstream 90b0c2b2edd1 500bfdc4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __se_sys_vmsplice / do_splice
2023/10/03 10:01 upstream ce36c8b14987 65faba36 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __se_sys_vmsplice / do_splice
2023/10/01 19:52 upstream e402b08634b3 8e26a358 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __se_sys_vmsplice / do_splice
2023/09/26 23:56 upstream 50768a425b46 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __se_sys_vmsplice / do_splice
* Struck through repros no longer work on HEAD.