================================================================== BUG: KCSAN: data-race in dio_bio_end_io / dio_new_bio read-write to 0xffff88814da26058 of 8 bytes by interrupt on cpu 0: dio_bio_end_io+0x53/0xd0 fs/direct-io.c:388 bio_endio+0x35f/0x400 block/bio.c:1617 req_bio_endio block/blk-mq.c:769 [inline] blk_update_request+0x41c/0x950 block/blk-mq.c:914 blk_mq_end_request+0x31/0x1e0 block/blk-mq.c:1035 lo_complete_rq+0xce/0x160 drivers/block/loop.c:370 blk_complete_reqs block/blk-mq.c:1113 [inline] blk_done_softirq+0x73/0xa0 block/blk-mq.c:1118 __do_softirq+0xc1/0x265 kernel/softirq.c:553 run_ksoftirqd+0x17/0x20 kernel/softirq.c:921 smpboot_thread_fn+0x30a/0x4a0 kernel/smpboot.c:164 kthread+0x1d7/0x210 kernel/kthread.c:389 ret_from_fork+0x2e/0x40 arch/x86/kernel/process.c:145 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304 read to 0xffff88814da26058 of 8 bytes by task 27613 on cpu 1: dio_bio_reap fs/direct-io.c:549 [inline] dio_new_bio+0x249/0x410 fs/direct-io.c:668 dio_send_cur_page+0x1f2/0x7a0 fs/direct-io.c:749 submit_page_section+0x1a2/0x5b0 fs/direct-io.c:814 do_direct_IO fs/direct-io.c:1029 [inline] __blockdev_direct_IO+0x13aa/0x1f80 fs/direct-io.c:1248 blockdev_direct_IO include/linux/fs.h:2830 [inline] fat_direct_IO+0x110/0x1d0 fs/fat/inode.c:283 generic_file_read_iter+0x236/0x340 mm/filemap.c:2814 call_read_iter include/linux/fs.h:1865 [inline] copy_splice_read+0x26b/0x4b0 fs/splice.c:367 vfs_splice_read fs/splice.c:995 [inline] splice_direct_to_actor+0x2aa/0x690 fs/splice.c:1072 do_splice_direct+0x10d/0x190 fs/splice.c:1197 do_sendfile+0x3b6/0x9a0 fs/read_write.c:1254 __do_sys_sendfile64 fs/read_write.c:1322 [inline] __se_sys_sendfile64 fs/read_write.c:1308 [inline] __x64_sys_sendfile64+0x110/0x150 fs/read_write.c:1308 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd value changed: 0xffff888132e55240 -> 0xffff8881003adc00 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 27613 Comm: syz-executor.3 Not tainted 6.5.0-rc4-syzkaller-00245-gf6a691685962 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 ==================================================================