EXT4-fs (loop4): unmounting filesystem 00000000-0000-0000-0000-000000000000. ================================================================== BUG: KCSAN: data-race in __find_get_block / has_bh_in_lru read-write to 0xffff888237d2ba00 of 8 bytes by task 17154 on cpu 1: bh_lru_install fs/buffer.c:1340 [inline] __find_get_block+0x5a7/0x8c0 fs/buffer.c:1403 bdev_getblk+0x34/0x420 fs/buffer.c:1423 __getblk include/linux/buffer_head.h:355 [inline] sb_getblk include/linux/buffer_head.h:361 [inline] ext4_getblk+0x1c1/0x510 fs/ext4/inode.c:843 ext4_bread_batch+0x5b/0x360 fs/ext4/inode.c:910 ext4_xattr_inode_read+0x115/0x2c0 fs/ext4/xattr.c:397 ext4_xattr_inode_cache_find fs/ext4/xattr.c:1548 [inline] ext4_xattr_inode_lookup_create fs/ext4/xattr.c:1581 [inline] ext4_xattr_set_entry+0x937/0x22a0 fs/ext4/xattr.c:1718 ext4_xattr_block_set+0x46c/0x1b00 fs/ext4/xattr.c:2037 ext4_xattr_move_to_block fs/ext4/xattr.c:2654 [inline] ext4_xattr_make_inode_space fs/ext4/xattr.c:2729 [inline] ext4_expand_extra_isize_ea+0xa80/0x1110 fs/ext4/xattr.c:2821 __ext4_expand_extra_isize+0x243/0x280 fs/ext4/inode.c:5789 ext4_try_to_expand_extra_isize fs/ext4/inode.c:5832 [inline] __ext4_mark_inode_dirty+0x2c5/0x440 fs/ext4/inode.c:5910 ext4_try_add_inline_entry+0x479/0x520 fs/ext4/inline.c:1317 ext4_add_entry+0x218/0x1ec0 fs/ext4/namei.c:2405 ext4_add_nondir+0x50/0x1a0 fs/ext4/namei.c:2792 ext4_create+0x20f/0x2f0 fs/ext4/namei.c:2838 lookup_open fs/namei.c:3497 [inline] open_last_lookups fs/namei.c:3566 [inline] path_openat+0xdde/0x1d80 fs/namei.c:3796 do_filp_open+0xf7/0x200 fs/namei.c:3826 do_sys_openat2+0xab/0x120 fs/open.c:1406 do_sys_open fs/open.c:1421 [inline] __do_sys_openat fs/open.c:1437 [inline] __se_sys_openat fs/open.c:1432 [inline] __x64_sys_openat+0xf3/0x120 fs/open.c:1432 x64_sys_call+0x2cad/0x2d30 arch/x86/include/generated/asm/syscalls_64.h:258 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x1d0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f read to 0xffff888237d2ba00 of 8 bytes by task 16874 on cpu 0: has_bh_in_lru+0x1b4/0x1f0 fs/buffer.c:1510 cpu_needs_drain mm/swap.c:817 [inline] __lru_add_drain_all+0x254/0x420 mm/swap.c:904 lru_add_drain_all+0x10/0x20 mm/swap.c:920 invalidate_bdev+0x54/0x80 block/bdev.c:95 ext4_put_super+0x51b/0x7e0 fs/ext4/super.c:1361 generic_shutdown_super+0xde/0x210 fs/super.c:641 kill_block_super+0x2a/0x70 fs/super.c:1675 ext4_kill_sb+0x44/0x80 fs/ext4/super.c:7327 deactivate_locked_super+0x7d/0x1c0 fs/super.c:472 deactivate_super+0x9f/0xb0 fs/super.c:505 cleanup_mnt+0x272/0x2e0 fs/namespace.c:1267 __cleanup_mnt+0x19/0x20 fs/namespace.c:1274 task_work_run+0x13a/0x1a0 kernel/task_work.c:180 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop kernel/entry/common.c:114 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0xbe/0x130 kernel/entry/common.c:218 do_syscall_64+0xda/0x1d0 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f value changed: 0x0000000000000000 -> 0xffff888106b1d2d8 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 16874 Comm: syz-executor.4 Tainted: G W 6.9.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 ================================================================== EXT4-fs (loop4): unmounting filesystem 00000000-0000-0000-0000-000000000000.