EXT4-fs (loop5): mount failed ================================================================== BUG: KCSAN: data-race in lru_add_drain_all / lru_cache_add write to 0xffff888237d26468 of 1 bytes by task 5705 on cpu 1: pagevec_add include/linux/pagevec.h:74 [inline] lru_cache_add+0x74/0x130 mm/swap.c:461 add_to_page_cache_lru+0x150/0x1b0 mm/filemap.c:956 page_cache_ra_unbounded+0x272/0x400 mm/readahead.c:222 do_page_cache_ra mm/readahead.c:267 [inline] force_page_cache_ra+0x236/0x270 mm/readahead.c:298 page_cache_sync_ra+0xb5/0xd0 mm/readahead.c:572 page_cache_sync_readahead include/linux/pagemap.h:840 [inline] filemap_get_pages mm/filemap.c:2375 [inline] filemap_read+0x380/0x1210 mm/filemap.c:2458 generic_file_read_iter+0x84/0x3e0 mm/filemap.c:2609 blkdev_read_iter+0xb3/0xc0 fs/block_dev.c:1727 call_read_iter include/linux/fs.h:1971 [inline] new_sync_read fs/read_write.c:415 [inline] vfs_read+0x565/0x5d0 fs/read_write.c:496 ksys_read+0xce/0x180 fs/read_write.c:634 __do_sys_read fs/read_write.c:644 [inline] __se_sys_read fs/read_write.c:642 [inline] __x64_sys_read+0x3e/0x50 fs/read_write.c:642 do_syscall_64+0x34/0x50 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xae read to 0xffff888237d26468 of 1 bytes by task 5683 on cpu 0: pagevec_count include/linux/pagevec.h:61 [inline] lru_add_drain_all+0x108/0x3c0 mm/swap.c:813 invalidate_bdev+0x50/0x70 fs/block_dev.c:96 __loop_clr_fd+0x2e2/0x650 drivers/block/loop.c:1241 loop_clr_fd drivers/block/loop.c:1336 [inline] lo_ioctl+0x9eb/0x11f0 drivers/block/loop.c:1694 blkdev_ioctl+0x1d0/0x3c0 block/ioctl.c:583 block_ioctl+0x6d/0x80 fs/block_dev.c:1671 vfs_ioctl fs/ioctl.c:48 [inline] __do_sys_ioctl fs/ioctl.c:753 [inline] __se_sys_ioctl+0xcb/0x140 fs/ioctl.c:739 __x64_sys_ioctl+0x3f/0x50 fs/ioctl.c:739 do_syscall_64+0x34/0x50 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xae Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 5683 Comm: syz-executor.5 Not tainted 5.12.0-rc8-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================