loop0: detected capacity change from 0 to 256 ================================================================== BUG: KCSAN: data-race in __filemap_add_folio / filemap_write_and_wait_range read-write to 0xffff888100630570 of 8 bytes by task 3290 on cpu 1: __filemap_add_folio+0x432/0x710 mm/filemap.c:928 filemap_add_folio+0x9f/0x1b0 mm/filemap.c:980 page_cache_ra_unbounded+0x1c1/0x350 mm/readahead.c:275 do_page_cache_ra mm/readahead.c:327 [inline] force_page_cache_ra mm/readahead.c:356 [inline] page_cache_sync_ra+0x252/0x680 mm/readahead.c:575 filemap_get_pages+0x2ba/0x11b0 mm/filemap.c:2590 filemap_read+0x231/0x8d0 mm/filemap.c:2701 blkdev_read_iter+0x227/0x2d0 block/fops.c:796 new_sync_read fs/read_write.c:489 [inline] vfs_read+0x5e6/0x710 fs/read_write.c:570 ksys_read+0xeb/0x1b0 fs/read_write.c:713 __do_sys_read fs/read_write.c:722 [inline] __se_sys_read fs/read_write.c:720 [inline] __x64_sys_read+0x42/0x50 fs/read_write.c:720 x64_sys_call+0x2a3b/0x2e10 arch/x86/include/generated/asm/syscalls_64.h:1 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xc9/0x1c0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f read to 0xffff888100630570 of 8 bytes by task 3613 on cpu 0: mapping_needs_writeback mm/filemap.c:643 [inline] filemap_write_and_wait_range+0x5c/0x370 mm/filemap.c:692 filemap_write_and_wait include/linux/pagemap.h:68 [inline] sync_blockdev block/bdev.c:222 [inline] set_blocksize+0x1d3/0x270 block/bdev.c:172 sb_set_blocksize+0x7e/0x100 block/bdev.c:186 fat_fill_super+0x998/0x1c70 fs/fat/inode.c:1629 vfat_fill_super+0x24/0x30 fs/fat/namei_vfat.c:1197 get_tree_bdev_flags+0x2b4/0x330 fs/super.c:1636 get_tree_bdev+0x1f/0x30 fs/super.c:1659 vfat_get_tree+0x1c/0x30 fs/fat/namei_vfat.c:1202 vfs_get_tree+0x56/0x1e0 fs/super.c:1759 do_new_mount+0x246/0x6b0 fs/namespace.c:3878 path_mount+0x49b/0xb30 fs/namespace.c:4205 do_mount fs/namespace.c:4218 [inline] __do_sys_mount fs/namespace.c:4429 [inline] __se_sys_mount+0x28f/0x2e0 fs/namespace.c:4406 __x64_sys_mount+0x67/0x80 fs/namespace.c:4406 x64_sys_call+0xd11/0x2e10 arch/x86/include/generated/asm/syscalls_64.h:166 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xc9/0x1c0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f value changed: 0x0000000000000005 -> 0x0000000000000006 Reported by Kernel Concurrency Sanitizer on: CPU: 0 UID: 0 PID: 3613 Comm: syz.0.60 Not tainted 6.14.0-syzkaller-01103-g2df0c02dab82 #0 PREEMPT(voluntary) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 ================================================================== netlink: 4 bytes leftover after parsing attributes in process `syz.0.60'. bridge_slave_1: left allmulticast mode bridge_slave_1: left promiscuous mode bridge0: port 2(bridge_slave_1) entered disabled state bridge_slave_0: left allmulticast mode bridge_slave_0: left promiscuous mode bridge0: port 1(bridge_slave_0) entered disabled state