loop4: detected capacity change from 0 to 256 ================================================================== BUG: KCSAN: data-race in has_bh_in_lru / invalidate_bh_lrus_cpu write to 0xffff888237d2b910 of 8 bytes by task 35 on cpu 1: __invalidate_bh_lrus fs/buffer.c:1509 [inline] invalidate_bh_lrus_cpu+0x85/0xc0 fs/buffer.c:1554 lru_add_and_bh_lrus_drain mm/swap.c:791 [inline] lru_add_drain_per_cpu+0x62/0x80 mm/swap.c:810 process_one_work kernel/workqueue.c:3231 [inline] process_scheduled_works+0x483/0x9a0 kernel/workqueue.c:3312 worker_thread+0x526/0x6e0 kernel/workqueue.c:3389 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 0xffff888237d2b910 of 8 bytes by task 15817 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] set_blocksize+0x25b/0x280 block/bdev.c:172 sb_set_blocksize+0x2c/0xb0 block/bdev.c:181 fat_fill_super+0x99d/0x1bf0 fs/fat/inode.c:1630 msdos_fill_super+0x24/0x30 fs/fat/namei_msdos.c:655 get_tree_bdev+0x256/0x2e0 fs/super.c:1635 msdos_get_tree+0x1c/0x30 fs/fat/namei_msdos.c:660 vfs_get_tree+0x56/0x1e0 fs/super.c:1800 do_new_mount+0x227/0x690 fs/namespace.c:3472 path_mount+0x49b/0xb30 fs/namespace.c:3799 do_mount fs/namespace.c:3812 [inline] __do_sys_mount fs/namespace.c:4020 [inline] __se_sys_mount+0x27c/0x2d0 fs/namespace.c:3997 __x64_sys_mount+0x67/0x80 fs/namespace.c:3997 x64_sys_call+0x203e/0x2d60 arch/x86/include/generated/asm/syscalls_64.h:166 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xc9/0x1c0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f value changed: 0xffff888109146c98 -> 0x0000000000000000 Reported by Kernel Concurrency Sanitizer on: CPU: 0 UID: 0 PID: 15817 Comm: syz.4.4092 Not tainted 6.11.0-rc6-syzkaller-00017-gc9f016e72b5c #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 ================================================================== FAT-fs (loop4): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.