syzbot


KCSAN: data-race in generic_file_buffered_read / generic_file_buffered_read

Status: auto-closed as invalid on 2021/03/30 16:34
Reported-by: syzbot+0f1e470df6a4316e0a11@syzkaller.appspotmail.com
First crash: 965d, last: 721d

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

write to 0xffff888100d80cb0 of 8 bytes by task 21423 on cpu 0:
 generic_file_buffered_read+0x65e/0x9c0 mm/filemap.c:2544
 generic_file_read_iter+0x82/0x3e0 mm/filemap.c:2637
 call_read_iter include/linux/fs.h:1895 [inline]
 generic_file_splice_read+0x22a/0x310 fs/splice.c:311
 do_splice_to fs/splice.c:788 [inline]
 splice_direct_to_actor+0x2aa/0x650 fs/splice.c:867
 do_splice_direct+0xf5/0x170 fs/splice.c:976
 do_sendfile+0x5e0/0xcf0 fs/read_write.c:1257
 __do_sys_sendfile64 fs/read_write.c:1318 [inline]
 __se_sys_sendfile64 fs/read_write.c:1304 [inline]
 __x64_sys_sendfile64+0xf2/0x130 fs/read_write.c:1304
 do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

read to 0xffff888100d80cb0 of 8 bytes by task 21440 on cpu 1:
 generic_file_buffered_read+0x4c7/0x9c0 mm/filemap.c:2521
 generic_file_read_iter+0x82/0x3e0 mm/filemap.c:2637
 call_read_iter include/linux/fs.h:1895 [inline]
 generic_file_splice_read+0x22a/0x310 fs/splice.c:311
 do_splice_to fs/splice.c:788 [inline]
 splice_direct_to_actor+0x2aa/0x650 fs/splice.c:867
 do_splice_direct+0xf5/0x170 fs/splice.c:976
 do_sendfile+0x5e0/0xcf0 fs/read_write.c:1257
 __do_sys_sendfile64 fs/read_write.c:1318 [inline]
 __se_sys_sendfile64 fs/read_write.c:1304 [inline]
 __x64_sys_sendfile64+0xf2/0x130 fs/read_write.c:1304
 do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 21440 Comm: syz-executor.4 Not tainted 5.11.0-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
==================================================================

Crashes (177):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets Title
ci2-upstream-kcsan-gce 2021/02/17 21:02 upstream f40ddce88593 14052202 .config console log report info KCSAN: data-race in generic_file_buffered_read / generic_file_buffered_read
ci2-upstream-kcsan-gce 2021/02/08 21:34 upstream e0756cfc7d7c 2bd9619f .config console log report info KCSAN: data-race in generic_file_buffered_read / generic_file_buffered_read
ci2-upstream-kcsan-gce 2021/02/01 19:30 upstream 1048ba83fb1c e6b95f32 .config console log report info KCSAN: data-race in generic_file_buffered_read / generic_file_buffered_read
ci2-upstream-kcsan-gce 2021/01/30 11:49 upstream 0e9bcda5d286 fc9fd31e .config console log report info KCSAN: data-race in generic_file_buffered_read / generic_file_buffered_read
ci2-upstream-kcsan-gce 2021/01/28 12:17 upstream 76c057c84d28 eefc07f2 .config console log report info KCSAN: data-race in generic_file_buffered_read / generic_file_buffered_read
ci2-upstream-kcsan-gce 2021/01/25 22:21 upstream f8ad8187c3b5 52e37319 .config console log report info KCSAN: data-race in generic_file_buffered_read / generic_file_buffered_read
ci2-upstream-kcsan-gce 2021/01/25 10:17 upstream 6ee1d745b7c9 52e37319 .config console log report info KCSAN: data-race in generic_file_buffered_read / generic_file_buffered_read
ci2-upstream-kcsan-gce 2021/01/25 01:04 upstream e68061375f79 52e37319 .config console log report info KCSAN: data-race in generic_file_buffered_read / generic_file_buffered_read
ci2-upstream-kcsan-gce 2021/01/24 00:10 upstream e1ae4b0be158 52e37319 .config console log report info KCSAN: data-race in generic_file_buffered_read / generic_file_buffered_read
ci2-upstream-kcsan-gce 2021/01/23 11:44 upstream fe75a21824e7 52e37319 .config console log report info KCSAN: data-race in generic_file_buffered_read / generic_file_buffered_read
ci2-upstream-kcsan-gce 2021/01/22 22:51 upstream 83d09ad4b950 52e37319 .config console log report info KCSAN: data-race in generic_file_buffered_read / generic_file_buffered_read
ci2-upstream-kcsan-gce 2021/01/21 15:01 upstream 9791581c049c d4f4eca5 .config console log report info KCSAN: data-race in generic_file_buffered_read / generic_file_buffered_read
ci2-upstream-kcsan-gce 2021/01/20 09:22 upstream 45dfb8a5659a d4f4eca5 .config console log report info KCSAN: data-race in generic_file_buffered_read / generic_file_buffered_read
ci2-upstream-kcsan-gce 2021/01/18 22:21 upstream 1e2a199f6ccd 63631df1 .config console log report info KCSAN: data-race in generic_file_buffered_read / generic_file_buffered_read
ci2-upstream-kcsan-gce 2021/01/18 17:49 upstream 19c329f68089 63631df1 .config console log report info KCSAN: data-race in generic_file_buffered_read / generic_file_buffered_read
ci2-upstream-kcsan-gce 2021/01/18 06:35 upstream 19c329f68089 fd103621 .config console log report info KCSAN: data-race in generic_file_buffered_read / generic_file_buffered_read
ci2-upstream-kcsan-gce 2021/01/17 22:34 upstream 0da0a8a0a0e1 fd103621 .config console log report info KCSAN: data-race in generic_file_buffered_read / generic_file_buffered_read
ci2-upstream-kcsan-gce 2021/01/15 18:43 upstream 5ee88057889b 65a7a854 .config console log report info
ci2-upstream-kcsan-gce 2021/01/15 07:36 upstream 146620506274 65a7a854 .config console log report info
ci2-upstream-kcsan-gce 2021/01/15 02:15 upstream 146620506274 468dbb55 .config console log report info
ci2-upstream-kcsan-gce 2021/01/14 20:19 upstream 65f0d2414b70 468dbb55 .config console log report info
ci2-upstream-kcsan-gce 2021/01/13 01:25 upstream e609571b5ffa 0cdd6185 .config console log report info
ci2-upstream-kcsan-gce 2021/01/12 13:09 upstream a0d54b4f5b21 2c1f2513 .config console log report info
ci2-upstream-kcsan-gce 2021/01/11 21:51 upstream 7c53f6b671f4 2c1f2513 .config console log report info
ci2-upstream-kcsan-gce 2021/01/08 23:17 upstream 6279d812eab6 c104d4a3 .config console log report info
ci2-upstream-kcsan-gce 2021/01/07 23:08 upstream f5e6c330254a c104d4a3 .config console log report info
ci2-upstream-kcsan-gce 2021/01/07 06:56 upstream 71c061d24438 c104d4a3 .config console log report info
ci2-upstream-kcsan-gce 2021/01/06 05:02 upstream 6207214a70bf b1c228e1 .config console log report info
ci2-upstream-kcsan-gce 2020/12/31 02:14 upstream f6e1ea196492 5cc121d6 .config console log report info
ci2-upstream-kcsan-gce 2020/12/30 21:03 upstream f6e1ea196492 ecb8c012 .config console log report info
ci2-upstream-kcsan-gce 2020/12/30 15:52 upstream 139711f033f6 ecb8c012 .config console log report info
ci2-upstream-kcsan-gce 2020/12/30 05:57 upstream 139711f033f6 0fa352f2 .config console log report info
ci2-upstream-kcsan-gce 2020/12/29 16:02 upstream dea8dcf2a9fa 80910769 .config console log report info
ci2-upstream-kcsan-gce 2020/12/28 13:04 upstream 5c8fe583cce5 2242f77f .config console log report info
ci2-upstream-kcsan-gce 2020/12/27 13:40 upstream f838f8d2b694 2242f77f .config console log report info
ci2-upstream-kcsan-gce 2020/12/27 09:43 upstream f838f8d2b694 821e0b09 .config console log report info
ci2-upstream-kcsan-gce 2020/12/25 23:21 upstream 5814bc2d4cc2 821e0b09 .config console log report info
ci2-upstream-kcsan-gce 2020/12/25 01:39 upstream 3913d00ac51a c2c1d1dd .config console log report info
ci2-upstream-kcsan-gce 2020/12/23 19:48 upstream 614cb5894306 c2c1d1dd .config console log report info
ci2-upstream-kcsan-gce 2020/12/23 02:18 upstream 614cb5894306 04201c06 .config console log report info
ci2-upstream-kcsan-gce 2020/12/21 22:21 upstream 8653b778e454 04201c06 .config console log report info
ci2-upstream-kcsan-gce 2020/12/21 10:22 upstream e37b12e4bb21 04201c06 .config console log report info
ci2-upstream-kcsan-gce 2020/12/20 21:27 upstream 6a447b0e3151 04201c06 .config console log report info
ci2-upstream-kcsan-gce 2020/12/20 01:04 upstream 467f8165a2b0 04201c06 .config console log report info
ci2-upstream-kcsan-gce 2020/12/18 16:10 upstream a409ed156a90 04201c06 .config console log report info
ci2-upstream-kcsan-gce 2020/12/17 23:14 upstream d64c6f96ba86 04201c06 .config console log report info
ci2-upstream-kcsan-gce 2020/12/17 13:26 upstream accefff5b547 04201c06 .config console log report info
ci2-upstream-kcsan-gce 2020/12/16 20:53 upstream 5e60366d56c6 04201c06 .config console log report info
ci2-upstream-kcsan-gce 2020/12/16 08:42 upstream d01e7f10dae2 649595c6 .config console log report info
ci2-upstream-kcsan-gce 2020/07/15 06:30 upstream e9919e11e219 ada108d0 .config console log report
ci2-upstream-kcsan-gce 2020/06/18 14:13 upstream 1b5044021070 3ea11d3f .config console log report
* Struck through repros no longer work on HEAD.