================================================================== BUG: KCSAN: data-race in __lru_cache_add / lru_add_drain_all write to 0xffff88812c1299e0 of 1 bytes by task 28248 on cpu 1: pagevec_add include/linux/pagevec.h:81 [inline] __lru_cache_add+0xbf/0x1d0 mm/swap.c:410 lru_cache_add_anon+0x9e/0x130 mm/swap.c:423 shmem_getpage_gfp+0x470/0x1390 mm/shmem.c:1885 shmem_getpage mm/shmem.c:154 [inline] shmem_file_read_iter+0x224/0x720 mm/shmem.c:2564 call_read_iter include/linux/fs.h:1896 [inline] do_iter_readv_writev+0x54b/0x5b0 fs/read_write.c:691 do_iter_read+0x1fc/0x3d0 fs/read_write.c:933 vfs_iter_read+0x5c/0x80 fs/read_write.c:947 lo_read_simple drivers/block/loop.c:351 [inline] do_req_filebacked drivers/block/loop.c:625 [inline] loop_handle_cmd drivers/block/loop.c:1952 [inline] loop_queue_work+0x92c/0x1623 drivers/block/loop.c:1966 kthread_worker_fn+0x1c3/0x3a0 kernel/kthread.c:671 loop_kthread_worker_fn+0x50/0x70 drivers/block/loop.c:901 kthread+0x1d4/0x200 drivers/block/aoe/aoecmd.c:1253 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:352 read to 0xffff88812c1299e0 of 1 bytes by task 28243 on cpu 0: lru_add_drain_all+0x17e/0x3d0 mm/swap.c:746 invalidate_bdev+0x6e/0x90 fs/block_dev.c:97 btrfs_close_bdev.part.0+0x93/0xa0 fs/btrfs/volumes.c:1058 btrfs_close_bdev fs/btrfs/volumes.c:1053 [inline] btrfs_close_one_device fs/btrfs/volumes.c:1082 [inline] close_fs_devices.part.0+0x161/0x510 fs/btrfs/volumes.c:1111 close_fs_devices fs/btrfs/volumes.c:1143 [inline] btrfs_close_devices+0x92/0x170 fs/btrfs/volumes.c:1129 btrfs_mount_root+0x793/0x9c0 fs/btrfs/super.c:1574 legacy_get_tree+0x7e/0xf0 fs/fs_context.c:647 vfs_get_tree+0x56/0x1a0 fs/super.c:1545 fc_mount+0x20/0x80 fs/namespace.c:962 vfs_kern_mount.part.0+0xe6/0xf0 fs/namespace.c:992 vfs_kern_mount+0x49/0x70 fs/namespace.c:979 btrfs_mount+0x250/0xf37 fs/btrfs/super.c:1621 legacy_get_tree+0x7e/0xf0 fs/fs_context.c:647 vfs_get_tree+0x56/0x1a0 fs/super.c:1545 do_new_mount fs/namespace.c:2822 [inline] do_mount+0x1004/0x14f0 fs/namespace.c:3142 ksys_mount+0xe8/0x160 fs/namespace.c:3351 __do_sys_mount fs/namespace.c:3365 [inline] __se_sys_mount fs/namespace.c:3362 [inline] __x64_sys_mount+0x70/0x90 fs/namespace.c:3362 do_syscall_64+0xcc/0x3a0 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 28243 Comm: syz-executor.3 Not tainted 5.5.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================