blk_update_request: I/O error, dev loop7, sector 384 op 0x1:(WRITE) flags 0x800 phys_seg 1 prio class 0 buffer_io_error: 36 callbacks suppressed Buffer I/O error on dev loop7, logical block 384, lost async page write ================================================================== BUG: KCSAN: data-race in blk_stat_add / blk_stat_timer_fn write to 0xffffe8ffffc29d50 of 8 bytes by interrupt on cpu 1: blk_rq_stat_init block/blk-stat.c:24 [inline] blk_stat_timer_fn+0x349/0x410 block/blk-stat.c:95 call_timer_fn+0x2e/0x240 kernel/time/timer.c:1417 expire_timers+0x116/0x260 kernel/time/timer.c:1462 __run_timers+0x338/0x3d0 kernel/time/timer.c:1731 run_timer_softirq+0x19/0x30 kernel/time/timer.c:1744 __do_softirq+0x13c/0x2c3 kernel/softirq.c:343 asm_call_irq_on_stack+0xf/0x20 __run_on_irqstack arch/x86/include/asm/irq_stack.h:26 [inline] run_on_irqstack_cond arch/x86/include/asm/irq_stack.h:77 [inline] do_softirq_own_stack+0x32/0x40 arch/x86/kernel/irq_64.c:77 invoke_softirq kernel/softirq.c:226 [inline] __irq_exit_rcu+0xb4/0xc0 kernel/softirq.c:420 sysvec_apic_timer_interrupt+0x74/0x90 arch/x86/kernel/apic/apic.c:1096 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:628 native_restore_fl arch/x86/include/asm/irqflags.h:41 [inline] arch_local_irq_restore arch/x86/include/asm/irqflags.h:84 [inline] console_trylock_spinning kernel/printk/printk.c:1787 [inline] vprintk_emit+0x210/0x360 kernel/printk/printk.c:2073 vprintk_default+0x22/0x30 kernel/printk/printk.c:2091 vprintk_func+0x11b/0x120 kernel/printk/printk_safe.c:393 printk+0x62/0x82 kernel/printk/printk.c:2122 af_alg_sendmsg+0xc91/0xcb0 crypto/af_alg.c:871 skcipher_sendmsg+0x71/0x80 crypto/algif_skcipher.c:47 sock_sendmsg_nosec net/socket.c:652 [inline] sock_sendmsg net/socket.c:672 [inline] ____sys_sendmsg+0x352/0x4c0 net/socket.c:2345 ___sys_sendmsg net/socket.c:2399 [inline] __sys_sendmsg+0x1ed/0x270 net/socket.c:2432 __do_sys_sendmsg net/socket.c:2441 [inline] __se_sys_sendmsg net/socket.c:2439 [inline] __x64_sys_sendmsg+0x42/0x50 net/socket.c:2439 do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 read to 0xffffe8ffffc29d50 of 8 bytes by task 2048 on cpu 0: blk_rq_stat_add block/blk-stat.c:46 [inline] blk_stat_add+0x13d/0x230 block/blk-stat.c:74 __blk_mq_end_request+0x142/0x230 block/blk-mq.c:546 blk_mq_end_request block/blk-mq.c:566 [inline] blk_mq_dispatch_rq_list+0x672/0xe50 block/blk-mq.c:1415 __blk_mq_do_dispatch_sched block/blk-mq-sched.c:186 [inline] blk_mq_do_dispatch_sched+0x370/0x610 block/blk-mq-sched.c:199 __blk_mq_sched_dispatch_requests+0x1fd/0x2a0 block/blk-mq-sched.c:310 blk_mq_sched_dispatch_requests+0x8f/0xf0 block/blk-mq-sched.c:341 __blk_mq_run_hw_queue block/blk-mq.c:1515 [inline] blk_mq_run_work_fn+0xb3/0x130 block/blk-mq.c:1793 process_one_work+0x3e1/0x950 kernel/workqueue.c:2275 worker_thread+0x635/0xb90 kernel/workqueue.c:2421 kthread+0x1fd/0x220 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:296 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 2048 Comm: kworker/0:1H Not tainted 5.11.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: kblockd blk_mq_run_work_fn ==================================================================