BTRFS: device fsid fff6f2a2-2997-48ae-b81e-1b00b10efd9a devid 0 transid 0 /dev/loop1 scanned by syz-executor.1 (8375) ================================================================== BUG: KCSAN: data-race in __lru_cache_add / lru_add_drain_all write to 0xffff88812c029b60 of 1 bytes by task 8384 on cpu 0: pagevec_add include/linux/pagevec.h:81 [inline] __lru_cache_add+0xb8/0x1c0 mm/swap.c:410 lru_cache_add mm/swap.c:447 [inline] lru_cache_add_active_or_unevictable+0xb0/0x1e0 mm/swap.c:477 wp_page_copy+0x79e/0xf20 mm/memory.c:2552 do_wp_page+0x185/0xcc0 mm/memory.c:2812 handle_pte_fault mm/memory.c:4049 [inline] __handle_mm_fault+0x1c5e/0x2cf0 mm/memory.c:4163 handle_mm_fault+0x21c/0x540 mm/memory.c:4200 do_user_addr_fault arch/x86/mm/fault.c:1442 [inline] do_page_fault+0x4a4/0xa52 arch/x86/mm/fault.c:1517 page_fault+0x34/0x40 arch/x86/entry/entry_64.S:1203 read to 0xffff88812c029b60 of 1 bytes by task 8375 on cpu 1: lru_add_drain_all+0x169/0x3a0 mm/swap.c:746 invalidate_bdev+0x65/0x90 fs/block_dev.c:97 open_ctree+0x14ee/0x4096 fs/btrfs/disk-io.c:2829 btrfs_fill_super fs/btrfs/super.c:1232 [inline] btrfs_mount_root.cold+0x13/0x19d fs/btrfs/super.c:1582 legacy_get_tree+0x78/0xf0 fs/fs_context.c:622 vfs_get_tree+0x52/0x190 fs/super.c:1547 fc_mount+0x1d/0x80 fs/namespace.c:962 vfs_kern_mount.part.0+0xe0/0xf0 fs/namespace.c:992 vfs_kern_mount+0x46/0x60 fs/namespace.c:979 btrfs_mount+0x250/0xf37 fs/btrfs/super.c:1642 legacy_get_tree+0x78/0xf0 fs/fs_context.c:622 vfs_get_tree+0x52/0x190 fs/super.c:1547 do_new_mount fs/namespace.c:2822 [inline] do_mount+0xff0/0x14d0 fs/namespace.c:3107 __do_sys_mount fs/namespace.c:3316 [inline] __se_sys_mount fs/namespace.c:3293 [inline] __x64_sys_mount+0x12b/0x1a0 fs/namespace.c:3293 do_syscall_64+0xc7/0x390 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 8375 Comm: syz-executor.1 Not tainted 5.6.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================