================================================================== BUG: KCSAN: data-race in delete_from_page_cache_batch / page_mapping write to 0xffffea00050b7bd8 of 8 bytes by task 21123 on cpu 1: page_cache_delete_batch mm/filemap.c:319 [inline] delete_from_page_cache_batch+0x30c/0x6c0 mm/filemap.c:349 truncate_inode_pages_range+0x1d5/0xad0 mm/truncate.c:326 truncate_inode_pages+0x20/0x30 mm/truncate.c:425 kill_bdev block/bdev.c:77 [inline] set_blocksize+0x24e/0x270 block/bdev.c:157 sb_set_blocksize block/bdev.c:166 [inline] sb_min_blocksize+0x9d/0x120 block/bdev.c:182 isofs_fill_super+0x736/0x1950 fs/isofs/inode.c:658 mount_bdev+0x1e8/0x290 fs/super.c:1368 isofs_mount+0x2d/0x40 fs/isofs/inode.c:1565 legacy_get_tree+0x70/0xc0 fs/fs_context.c:610 vfs_get_tree+0x4a/0x1a0 fs/super.c:1498 do_new_mount fs/namespace.c:2988 [inline] path_mount+0x11ec/0x1d20 fs/namespace.c:3318 do_mount fs/namespace.c:3331 [inline] __do_sys_mount fs/namespace.c:3539 [inline] __se_sys_mount+0x24b/0x2f0 fs/namespace.c:3516 __x64_sys_mount+0x63/0x70 fs/namespace.c:3516 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae read to 0xffffea00050b7bd8 of 8 bytes by task 21081 on cpu 0: page_mapping+0x111/0x1c0 mm/util.c:725 page_evictable mm/internal.h:83 [inline] __pagevec_lru_add_fn+0x82/0x490 mm/swap.c:1024 __pagevec_lru_add+0x189/0x240 mm/swap.c:1052 lru_cache_add+0x121/0x150 mm/swap.c:453 shmem_getpage_gfp+0xcb9/0x13d0 mm/shmem.c:1940 shmem_getpage mm/shmem.c:151 [inline] shmem_write_begin+0x7e/0x100 mm/shmem.c:2469 generic_perform_write+0x1b8/0x3e0 mm/filemap.c:3770 __generic_file_write_iter+0x174/0x310 mm/filemap.c:3897 generic_file_write_iter+0x75/0x130 mm/filemap.c:3929 call_write_iter include/linux/fs.h:2163 [inline] new_sync_write fs/read_write.c:507 [inline] vfs_write+0x7bc/0x900 fs/read_write.c:594 ksys_write+0xd9/0x190 fs/read_write.c:647 __do_sys_write fs/read_write.c:659 [inline] __se_sys_write fs/read_write.c:656 [inline] __x64_sys_write+0x3e/0x50 fs/read_write.c:656 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae value changed: 0xffff888100423ba8 -> 0x0000000000000000 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 21081 Comm: systemd-udevd Not tainted 5.15.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================