syzbot


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

Status: auto-closed as invalid on 2022/03/09 07:51
Reported-by: syzbot+@syzkaller.appspotmail.com
First crash: 303d, last: 303d
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 (3) 12 204d 208d 0/24 closed as invalid on 2022/05/13 11:20
upstream KCSAN: data-race in __ext4_update_other_inode_time / d_instantiate_new 414 346d 824d 0/24 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 0xffff88813590e330 of 8 bytes by task 6342 on cpu 0:
 d_instantiate_new+0x99/0xe0 fs/dcache.c:2056
 ext4_add_nondir+0x172/0x1a0 fs/ext4/namei.c:2714
 ext4_symlink+0x4ba/0x700 fs/ext4/namei.c:3363
 vfs_symlink+0x18a/0x280 fs/namei.c:4299
 do_symlinkat+0x104/0x380 fs/namei.c:4328
 __do_sys_symlink fs/namei.c:4350 [inline]
 __se_sys_symlink fs/namei.c:4348 [inline]
 __x64_sys_symlink+0x52/0x60 fs/namei.c:4348
 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 0xffff88813590e330 of 8 bytes by task 6341 on cpu 1:
 inode_is_dirtytime_only include/linux/fs.h:2386 [inline]
 __ext4_update_other_inode_time+0x45/0x550 fs/ext4/inode.c:4999
 ext4_update_other_inodes_time fs/ext4/inode.c:5042 [inline]
 ext4_do_update_inode fs/ext4/inode.c:5091 [inline]
 ext4_mark_iloc_dirty+0x4c6/0x890 fs/ext4/inode.c:5677
 __ext4_mark_inode_dirty+0x4ec/0x5f0 fs/ext4/inode.c:5873
 ext4_add_nondir+0xa1/0x1a0 fs/ext4/namei.c:2711
 ext4_symlink+0x4ba/0x700 fs/ext4/namei.c:3363
 vfs_symlink+0x18a/0x280 fs/namei.c:4299
 do_symlinkat+0x104/0x380 fs/namei.c:4328
 __do_sys_symlink fs/namei.c:4350 [inline]
 __se_sys_symlink fs/namei.c:4348 [inline]
 __x64_sys_symlink+0x52/0x60 fs/namei.c:4348
 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: 0x0000000000008008 -> 0x0000000000000000

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

Crashes (1):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-upstream-kcsan-gce 2022/02/02 07:49 upstream 9f7fb8de5d9b 4ebb2798 .config log report info KCSAN: data-race in __ext4_update_other_inode_time / d_instantiate_new
* Struck through repros no longer work on HEAD.