syzbot


KCSAN: data-race in ext4_fc_commit / ext4_fc_commit (2)

Status: auto-closed as invalid on 2022/01/25 08:39
Subsystems: ext4
[Documentation on labels]
Reported-by: syzbot+8a25420757b5dd767814@syzkaller.appspotmail.com
First crash: 923d, last: 857d
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 ext4 48 1141d 1179d 0/26 auto-closed as invalid on 2021/04/16 11:35

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

write to 0xffff8881031a9820 of 8 bytes by task 18471 on cpu 1:
 ext4_fc_commit+0x1f4/0x1360
 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:182
 generic_write_sync include/linux/fs.h:2955 [inline]
 ext4_buffered_write_iter+0x322/0x380 fs/ext4/file.c:277
 ext4_file_write_iter+0x2e7/0x1200
 call_write_iter include/linux/fs.h:2162 [inline]
 do_iter_readv_writev+0x2de/0x380 fs/read_write.c:725
 do_iter_write+0x192/0x5c0 fs/read_write.c:851
 vfs_iter_write+0x4c/0x70 fs/read_write.c:892
 iter_file_splice_write+0x43a/0x790 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+0x106/0x190 fs/splice.c:979
 do_sendfile+0x675/0xc40 fs/read_write.c:1245
 __do_sys_sendfile64 fs/read_write.c:1304 [inline]
 __se_sys_sendfile64 fs/read_write.c:1296 [inline]
 __x64_sys_sendfile64+0xb9/0x140 fs/read_write.c:1296
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae

read to 0xffff8881031a9820 of 8 bytes by task 18390 on cpu 0:
 ext4_fc_commit+0x1c2/0x1360 fs/ext4/fast_commit.c:1205
 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:182
 generic_write_sync include/linux/fs.h:2955 [inline]
 ext4_buffered_write_iter+0x322/0x380 fs/ext4/file.c:277
 ext4_file_write_iter+0x2e7/0x1200
 call_write_iter include/linux/fs.h:2162 [inline]
 do_iter_readv_writev+0x2de/0x380 fs/read_write.c:725
 do_iter_write+0x192/0x5c0 fs/read_write.c:851
 vfs_iter_write+0x4c/0x70 fs/read_write.c:892
 iter_file_splice_write+0x43a/0x790 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+0x106/0x190 fs/splice.c:979
 do_sendfile+0x675/0xc40 fs/read_write.c:1245
 __do_sys_sendfile64 fs/read_write.c:1304 [inline]
 __se_sys_sendfile64 fs/read_write.c:1296 [inline]
 __x64_sys_sendfile64+0xb9/0x140 fs/read_write.c:1296
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae

value changed: 0x000000000000013a -> 0x0000000000000151

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

Crashes (112):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/12/21 08:38 upstream 6e0567b73052 a938f0b8 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in ext4_fc_commit / ext4_fc_commit
2021/12/20 21:04 upstream 86085fe79e3c 62bd192b .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in ext4_fc_commit / ext4_fc_commit
2021/12/20 15:13 upstream a7904a538933 021b36cb .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in ext4_fc_commit / ext4_fc_commit
2021/12/20 00:44 upstream a76c3d035872 44068e19 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in ext4_fc_commit / ext4_fc_commit
2021/12/19 05:25 upstream 3f667b5d4053 44068e19 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in ext4_fc_commit / ext4_fc_commit
2021/12/18 04:13 upstream 9eaa88c7036e 44068e19 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in ext4_fc_commit / ext4_fc_commit
2021/12/17 15:34 upstream 6441998e2e37 44068e19 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in ext4_fc_commit / ext4_fc_commit
2021/12/17 01:37 upstream fa36bbe6d43f 44068e19 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in ext4_fc_commit / ext4_fc_commit
2021/12/16 23:01 upstream fa36bbe6d43f 8dd6a5e3 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in ext4_fc_commit / ext4_fc_commit
2021/12/16 13:51 upstream 2b14864acbaa 8dd6a5e3 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in ext4_fc_commit / ext4_fc_commit
2021/12/15 21:29 upstream 2b14864acbaa 572bcb40 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in ext4_fc_commit / ext4_fc_commit
2021/12/15 00:34 upstream 5472f14a3742 f752fb53 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in ext4_fc_commit / ext4_fc_commit
2021/12/14 12:28 upstream 5472f14a3742 d018dd31 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in ext4_fc_commit / ext4_fc_commit
2021/12/14 00:56 upstream 5472f14a3742 5d14b1ea .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in ext4_fc_commit / ext4_fc_commit
2021/12/13 13:17 upstream 2585cf9dfaad 0304899b .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in ext4_fc_commit / ext4_fc_commit
2021/12/13 02:01 upstream 90d9fbc16b69 49ca1f59 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in ext4_fc_commit / ext4_fc_commit
2021/12/12 17:44 upstream a763d5a5abd6 49ca1f59 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in ext4_fc_commit / ext4_fc_commit
2021/12/11 15:41 upstream 6f513529296f 49ca1f59 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in ext4_fc_commit / ext4_fc_commit
2021/12/11 02:15 upstream 9e65da135b39 49ca1f59 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in ext4_fc_commit / ext4_fc_commit
2021/12/10 13:50 upstream c741e49150db fc17c959 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in ext4_fc_commit / ext4_fc_commit
2021/12/10 02:31 upstream ded746bfc943 4d4ce9bc .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in ext4_fc_commit / ext4_fc_commit
2021/12/09 20:25 upstream ded746bfc943 b54aa474 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in ext4_fc_commit / ext4_fc_commit
2021/12/09 16:01 upstream 2a987e65025e b54aa474 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in ext4_fc_commit / ext4_fc_commit
2021/12/08 09:16 upstream 2a987e65025e a4a2a501 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in ext4_fc_commit / ext4_fc_commit
2021/12/08 01:00 upstream 2a987e65025e 0230ba3e .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in ext4_fc_commit / ext4_fc_commit
2021/12/07 12:06 upstream cd8c917a56f2 0230ba3e .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in ext4_fc_commit / ext4_fc_commit
2021/12/07 07:40 upstream f80ef9e49fdf 0230ba3e .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in ext4_fc_commit / ext4_fc_commit
2021/12/06 14:48 upstream 0fcfb00b28c0 579a8754 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in ext4_fc_commit / ext4_fc_commit
2021/12/05 20:08 upstream 944207047ca4 a617004c .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in ext4_fc_commit / ext4_fc_commit
2021/12/05 07:32 upstream 79a72162048e a617004c .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in ext4_fc_commit / ext4_fc_commit
2021/12/04 19:22 upstream bbef3c7a63d2 a617004c .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in ext4_fc_commit / ext4_fc_commit
2021/12/04 01:11 upstream 12119cfa1052 a617004c .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in ext4_fc_commit / ext4_fc_commit
2021/12/03 13:49 upstream 5f58da2befa5 c7c20675 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in ext4_fc_commit / ext4_fc_commit
2021/12/02 22:27 upstream a51e3ac43ddb 61f86278 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in ext4_fc_commit / ext4_fc_commit
2021/12/01 23:11 upstream 58e1100fdc59 61f86278 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in ext4_fc_commit / ext4_fc_commit
2021/12/01 08:47 upstream 58e1100fdc59 5fa3eacc .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in ext4_fc_commit / ext4_fc_commit
2021/11/30 20:53 upstream f080815fdb3e 80270552 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in ext4_fc_commit / ext4_fc_commit
2021/11/30 13:08 upstream d58071a8a76d 80270552 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in ext4_fc_commit / ext4_fc_commit
2021/11/29 14:45 upstream d58071a8a76d d0830353 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in ext4_fc_commit / ext4_fc_commit
2021/11/29 11:22 upstream d58071a8a76d 63eeac02 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in ext4_fc_commit / ext4_fc_commit
2021/11/29 09:46 upstream d06c942efea4 63eeac02 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in ext4_fc_commit / ext4_fc_commit
2021/11/28 09:34 upstream 3498e7f2bb41 63eeac02 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in ext4_fc_commit / ext4_fc_commit
2021/11/28 03:46 upstream 741392771338 63eeac02 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in ext4_fc_commit / ext4_fc_commit
2021/11/18 09:01 upstream 42eb8fdac2fc cafff8b6 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in ext4_fc_commit / ext4_fc_commit
2021/11/16 12:15 upstream 8ab774587903 600426bd .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in ext4_fc_commit / ext4_fc_commit
2021/10/16 17:05 upstream 304040fb4909 0c5d9412 .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.