loop2: detected capacity change from 0 to 2048 EXT4-fs (loop2): mounted filesystem 00000000-0000-0000-0000-000000000000 r/w without journal. Quota mode: none. EXT4-fs (loop2): re-mounted 00000000-0000-0000-0000-000000000000 ro. ================================================================== BUG: KCSAN: data-race in __lru_add_drain_all / folios_put_refs write to 0xffff888237c25a68 of 1 bytes by task 6580 on cpu 0: folio_batch_reinit include/linux/pagevec.h:50 [inline] folios_put_refs+0x285/0x2d0 mm/swap.c:986 folios_put include/linux/mm.h:1639 [inline] folio_batch_move_lru+0x1fd/0x230 mm/swap.c:175 __folio_batch_add_and_move mm/swap.c:196 [inline] folio_add_lru+0x14a/0x1f0 mm/swap.c:505 shmem_alloc_and_add_folio mm/shmem.c:1952 [inline] shmem_get_folio_gfp+0x7ab/0xd40 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:4103 shmem_file_write_iter+0xc5/0xf0 mm/shmem.c:3464 __kernel_write_iter+0x256/0x4c0 fs/read_write.c:617 dump_emit_page fs/coredump.c:885 [inline] dump_user_range+0x5f4/0x8d0 fs/coredump.c:959 elf_core_dump+0x1dc2/0x1f80 fs/binfmt_elf.c:2151 do_coredump+0x1839/0x1f40 fs/coredump.c:759 get_signal+0xd85/0xf70 kernel/signal.c:3019 arch_do_signal_or_restart+0x97/0x480 arch/x86/kernel/signal.c:337 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline] irqentry_exit_to_user_mode+0x5e/0xa0 kernel/entry/common.c:231 irqentry_exit+0x12/0x50 kernel/entry/common.c:334 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:623 read to 0xffff888237c25a68 of 1 bytes by task 6617 on cpu 1: folio_batch_count include/linux/pagevec.h:56 [inline] cpu_needs_drain mm/swap.c:773 [inline] __lru_add_drain_all+0x12b/0x3f0 mm/swap.c:867 lru_add_drain_all+0x10/0x20 mm/swap.c:883 invalidate_bdev+0x47/0x70 block/bdev.c:101 reconfigure_super+0x417/0x580 fs/super.c:1106 do_remount fs/namespace.c:3365 [inline] path_mount+0xa86/0xb20 fs/namespace.c:4200 do_mount fs/namespace.c:4221 [inline] __do_sys_mount fs/namespace.c:4432 [inline] __se_sys_mount+0x28f/0x2e0 fs/namespace.c:4409 __x64_sys_mount+0x67/0x80 fs/namespace.c:4409 x64_sys_call+0xd36/0x2fb0 arch/x86/include/generated/asm/syscalls_64.h:166 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xd0/0x1a0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f value changed: 0x1f -> 0x00 Reported by Kernel Concurrency Sanitizer on: CPU: 1 UID: 0 PID: 6617 Comm: syz.2.1114 Not tainted 6.15.0-rc7-syzkaller #0 PREEMPT(voluntary) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/2025 ==================================================================