================================================================== BUG: KCSAN: data-race in has_bh_in_lru / invalidate_bh_lru write to 0xffff888237c277e0 of 8 bytes by task 3306 on cpu 0: __invalidate_bh_lrus fs/buffer.c:1414 [inline] invalidate_bh_lru+0x8a/0xf0 fs/buffer.c:1426 csd_do_func kernel/smp.c:143 [inline] smp_call_function_many_cond+0x72e/0xbc0 kernel/smp.c:983 on_each_cpu_cond_mask+0x35/0x50 kernel/smp.c:1169 on_each_cpu_cond include/linux/smp.h:105 [inline] invalidate_bh_lrus+0x2a/0x30 fs/buffer.c:1445 kill_bdev block/bdev.c:89 [inline] blkdev_flush_mapping+0x94/0x1a0 block/bdev.c:757 blkdev_put_whole block/bdev.c:764 [inline] bdev_release+0x2c1/0x3d0 block/bdev.c:1189 blkdev_release+0x15/0x20 block/fops.c:682 __fput+0x29e/0x630 fs/file_table.c:512 ____fput+0x1c/0x30 fs/file_table.c:540 task_work_run+0x130/0x1a0 kernel/task_work.c:233 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] __exit_to_user_mode_loop kernel/entry/common.c:70 [inline] exit_to_user_mode_loop+0x1e4/0x8c0 kernel/entry/common.c:101 __exit_to_user_mode_prepare include/linux/irq-entry-common.h:207 [inline] syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:230 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:343 [inline] do_syscall_64+0x212/0x360 arch/x86/entry/syscall_64.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f read to 0xffff888237c277e0 of 8 bytes by task 3896 on cpu 1: has_bh_in_lru+0x35/0x1f0 fs/buffer.c:1436 cpu_needs_drain mm/folio.c:768 [inline] __lru_add_drain_all+0x2c1/0x520 mm/folio.c:860 lru_cache_disable+0x1f/0x30 mm/folio.c:960 do_mbind mm/mempolicy.c:1534 [inline] kernel_mbind mm/mempolicy.c:1760 [inline] __do_sys_mbind mm/mempolicy.c:1834 [inline] __se_sys_mbind+0x6cd/0xdd0 mm/mempolicy.c:1830 __x64_sys_mbind+0x78/0x90 mm/mempolicy.c:1830 x64_sys_call+0x1d78/0x2550 arch/x86/include/generated/asm/syscalls_64.h:238 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x112/0x360 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f value changed: 0xffff888100419960 -> 0x0000000000000000 Reported by Kernel Concurrency Sanitizer on: CPU: 1 UID: 0 PID: 3896 Comm: syz.1.125 Not tainted syzkaller #0 PREEMPT(lazy) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 ==================================================================