EXT4-fs (loop4): unmounting filesystem 00000000-0000-0000-0000-000000000000. ================================================================== BUG: KCSAN: data-race in has_bh_in_lru / invalidate_bh_lru write to 0xffff888237d2b910 of 8 bytes by task 5634 on cpu 1: __invalidate_bh_lrus fs/buffer.c:1509 [inline] invalidate_bh_lru+0x8b/0xf0 fs/buffer.c:1521 csd_do_func kernel/smp.c:134 [inline] smp_call_function_many_cond+0x690/0xc20 kernel/smp.c:847 on_each_cpu_cond_mask+0x3c/0x90 kernel/smp.c:1023 on_each_cpu_cond include/linux/smp.h:105 [inline] invalidate_bh_lrus+0x2a/0x30 fs/buffer.c:1540 kill_bdev block/bdev.c:89 [inline] blkdev_flush_mapping+0x9b/0x1a0 block/bdev.c:664 blkdev_put_whole block/bdev.c:671 [inline] bdev_release+0x305/0x430 block/bdev.c:1096 blkdev_release+0x15/0x20 block/fops.c:638 __fput+0x192/0x6f0 fs/file_table.c:422 ____fput+0x15/0x20 fs/file_table.c:450 task_work_run+0x13a/0x1a0 kernel/task_work.c:228 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 read to 0xffff888237d2b910 of 8 bytes by task 5643 on cpu 0: has_bh_in_lru+0x35/0x1f0 fs/buffer.c:1531 smp_call_function_many_cond+0x2d5/0xc20 kernel/smp.c:809 on_each_cpu_cond_mask+0x3c/0x90 kernel/smp.c:1023 on_each_cpu_cond include/linux/smp.h:105 [inline] invalidate_bh_lrus+0x2a/0x30 fs/buffer.c:1540 kill_bdev block/bdev.c:89 [inline] blkdev_flush_mapping+0x9b/0x1a0 block/bdev.c:664 blkdev_put_whole block/bdev.c:671 [inline] bdev_release+0x305/0x430 block/bdev.c:1096 blkdev_release+0x15/0x20 block/fops.c:638 __fput+0x192/0x6f0 fs/file_table.c:422 ____fput+0x15/0x20 fs/file_table.c:450 task_work_run+0x13a/0x1a0 kernel/task_work.c:228 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: 0xffff888106c455b0 -> 0x0000000000000000 Reported by Kernel Concurrency Sanitizer on: CPU: 0 UID: 0 PID: 5643 Comm: syz-executor Not tainted 6.11.0-rc6-syzkaller-00070-gc763c4339688 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 ==================================================================