EXT4-fs (loop1): cluster size (1024) smaller than block size (2048) ================================================================== BUG: KCSAN: data-race in __lru_add_drain_all / folio_batch_move_lru write to 0xffff888237d29988 of 1 bytes by task 28558 on cpu 1: folio_batch_reinit include/linux/pagevec.h:48 [inline] folio_batch_move_lru+0x2bf/0x2f0 mm/swap.c:225 lru_add_drain_cpu+0x77/0x270 mm/swap.c:652 lru_add_drain+0x34/0x80 mm/swap.c:752 exit_mmap+0x135/0x640 mm/mmap.c:3205 __mmput+0x28/0x1c0 kernel/fork.c:1349 mmput+0x4c/0x60 kernel/fork.c:1371 exit_mm+0xe3/0x180 kernel/exit.c:567 do_exit+0x580/0x1660 kernel/exit.c:861 do_group_exit+0x101/0x150 kernel/exit.c:1024 get_signal+0xf3c/0x1090 kernel/signal.c:2892 arch_do_signal_or_restart+0x95/0x4b0 arch/x86/kernel/signal.c:309 exit_to_user_mode_loop+0x6f/0xe0 kernel/entry/common.c:168 exit_to_user_mode_prepare+0x6c/0xb0 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline] syscall_exit_to_user_mode+0x26/0x140 kernel/entry/common.c:296 do_syscall_64+0x4d/0xc0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd read to 0xffff888237d29988 of 1 bytes by task 28562 on cpu 0: folio_batch_count include/linux/pagevec.h:53 [inline] cpu_needs_drain mm/swap.c:795 [inline] __lru_add_drain_all+0x137/0x420 mm/swap.c:889 lru_add_drain_all+0x10/0x20 mm/swap.c:905 invalidate_bdev+0x54/0x70 block/bdev.c:86 __ext4_fill_super fs/ext4/super.c:5678 [inline] ext4_fill_super+0x16ef/0x3940 fs/ext4/super.c:5703 get_tree_bdev+0x272/0x300 fs/super.c:1577 ext4_get_tree+0x1c/0x20 fs/ext4/super.c:5735 vfs_get_tree+0x51/0x1b0 fs/super.c:1750 do_new_mount+0x203/0x660 fs/namespace.c:3335 path_mount+0x496/0xb30 fs/namespace.c:3662 do_mount fs/namespace.c:3675 [inline] __do_sys_mount fs/namespace.c:3884 [inline] __se_sys_mount+0x27f/0x2d0 fs/namespace.c:3861 __x64_sys_mount+0x67/0x80 fs/namespace.c:3861 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd value changed: 0x09 -> 0x00 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 28562 Comm: syz-executor.1 Not tainted 6.6.0-rc1-syzkaller-00070-g23f108dc9ed2 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023 ==================================================================