loop0: detected capacity change from 0 to 512 EXT4-fs (loop0): unsupported inode size: 264 EXT4-fs (loop0): blocksize: 1024 ================================================================== BUG: KCSAN: data-race in __filemap_add_folio / filemap_write_and_wait_range read-write to 0xffff888100636970 of 8 bytes by task 7534 on cpu 1: __filemap_add_folio+0x439/0x710 mm/filemap.c:918 filemap_add_folio+0x9c/0x1b0 mm/filemap.c:970 page_cache_ra_unbounded+0x148/0x2e0 mm/readahead.c:252 do_page_cache_ra mm/readahead.c:303 [inline] force_page_cache_ra mm/readahead.c:332 [inline] page_cache_sync_ra+0x252/0x670 mm/readahead.c:530 page_cache_sync_readahead include/linux/pagemap.h:1296 [inline] filemap_get_pages+0x252/0xfb0 mm/filemap.c:2529 filemap_read+0x21c/0x690 mm/filemap.c:2625 blkdev_read_iter+0x217/0x2c0 block/fops.c:764 new_sync_read fs/read_write.c:395 [inline] vfs_read+0x5e9/0x6e0 fs/read_write.c:476 ksys_read+0xeb/0x1b0 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 x64_sys_call+0x27d3/0x2d60 arch/x86/include/generated/asm/syscalls_64.h:1 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 0xffff888100636970 of 8 bytes by task 18739 on cpu 0: mapping_needs_writeback mm/filemap.c:635 [inline] filemap_write_and_wait_range+0x58/0x1f0 mm/filemap.c:684 filemap_write_and_wait include/linux/pagemap.h:66 [inline] sync_blockdev+0x35/0x50 block/bdev.c:218 kill_block_super+0x3c/0x70 fs/super.c:1698 ext4_kill_sb+0x65/0x80 fs/ext4/super.c:7289 deactivate_locked_super+0x7d/0x1c0 fs/super.c:473 get_tree_bdev+0x274/0x2e0 fs/super.c:1637 ext4_get_tree+0x1c/0x30 fs/ext4/super.c:5696 vfs_get_tree+0x56/0x1d0 fs/super.c:1800 do_new_mount+0x227/0x690 fs/namespace.c:3472 path_mount+0x49b/0xb30 fs/namespace.c:3799 do_mount fs/namespace.c:3812 [inline] __do_sys_mount fs/namespace.c:4020 [inline] __se_sys_mount+0x27c/0x2d0 fs/namespace.c:3997 __x64_sys_mount+0x67/0x80 fs/namespace.c:3997 x64_sys_call+0x203e/0x2d60 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 value changed: 0x0000000000000005 -> 0x0000000000000006 Reported by Kernel Concurrency Sanitizer on: CPU: 0 UID: 0 PID: 18739 Comm: syz.0.3453 Not tainted 6.11.0-rc4-syzkaller-00033-g872cf28b8df9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 ==================================================================