loop3: detected capacity change from 0 to 512 ================================================================== BUG: KCSAN: data-race in delete_from_page_cache_batch / folio_mapping write to 0xffffea0004d29818 of 8 bytes by task 31863 on cpu 0: page_cache_delete_batch mm/filemap.c:304 [inline] delete_from_page_cache_batch+0x301/0x760 mm/filemap.c:330 truncate_inode_pages_range+0x305/0x8b0 mm/truncate.c:379 truncate_inode_pages+0x20/0x30 mm/truncate.c:461 kill_bdev block/bdev.c:77 [inline] set_blocksize+0x24e/0x270 block/bdev.c:153 sb_set_blocksize+0x2c/0xa0 block/bdev.c:162 __ext4_fill_super+0x1b64/0x59b0 fs/ext4/super.c:4789 ext4_fill_super+0x10b/0x2f0 fs/ext4/super.c:5554 get_tree_bdev+0x2c2/0x3d0 fs/super.c:1292 vfs_get_tree+0x4a/0x1a0 fs/super.c:1497 do_new_mount fs/namespace.c:3024 [inline] path_mount+0x11cf/0x1c40 fs/namespace.c:3354 do_mount fs/namespace.c:3367 [inline] __do_sys_mount fs/namespace.c:3575 [inline] __se_sys_mount+0x24b/0x2f0 fs/namespace.c:3552 __x64_sys_mount+0x63/0x70 fs/namespace.c:3552 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae read to 0xffffea0004d29818 of 8 bytes by task 31861 on cpu 1: folio_mapping+0x92/0x120 mm/util.c:717 folio_evictable mm/internal.h:121 [inline] __pagevec_lru_add_fn+0x81/0x380 mm/swap.c:1043 __pagevec_lru_add+0x1c3/0x270 mm/swap.c:1071 lru_add_drain_cpu+0x6a/0x260 mm/swap.c:613 lru_add_drain mm/swap.c:717 [inline] __pagevec_release+0x4b/0xc0 mm/swap.c:997 pagevec_release include/linux/pagevec.h:82 [inline] folio_batch_release include/linux/pagevec.h:146 [inline] truncate_inode_pages_range+0x36d/0x8b0 mm/truncate.c:382 truncate_inode_pages+0x20/0x30 mm/truncate.c:461 kill_bdev block/bdev.c:77 [inline] set_blocksize+0x24e/0x270 block/bdev.c:153 sb_set_blocksize+0x2c/0xa0 block/bdev.c:162 __ext4_fill_super+0x1b64/0x59b0 fs/ext4/super.c:4789 ext4_fill_super+0x10b/0x2f0 fs/ext4/super.c:5554 get_tree_bdev+0x2c2/0x3d0 fs/super.c:1292 vfs_get_tree+0x4a/0x1a0 fs/super.c:1497 do_new_mount fs/namespace.c:3024 [inline] path_mount+0x11cf/0x1c40 fs/namespace.c:3354 do_mount fs/namespace.c:3367 [inline] __do_sys_mount fs/namespace.c:3575 [inline] __se_sys_mount+0x24b/0x2f0 fs/namespace.c:3552 __x64_sys_mount+0x63/0x70 fs/namespace.c:3552 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae value changed: 0xffff888101b9abf0 -> 0x0000000000000000 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 31861 Comm: syz-executor.3 Not tainted 5.17.0-rc7-syzkaller-00020-gea4424be1688-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ================================================================== EXT4-fs error (device loop3): __ext4_fill_super:5277: inode #2: comm syz-executor.3: casefold flag without casefold feature EXT4-fs (loop3): revision level too high, forcing read-only mode