syzbot


KCSAN: data-race in ext4_inode_attach_jinode / ext4_inode_attach_jinode

Status: auto-closed as invalid on 2022/01/10 09:46
Subsystems: ext4
[Documentation on labels]
First crash: 886d, last: 871d

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

write to 0xffff88812697c820 of 8 bytes by task 2630 on cpu 1:
 ext4_inode_attach_jinode+0xe1/0x140 fs/ext4/inode.c:4094
 ext4_file_open+0x152/0x5a0 fs/ext4/file.c:868
 do_dentry_open+0x52c/0x860 fs/open.c:822
 vfs_open+0x43/0x50 fs/open.c:957
 do_open fs/namei.c:3426 [inline]
 path_openat+0x17b8/0x1eb0 fs/namei.c:3559
 do_filp_open+0x105/0x220 fs/namei.c:3586
 do_sys_openat2+0xb5/0x2b0 fs/open.c:1212
 do_sys_open fs/open.c:1228 [inline]
 __do_sys_open fs/open.c:1236 [inline]
 __se_sys_open fs/open.c:1232 [inline]
 __x64_sys_open+0xe2/0x110 fs/open.c:1232
 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 0xffff88812697c820 of 8 bytes by task 2623 on cpu 0:
 ext4_inode_attach_jinode+0x1e/0x140 fs/ext4/inode.c:4084
 ext4_file_open+0x152/0x5a0 fs/ext4/file.c:868
 do_dentry_open+0x52c/0x860 fs/open.c:822
 vfs_open+0x43/0x50 fs/open.c:957
 do_open fs/namei.c:3426 [inline]
 path_openat+0x17b8/0x1eb0 fs/namei.c:3559
 do_filp_open+0x105/0x220 fs/namei.c:3586
 do_sys_openat2+0xb5/0x2b0 fs/open.c:1212
 do_sys_open fs/open.c:1228 [inline]
 __do_sys_open fs/open.c:1236 [inline]
 __se_sys_open fs/open.c:1232 [inline]
 __x64_sys_open+0xe2/0x110 fs/open.c:1232
 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: 0x0000000000000000 -> 0xffff888127529000

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

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/12/06 09:44 upstream 0fcfb00b28c0 a617004c .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in ext4_inode_attach_jinode / ext4_inode_attach_jinode
2021/11/21 10:24 upstream 923dcc5eb0c1 4eb20a4e .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in ext4_inode_attach_jinode / ext4_inode_attach_jinode
* Struck through repros no longer work on HEAD.