syzbot


KCSAN: data-race in ext4_fc_commit / ext4_fc_commit

Status: auto-closed as invalid on 2021/04/16 11:35
Subsystems: ext4
[Documentation on labels]
First crash: 1172d, last: 1134d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in ext4_fc_commit / ext4_fc_commit (2) ext4 112 850d 883d 0/26 auto-closed as invalid on 2022/01/25 08:39

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

write to 0xffff888100ece710 of 8 bytes by task 13029 on cpu 1:
 ext4_fc_commit+0x1fb/0x18d0 fs/ext4/fast_commit.c:1199
 ext4_fsync_journal fs/ext4/fsync.c:115 [inline]
 ext4_sync_file+0x336/0x6e0 fs/ext4/fsync.c:174
 vfs_fsync_range+0x107/0x120 fs/sync.c:200
 generic_write_sync include/linux/fs.h:2843 [inline]
 ext4_buffered_write_iter+0x38f/0x3e0 fs/ext4/file.c:277
 ext4_file_write_iter+0x48a/0x10b0 fs/ext4/file.c:502
 call_write_iter include/linux/fs.h:1977 [inline]
 do_iter_readv_writev+0x2cb/0x360 fs/read_write.c:740
 do_iter_write+0x112/0x4c0 fs/read_write.c:866
 vfs_iter_write+0x4c/0x70 fs/read_write.c:907
 iter_file_splice_write+0x40a/0x750 fs/splice.c:689
 do_splice_from fs/splice.c:767 [inline]
 direct_splice_actor+0x80/0xa0 fs/splice.c:936
 splice_direct_to_actor+0x345/0x650 fs/splice.c:891
 do_splice_direct+0xf5/0x170 fs/splice.c:979
 do_sendfile+0x7a6/0xe20 fs/read_write.c:1260
 __do_sys_sendfile64 fs/read_write.c:1319 [inline]
 __se_sys_sendfile64 fs/read_write.c:1311 [inline]
 __x64_sys_sendfile64+0xa9/0x130 fs/read_write.c:1311
 do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xae

read to 0xffff888100ece710 of 8 bytes by task 13013 on cpu 0:
 ext4_fc_commit+0x1c9/0x18d0 fs/ext4/fast_commit.c:1199
 ext4_fsync_journal fs/ext4/fsync.c:115 [inline]
 ext4_sync_file+0x336/0x6e0 fs/ext4/fsync.c:174
 vfs_fsync_range+0x107/0x120 fs/sync.c:200
 generic_write_sync include/linux/fs.h:2843 [inline]
 ext4_buffered_write_iter+0x38f/0x3e0 fs/ext4/file.c:277
 ext4_file_write_iter+0x48a/0x10b0 fs/ext4/file.c:502
 call_write_iter include/linux/fs.h:1977 [inline]
 do_iter_readv_writev+0x2cb/0x360 fs/read_write.c:740
 do_iter_write+0x112/0x4c0 fs/read_write.c:866
 vfs_iter_write+0x4c/0x70 fs/read_write.c:907
 iter_file_splice_write+0x40a/0x750 fs/splice.c:689
 do_splice_from fs/splice.c:767 [inline]
 direct_splice_actor+0x80/0xa0 fs/splice.c:936
 splice_direct_to_actor+0x345/0x650 fs/splice.c:891
 do_splice_direct+0xf5/0x170 fs/splice.c:979
 do_sendfile+0x7a6/0xe20 fs/read_write.c:1260
 __do_sys_sendfile64 fs/read_write.c:1319 [inline]
 __se_sys_sendfile64 fs/read_write.c:1311 [inline]
 __x64_sys_sendfile64+0xa9/0x130 fs/read_write.c:1311
 do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xae

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

Crashes (48):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/03/12 11:32 upstream f78d76e72a46 429d8a6b .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in ext4_fc_commit / ext4_fc_commit
2021/03/11 22:35 upstream 28806e4d9b97 429d8a6b .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in ext4_fc_commit / ext4_fc_commit
2021/03/11 20:09 upstream 28806e4d9b97 c2ca1f2a .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in ext4_fc_commit / ext4_fc_commit
2021/03/11 04:55 upstream a74e6a014c9d c2ca1f2a .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in ext4_fc_commit / ext4_fc_commit
2021/03/10 17:29 upstream 05a59d79793d 764067f3 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in ext4_fc_commit / ext4_fc_commit
2021/03/10 06:04 upstream 05a59d79793d 26967e35 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in ext4_fc_commit / ext4_fc_commit
2021/03/09 16:56 upstream 144c79ef3353 26967e35 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in ext4_fc_commit / ext4_fc_commit
2021/03/07 22:49 upstream 144c79ef3353 09fbf400 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in ext4_fc_commit / ext4_fc_commit
2021/03/07 08:15 upstream a38fd8748464 c599ed12 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in ext4_fc_commit / ext4_fc_commit
2021/03/06 08:23 upstream a38fd8748464 e4b4d570 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in ext4_fc_commit / ext4_fc_commit
2021/03/05 20:53 upstream 280d542f6ffa 4a024a9b .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in ext4_fc_commit / ext4_fc_commit
2021/03/05 07:36 upstream 280d542f6ffa 9d751681 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in ext4_fc_commit / ext4_fc_commit
2021/03/04 20:16 upstream cee407c5cc42 f89ed068 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in ext4_fc_commit / ext4_fc_commit
2021/03/04 19:12 upstream f69d02e37a85 f89ed068 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in ext4_fc_commit / ext4_fc_commit
2021/03/03 22:04 upstream f69d02e37a85 06ed56cd .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in ext4_fc_commit / ext4_fc_commit
2021/02/24 10:30 upstream c03c21ba6f4e fcc6d71b .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in ext4_fc_commit / ext4_fc_commit
2021/02/23 22:54 upstream 3b9cdafb5358 fcc6d71b .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in ext4_fc_commit / ext4_fc_commit
2021/02/22 18:12 upstream 31caf8b2a847 c26fb06b .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in ext4_fc_commit / ext4_fc_commit
2021/02/22 08:12 upstream 31caf8b2a847 a659b3f1 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in ext4_fc_commit / ext4_fc_commit
2021/02/21 18:17 upstream 55f62bc87347 a659b3f1 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in ext4_fc_commit / ext4_fc_commit
2021/02/21 05:56 upstream e767b3530acb 3e5ed8b4 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in ext4_fc_commit / ext4_fc_commit
2021/02/20 10:09 upstream f40ddce88593 3e5ed8b4 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in ext4_fc_commit / ext4_fc_commit
2021/02/19 15:24 upstream f40ddce88593 f689d40a .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in ext4_fc_commit / ext4_fc_commit
2021/02/17 19:23 upstream f40ddce88593 14052202 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in ext4_fc_commit / ext4_fc_commit
2021/02/17 07:26 upstream f40ddce88593 052f8d9f .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in ext4_fc_commit / ext4_fc_commit
2021/02/15 01:24 upstream f40ddce88593 98682e5e .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in ext4_fc_commit / ext4_fc_commit
2021/02/14 12:11 upstream 358feceebbf6 98682e5e .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in ext4_fc_commit / ext4_fc_commit
2021/02/13 22:26 upstream ac30d8ce28d6 98682e5e .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in ext4_fc_commit / ext4_fc_commit
2021/02/13 09:15 upstream c6d8570e4d64 98682e5e .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in ext4_fc_commit / ext4_fc_commit
2021/02/12 19:23 upstream dcc0b49040c7 98682e5e .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in ext4_fc_commit / ext4_fc_commit
2021/02/12 07:37 upstream dcc0b49040c7 a5f86b15 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in ext4_fc_commit / ext4_fc_commit
2021/02/11 18:09 upstream 291009f656e8 a5f86b15 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in ext4_fc_commit / ext4_fc_commit
2021/02/10 21:46 upstream 291009f656e8 a52ee10a .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in ext4_fc_commit / ext4_fc_commit
2021/02/10 09:15 upstream e0756cfc7d7c 9c8b8541 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in ext4_fc_commit / ext4_fc_commit
2021/02/08 23:18 upstream e0756cfc7d7c 2bd9619f .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in ext4_fc_commit / ext4_fc_commit
2021/02/08 11:27 upstream 92bf22614b21 2ce644fc .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in ext4_fc_commit / ext4_fc_commit
2021/02/07 22:27 upstream b75dba7f472c 2ce644fc .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in ext4_fc_commit / ext4_fc_commit
2021/02/07 09:14 upstream 825b5991a46e 2ce644fc .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in ext4_fc_commit / ext4_fc_commit
2021/02/06 23:56 upstream 964d069f93c4 0655e081 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in ext4_fc_commit / ext4_fc_commit
2021/02/06 14:18 upstream 1e0d27fce010 0655e081 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in ext4_fc_commit / ext4_fc_commit
2021/02/06 12:15 upstream 1e0d27fce010 0655e081 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in ext4_fc_commit / ext4_fc_commit
2021/02/06 02:28 upstream 1e0d27fce010 23a562df .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in ext4_fc_commit / ext4_fc_commit
2021/02/05 12:55 upstream dd86e7fa07a3 23a562df .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in ext4_fc_commit / ext4_fc_commit
2021/02/05 02:13 upstream 5c279c4cf206 23a562df .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in ext4_fc_commit / ext4_fc_commit
2021/02/04 11:23 upstream 61556703b610 42b90a7c .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in ext4_fc_commit / ext4_fc_commit
2021/02/04 10:37 upstream 61556703b610 624dad51 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in ext4_fc_commit / ext4_fc_commit
2021/02/03 21:23 upstream 3afe9076a7c1 624dad51 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in ext4_fc_commit / ext4_fc_commit
2021/02/02 23:53 upstream 3aaf0a27ffc2 624dad51 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in ext4_fc_commit / ext4_fc_commit
* Struck through repros no longer work on HEAD.