================================================================== BUG: KCSAN: data-race in __lru_add_drain_all / folio_add_lru read-write to 0xffff888237c25ea8 of 1 bytes by task 26694 on cpu 0: folio_batch_add include/linux/pagevec.h:77 [inline] __folio_batch_add_and_move mm/swap.c:194 [inline] folio_add_lru+0xa5/0x1f0 mm/swap.c:510 shmem_alloc_and_add_folio mm/shmem.c:2006 [inline] shmem_get_folio_gfp+0x7ab/0xd60 mm/shmem.c:2597 shmem_get_folio mm/shmem.c:2703 [inline] shmem_write_begin+0xa8/0x190 mm/shmem.c:3353 generic_perform_write+0x181/0x490 mm/filemap.c:4175 shmem_file_write_iter+0xc5/0xf0 mm/shmem.c:3528 __kernel_write_iter+0x2d3/0x540 fs/read_write.c:619 dump_emit_page fs/coredump.c:1296 [inline] dump_user_range+0x61e/0x8f0 fs/coredump.c:1370 elf_core_dump+0x1e00/0x1f90 fs/binfmt_elf.c:2085 coredump_write+0xb0d/0xe30 fs/coredump.c:1049 vfs_coredump+0x142f/0x20c0 fs/coredump.c:1168 get_signal+0xd85/0xf70 kernel/signal.c:3019 arch_do_signal_or_restart+0x96/0x480 arch/x86/kernel/signal.c:337 exit_to_user_mode_loop+0x7a/0x100 kernel/entry/common.c:40 exit_to_user_mode_prepare include/linux/irq-entry-common.h:225 [inline] syscall_exit_to_user_mode_work include/linux/entry-common.h:175 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:210 [inline] do_syscall_64+0x1d6/0x200 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f read to 0xffff888237c25ea8 of 1 bytes by task 21951 on cpu 1: folio_batch_count include/linux/pagevec.h:56 [inline] cpu_needs_drain mm/swap.c:778 [inline] __lru_add_drain_all+0x12b/0x3f0 mm/swap.c:872 lru_add_drain_all+0x10/0x20 mm/swap.c:888 invalidate_bdev+0x47/0x70 block/bdev.c:101 ext4_put_super+0x624/0x7d0 fs/ext4/super.c:1339 generic_shutdown_super+0xe6/0x210 fs/super.c:643 kill_block_super+0x2a/0x70 fs/super.c:1766 ext4_kill_sb+0x42/0x80 fs/ext4/super.c:7391 deactivate_locked_super+0x72/0x1c0 fs/super.c:474 deactivate_super+0x97/0xa0 fs/super.c:507 cleanup_mnt+0x269/0x2e0 fs/namespace.c:1378 __cleanup_mnt+0x19/0x20 fs/namespace.c:1385 task_work_run+0x131/0x1a0 kernel/task_work.c:227 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop+0xe4/0x100 kernel/entry/common.c:43 exit_to_user_mode_prepare include/linux/irq-entry-common.h:225 [inline] syscall_exit_to_user_mode_work include/linux/entry-common.h:175 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:210 [inline] do_syscall_64+0x1d6/0x200 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f value changed: 0x17 -> 0x18 Reported by Kernel Concurrency Sanitizer on: CPU: 1 UID: 0 PID: 21951 Comm: syz-executor Tainted: G W 6.16.0-syzkaller-12256-g561c80369df0 #0 PREEMPT(voluntary) Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 ==================================================================