================================================================== BUG: KCSAN: data-race in delete_from_page_cache_batch / folio_mapping write to 0xffffea000491a818 of 8 bytes by task 16432 on cpu 0: page_cache_delete_batch mm/filemap.c:309 [inline] delete_from_page_cache_batch+0x308/0x700 mm/filemap.c:335 truncate_inode_pages_range+0x1c5/0x6b0 mm/truncate.c:327 truncate_inode_pages+0x24/0x30 mm/truncate.c:407 kill_bdev block/bdev.c:91 [inline] set_blocksize+0x25b/0x270 block/bdev.c:172 sb_set_blocksize+0x2c/0xb0 block/bdev.c:181 isofs_fill_super+0x9c2/0x12b0 fs/isofs/inode.c:816 get_tree_bdev_flags+0x29f/0x310 fs/super.c:1636 get_tree_bdev+0x1f/0x30 fs/super.c:1659 isofs_get_tree+0x1c/0x30 fs/isofs/inode.c:1523 vfs_get_tree+0x56/0x1e0 fs/super.c:1814 do_new_mount+0x227/0x690 fs/namespace.c:3560 path_mount+0x49b/0xb30 fs/namespace.c:3887 do_mount fs/namespace.c:3900 [inline] __do_sys_mount fs/namespace.c:4111 [inline] __se_sys_mount+0x27f/0x2d0 fs/namespace.c:4088 __x64_sys_mount+0x67/0x80 fs/namespace.c:4088 x64_sys_call+0x2c84/0x2dc0 arch/x86/include/generated/asm/syscalls_64.h:166 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xc9/0x1c0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f read to 0xffffea000491a818 of 8 bytes by task 12716 on cpu 1: folio_mapping+0xa0/0x120 mm/util.c:859 folio_evictable mm/internal.h:437 [inline] lru_add+0x89/0x440 mm/swap.c:136 folio_batch_move_lru+0x15f/0x230 mm/swap.c:168 lru_add_drain_cpu+0x7c/0x260 mm/swap.c:642 lru_add_drain mm/swap.c:730 [inline] __folio_batch_release+0x51/0xc0 mm/swap.c:1051 folio_batch_release include/linux/pagevec.h:101 [inline] writeback_get_folio mm/page-writeback.c:2491 [inline] writeback_iter+0x41d/0x830 mm/page-writeback.c:2594 write_cache_pages+0xad/0x100 mm/page-writeback.c:2643 blkdev_writepages+0x59/0x90 block/fops.c:458 do_writepages+0x1d8/0x480 mm/page-writeback.c:2687 filemap_fdatawrite_wbc mm/filemap.c:389 [inline] __filemap_fdatawrite_range mm/filemap.c:422 [inline] __filemap_fdatawrite mm/filemap.c:428 [inline] filemap_flush+0xe7/0x120 mm/filemap.c:473 sync_blockdev_nowait+0x29/0x40 block/bdev.c:206 sync_filesystem+0xe3/0x190 fs/sync.c:60 generic_shutdown_super+0x46/0x220 fs/super.c:621 kill_block_super+0x2a/0x70 fs/super.c:1710 ext4_kill_sb+0x44/0x80 fs/ext4/super.c:7368 deactivate_locked_super+0x7d/0x1c0 fs/super.c:473 deactivate_super+0x9f/0xb0 fs/super.c:506 cleanup_mnt+0x268/0x2e0 fs/namespace.c:1413 __cleanup_mnt+0x19/0x20 fs/namespace.c:1420 task_work_run+0x13a/0x1a0 kernel/task_work.c:227 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop kernel/entry/common.c:114 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0xa8/0x120 kernel/entry/common.c:218 do_syscall_64+0xd6/0x1c0 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f value changed: 0xffff888100630518 -> 0x0000000000000000 Reported by Kernel Concurrency Sanitizer on: CPU: 1 UID: 0 PID: 12716 Comm: syz-executor Not tainted 6.14.0-rc2-syzkaller-00390-g224e74511041 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 ================================================================== EXT4-fs (loop1): unmounting filesystem 76b65be2-f6da-4727-8c75-0525a5b65a09.