EXT4-fs (loop2): couldn't mount as ext2 due to feature incompatibilities loop2: detected capacity change from 0 to 512 EXT4-fs (loop2): couldn't mount as ext2 due to feature incompatibilities loop2: detected capacity change from 0 to 512 ================================================================== BUG: KCSAN: data-race in __filemap_add_folio / filemap_write_and_wait_range read-write to 0xffff8881004c1830 of 8 bytes by task 3304 on cpu 0: __filemap_add_folio+0x4c1/0x730 mm/filemap.c:903 filemap_add_folio+0x70/0x160 mm/filemap.c:938 page_cache_ra_unbounded+0x15e/0x2e0 mm/readahead.c:250 do_page_cache_ra mm/readahead.c:299 [inline] force_page_cache_ra mm/readahead.c:330 [inline] page_cache_sync_ra+0x24b/0x2a0 mm/readahead.c:689 page_cache_sync_readahead include/linux/pagemap.h:1300 [inline] filemap_get_pages+0x251/0xf90 mm/filemap.c:2498 filemap_read+0x214/0x680 mm/filemap.c:2594 blkdev_read_iter+0x217/0x2c0 block/fops.c:757 call_read_iter include/linux/fs.h:2081 [inline] new_sync_read fs/read_write.c:395 [inline] vfs_read+0x5ab/0x6a0 fs/read_write.c:476 ksys_read+0xeb/0x1a0 fs/read_write.c:619 __do_sys_read fs/read_write.c:629 [inline] __se_sys_read fs/read_write.c:627 [inline] __x64_sys_read+0x42/0x50 fs/read_write.c:627 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x1d0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b read to 0xffff8881004c1830 of 8 bytes by task 25858 on cpu 1: mapping_needs_writeback mm/filemap.c:626 [inline] filemap_write_and_wait_range+0x51/0x210 mm/filemap.c:675 filemap_write_and_wait include/linux/pagemap.h:64 [inline] sync_blockdev block/bdev.c:201 [inline] set_blocksize+0x1c5/0x290 block/bdev.c:153 sb_set_blocksize block/bdev.c:164 [inline] sb_min_blocksize+0x83/0x110 block/bdev.c:180 ext4_load_super fs/ext4/super.c:5030 [inline] __ext4_fill_super fs/ext4/super.c:5227 [inline] ext4_fill_super+0x39f/0x39b0 fs/ext4/super.c:5703 get_tree_bdev+0x250/0x2e0 fs/super.c:1614 ext4_get_tree+0x1c/0x20 fs/ext4/super.c:5735 vfs_get_tree+0x53/0x1d0 fs/super.c:1779 do_new_mount+0x227/0x690 fs/namespace.c:3352 path_mount+0x496/0xb30 fs/namespace.c:3679 do_mount fs/namespace.c:3692 [inline] __do_sys_mount fs/namespace.c:3898 [inline] __se_sys_mount+0x27f/0x2d0 fs/namespace.c:3875 __x64_sys_mount+0x67/0x80 fs/namespace.c:3875 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x1d0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b value changed: 0x0000000000000000 -> 0x0000000000000001 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 25858 Comm: syz-executor.2 Not tainted 6.8.0-rc7-syzkaller-00130-g135288b73cef #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 ================================================================== EXT4-fs (loop2): couldn't mount as ext2 due to feature incompatibilities loop2: detected capacity change from 0 to 512 EXT4-fs (loop2): couldn't mount as ext2 due to feature incompatibilities loop2: detected capacity change from 0 to 512 EXT4-fs (loop2): couldn't mount as ext2 due to feature incompatibilities loop2: detected capacity change from 0 to 512 EXT4-fs (loop2): couldn't mount as ext2 due to feature incompatibilities loop2: detected capacity change from 0 to 512 EXT4-fs (loop2): couldn't mount as ext2 due to feature incompatibilities loop2: detected capacity change from 0 to 512 EXT4-fs (loop2): couldn't mount as ext2 due to feature incompatibilities loop2: detected capacity change from 0 to 512 EXT4-fs (loop2): couldn't mount as ext2 due to feature incompatibilities loop2: detected capacity change from 0 to 512 EXT4-fs (loop2): couldn't mount as ext2 due to feature incompatibilities loop2: detected capacity change from 0 to 512 EXT4-fs (loop2): couldn't mount as ext2 due to feature incompatibilities loop2: detected capacity change from 0 to 512 EXT4-fs (loop2): couldn't mount as ext2 due to feature incompatibilities loop2: detected capacity change from 0 to 512 EXT4-fs (loop2): couldn't mount as ext2 due to feature incompatibilities loop2: detected capacity change from 0 to 512 EXT4-fs (loop2): couldn't mount as ext2 due to feature incompatibilities loop2: detected capacity change from 0 to 512 EXT4-fs (loop2): couldn't mount as ext2 due to feature incompatibilities loop2: detected capacity change from 0 to 512 EXT4-fs (loop2): couldn't mount as ext2 due to feature incompatibilities loop2: detected capacity change from 0 to 512 EXT4-fs (loop2): couldn't mount as ext2 due to feature incompatibilities loop2: detected capacity change from 0 to 512 EXT4-fs (loop2): couldn't mount as ext2 due to feature incompatibilities loop2: detected capacity change from 0 to 512 EXT4-fs (loop2): couldn't mount as ext2 due to feature incompatibilities loop2: detected capacity change from 0 to 512 EXT4-fs (loop2): couldn't mount as ext2 due to feature incompatibilities loop2: detected capacity change from 0 to 512 EXT4-fs (loop2): couldn't mount as ext2 due to feature incompatibilities