================================================================== BUG: KCSAN: data-race in blk_mq_get_request / blk_mq_get_request write to 0xffff888129b94d48 of 8 bytes by task 248 on cpu 1: blk_mq_get_request+0x91a/0xba0 block/blk-mq.c:396 blk_mq_make_request+0x2d7/0xf60 block/blk-mq.c:2001 generic_make_request block/blk-core.c:1075 [inline] generic_make_request+0x196/0x700 block/blk-core.c:1017 submit_bio+0x8f/0x3a0 block/blk-core.c:1200 ext4_io_submit+0xdf/0x110 fs/ext4/page-io.c:382 io_submit_add_bh fs/ext4/page-io.c:423 [inline] ext4_bio_write_page+0x4ba/0xba5 fs/ext4/page-io.c:550 mpage_submit_page+0xd5/0x190 fs/ext4/inode.c:2073 mpage_process_page_bufs+0x3df/0x400 fs/ext4/inode.c:2187 mpage_prepare_extent_to_map+0x43b/0x6e0 fs/ext4/inode.c:2595 ext4_writepages+0x5a1/0x1e10 fs/ext4/inode.c:2723 do_writepages+0x6b/0x170 mm/page-writeback.c:2344 __writeback_single_inode+0xaa/0x910 fs/fs-writeback.c:1452 writeback_sb_inodes+0x4c8/0xa10 fs/fs-writeback.c:1716 wb_writeback+0x1f9/0x6a0 fs/fs-writeback.c:1892 wb_do_writeback fs/fs-writeback.c:2037 [inline] wb_workfn+0x215/0x970 fs/fs-writeback.c:2078 process_one_work+0x424/0x930 kernel/workqueue.c:2268 worker_thread+0x9a/0x7e0 kernel/workqueue.c:2414 kthread+0x203/0x230 kernel/kthread.c:268 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:352 read to 0xffff888129b94d48 of 8 bytes by task 9095 on cpu 0: blk_mq_get_request+0x907/0xba0 block/blk-mq.c:396 blk_mq_make_request+0x2d7/0xf60 block/blk-mq.c:2001 generic_make_request block/blk-core.c:1075 [inline] generic_make_request+0x196/0x700 block/blk-core.c:1017 submit_bio+0x8f/0x3a0 block/blk-core.c:1200 submit_bh_wbc+0x40d/0x460 fs/buffer.c:3063 __block_write_full_page+0x4f5/0x8e0 fs/buffer.c:1801 block_write_full_page+0x1ba/0x1d0 fs/buffer.c:2987 blkdev_writepage+0x2b/0x40 fs/block_dev.c:610 __writepage+0x3d/0xb0 mm/page-writeback.c:2303 write_cache_pages+0x400/0xa10 mm/page-writeback.c:2238 generic_writepages mm/page-writeback.c:2329 [inline] generic_writepages+0x79/0xc0 mm/page-writeback.c:2318 blkdev_writepages+0x23/0x40 fs/block_dev.c:2074 do_writepages+0x6b/0x170 mm/page-writeback.c:2344 __filemap_fdatawrite_range+0x1bb/0x220 mm/filemap.c:421 __filemap_fdatawrite mm/filemap.c:429 [inline] filemap_flush+0x2a/0x40 mm/filemap.c:456 __sync_blockdev fs/block_dev.c:491 [inline] __sync_blockdev+0x84/0x90 fs/block_dev.c:486 __sync_filesystem fs/sync.c:40 [inline] sync_filesystem+0x10b/0x1a0 fs/sync.c:64 ovl_sync_fs+0x89/0xa0 fs/overlayfs/super.c:277 __sync_filesystem fs/sync.c:39 [inline] sync_filesystem fs/sync.c:67 [inline] sync_filesystem+0x15d/0x1a0 fs/sync.c:48 generic_shutdown_super+0x68/0x270 fs/super.c:448 kill_anon_super+0x28/0x50 fs/super.c:1108 deactivate_locked_super+0x5d/0xb0 fs/super.c:335 deactivate_super fs/super.c:366 [inline] deactivate_super+0xca/0xe0 fs/super.c:362 cleanup_mnt+0x27a/0x330 fs/namespace.c:1102 __cleanup_mnt+0x1c/0x30 fs/namespace.c:1109 task_work_run+0xba/0x120 kernel/task_work.c:123 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_usermode_loop+0x2ae/0x2c0 arch/x86/entry/common.c:165 prepare_exit_to_usermode arch/x86/entry/common.c:196 [inline] syscall_return_slowpath arch/x86/entry/common.c:279 [inline] do_syscall_64+0x38b/0x3b0 arch/x86/entry/common.c:305 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 9095 Comm: syz-executor.2 Not tainted 5.7.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================