loop1: detected capacity change from 0 to 4096 ================================================================== BUG: KCSAN: data-race in folio_mapping / page_cache_delete_batch write to 0xffffea0004e9b698 of 8 bytes by task 24932 on cpu 0: page_cache_delete_batch+0x1a7/0x470 mm/filemap.c:308 delete_from_page_cache_batch+0x18f/0x2a0 mm/filemap.c:334 truncate_inode_pages_range+0x3ca/0xae0 mm/truncate.c:370 truncate_inode_pages+0x20/0x30 mm/truncate.c:452 kill_bdev block/bdev.c:75 [inline] set_blocksize+0x24e/0x270 block/bdev.c:151 sb_set_blocksize+0x2c/0xa0 block/bdev.c:160 __ext4_fill_super fs/ext4/super.c:4743 [inline] ext4_fill_super+0x21d2/0x4f00 fs/ext4/super.c:5507 get_tree_bdev+0x2b4/0x3b0 fs/super.c:1292 ext4_get_tree+0x18/0x20 fs/ext4/super.c:5537 vfs_get_tree+0x49/0x190 fs/super.c:1497 do_new_mount+0x200/0x650 fs/namespace.c:3040 path_mount+0x4b1/0xb60 fs/namespace.c:3370 do_mount fs/namespace.c:3383 [inline] __do_sys_mount fs/namespace.c:3591 [inline] __se_sys_mount+0x281/0x2d0 fs/namespace.c:3568 __x64_sys_mount+0x63/0x70 fs/namespace.c:3568 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd read to 0xffffea0004e9b698 of 8 bytes by task 24935 on cpu 1: folio_mapping+0x8e/0x110 mm/util.c:806 folio_evictable mm/internal.h:136 [inline] __pagevec_lru_add_fn+0x134/0x520 mm/swap.c:1024 __pagevec_lru_add+0x1c6/0x320 mm/swap.c:1060 lru_add_drain_cpu+0x6a/0x260 mm/swap.c:601 lru_add_drain+0x21/0x60 mm/swap.c:706 __pagevec_release+0x3a/0x70 mm/swap.c:997 pagevec_release include/linux/pagevec.h:72 [inline] folio_batch_release include/linux/pagevec.h:136 [inline] truncate_inode_pages_range+0x442/0xae0 mm/truncate.c:373 truncate_inode_pages+0x20/0x30 mm/truncate.c:452 kill_bdev block/bdev.c:75 [inline] set_blocksize+0x24e/0x270 block/bdev.c:151 sb_set_blocksize+0x2c/0xa0 block/bdev.c:160 __ext4_fill_super fs/ext4/super.c:4743 [inline] ext4_fill_super+0x21d2/0x4f00 fs/ext4/super.c:5507 get_tree_bdev+0x2b4/0x3b0 fs/super.c:1292 ext4_get_tree+0x18/0x20 fs/ext4/super.c:5537 vfs_get_tree+0x49/0x190 fs/super.c:1497 do_new_mount+0x200/0x650 fs/namespace.c:3040 path_mount+0x4b1/0xb60 fs/namespace.c:3370 do_mount fs/namespace.c:3383 [inline] __do_sys_mount fs/namespace.c:3591 [inline] __se_sys_mount+0x281/0x2d0 fs/namespace.c:3568 __x64_sys_mount+0x63/0x70 fs/namespace.c:3568 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd value changed: 0xffff88810236c5c8 -> 0x0000000000000000 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 24935 Comm: syz-executor.1 Not tainted 5.19.0-syzkaller-07280-gb44f2fd87919-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022 ================================================================== EXT4-fs (loop1): ext4_check_descriptors: Checksum for group 0 failed (46507!=0) EXT4-fs error (device loop1): __ext4_fill_super:5234: inode #2: comm syz-executor.1: iget: root inode unallocated EXT4-fs (loop1): get root inode failed EXT4-fs (loop1): mount failed