syzbot


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

Status: closed as invalid on 2020/06/18 14:24
Subsystems: ext4
[Documentation on labels]
First crash: 1833d, last: 1629d
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in __mark_inode_dirty / __mark_inode_dirty (5) exfat 17 1d18h 32d 0/28 moderation: reported on 2024/10/31 20:48
upstream KCSAN: data-race in __mark_inode_dirty / __mark_inode_dirty ext4 3 1857d 1868d 0/28 closed as invalid on 2019/11/19 13:24
upstream KCSAN: data-race in __mark_inode_dirty / __mark_inode_dirty (3) exfat 197 886d 1457d 0/28 auto-closed as invalid on 2022/08/05 09:53
upstream KCSAN: data-race in __mark_inode_dirty / __mark_inode_dirty (4) ext4 exfat 199 78d 361d 0/28 auto-obsoleted due to no activity on 2024/10/21 11:55

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

write to 0xffff8880b7554240 of 8 bytes by task 10687 on cpu 0:
 __mark_inode_dirty+0x5e6/0x940 fs/fs-writeback.c:2288
 generic_update_time+0x184/0x270 fs/inode.c:1682
 update_time+0x7d/0x90 fs/inode.c:1695
 file_update_time+0x205/0x2d0 fs/inode.c:1910
 file_modified fs/inode.c:1933 [inline]
 file_modified+0x60/0x80 fs/inode.c:1918
 ext4_write_checks+0x4a/0x70 fs/ext4/file.c:249
 ext4_buffered_write_iter+0x87/0x280 fs/ext4/file.c:265
 ext4_file_write_iter+0xf4/0xd30 fs/ext4/file.c:642
 call_write_iter include/linux/fs.h:1907 [inline]
 do_iter_readv_writev+0x4a7/0x5d0 fs/read_write.c:694
 do_iter_write fs/read_write.c:999 [inline]
 do_iter_write+0x137/0x3a0 fs/read_write.c:980
 vfs_iter_write+0x56/0x80 fs/read_write.c:1040
 iter_file_splice_write+0x530/0x830 fs/splice.c:760
 do_splice_from fs/splice.c:863 [inline]
 direct_splice_actor+0x97/0xb0 fs/splice.c:1037
 splice_direct_to_actor+0x22f/0x540 fs/splice.c:992
 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:1576 [inline]
 __se_sys_sendfile64 fs/read_write.c:1568 [inline]
 __x64_sys_sendfile64+0xb8/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 0xffff8880b7554240 of 8 bytes by task 10685 on cpu 1:
 __mark_inode_dirty+0xb6/0x940 fs/fs-writeback.c:2272
 generic_update_time+0x184/0x270 fs/inode.c:1682
 update_time+0x7d/0x90 fs/inode.c:1695
 touch_atime+0x13f/0x150 fs/inode.c:1766
 file_accessed include/linux/fs.h:2226 [inline]
 generic_file_buffered_read mm/filemap.c:2243 [inline]
 generic_file_read_iter+0x12fa/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: 10685 Comm: syz-executor.0 Not tainted 5.7.0-rc1-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
==================================================================

Crashes (19):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/06/17 18:14 https://github.com/google/ktsan.git kcsan 7c3cd68e5d38 b6c46f43 .config console log report ci2-upstream-kcsan-gce
2020/06/17 08:09 https://github.com/google/ktsan.git kcsan 7c3cd68e5d38 b9f3810b .config console log report ci2-upstream-kcsan-gce
2020/06/10 03:23 https://github.com/google/ktsan.git kcsan 7c3cd68e5d38 860c4de9 .config console log report ci2-upstream-kcsan-gce
2020/05/31 09:13 https://github.com/google/ktsan.git kcsan 7c3cd68e5d38 a0331e89 .config console log report ci2-upstream-kcsan-gce
2020/05/21 10:04 https://github.com/google/ktsan.git kcsan 7c3cd68e5d38 4afdfa20 .config console log report ci2-upstream-kcsan-gce
2020/05/15 05:21 https://github.com/google/ktsan.git kcsan 7c3cd68e5d38 2d572622 .config console log report ci2-upstream-kcsan-gce
2020/05/05 16:42 https://github.com/google/ktsan.git kcsan 7c3cd68e5d38 4b76dd25 .config console log report ci2-upstream-kcsan-gce
2020/04/30 22:19 https://github.com/google/ktsan.git kcsan 7c3cd68e5d38 3698959a .config console log report ci2-upstream-kcsan-gce
2020/04/22 10:49 https://github.com/google/ktsan.git kcsan 7c3cd68e5d38 2e44d63e .config console log report ci2-upstream-kcsan-gce
2020/04/14 05:06 https://github.com/google/ktsan.git kcsan 40959e34d670 7c54686a .config console log report ci2-upstream-kcsan-gce
2020/04/04 00:20 https://github.com/google/ktsan.git kcsan 40959e34d670 ef26b610 .config console log report ci2-upstream-kcsan-gce
2020/02/27 03:21 https://github.com/google/ktsan.git kcsan 766d004d1b85 251aabb7 .config console log report ci2-upstream-kcsan-gce
2020/02/20 06:25 https://github.com/google/ktsan.git kcsan b12d66a6c34f b690a6e3 .config console log report ci2-upstream-kcsan-gce
2020/01/06 23:22 https://github.com/google/ktsan.git kcsan 245a43005292 53430d97 .config console log report ci2-upstream-kcsan-gce
2019/12/31 16:37 https://github.com/google/ktsan.git kcsan 245a43005292 25a0186e .config console log report ci2-upstream-kcsan-gce
2019/12/28 16:31 https://github.com/google/ktsan.git kcsan 245a43005292 af6b8ef8 .config console log report ci2-upstream-kcsan-gce
2019/12/04 15:57 https://github.com/google/ktsan.git kcsan ef798c30ba4e b2088328 .config console log report ci2-upstream-kcsan-gce
2019/12/01 22:36 https://github.com/google/ktsan.git kcsan ef798c30ba4e f879db37 .config console log report ci2-upstream-kcsan-gce
2019/11/27 03:32 https://github.com/google/ktsan.git kcsan ef798c30ba4e 1048481f .config console log report ci2-upstream-kcsan-gce
* Struck through repros no longer work on HEAD.