syzbot


KCSAN: data-race in vfs_fsync_range / writeback_single_inode (2)

Status: auto-closed as invalid on 2022/01/09 20:31
Reported-by: syzbot+38c4a2b15c510e753d2e@syzkaller.appspotmail.com
First crash: 868d, last: 366d
similar bugs (2):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in vfs_fsync_range / writeback_single_inode (3) 12 180d 293d 0/24 auto-closed as invalid on 2022/07/14 22:12
upstream KCSAN: data-race in vfs_fsync_range / writeback_single_inode 12 910d 1137d 0/24 closed as invalid on 2020/06/18 14:24

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

write to 0xffff888138c30de0 of 8 bytes by task 14842 on cpu 1:
 writeback_single_inode+0x103/0x3d0 fs/fs-writeback.c:1726
 sync_inode_metadata+0x57/0x80 fs/fs-writeback.c:2749
 __generic_file_fsync+0xf5/0x140 fs/libfs.c:1126
 fat_file_fsync+0x48/0x100 fs/fat/file.c:190
 vfs_fsync_range+0x107/0x120 fs/sync.c:182
 generic_write_sync include/linux/fs.h:2955 [inline]
 generic_file_write_iter+0x103/0x130 mm/filemap.c:3919
 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:1310 [inline]
 __se_sys_sendfile64 fs/read_write.c:1296 [inline]
 __x64_sys_sendfile64+0x102/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 0xffff888138c30de0 of 8 bytes by task 14849 on cpu 0:
 vfs_fsync_range+0x98/0x120 fs/sync.c:180
 generic_write_sync include/linux/fs.h:2955 [inline]
 generic_file_write_iter+0x103/0x130 mm/filemap.c:3919
 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:1310 [inline]
 __se_sys_sendfile64 fs/read_write.c:1296 [inline]
 __x64_sys_sendfile64+0x102/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: 0x0000000000000007 -> 0x0000000000000084

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

Crashes (131):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-upstream-kcsan-gce 2021/12/05 20:30 upstream 944207047ca4 a617004c .config log report info KCSAN: data-race in vfs_fsync_range / writeback_single_inode
ci2-upstream-kcsan-gce 2021/12/04 04:37 upstream 12119cfa1052 a617004c .config log report info KCSAN: data-race in vfs_fsync_range / writeback_single_inode
ci2-upstream-kcsan-gce 2021/11/28 08:37 upstream 3498e7f2bb41 63eeac02 .config log report info KCSAN: data-race in vfs_fsync_range / writeback_single_inode
ci2-upstream-kcsan-gce 2021/11/25 21:15 upstream b501b85957de 63eeac02 .config log report info KCSAN: data-race in vfs_fsync_range / writeback_single_inode
ci2-upstream-kcsan-gce 2021/11/13 12:58 upstream 66f4beaa6c1d 75b04091 .config log report info KCSAN: data-race in vfs_fsync_range / writeback_single_inode
ci2-upstream-kcsan-gce 2021/10/10 02:29 upstream 7fd2bf83d59a 838e7e2c .config log report info KCSAN: data-race in vfs_fsync_range / writeback_single_inode
ci2-upstream-kcsan-gce 2021/10/09 10:25 upstream 5d6ab0bb408f efe0f24d .config log report info KCSAN: data-race in vfs_fsync_range / writeback_single_inode
ci2-upstream-kcsan-gce 2021/10/03 07:59 upstream 7b66f4393ad4 db0f5787 .config log report info KCSAN: data-race in vfs_fsync_range / writeback_single_inode
ci2-upstream-kcsan-gce 2021/10/02 17:29 upstream 53d5fc89d66a db0f5787 .config log report info KCSAN: data-race in vfs_fsync_range / writeback_single_inode
ci2-upstream-kcsan-gce 2021/09/27 23:56 upstream 0513e464f900 78494d16 .config log report info KCSAN: data-race in vfs_fsync_range / writeback_single_inode
ci2-upstream-kcsan-gce 2021/09/22 22:32 upstream cf1d2c3e7e2f 8cac236e .config log report info KCSAN: data-race in vfs_fsync_range / writeback_single_inode
ci2-upstream-kcsan-gce 2021/09/21 12:25 upstream d9fb678414c0 af796c18 .config log report info KCSAN: data-race in vfs_fsync_range / writeback_single_inode
ci2-upstream-kcsan-gce 2021/09/17 17:01 upstream ddf21bd8ab98 70b76c1d .config log report info KCSAN: data-race in vfs_fsync_range / writeback_single_inode
ci2-upstream-kcsan-gce 2021/09/15 19:33 upstream 80be5998ad63 07e953c1 .config log report info KCSAN: data-race in vfs_fsync_range / writeback_single_inode
ci2-upstream-kcsan-gce 2021/09/14 10:50 upstream d0ee23f9d78b 58d09404 .config log report info KCSAN: data-race in vfs_fsync_range / writeback_single_inode
ci2-upstream-kcsan-gce 2021/09/13 23:21 upstream 316346243be6 58d09404 .config log report info KCSAN: data-race in vfs_fsync_range / writeback_single_inode
ci2-upstream-kcsan-gce 2021/09/12 00:17 upstream c605c39677b9 3ce60af8 .config log report info KCSAN: data-race in vfs_fsync_range / writeback_single_inode
ci2-upstream-kcsan-gce 2021/09/09 12:26 upstream a3fa7a101dcf e2776ee4 .config log report info KCSAN: data-race in vfs_fsync_range / writeback_single_inode
ci2-upstream-kcsan-gce 2021/09/07 20:50 upstream 0bcfe68b8767 064c9eb7 .config log report info KCSAN: data-race in vfs_fsync_range / writeback_single_inode
ci2-upstream-kcsan-gce 2021/09/02 08:34 upstream 4ac6d90867a4 7eb7e152 .config log report info KCSAN: data-race in vfs_fsync_range / writeback_single_inode
ci2-upstream-kcsan-gce 2021/08/28 11:21 upstream 64b4fc45bea6 d5a29e53 .config log report info KCSAN: data-race in vfs_fsync_range / writeback_single_inode
ci2-upstream-kcsan-gce 2021/08/27 15:06 upstream 77dd11439b86 b318694d .config log report info KCSAN: data-race in vfs_fsync_range / writeback_single_inode
ci2-upstream-kcsan-gce 2021/08/26 18:40 upstream 73f3af7b4611 b318694d .config log report info KCSAN: data-race in vfs_fsync_range / writeback_single_inode
ci2-upstream-kcsan-gce 2021/08/23 10:31 upstream e22ce8eb631b b599f2fc .config log report info KCSAN: data-race in vfs_fsync_range / writeback_single_inode
ci2-upstream-kcsan-gce 2021/08/19 21:48 upstream f87d64319e6f e2da378b .config log report info KCSAN: data-race in vfs_fsync_range / writeback_single_inode
ci2-upstream-kcsan-gce 2021/08/18 13:40 upstream 614cb2751d31 a2fe1cb5 .config log report info KCSAN: data-race in vfs_fsync_range / writeback_single_inode
ci2-upstream-kcsan-gce 2021/08/12 00:56 upstream 761c6d7ec820 6972b106 .config log report info KCSAN: data-race in vfs_fsync_range / writeback_single_inode
ci2-upstream-kcsan-gce 2021/07/27 16:27 upstream ff1176468d36 17d6ab15 .config log report info KCSAN: data-race in vfs_fsync_range / writeback_single_inode
ci2-upstream-kcsan-gce 2021/07/25 13:39 upstream d8079fac1681 4d1b57d4 .config log report info KCSAN: data-race in vfs_fsync_range / writeback_single_inode
ci2-upstream-kcsan-gce 2021/07/24 04:26 upstream f0fddcec6b62 bc5f1d88 .config log report info KCSAN: data-race in vfs_fsync_range / writeback_single_inode
ci2-upstream-kcsan-gce 2021/07/16 10:04 upstream d936eb238744 f115ae98 .config log report info KCSAN: data-race in vfs_fsync_range / writeback_single_inode
ci2-upstream-kcsan-gce 2021/07/09 20:54 upstream 3dbdb38e2869 8f5a7b8c .config log report info KCSAN: data-race in vfs_fsync_range / writeback_single_inode
ci2-upstream-kcsan-gce 2021/06/30 22:09 upstream df04fbe8680b 38a885d1 .config log report info KCSAN: data-race in vfs_fsync_range / writeback_single_inode
ci2-upstream-kcsan-gce 2021/06/29 14:34 upstream c54b245d0118 9d2ab5df .config log report info KCSAN: data-race in vfs_fsync_range / writeback_single_inode
ci2-upstream-kcsan-gce 2021/06/26 17:00 upstream b7050b242430 9d2ab5df .config log report info KCSAN: data-race in vfs_fsync_range / writeback_single_inode
ci2-upstream-kcsan-gce 2021/06/19 09:59 upstream 9ed13a17e38e aba2b2fb .config log report info KCSAN: data-race in vfs_fsync_range / writeback_single_inode
ci2-upstream-kcsan-gce 2021/06/14 19:31 upstream 009c9aa5be65 1ba81399 .config log report info KCSAN: data-race in vfs_fsync_range / writeback_single_inode
ci2-upstream-kcsan-gce 2021/06/13 16:14 upstream 8ecfa36cd4db 1ba81399 .config log report info KCSAN: data-race in vfs_fsync_range / writeback_single_inode
ci2-upstream-kcsan-gce 2021/05/30 17:18 upstream b90e90f40b4f 325a8dab .config log report info KCSAN: data-race in vfs_fsync_range / writeback_single_inode
ci2-upstream-kcsan-gce 2021/05/20 20:23 upstream f01da525b3de c560a65d .config log report info KCSAN: data-race in vfs_fsync_range / writeback_single_inode
ci2-upstream-kcsan-gce 2021/05/19 17:22 upstream c3d0e3fd41b7 a343ba6b .config log report info KCSAN: data-race in vfs_fsync_range / writeback_single_inode
ci2-upstream-kcsan-gce 2021/05/18 21:34 upstream 8ac91e6c6033 a343ba6b .config log report info KCSAN: data-race in vfs_fsync_range / writeback_single_inode
ci2-upstream-kcsan-gce 2021/01/16 23:05 upstream 54c6247d06f1 65a7a854 .config log report info
ci2-upstream-kcsan-gce 2020/12/06 10:59 upstream 7059c2c00a21 f12ba0c5 .config log report info
ci2-upstream-kcsan-gce 2020/07/21 19:00 upstream 4fa640dc5230 e562dd8a .config log report
* Struck through repros no longer work on HEAD.