================================================================== BUG: KCSAN: data-race in __ext4_new_inode / _find_next_bit read-write to 0xffff88823ff0c098 of 8 bytes by task 4650 on cpu 0: instrument_read_write include/linux/instrumented.h:57 [inline] __instrument_read_write_bitop include/asm-generic/bitops/instrumented-non-atomic.h:81 [inline] __test_and_set_bit include/asm-generic/bitops/instrumented-non-atomic.h:95 [inline] __test_and_set_bit_le include/asm-generic/bitops/le.h:120 [inline] __ext4_new_inode+0xf4f/0x2fc0 fs/ext4/ialloc.c:1097 ext4_create+0x18c/0x320 fs/ext4/namei.c:2746 lookup_open fs/namei.c:3280 [inline] open_last_lookups fs/namei.c:3350 [inline] path_openat+0xd2c/0x1eb0 fs/namei.c:3556 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 0xffff88823ff0c098 of 8 bytes by task 4649 on cpu 1: _find_next_bit+0xe0/0x190 lib/find_bit.c:60 find_next_zero_bit include/asm-generic/bitops/find.h:94 [inline] find_next_zero_bit_le include/asm-generic/bitops/le.h:17 [inline] find_inode_bit+0xc8/0x330 fs/ext4/ialloc.c:725 __ext4_new_inode+0xc9a/0x2fc0 fs/ext4/ialloc.c:1066 ext4_create+0x18c/0x320 fs/ext4/namei.c:2746 lookup_open fs/namei.c:3280 [inline] open_last_lookups fs/namei.c:3350 [inline] path_openat+0xd2c/0x1eb0 fs/namei.c:3556 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 -> 0x0000000000000001 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 4649 Comm: syz-executor.5 Not tainted 5.16.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================