syzbot


KCSAN: data-race in __ext4_update_other_inode_time / d_instantiate_new (3)

Status: closed as invalid on 2022/05/13 11:20
Subsystems: ext4
[Documentation on labels]
First crash: 717d, last: 713d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in __ext4_update_other_inode_time / d_instantiate_new (2) ext4 1 812d 812d 0/26 auto-closed as invalid on 2022/03/09 07:51
upstream KCSAN: data-race in __ext4_update_other_inode_time / d_instantiate_new ext4 414 855d 1333d 0/26 auto-closed as invalid on 2022/01/25 09:14

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

write to 0xffff888134f3a710 of 8 bytes by task 23191 on cpu 0:
 d_instantiate_new+0x99/0xe0 fs/dcache.c:2057
 ext4_add_nondir+0x15e/0x180 fs/ext4/namei.c:2714
 ext4_symlink+0x4a5/0x6f0 fs/ext4/namei.c:3363
 vfs_symlink+0x18a/0x280 fs/namei.c:4297
 do_symlinkat+0xe2/0x330 fs/namei.c:4326
 __do_sys_symlinkat fs/namei.c:4343 [inline]
 __se_sys_symlinkat fs/namei.c:4340 [inline]
 __x64_sys_symlinkat+0x5e/0x70 fs/namei.c:4340
 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+0x44/0xae

read to 0xffff888134f3a710 of 8 bytes by task 23190 on cpu 1:
 inode_is_dirtytime_only include/linux/fs.h:2343 [inline]
 __ext4_update_other_inode_time+0x45/0x540 fs/ext4/inode.c:5047
 ext4_update_other_inodes_time fs/ext4/inode.c:5090 [inline]
 ext4_do_update_inode fs/ext4/inode.c:5139 [inline]
 ext4_mark_iloc_dirty+0x4c6/0x860 fs/ext4/inode.c:5724
 __ext4_mark_inode_dirty+0x452/0x610 fs/ext4/inode.c:5920
 ext4_add_nondir+0xa2/0x180 fs/ext4/namei.c:2711
 ext4_symlink+0x4a5/0x6f0 fs/ext4/namei.c:3363
 vfs_symlink+0x18a/0x280 fs/namei.c:4297
 do_symlinkat+0xe2/0x330 fs/namei.c:4326
 __do_sys_symlinkat fs/namei.c:4343 [inline]
 __se_sys_symlinkat fs/namei.c:4340 [inline]
 __x64_sys_symlinkat+0x5e/0x70 fs/namei.c:4340
 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+0x44/0xae

value changed: 0x0000000000008008 -> 0x0000000000000000

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

Crashes (12):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/05/12 15:23 upstream feb9c5e19e91 9ad6612a .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __ext4_update_other_inode_time / d_instantiate_new
2022/05/11 19:39 upstream feb9c5e19e91 beb0b407 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __ext4_update_other_inode_time / d_instantiate_new
2022/05/10 23:41 upstream feb9c5e19e91 8d7b3b67 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __ext4_update_other_inode_time / d_instantiate_new
2022/05/09 17:09 upstream 9be9ed2612b5 8b277b8e .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __ext4_update_other_inode_time / d_instantiate_new
2022/05/09 10:16 upstream c5eb0a61238d 8b277b8e .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __ext4_update_other_inode_time / d_instantiate_new
2022/05/09 04:30 upstream c5eb0a61238d e60b1103 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __ext4_update_other_inode_time / d_instantiate_new
2022/05/09 00:04 upstream 379c72654524 e60b1103 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __ext4_update_other_inode_time / d_instantiate_new
2022/05/08 22:09 upstream 379c72654524 e60b1103 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __ext4_update_other_inode_time / d_instantiate_new
2022/05/08 20:59 upstream 379c72654524 e60b1103 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __ext4_update_other_inode_time / d_instantiate_new
2022/05/08 20:37 upstream 379c72654524 e60b1103 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __ext4_update_other_inode_time / d_instantiate_new
2022/05/08 19:25 upstream 379c72654524 e60b1103 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __ext4_update_other_inode_time / d_instantiate_new
2022/05/08 19:00 upstream 379c72654524 e60b1103 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __ext4_update_other_inode_time / d_instantiate_new
* Struck through repros no longer work on HEAD.