EXT4-fs (loop7): unmounting filesystem 00000000-0000-0000-0000-000000000000. ================================================================== BUG: KCSAN: data-race in __find_get_block / has_bh_in_lru read-write to 0xffff888237d2bb18 of 8 bytes by task 11 on cpu 1: bh_lru_install fs/buffer.c:1343 [inline] __find_get_block+0x451/0x8a0 fs/buffer.c:1406 bdev_getblk+0x30/0x3b0 fs/buffer.c:1431 __getblk include/linux/buffer_head.h:380 [inline] sb_getblk include/linux/buffer_head.h:386 [inline] __ext4_get_inode_loc+0x2f7/0x910 fs/ext4/inode.c:4408 __ext4_get_inode_loc_noinmem fs/ext4/inode.c:4521 [inline] ext4_write_inode+0x19f/0x390 fs/ext4/inode.c:5221 write_inode fs/fs-writeback.c:1503 [inline] __writeback_single_inode+0x340/0x850 fs/fs-writeback.c:1723 writeback_sb_inodes+0x461/0xa30 fs/fs-writeback.c:1954 wb_writeback+0x262/0x640 fs/fs-writeback.c:2134 wb_do_writeback fs/fs-writeback.c:2281 [inline] wb_workfn+0x1a8/0x940 fs/fs-writeback.c:2321 process_one_work kernel/workqueue.c:3229 [inline] process_scheduled_works+0x483/0x9a0 kernel/workqueue.c:3310 worker_thread+0x51d/0x6f0 kernel/workqueue.c:3391 kthread+0x1d1/0x210 kernel/kthread.c:389 ret_from_fork+0x4b/0x60 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 read to 0xffff888237d2bb18 of 8 bytes by task 10737 on cpu 0: has_bh_in_lru+0x54/0x1f0 fs/buffer.c:1527 smp_call_function_many_cond+0x2d5/0xc20 kernel/smp.c:837 on_each_cpu_cond_mask+0x3c/0x90 kernel/smp.c:1051 on_each_cpu_cond include/linux/smp.h:105 [inline] invalidate_bh_lrus+0x2a/0x30 fs/buffer.c:1536 kill_bdev block/bdev.c:90 [inline] blkdev_flush_mapping+0x9b/0x1a0 block/bdev.c:671 blkdev_put_whole block/bdev.c:678 [inline] bdev_release+0x2f9/0x420 block/bdev.c:1103 blkdev_release+0x15/0x20 block/fops.c:639 __fput+0x17a/0x6d0 fs/file_table.c:431 ____fput+0x1c/0x30 fs/file_table.c:459 task_work_run+0x13a/0x1a0 kernel/task_work.c:239 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+0xd6/0x1c0 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f value changed: 0x0000000000000000 -> 0xffff888106643f08 Reported by Kernel Concurrency Sanitizer on: CPU: 0 UID: 0 PID: 10737 Comm: syz-executor Not tainted 6.12.0-rc6-syzkaller-00169-g906bd684e4b1 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 ==================================================================