==================================================================
BUG: KCSAN: data-race in blk_mq_unfreeze_queue / blk_queue_enter

write to 0xffff8881018fbc8c of 4 bytes by task 29470 on cpu 1:
 blk_mq_unfreeze_queue+0x3c/0xc0 block/blk-mq.c:194
 __loop_update_dio+0x2b8/0x320 drivers/block/loop.c:229
 loop_set_dio drivers/block/loop.c:1592 [inline]
 lo_simple_ioctl drivers/block/loop.c:1651 [inline]
 lo_ioctl+0x5a4/0x11f0 drivers/block/loop.c:1719
 blkdev_ioctl+0x1d0/0x3c0 block/ioctl.c:585
 block_ioctl+0x6d/0x80 fs/block_dev.c:1662
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:1069 [inline]
 __se_sys_ioctl+0xcb/0x140 fs/ioctl.c:1055
 __x64_sys_ioctl+0x3f/0x50 fs/ioctl.c:1055
 do_syscall_64+0x4a/0x90 arch/x86/entry/common.c:47
 entry_SYSCALL_64_after_hwframe+0x44/0xae

read to 0xffff8881018fbc8c of 4 bytes by task 29472 on cpu 0:
 blk_queue_enter+0x2b8/0x560 block/blk-core.c:469
 bio_queue_enter block/blk-core.c:484 [inline]
 __submit_bio_noacct_mq block/blk-core.c:1005 [inline]
 submit_bio_noacct+0x6d4/0x7e0 block/blk-core.c:1047
 submit_bio+0x16d/0x2b0 block/blk-core.c:1090
 mpage_bio_submit fs/mpage.c:66 [inline]
 mpage_readahead+0x23e/0x280 fs/mpage.c:393
 blkdev_readahead+0x18/0x20 fs/block_dev.c:649
 read_pages+0x9f/0x530 mm/readahead.c:130
 page_cache_ra_unbounded+0x3c8/0x410 mm/readahead.c:238
 do_page_cache_ra mm/readahead.c:267 [inline]
 force_page_cache_ra+0x246/0x280 mm/readahead.c:299
 page_cache_sync_ra+0xcc/0xe0 mm/readahead.c:573
 page_cache_sync_readahead include/linux/pagemap.h:879 [inline]
 filemap_get_pages mm/filemap.c:2467 [inline]
 filemap_read+0x388/0x1230 mm/filemap.c:2550
 generic_file_read_iter+0x75/0x2c0 mm/filemap.c:2701
 blkdev_read_iter+0xb9/0xf0 fs/block_dev.c:1730
 call_read_iter include/linux/fs.h:2108 [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+0x4a/0x90 arch/x86/entry/common.c:47
 entry_SYSCALL_64_after_hwframe+0x44/0xae

value changed: 0x00000001 -> 0x00000000

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 29472 Comm: systemd-udevd Not tainted 5.13.0-rc5-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
==================================================================