loop1: detected capacity change from 0 to 1024 EXT4-fs (loop1): couldn't mount as ext3 due to feature incompatibilities ================================================================== BUG: KCSAN: data-race in __lru_add_drain_all / folios_put_refs write to 0xffff888237d25ee8 of 1 bytes by task 4433 on cpu 1: folio_batch_reinit include/linux/pagevec.h:50 [inline] folios_put_refs+0x285/0x2d0 mm/swap.c:996 folios_put include/linux/mm.h:1484 [inline] folio_batch_move_lru+0x24b/0x280 mm/swap.c:179 __folio_batch_add_and_move mm/swap.c:196 [inline] folio_add_lru+0x14a/0x1f0 mm/swap.c:511 shmem_alloc_and_add_folio mm/shmem.c:1969 [inline] shmem_get_folio_gfp+0x7ab/0xd60 mm/shmem.c:2533 shmem_get_folio mm/shmem.c:2639 [inline] shmem_write_begin+0xa8/0x190 mm/shmem.c:3289 generic_perform_write+0x184/0x490 mm/filemap.c:4242 shmem_file_write_iter+0xc5/0xf0 mm/shmem.c:3464 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x52a/0x960 fs/read_write.c:686 ksys_write+0xda/0x1a0 fs/read_write.c:738 __do_sys_write fs/read_write.c:749 [inline] __se_sys_write fs/read_write.c:746 [inline] __x64_sys_write+0x40/0x50 fs/read_write.c:746 x64_sys_call+0x2802/0x3000 arch/x86/include/generated/asm/syscalls_64.h:2 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xd2/0x200 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f read to 0xffff888237d25ee8 of 1 bytes by task 4429 on cpu 0: folio_batch_count include/linux/pagevec.h:56 [inline] cpu_needs_drain mm/swap.c:780 [inline] __lru_add_drain_all+0x17e/0x450 mm/swap.c:877 lru_add_drain_all+0x10/0x20 mm/swap.c:893 invalidate_bdev+0x47/0x70 block/bdev.c:101 __ext4_fill_super fs/ext4/super.c:5711 [inline] ext4_fill_super+0x2d2c/0x3810 fs/ext4/super.c:5736 get_tree_bdev_flags+0x291/0x300 fs/super.c:1691 get_tree_bdev+0x1f/0x30 fs/super.c:1714 ext4_get_tree+0x1c/0x30 fs/ext4/super.c:5768 vfs_get_tree+0x57/0x1d0 fs/super.c:1751 fc_mount fs/namespace.c:1208 [inline] do_new_mount_fc fs/namespace.c:3651 [inline] do_new_mount+0x24d/0x660 fs/namespace.c:3727 path_mount+0x4a5/0xb70 fs/namespace.c:4037 do_mount fs/namespace.c:4050 [inline] __do_sys_mount fs/namespace.c:4238 [inline] __se_sys_mount+0x28c/0x2e0 fs/namespace.c:4215 __x64_sys_mount+0x67/0x80 fs/namespace.c:4215 x64_sys_call+0x2b51/0x3000 arch/x86/include/generated/asm/syscalls_64.h:166 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xd2/0x200 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f value changed: 0x1f -> 0x01 Reported by Kernel Concurrency Sanitizer on: CPU: 0 UID: 0 PID: 4429 Comm: syz.1.201 Not tainted syzkaller #0 PREEMPT(voluntary) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 ==================================================================