================================================================== BUG: KCSAN: data-race in __ext4_new_inode / _find_next_bit read-write to 0xffff888237c610a0 of 8 bytes by task 21387 on cpu 1: 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+0xf60/0x2fd0 fs/ext4/ialloc.c:1097 ext4_mkdir+0x28a/0x760 fs/ext4/namei.c:2929 vfs_mkdir+0x2c3/0x3e0 fs/namei.c:3885 do_mkdirat+0x12e/0x2c0 fs/namei.c:3911 __do_sys_mkdir fs/namei.c:3931 [inline] __se_sys_mkdir fs/namei.c:3929 [inline] __x64_sys_mkdir+0x40/0x50 fs/namei.c:3929 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae read to 0xffff888237c610a0 of 8 bytes by task 21386 on cpu 0: _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/0x2fd0 fs/ext4/ialloc.c:1066 ext4_symlink+0x2cc/0x700 fs/ext4/namei.c:3293 vfs_symlink+0x23f/0x350 fs/namei.c:4250 do_symlinkat+0x104/0x380 fs/namei.c:4279 __do_sys_symlink fs/namei.c:4301 [inline] __se_sys_symlink fs/namei.c:4299 [inline] __x64_sys_symlink+0x52/0x60 fs/namei.c:4299 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae value changed: 0x0000000000000000 -> 0x0000000000000001 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 21386 Comm: syz-executor.2 Not tainted 5.15.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================