================================================================== BUG: KCSAN: data-race in bio_chain / bio_endio read to 0xffff888124b70614 of 2 bytes by interrupt on cpu 1: bio_remaining_done block/bio.c:1757 [inline] bio_endio+0x3e/0x4f0 block/bio.c:1787 req_bio_endio block/blk-core.c:242 [inline] blk_update_request+0x427/0x7b0 block/blk-core.c:1462 scsi_end_request+0x6b/0x3e0 drivers/scsi/scsi_lib.c:579 scsi_io_completion+0x11d/0xc80 drivers/scsi/scsi_lib.c:963 scsi_finish_command+0x280/0x380 drivers/scsi/scsi.c:228 scsi_softirq_done+0x259/0x280 drivers/scsi/scsi_lib.c:1477 blk_done_softirq+0x1eb/0x250 block/blk-softirq.c:37 __do_softirq+0x115/0x33f kernel/softirq.c:292 invoke_softirq kernel/softirq.c:373 [inline] irq_exit+0xbb/0xe0 kernel/softirq.c:413 exiting_irq arch/x86/include/asm/apic.h:536 [inline] do_IRQ+0xa6/0x180 arch/x86/kernel/irq.c:263 ret_from_intr+0x0/0x19 __tsan_read8+0x18/0x1f0 kernel/kcsan/core.c:530 legitimize_path.isra.0+0x6e/0x150 fs/namei.c:621 unlazy_walk+0xbb/0x180 fs/namei.c:681 may_lookup fs/namei.c:1691 [inline] link_path_walk.part.0+0x5e8/0xa90 fs/namei.c:2074 link_path_walk fs/namei.c:2062 [inline] path_openat+0x14f/0x36e0 fs/namei.c:3524 do_filp_open+0x11e/0x1b0 fs/namei.c:3555 do_sys_open+0x3b3/0x4f0 fs/open.c:1097 __do_sys_open fs/open.c:1115 [inline] __se_sys_open fs/open.c:1110 [inline] __x64_sys_open+0x55/0x70 fs/open.c:1110 do_syscall_64+0xcc/0x370 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 write to 0xffff888124b70614 of 2 bytes by task 15186 on cpu 0: bio_set_flag include/linux/bio.h:239 [inline] bio_inc_remaining include/linux/bio.h:689 [inline] bio_chain+0x86/0xb0 block/bio.c:333 __blk_queue_split+0x745/0xb40 block/blk-merge.c:330 blk_mq_make_request+0x104/0xf60 block/blk-mq.c:1959 generic_make_request block/blk-core.c:1064 [inline] generic_make_request+0x196/0x740 block/blk-core.c:1006 submit_bio+0x96/0x3c0 block/blk-core.c:1190 dio_bio_submit fs/direct-io.c:481 [inline] submit_page_section fs/direct-io.c:895 [inline] submit_page_section fs/direct-io.c:846 [inline] do_direct_IO fs/direct-io.c:1088 [inline] do_blockdev_direct_IO+0x63b2/0x78c0 fs/direct-io.c:1326 __blockdev_direct_IO+0x86/0xa0 fs/direct-io.c:1412 ext4_direct_IO_write fs/ext4/inode.c:3742 [inline] ext4_direct_IO+0x6f5/0xf70 fs/ext4/inode.c:3871 generic_file_direct_write+0x14d/0x2e0 mm/filemap.c:3208 __generic_file_write_iter+0x17e/0x380 mm/filemap.c:3391 ext4_file_write_iter+0x1bd/0xa00 fs/ext4/file.c:268 call_write_iter include/linux/fs.h:1895 [inline] new_sync_write+0x388/0x4a0 fs/read_write.c:483 __vfs_write+0xb1/0xc0 fs/read_write.c:496 vfs_write fs/read_write.c:558 [inline] vfs_write+0x18a/0x390 fs/read_write.c:542 ksys_write+0xd5/0x1b0 fs/read_write.c:611 __do_sys_write fs/read_write.c:623 [inline] __se_sys_write fs/read_write.c:620 [inline] __x64_sys_write+0x4c/0x60 fs/read_write.c:620 do_syscall_64+0xcc/0x370 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 15186 Comm: syz-executor.5 Not tainted 5.4.0-rc6+ #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================