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
Subsystems: ext4
[Documentation on labels]
First crash: 813d, last: 813d
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) ext4 12 713d 717d 0/26 closed as invalid on 2022/05/13 11:20
upstream KCSAN: data-race in __ext4_update_other_inode_time / d_instantiate_new ext4 414 856d 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 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):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/02/02 07:49 upstream 9f7fb8de5d9b 4ebb2798 .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.