syzbot


KCSAN: data-race in ondemand_readahead / ondemand_readahead

Status: closed as invalid on 2020/06/18 14:24
Reported-by: syzbot+@syzkaller.appspotmail.com
First crash: 1002d, last: 788d
similar bugs (7):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in ondemand_readahead / ondemand_readahead (4) 1 486d 486d 0/23 auto-closed as invalid on 2021/05/21 19:40
upstream KCSAN: data-race in ondemand_readahead / ondemand_readahead (5) 2 442d 447d 0/23 auto-closed as invalid on 2021/07/05 00:47
upstream KCSAN: data-race in ondemand_readahead / ondemand_readahead (2) 201 563d 725d 0/23 auto-closed as invalid on 2021/03/05 09:30
upstream KCSAN: data-race in ondemand_readahead / ondemand_readahead (8) 1 84d 84d 0/23 auto-closed as invalid on 2022/06/27 21:27
upstream KCSAN: data-race in ondemand_readahead / ondemand_readahead (3) 1 523d 523d 0/23 auto-closed as invalid on 2021/04/14 20:49
upstream KCSAN: data-race in ondemand_readahead / ondemand_readahead (7) 5 146d 209d 0/23 auto-closed as invalid on 2022/04/26 07:02
upstream KCSAN: data-race in ondemand_readahead / ondemand_readahead (6) 17 313d 382d 0/23 auto-closed as invalid on 2021/11/11 03:01

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

write to 0xffff88812ab5f798 of 8 bytes by task 29546 on cpu 0:
 ondemand_readahead+0x3aa/0x730 mm/readahead.c:470
 page_cache_sync_readahead+0x1b0/0x1e0 mm/readahead.c:527
 generic_file_buffered_read mm/filemap.c:2036 [inline]
 generic_file_read_iter+0xf24/0x18c0 mm/filemap.c:2309
 ext4_file_read_iter fs/ext4/file.c:131 [inline]
 ext4_file_read_iter+0x103/0x360 fs/ext4/file.c:114
 call_read_iter include/linux/fs.h:1901 [inline]
 generic_file_splice_read+0x2df/0x470 fs/splice.c:313
 do_splice_to+0xc7/0x100 fs/splice.c:892
 splice_direct_to_actor+0x1b9/0x540 fs/splice.c:971
 do_splice_direct+0x152/0x1d0 fs/splice.c:1080
 do_sendfile+0x380/0x800 fs/read_write.c:1521
 __do_sys_sendfile64 fs/read_write.c:1582 [inline]
 __se_sys_sendfile64 fs/read_write.c:1568 [inline]
 __x64_sys_sendfile64+0x121/0x140 fs/read_write.c:1568
 do_syscall_64+0xc7/0x3b0 arch/x86/entry/common.c:295
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

read to 0xffff88812ab5f798 of 8 bytes by task 29484 on cpu 1:
 ondemand_readahead+0xf5/0x730 mm/readahead.c:409
 page_cache_sync_readahead+0x1b0/0x1e0 mm/readahead.c:527
 generic_file_buffered_read mm/filemap.c:2036 [inline]
 generic_file_read_iter+0xf24/0x18c0 mm/filemap.c:2309
 ext4_file_read_iter fs/ext4/file.c:131 [inline]
 ext4_file_read_iter+0x103/0x360 fs/ext4/file.c:114
 call_read_iter include/linux/fs.h:1901 [inline]
 generic_file_splice_read+0x2df/0x470 fs/splice.c:313
 do_splice_to+0xc7/0x100 fs/splice.c:892
 splice_direct_to_actor+0x1b9/0x540 fs/splice.c:971
 do_splice_direct+0x152/0x1d0 fs/splice.c:1080
 do_sendfile+0x380/0x800 fs/read_write.c:1521
 __do_sys_sendfile64 fs/read_write.c:1582 [inline]
 __se_sys_sendfile64 fs/read_write.c:1568 [inline]
 __x64_sys_sendfile64+0x121/0x140 fs/read_write.c:1568
 do_syscall_64+0xc7/0x3b0 arch/x86/entry/common.c:295
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

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

Crashes (44):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-upstream-kcsan-gce 2020/06/18 05:22 https://github.com/google/ktsan.git kcsan 7c3cd68e5d38 d45a4d69 .config log report
ci2-upstream-kcsan-gce 2020/06/15 15:47 https://github.com/google/ktsan.git kcsan 7c3cd68e5d38 8e3ab941 .config log report
ci2-upstream-kcsan-gce 2020/06/13 03:09 https://github.com/google/ktsan.git kcsan 7c3cd68e5d38 3036d6fd .config log report
ci2-upstream-kcsan-gce 2020/06/11 16:01 https://github.com/google/ktsan.git kcsan 7c3cd68e5d38 3ab7a05a .config log report
ci2-upstream-kcsan-gce 2020/06/05 18:06 https://github.com/google/ktsan.git kcsan 7c3cd68e5d38 d36418e9 .config log report
ci2-upstream-kcsan-gce 2020/05/16 08:50 https://github.com/google/ktsan.git kcsan 7c3cd68e5d38 37bccd4e .config log report
ci2-upstream-kcsan-gce 2020/05/10 10:41 https://github.com/google/ktsan.git kcsan 7c3cd68e5d38 8742a2b9 .config log report
ci2-upstream-kcsan-gce 2020/04/24 13:55 https://github.com/google/ktsan.git kcsan 7c3cd68e5d38 03d97a1b .config log report
ci2-upstream-kcsan-gce 2020/04/19 16:45 https://github.com/google/ktsan.git kcsan 7c3cd68e5d38 6dfd45e1 .config log report
ci2-upstream-kcsan-gce 2020/04/01 10:36 https://github.com/google/ktsan.git kcsan 40959e34d670 a34e2c33 .config log report
ci2-upstream-kcsan-gce 2020/03/28 20:01 https://github.com/google/ktsan.git kcsan 40959e34d670 f1ebdfba .config log report
ci2-upstream-kcsan-gce 2020/03/27 02:58 https://github.com/google/ktsan.git kcsan 40959e34d670 6d25c5a0 .config log report
ci2-upstream-kcsan-gce 2020/03/24 12:21 https://github.com/google/ktsan.git kcsan 40959e34d670 33e14df3 .config log report
ci2-upstream-kcsan-gce 2020/03/19 11:07 https://github.com/google/ktsan.git kcsan 40959e34d670 2c31c529 .config log report
ci2-upstream-kcsan-gce 2020/03/14 20:15 https://github.com/google/ktsan.git kcsan 941e0d917bbf 749688d2 .config log report
ci2-upstream-kcsan-gce 2020/03/02 11:09 https://github.com/google/ktsan.git kcsan 766d004d1b85 4a4e0509 .config log report
ci2-upstream-kcsan-gce 2020/02/26 07:41 https://github.com/google/ktsan.git kcsan 766d004d1b85 4f588111 .config log report
ci2-upstream-kcsan-gce 2020/02/26 01:43 https://github.com/google/ktsan.git kcsan 766d004d1b85 4c886d6a .config log report
ci2-upstream-kcsan-gce 2020/02/24 03:49 https://github.com/google/ktsan.git kcsan 766d004d1b85 d801cb02 .config log report
ci2-upstream-kcsan-gce 2020/02/17 20:06 https://github.com/google/ktsan.git kcsan b12d66a6c34f 72bfa6f2 .config log report
ci2-upstream-kcsan-gce 2020/02/12 00:01 https://github.com/google/ktsan.git kcsan f60f0f543333 4d1ab643 .config log report
ci2-upstream-kcsan-gce 2020/02/10 11:09 https://github.com/google/ktsan.git kcsan f60f0f543333 35f5e45e .config log report
ci2-upstream-kcsan-gce 2020/02/08 21:43 https://github.com/google/ktsan.git kcsan f60f0f543333 06150bf1 .config log report
ci2-upstream-kcsan-gce 2020/02/07 19:52 https://github.com/google/ktsan.git kcsan 6cccb8ba35bd 06150bf1 .config log report
ci2-upstream-kcsan-gce 2020/02/06 00:00 https://github.com/google/ktsan.git kcsan 245a43005292 662cf49a .config log report
ci2-upstream-kcsan-gce 2020/01/30 03:50 https://github.com/google/ktsan.git kcsan 245a43005292 5ed23f9a .config log report
ci2-upstream-kcsan-gce 2020/01/27 22:49 https://github.com/google/ktsan.git kcsan 245a43005292 56cd6c9b .config log report
ci2-upstream-kcsan-gce 2020/01/27 02:28 https://github.com/google/ktsan.git kcsan 245a43005292 dd56146d .config log report
ci2-upstream-kcsan-gce 2020/01/26 07:25 https://github.com/google/ktsan.git kcsan 245a43005292 f4e7270e .config log report
ci2-upstream-kcsan-gce 2020/01/24 12:16 https://github.com/google/ktsan.git kcsan 245a43005292 2e95ab33 .config log report
ci2-upstream-kcsan-gce 2020/01/22 23:56 https://github.com/google/ktsan.git kcsan 245a43005292 3334d684 .config log report
ci2-upstream-kcsan-gce 2020/01/19 20:55 https://github.com/google/ktsan.git kcsan 245a43005292 0342f8c7 .config log report
ci2-upstream-kcsan-gce 2020/01/19 13:37 https://github.com/google/ktsan.git kcsan 245a43005292 bc8bc756 .config log report
ci2-upstream-kcsan-gce 2020/01/18 04:37 https://github.com/google/ktsan.git kcsan 245a43005292 3de7aabb .config log report
ci2-upstream-kcsan-gce 2019/12/30 05:43 https://github.com/google/ktsan.git kcsan 245a43005292 af6b8ef8 .config log report
ci2-upstream-kcsan-gce 2019/12/26 13:58 https://github.com/google/ktsan.git kcsan 245a43005292 be5c2c81 .config log report
ci2-upstream-kcsan-gce 2019/12/23 01:45 https://github.com/google/ktsan.git kcsan 245a43005292 8b967267 .config log report
ci2-upstream-kcsan-gce 2019/12/05 05:15 https://github.com/google/ktsan.git kcsan ef798c30ba4e b2088328 .config log report
ci2-upstream-kcsan-gce 2019/11/29 20:51 https://github.com/google/ktsan.git kcsan ef798c30ba4e 4f7e1d0f .config log report
ci2-upstream-kcsan-gce 2019/11/29 09:03 https://github.com/google/ktsan.git kcsan ef798c30ba4e 76357d6f .config log report
ci2-upstream-kcsan-gce 2019/11/28 03:08 https://github.com/google/ktsan.git kcsan ef798c30ba4e 0d63f89c .config log report
ci2-upstream-kcsan-gce 2019/11/23 02:45 https://github.com/google/ktsan.git kcsan 5863cc791e4c 598ca6c8 .config log report
ci2-upstream-kcsan-gce 2019/11/23 02:31 https://github.com/google/ktsan.git kcsan 5863cc791e4c 598ca6c8 .config log report
ci2-upstream-kcsan-gce 2019/11/17 22:53 https://github.com/google/ktsan.git kcsan 5863cc791e4c d5696d51 .config log report