================================================================== BUG: KCSAN: data-race in __ext4_new_inode / find_next_zero_bit write to 0xffff88811f230028 of 8 bytes by task 9496 on cpu 1: __test_and_set_bit include/asm-generic/bitops-instrumented.h:168 [inline] __test_and_set_bit_le include/asm-generic/bitops/le.h:90 [inline] __ext4_new_inode+0xf04/0x2ec0 fs/ext4/ialloc.c:944 ext4_create+0x152/0x370 fs/ext4/namei.c:2587 lookup_open fs/namei.c:3224 [inline] do_last fs/namei.c:3314 [inline] path_openat+0x2b4b/0x36e0 fs/namei.c:3525 do_filp_open+0x11e/0x1b0 fs/namei.c:3555 do_sys_open+0x3b3/0x4f0 fs/open.c:1097 ksys_open include/linux/syscalls.h:1385 [inline] __do_sys_creat fs/open.c:1155 [inline] __se_sys_creat fs/open.c:1153 [inline] __x64_sys_creat+0x45/0x60 fs/open.c:1153 do_syscall_64+0xcc/0x370 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 read to 0xffff88811f230028 of 8 bytes by task 9507 on cpu 0: _find_next_bit lib/find_bit.c:39 [inline] find_next_zero_bit+0x4e/0xe0 lib/find_bit.c:79 find_next_zero_bit_le include/asm-generic/bitops/le.h:15 [inline] find_inode_bit.isra.0+0x82/0x300 fs/ext4/ialloc.c:715 __ext4_new_inode+0xd10/0x2ec0 fs/ext4/ialloc.c:914 ext4_create+0x152/0x370 fs/ext4/namei.c:2587 lookup_open fs/namei.c:3224 [inline] do_last fs/namei.c:3314 [inline] path_openat+0x2b4b/0x36e0 fs/namei.c:3525 do_filp_open+0x11e/0x1b0 fs/namei.c:3555 do_sys_open+0x3b3/0x4f0 fs/open.c:1097 ksys_open include/linux/syscalls.h:1385 [inline] __do_sys_creat fs/open.c:1155 [inline] __se_sys_creat fs/open.c:1153 [inline] __x64_sys_creat+0x45/0x60 fs/open.c:1153 do_syscall_64+0xcc/0x370 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 9507 Comm: syz-executor.3 Not tainted 5.4.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================