EXT4-fs (loop0): unmounting filesystem 00000000-0000-0000-0000-000000000000. ================================================================== BUG: KCSAN: data-race in __lru_add_drain_all / folio_add_lru read-write to 0xffff888237c25e68 of 1 bytes by task 12141 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:505 shmem_alloc_and_add_folio mm/shmem.c:1949 [inline] shmem_get_folio_gfp+0x7ab/0xd60 mm/shmem.c:2536 shmem_get_folio mm/shmem.c:2642 [inline] shmem_write_begin+0xa8/0x190 mm/shmem.c:3292 generic_perform_write+0x181/0x490 mm/filemap.c:4112 shmem_file_write_iter+0xc5/0xf0 mm/shmem.c:3467 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x4a0/0x8e0 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+0x2cdd/0x2fb0 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 0xffff888237c25e68 of 1 bytes by task 4113 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 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:1755 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:1417 __cleanup_mnt+0x19/0x20 fs/namespace.c:1424 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:114 exit_to_user_mode_prepare include/linux/entry-common.h:330 [inline] syscall_exit_to_user_mode_work include/linux/entry-common.h:414 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:449 [inline] do_syscall_64+0x1d6/0x200 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f value changed: 0x13 -> 0x19 Reported by Kernel Concurrency Sanitizer on: CPU: 1 UID: 0 PID: 4113 Comm: syz-executor Not tainted 6.16.0-rc4-syzkaller-00319-g05df91921da6 #0 PREEMPT(voluntary) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 ==================================================================