================================================================== BUG: KCSAN: data-race in __filemap_add_folio / filemap_write_and_wait_range read-write to 0xffff888100481838 of 8 bytes by task 5728 on cpu 0: __filemap_add_folio+0x5b9/0x7d0 mm/filemap.c:931 filemap_add_folio+0x1d9/0x360 mm/filemap.c:978 __filemap_get_folio+0x31e/0x6b0 mm/filemap.c:2022 grow_dev_folio fs/buffer.c:1050 [inline] grow_buffers fs/buffer.c:1116 [inline] __getblk_slow fs/buffer.c:1134 [inline] bdev_getblk+0x14d/0x3b0 fs/buffer.c:1461 sb_getblk_gfp include/linux/buffer_head.h:392 [inline] __ext4_sb_bread_gfp+0x44/0x170 fs/ext4/super.c:236 ext4_sb_bread_unmovable fs/ext4/super.c:265 [inline] ext4_load_super fs/ext4/super.c:5071 [inline] __ext4_fill_super fs/ext4/super.c:5275 [inline] ext4_fill_super+0x496/0x3810 fs/ext4/super.c:5736 get_tree_bdev_flags+0x291/0x300 fs/super.c:1691 get_tree_bdev+0x1f/0x30 fs/super.c:1714 ext4_get_tree+0x1c/0x30 fs/ext4/super.c:5768 vfs_get_tree+0x54/0x1d0 fs/super.c:1751 fc_mount fs/namespace.c:1208 [inline] do_new_mount_fc fs/namespace.c:3651 [inline] do_new_mount+0x24d/0x660 fs/namespace.c:3727 path_mount+0x4a5/0xb70 fs/namespace.c:4037 do_mount fs/namespace.c:4050 [inline] __do_sys_mount fs/namespace.c:4238 [inline] __se_sys_mount+0x28c/0x2e0 fs/namespace.c:4215 __x64_sys_mount+0x67/0x80 fs/namespace.c:4215 x64_sys_call+0x2b51/0x3000 arch/x86/include/generated/asm/syscalls_64.h:166 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xd2/0x200 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f read to 0xffff888100481838 of 8 bytes by task 2993 on cpu 1: mapping_needs_writeback mm/filemap.c:644 [inline] filemap_write_and_wait_range+0x59/0x340 mm/filemap.c:693 filemap_write_and_wait include/linux/pagemap.h:68 [inline] sync_blockdev block/bdev.c:260 [inline] bdev_release+0xeb/0x3d0 block/bdev.c:1126 blkdev_release+0x15/0x20 block/fops.c:702 __fput+0x29b/0x650 fs/file_table.c:468 fput_close_sync+0x6e/0x120 fs/file_table.c:573 __do_sys_close fs/open.c:1589 [inline] __se_sys_close fs/open.c:1574 [inline] __x64_sys_close+0x56/0xf0 fs/open.c:1574 x64_sys_call+0x273c/0x3000 arch/x86/include/generated/asm/syscalls_64.h:4 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xd2/0x200 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f value changed: 0x0000000000000000 -> 0x0000000000000001 Reported by Kernel Concurrency Sanitizer on: CPU: 1 UID: 0 PID: 2993 Comm: udevd Tainted: G W syzkaller #0 PREEMPT(voluntary) Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/2025 ==================================================================