loop4: detected capacity change from 0 to 512 EXT4-fs (loop4): #blocks per group too big: 262144 ================================================================== BUG: KCSAN: data-race in __lru_add_drain_all / folio_batch_move_lru write to 0xffff888237d29988 of 1 bytes by task 28304 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 mm/swap.c:752 [inline] __folio_batch_release+0x5f/0xe0 mm/swap.c:1059 folio_batch_release include/linux/pagevec.h:83 [inline] shmem_undo_range+0x336/0x9a0 mm/shmem.c:1004 shmem_truncate_range mm/shmem.c:1096 [inline] shmem_evict_inode+0x14d/0x530 mm/shmem.c:1224 evict+0x1aa/0x410 fs/inode.c:664 iput_final fs/inode.c:1775 [inline] iput+0x42c/0x5b0 fs/inode.c:1801 dentry_unlink_inode+0x22a/0x240 fs/dcache.c:401 __dentry_kill+0x2db/0x4a0 fs/dcache.c:607 dentry_kill+0x8d/0x1e0 dput+0x118/0x1f0 fs/dcache.c:913 do_renameat2+0x7d7/0xa40 fs/namei.c:4998 __do_sys_rename fs/namei.c:5042 [inline] __se_sys_rename fs/namei.c:5040 [inline] __x64_sys_rename+0x5c/0x70 fs/namei.c:5040 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x44/0x110 arch/x86/entry/common.c:82 entry_SYSCALL_64_after_hwframe+0x63/0x6b read to 0xffff888237d29988 of 1 bytes by task 11801 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:5687 [inline] ext4_fill_super+0x1789/0x39a0 fs/ext4/super.c:5712 get_tree_bdev+0x272/0x300 fs/super.c:1598 ext4_get_tree+0x1c/0x20 fs/ext4/super.c:5744 vfs_get_tree+0x51/0x1b0 fs/super.c:1771 do_new_mount+0x203/0x660 fs/namespace.c:3337 path_mount+0x496/0xb30 fs/namespace.c:3664 do_mount fs/namespace.c:3677 [inline] __do_sys_mount fs/namespace.c:3886 [inline] __se_sys_mount+0x27f/0x2d0 fs/namespace.c:3863 __x64_sys_mount+0x67/0x80 fs/namespace.c:3863 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x44/0x110 arch/x86/entry/common.c:82 entry_SYSCALL_64_after_hwframe+0x63/0x6b value changed: 0x0c -> 0x00 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 11801 Comm: syz-executor.4 Not tainted 6.6.0-syzkaller-16201-gb57b17e88bf5 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023 ==================================================================