================================================================== BUG: KCSAN: data-race in blk_mq_rq_ctx_init / blk_mq_rq_ctx_init write to 0xffff88810257c150 of 8 bytes by task 3617 on cpu 0: blk_mq_rq_ctx_init+0x3dc/0x4e0 block/blk-mq.c:351 __blk_mq_alloc_request+0x270/0x290 block/blk-mq.c:406 blk_mq_submit_bio+0x27f/0xec0 block/blk-mq.c:2206 __submit_bio+0x41a/0x480 block/blk-core.c:929 __submit_bio_noacct_mq block/blk-core.c:1009 [inline] submit_bio_noacct+0x4c5/0x530 block/blk-core.c:1039 submit_bio+0x10c/0x190 iomap_dio_submit_bio fs/iomap/direct-io.c:74 [inline] iomap_dio_bio_iter+0x990/0xbc0 fs/iomap/direct-io.c:342 __iomap_dio_rw+0x8d8/0x1010 fs/iomap/direct-io.c:569 iomap_dio_rw+0x30/0x70 fs/iomap/direct-io.c:649 ext4_dio_write_iter fs/ext4/file.c:568 [inline] ext4_file_write_iter+0xaa9/0x11f0 fs/ext4/file.c:678 call_write_iter include/linux/fs.h:2163 [inline] aio_write+0x2b4/0x390 fs/aio.c:1578 io_submit_one+0x86f/0x13b0 fs/aio.c:1880 __do_sys_io_submit fs/aio.c:1939 [inline] __se_sys_io_submit+0x105/0x270 fs/aio.c:1909 __x64_sys_io_submit+0x3f/0x50 fs/aio.c:1909 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae read to 0xffff88810257c150 of 8 bytes by task 344 on cpu 1: blk_mq_rq_ctx_init+0x3ca/0x4e0 block/blk-mq.c:351 __blk_mq_alloc_request+0x270/0x290 block/blk-mq.c:406 blk_mq_submit_bio+0x27f/0xec0 block/blk-mq.c:2206 __submit_bio+0x41a/0x480 block/blk-core.c:929 __submit_bio_noacct_mq block/blk-core.c:1009 [inline] submit_bio_noacct+0x46d/0x530 block/blk-core.c:1039 submit_bio+0x10c/0x190 submit_bh_wbc+0x2f3/0x330 fs/buffer.c:3054 submit_bh fs/buffer.c:3060 [inline] write_dirty_buffer+0xde/0xf0 fs/buffer.c:3128 flush_descriptor fs/jbd2/revoke.c:657 [inline] jbd2_journal_write_revoke_records+0x754/0x770 fs/jbd2/revoke.c:562 jbd2_journal_commit_transaction+0x92f/0x3430 fs/jbd2/commit.c:596 kjournald2+0x268/0x490 fs/jbd2/journal.c:213 kthread+0x262/0x280 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 value changed: 0x00000000000249c5 -> 0x00000000000249c6 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 344 Comm: jbd2/sda1-8 Tainted: G W 5.15.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================