loop3: detected capacity change from 0 to 512 EXT4-fs (loop3): inodes count not valid: 26 vs 32 ================================================================== BUG: KCSAN: data-race in __lru_add_drain_all / folio_batch_move_lru write to 0xffff888237c29c88 of 1 bytes by task 3735 on cpu 0: 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+0x340/0xa40 mm/shmem.c:1005 shmem_truncate_range mm/shmem.c:1114 [inline] shmem_evict_inode+0x14d/0x530 mm/shmem.c:1242 evict+0x1aa/0x410 fs/inode.c:665 iput_final fs/inode.c:1739 [inline] iput+0x42c/0x5b0 fs/inode.c:1765 dentry_unlink_inode+0x22a/0x240 fs/dcache.c:400 __dentry_kill+0x182/0x4a0 fs/dcache.c:603 dput+0x54/0xc0 fs/dcache.c:845 do_renameat2+0x7d8/0xa50 fs/namei.c:5038 __do_sys_rename fs/namei.c:5083 [inline] __se_sys_rename fs/namei.c:5081 [inline] __x64_sys_rename+0x5c/0x70 fs/namei.c:5081 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x59/0x120 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b read to 0xffff888237c29c88 of 1 bytes by task 4697 on cpu 1: 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:89 __ext4_fill_super fs/ext4/super.c:5678 [inline] ext4_fill_super+0x1789/0x39a0 fs/ext4/super.c:5703 get_tree_bdev+0x250/0x2d0 fs/super.c:1619 ext4_get_tree+0x1c/0x20 fs/ext4/super.c:5735 vfs_get_tree+0x51/0x1b0 fs/super.c:1784 do_new_mount+0x227/0x690 fs/namespace.c:3352 path_mount+0x496/0xb30 fs/namespace.c:3679 do_mount fs/namespace.c:3692 [inline] __do_sys_mount fs/namespace.c:3898 [inline] __se_sys_mount+0x27f/0x2d0 fs/namespace.c:3875 __x64_sys_mount+0x67/0x80 fs/namespace.c:3875 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x59/0x120 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b value changed: 0x01 -> 0x00 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 4697 Comm: syz-executor.3 Not tainted 6.8.0-rc1-syzkaller-00169-gecb1b8288dc7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 ==================================================================