syzbot


KCSAN: data-race in filemap_read / filemap_read
Status: moderation: reported on 2021/08/05 09:46
Reported-by: syzbot+74bcf83a971e0c78aabd@syzkaller.appspotmail.com
First crash: 446d, last: 1d13h

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

write to 0xffff8881011695b0 of 8 bytes by task 9674 on cpu 1:
 filemap_read+0x10dd/0x1400 mm/filemap.c:2734
 generic_file_read_iter+0x72/0x320 mm/filemap.c:2825
 ext4_file_read_iter+0x1e9/0x2a0
 call_read_iter include/linux/fs.h:2035 [inline]
 generic_file_splice_read+0x1de/0x2c0 fs/splice.c:311
 do_splice_to fs/splice.c:796 [inline]
 splice_direct_to_actor+0x2ac/0x660 fs/splice.c:870
 do_splice_direct+0xfb/0x180 fs/splice.c:979
 do_sendfile+0x3ad/0x900 fs/read_write.c:1246
 __do_sys_sendfile64 fs/read_write.c:1311 [inline]
 __se_sys_sendfile64 fs/read_write.c:1297 [inline]
 __x64_sys_sendfile64+0x10c/0x150 fs/read_write.c:1297
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x46/0xb0

write to 0xffff8881011695b0 of 8 bytes by task 9679 on cpu 0:
 filemap_read+0x10dd/0x1400 mm/filemap.c:2734
 generic_file_read_iter+0x72/0x320 mm/filemap.c:2825
 ext4_file_read_iter+0x1e9/0x2a0
 call_read_iter include/linux/fs.h:2035 [inline]
 generic_file_splice_read+0x1de/0x2c0 fs/splice.c:311
 do_splice_to fs/splice.c:796 [inline]
 splice_direct_to_actor+0x2ac/0x660 fs/splice.c:870
 do_splice_direct+0xfb/0x180 fs/splice.c:979
 do_sendfile+0x3ad/0x900 fs/read_write.c:1246
 __do_sys_sendfile64 fs/read_write.c:1311 [inline]
 __se_sys_sendfile64 fs/read_write.c:1297 [inline]
 __x64_sys_sendfile64+0x10c/0x150 fs/read_write.c:1297
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x46/0xb0

value changed: 0x0000000000798000 -> 0x0000000000740000

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 9679 Comm: syz-executor.4 Not tainted 5.18.0-syzkaller-09061-g16477cdfefdb-dirty #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
==================================================================

Crashes (301):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-upstream-kcsan-gce 2022/05/26 21:37 upstream 16477cdfefdb 3037caa9 .config log report info KCSAN: data-race in filemap_read / filemap_read
ci2-upstream-kcsan-gce 2022/05/25 14:41 upstream fdaf9a5840ac 3037caa9 .config log report info KCSAN: data-race in filemap_read / filemap_read
ci2-upstream-kcsan-gce 2022/05/23 23:56 upstream 140e40e39a29 e7f9308d .config log report info KCSAN: data-race in filemap_read / filemap_read
ci2-upstream-kcsan-gce 2022/05/22 08:12 upstream eaea45fc0e7b 7268fa62 .config log report info KCSAN: data-race in filemap_read / filemap_read
ci2-upstream-kcsan-gce 2022/05/20 16:33 upstream 3d7285a335ed bd37ad7e .config log report info KCSAN: data-race in filemap_read / filemap_read
ci2-upstream-kcsan-gce 2022/05/19 06:12 upstream f993aed406ea 50c53f39 .config log report info KCSAN: data-race in filemap_read / filemap_read
ci2-upstream-kcsan-gce 2022/05/14 12:24 upstream ec7f49619d8e 744a39e2 .config log report info KCSAN: data-race in filemap_read / filemap_read
ci2-upstream-kcsan-gce 2022/05/13 23:04 upstream f2dd007445b1 107f6434 .config log report info KCSAN: data-race in filemap_read / filemap_read
ci2-upstream-kcsan-gce 2022/05/13 10:45 upstream f3f19f939c11 7ce5a022 .config log report info KCSAN: data-race in filemap_read / filemap_read
ci2-upstream-kcsan-gce 2022/05/12 13:52 upstream feb9c5e19e91 9ad6612a .config log report info KCSAN: data-race in filemap_read / filemap_read
ci2-upstream-kcsan-gce 2022/05/11 17:49 upstream feb9c5e19e91 beb0b407 .config log report info KCSAN: data-race in filemap_read / filemap_read
ci2-upstream-kcsan-gce 2022/05/09 18:16 upstream 9be9ed2612b5 8b277b8e .config log report info KCSAN: data-race in filemap_read / filemap_read
ci2-upstream-kcsan-gce 2022/05/09 11:23 upstream c5eb0a61238d 8b277b8e .config log report info KCSAN: data-race in filemap_read / filemap_read
ci2-upstream-kcsan-gce 2022/05/09 03:01 upstream c5eb0a61238d e60b1103 .config log report info KCSAN: data-race in filemap_read / filemap_read
ci2-upstream-kcsan-gce 2022/05/08 22:33 upstream 379c72654524 e60b1103 .config log report info KCSAN: data-race in filemap_read / filemap_read
ci2-upstream-kcsan-gce 2022/05/08 15:09 upstream 30c8e80f7932 e60b1103 .config log report info KCSAN: data-race in filemap_read / filemap_read
ci2-upstream-kcsan-gce 2022/05/08 13:56 upstream 30c8e80f7932 e60b1103 .config log report info KCSAN: data-race in filemap_read / filemap_read
ci2-upstream-kcsan-gce 2022/05/08 11:41 upstream 30c8e80f7932 e60b1103 .config log report info KCSAN: data-race in filemap_read / filemap_read
ci2-upstream-kcsan-gce 2022/05/08 08:00 upstream 30c8e80f7932 e60b1103 .config log report info KCSAN: data-race in filemap_read / filemap_read
ci2-upstream-kcsan-gce 2022/05/08 05:48 upstream 30c8e80f7932 e60b1103 .config log report info KCSAN: data-race in filemap_read / filemap_read
ci2-upstream-kcsan-gce 2022/05/07 21:34 upstream 30c8e80f7932 e60b1103 .config log report info KCSAN: data-race in filemap_read / filemap_read
ci2-upstream-kcsan-gce 2022/05/07 19:25 upstream 30c8e80f7932 e60b1103 .config log report info KCSAN: data-race in filemap_read / filemap_read
ci2-upstream-kcsan-gce 2022/05/07 12:33 upstream 4b97bac0756a e60b1103 .config log report info KCSAN: data-race in filemap_read / filemap_read
ci2-upstream-kcsan-gce 2022/05/07 07:59 upstream 4b97bac0756a e60b1103 .config log report info KCSAN: data-race in filemap_read / filemap_read
ci2-upstream-kcsan-gce 2022/05/07 03:29 upstream 4b97bac0756a e60b1103 .config log report info KCSAN: data-race in filemap_read / filemap_read
ci2-upstream-kcsan-gce 2022/05/07 00:00 upstream 64267926e01b e60b1103 .config log report info KCSAN: data-race in filemap_read / filemap_read
ci2-upstream-kcsan-gce 2022/05/06 05:10 upstream fe27d189e3f4 efeff0a5 .config log report info KCSAN: data-race in filemap_read / filemap_read
ci2-upstream-kcsan-gce 2022/05/06 00:21 upstream 0f5d752b1395 efeff0a5 .config log report info KCSAN: data-race in filemap_read / filemap_read
ci2-upstream-kcsan-gce 2022/05/05 21:50 upstream 0f5d752b1395 efeff0a5 .config log report info KCSAN: data-race in filemap_read / filemap_read
ci2-upstream-kcsan-gce 2022/05/04 20:11 upstream a7391ad35724 dc9e5259 .config log report info KCSAN: data-race in filemap_read / filemap_read
ci2-upstream-kcsan-gce 2022/05/03 18:19 upstream ef8e4d3c2ab1 dc9e5259 .config log report info KCSAN: data-race in filemap_read / filemap_read
ci2-upstream-kcsan-gce 2022/05/02 08:13 upstream 672c0c517342 2df221f6 .config log report info KCSAN: data-race in filemap_read / filemap_read
ci2-upstream-kcsan-gce 2022/05/01 18:06 upstream b2da7df52e16 2df221f6 .config log report info KCSAN: data-race in filemap_read / filemap_read
ci2-upstream-kcsan-gce 2022/04/30 23:40 upstream 57ae8a492116 2df221f6 .config log report info KCSAN: data-race in filemap_read / filemap_read
ci2-upstream-kcsan-gce 2022/04/30 09:07 upstream 8013d1d3d2e3 2df221f6 .config log report info KCSAN: data-race in filemap_read / filemap_read
ci2-upstream-kcsan-gce 2022/04/24 04:22 upstream 13bc32bad705 131df97d .config log report info KCSAN: data-race in filemap_read / filemap_read
ci2-upstream-kcsan-gce 2022/04/22 19:00 upstream d569e86915b7 131df97d .config log report info KCSAN: data-race in filemap_read / filemap_read
ci2-upstream-kcsan-gce 2022/04/21 21:58 upstream 59f0c2447e25 2738b391 .config log report info KCSAN: data-race in filemap_read / filemap_read
ci2-upstream-kcsan-gce 2022/04/21 06:25 upstream b253435746d9 d4befee1 .config log report info KCSAN: data-race in filemap_read / filemap_read
ci2-upstream-kcsan-gce 2022/04/20 16:15 upstream 559089e0a93d d4befee1 .config log report info KCSAN: data-race in filemap_read / filemap_read
ci2-upstream-kcsan-gce 2022/04/20 03:01 upstream 559089e0a93d 7d7bc738 .config log report info KCSAN: data-race in filemap_read / filemap_read
ci2-upstream-kcsan-gce 2022/04/19 19:23 upstream b7f73403a3e9 33fc6ed6 .config log report info KCSAN: data-race in filemap_read / filemap_read
ci2-upstream-kcsan-gce 2021/08/04 20:52 upstream 251a1524293d b97d64c9 .config log report info KCSAN: data-race in filemap_read / filemap_read
ci2-upstream-kcsan-gce 2021/08/01 09:36 upstream f3438b4c4e69 6c236867 .config log report info KCSAN: data-race in filemap_read / filemap_read
ci2-upstream-kcsan-gce 2021/03/08 09:34 upstream 144c79ef3353 09fbf400 .config log report info KCSAN: data-race in filemap_read / filemap_read