print_req_error: I/O error, dev loop0, sector 8388480 print_req_error: I/O error, dev loop0, sector 8388480 print_req_error: I/O error, dev loop0, sector 8388480 print_req_error: I/O error, dev loop0, sector 8388480 ------------[ cut here ]------------ WARNING: CPU: 1 PID: 20403 at net/mac80211/rx.c:4592 ieee80211_rx_napi.cold+0x11/0x80 net/mac80211/rx.c:4592 Kernel panic - not syncing: panic_on_warn set ... CPU: 1 PID: 20403 Comm: syz-executor.1 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1fc/0x2ef lib/dump_stack.c:118 panic+0x26a/0x50e kernel/panic.c:186 __warn.cold+0x20/0x5a kernel/panic.c:541 report_bug+0x262/0x2b0 lib/bug.c:183 fixup_bug arch/x86/kernel/traps.c:178 [inline] fixup_bug arch/x86/kernel/traps.c:173 [inline] do_error_trap+0x1d7/0x310 arch/x86/kernel/traps.c:296 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:1038 RIP: 0010:ieee80211_rx_napi.cold+0x11/0x80 net/mac80211/rx.c:4592 Code: ff e8 c4 15 4e f9 48 c7 c7 c0 c0 67 89 e8 23 47 df ff 0f 0b e9 02 0c 8c ff e8 ac 15 4e f9 48 c7 c7 c0 c0 67 89 e8 0b 47 df ff <0f> 0b e9 64 82 8c ff e8 94 15 4e f9 48 c7 c7 c0 c0 67 89 e8 f3 46 RSP: 0018:ffff8880ba107d00 EFLAGS: 00010282 RAX: 0000000000000024 RBX: ffff888043b53488 RCX: 0000000000000000 RDX: 0000000000000100 RSI: ffffffff814dff01 RDI: ffffed1017420f92 RBP: 0000000000000000 R08: 0000000000000024 R09: 0000000000000000 R10: 0000000000000005 R11: 0000000000000000 R12: ffff888095530b80 R13: ffff888043b51b40 R14: ffff888043b51b40 R15: ffff888095530b80 ieee80211_rx include/net/mac80211.h:4109 [inline] ieee80211_tasklet_handler+0x101/0x160 net/mac80211/main.c:229 tasklet_action_common.constprop.0+0x265/0x360 kernel/softirq.c:522 __do_softirq+0x265/0x980 kernel/softirq.c:292 invoke_softirq kernel/softirq.c:372 [inline] irq_exit+0x215/0x260 kernel/softirq.c:412 exiting_irq arch/x86/include/asm/apic.h:536 [inline] smp_apic_timer_interrupt+0x136/0x550 arch/x86/kernel/apic/apic.c:1098 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:894 RIP: 0010:preempt_schedule_irq+0xa6/0x140 kernel/sched/core.c:3744 Code: 00 00 e8 3d 04 29 f9 e8 58 3f 4f f9 4c 89 e8 48 c1 e8 03 80 3c 18 00 75 69 48 83 3d 9b 18 d9 01 00 74 5b fb 66 0f 1f 44 00 00 01 00 00 00 e8 40 d1 ff ff 48 c7 c0 90 82 f1 89 48 c1 e8 03 80 RSP: 0018:ffff8880447d7630 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff13 RAX: 1ffffffff13e3053 RBX: dffffc0000000000 RCX: 1ffff11012e6ed62 RDX: 0000000000000000 RSI: ffff888097376af0 RDI: ffff888097376ac4 RBP: ffffed1012e6ec48 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff888097376240 R13: ffffffff89f18298 R14: 0000000000000000 R15: 0000000000000000 retint_kernel+0x1b/0x2d RIP: 0010:preempt_count arch/x86/include/asm/preempt.h:23 [inline] RIP: 0010:check_kcov_mode kernel/kcov.c:67 [inline] RIP: 0010:write_comp_data+0xf/0x70 kernel/kcov.c:122 Code: 8b 11 48 83 c2 01 48 39 d0 76 07 48 89 34 d1 48 89 11 c3 0f 1f 84 00 00 00 00 00 49 89 f1 49 89 fa 65 48 8b 34 25 c0 df 01 00 <65> 8b 05 7a 59 9f 7e a9 00 01 1f 00 75 4f 8b 86 60 13 00 00 83 f8 RSP: 0018:ffff8880447d7708 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13 RAX: 0000000000000007 RBX: ffffffff8d255280 RCX: ffffffff8195f9f1 RDX: 0000000000000000 RSI: ffff888097376240 RDI: 0000000000000003 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000003 R11: 0000000000000000 R12: 0000000000000000 R13: 00000000006200ca R14: 0000000000000000 R15: 0000000000000000 policy_node+0xe1/0x140 mm/mempolicy.c:1799 alloc_pages_vma+0xe2/0x780 mm/mempolicy.c:2160 shmem_alloc_page+0x11c/0x1f0 mm/shmem.c:1494 shmem_alloc_and_acct_page+0x15a/0x850 mm/shmem.c:1519 shmem_getpage_gfp+0x4e9/0x37f0 mm/shmem.c:1797 shmem_getpage mm/shmem.c:132 [inline] shmem_write_begin+0xff/0x1e0 mm/shmem.c:2446 generic_perform_write+0x1f8/0x4d0 mm/filemap.c:3170 __generic_file_write_iter+0x24b/0x610 mm/filemap.c:3295 generic_file_write_iter+0x3f8/0x730 mm/filemap.c:3323 call_write_iter include/linux/fs.h:1821 [inline] new_sync_write fs/read_write.c:474 [inline] __vfs_write+0x51b/0x770 fs/read_write.c:487 vfs_write+0x1f3/0x540 fs/read_write.c:549 ksys_write+0x12b/0x2a0 fs/read_write.c:599 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f9822f0fe4f Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 99 fd ff ff 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 cc fd ff ff 48 RSP: 002b:00007f98214cff10 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00007f9822f0fe4f RDX: 0000000002000000 RSI: 00007f981908f000 RDI: 0000000000000004 RBP: 00007f981908f000 R08: 0000000000000000 R09: 000000000000bae7 R10: 0000000002000000 R11: 0000000000000293 R12: 0000000000000000 R13: 00007f98214cffdc R14: 00007f98214cffe0 R15: 000000002000bbc2 Kernel Offset: disabled ================================ WARNING: inconsistent lock state 4.19.211-syzkaller #0 Not tainted -------------------------------- inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-R} usage. syz-executor.1/20403 [HC0[0]:SC1[1]:HE0:SE0] takes: 00000000c7bfaa04 ((fb_notifier_list).rwsem){+++?}, at: __blocking_notifier_call_chain kernel/notifier.c:316 [inline] 00000000c7bfaa04 ((fb_notifier_list).rwsem){+++?}, at: __blocking_notifier_call_chain kernel/notifier.c:304 [inline] 00000000c7bfaa04 ((fb_notifier_list).rwsem){+++?}, at: blocking_notifier_call_chain kernel/notifier.c:328 [inline] 00000000c7bfaa04 ((fb_notifier_list).rwsem){+++?}, at: blocking_notifier_call_chain+0x6f/0xa0 kernel/notifier.c:325 {SOFTIRQ-ON-W} state was registered at: down_write+0x34/0x90 kernel/locking/rwsem.c:70 blocking_notifier_chain_register+0x78/0x350 kernel/notifier.c:226 fb_console_init+0x1c/0x305 drivers/video/fbdev/core/fbcon.c:3432 fbmem_init+0x105/0x126 drivers/video/fbdev/core/fbmem.c:1932 do_one_initcall+0xf1/0x740 init/main.c:884 do_initcall_level init/main.c:952 [inline] do_initcalls init/main.c:960 [inline] do_basic_setup init/main.c:978 [inline] kernel_init_freeable+0x9c5/0xab7 init/main.c:1145 kernel_init+0xd/0x1ba init/main.c:1062 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415 irq event stamp: 195627 hardirqs last enabled at (195626): [] trace_hardirqs_on_thunk+0x1a/0x1c hardirqs last disabled at (195627): [] trace_hardirqs_off_thunk+0x1a/0x1c softirqs last enabled at (195496): [] __do_softirq+0x678/0x980 kernel/softirq.c:318 softirqs last disabled at (195499): [] invoke_softirq kernel/softirq.c:372 [inline] softirqs last disabled at (195499): [] irq_exit+0x215/0x260 kernel/softirq.c:412 other info that might help us debug this: Possible unsafe locking scenario: CPU0 ---- lock((fb_notifier_list).rwsem); lock((fb_notifier_list).rwsem); *** DEADLOCK *** 2 locks held by syz-executor.1/20403: #0: 000000001eb3603e (sb_writers#7){.+.+}, at: file_start_write include/linux/fs.h:2779 [inline] #0: 000000001eb3603e (sb_writers#7){.+.+}, at: vfs_write+0x463/0x540 fs/read_write.c:548 #1: 000000005e4ee127 (&sb->s_type->i_mutex_key#15){+.+.}, at: inode_lock include/linux/fs.h:748 [inline] #1: 000000005e4ee127 (&sb->s_type->i_mutex_key#15){+.+.}, at: generic_file_write_iter+0x99/0x730 mm/filemap.c:3320 stack backtrace: CPU: 1 PID: 20403 Comm: syz-executor.1 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1fc/0x2ef lib/dump_stack.c:118 print_usage_bug.cold+0x42e/0x570 kernel/locking/lockdep.c:2545 valid_state kernel/locking/lockdep.c:2558 [inline] mark_lock_irq kernel/locking/lockdep.c:2752 [inline] mark_lock+0xc70/0x1160 kernel/locking/lockdep.c:3132 mark_irqflags kernel/locking/lockdep.c:3002 [inline] __lock_acquire+0x10ed/0x3ff0 kernel/locking/lockdep.c:3373 lock_acquire+0x170/0x3c0 kernel/locking/lockdep.c:3908 down_read+0x36/0x80 kernel/locking/rwsem.c:24 __blocking_notifier_call_chain kernel/notifier.c:316 [inline] __blocking_notifier_call_chain kernel/notifier.c:304 [inline] blocking_notifier_call_chain kernel/notifier.c:328 [inline] blocking_notifier_call_chain+0x6f/0xa0 kernel/notifier.c:325 fb_blank+0xb5/0x1d0 drivers/video/fbdev/core/fbmem.c:1074 fbcon_blank+0x932/0xec0 drivers/video/fbdev/core/fbcon.c:2221 do_unblank_screen+0x241/0x610 drivers/tty/vt/vt.c:4294 panic+0x313/0x50e kernel/panic.c:239 __warn.cold+0x20/0x5a kernel/panic.c:541 report_bug+0x262/0x2b0 lib/bug.c:183 fixup_bug arch/x86/kernel/traps.c:178 [inline] fixup_bug arch/x86/kernel/traps.c:173 [inline] do_error_trap+0x1d7/0x310 arch/x86/kernel/traps.c:296 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:1038 RIP: 0010:ieee80211_rx_napi.cold+0x11/0x80 net/mac80211/rx.c:4592 Code: ff e8 c4 15 4e f9 48 c7 c7 c0 c0 67 89 e8 23 47 df ff 0f 0b e9 02 0c 8c ff e8 ac 15 4e f9 48 c7 c7 c0 c0 67 89 e8 0b 47 df ff <0f> 0b e9 64 82 8c ff e8 94 15 4e f9 48 c7 c7 c0 c0 67 89 e8 f3 46 RSP: 0018:ffff8880ba107d00 EFLAGS: 00010282 RAX: 0000000000000024 RBX: ffff888043b53488 RCX: 0000000000000000 RDX: 0000000000000100 RSI: ffffffff814dff01 RDI: ffffed1017420f92 RBP: 0000000000000000 R08: 0000000000000024 R09: 0000000000000000 R10: 0000000000000005 R11: 0000000000000000 R12: ffff888095530b80 R13: ffff888043b51b40 R14: ffff888043b51b40 R15: ffff888095530b80 ieee80211_rx include/net/mac80211.h:4109 [inline] ieee80211_tasklet_handler+0x101/0x160 net/mac80211/main.c:229 tasklet_action_common.constprop.0+0x265/0x360 kernel/softirq.c:522 __do_softirq+0x265/0x980 kernel/softirq.c:292 invoke_softirq kernel/softirq.c:372 [inline] irq_exit+0x215/0x260 kernel/softirq.c:412 exiting_irq arch/x86/include/asm/apic.h:536 [inline] smp_apic_timer_interrupt+0x136/0x550 arch/x86/kernel/apic/apic.c:1098 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:894 RIP: 0010:preempt_schedule_irq+0xa6/0x140 kernel/sched/core.c:3744 Code: 00 00 e8 3d 04 29 f9 e8 58 3f 4f f9 4c 89 e8 48 c1 e8 03 80 3c 18 00 75 69 48 83 3d 9b 18 d9 01 00 74 5b fb 66 0f 1f 44 00 00 01 00 00 00 e8 40 d1 ff ff 48 c7 c0 90 82 f1 89 48 c1 e8 03 80 RSP: 0018:ffff8880447d7630 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff13 RAX: 1ffffffff13e3053 RBX: dffffc0000000000 RCX: 1ffff11012e6ed62 RDX: 0000000000000000 RSI: ffff888097376af0 RDI: ffff888097376ac4 RBP: ffffed1012e6ec48 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff888097376240 R13: ffffffff89f18298 R14: 0000000000000000 R15: 0000000000000000 retint_kernel+0x1b/0x2d RIP: 0010:preempt_count arch/x86/include/asm/preempt.h:23 [inline] RIP: 0010:check_kcov_mode kernel/kcov.c:67 [inline] RIP: 0010:write_comp_data+0xf/0x70 kernel/kcov.c:122 Code: 8b 11 48 83 c2 01 48 39 d0 76 07 48 89 34 d1 48 89 11 c3 0f 1f 84 00 00 00 00 00 49 89 f1 49 89 fa 65 48 8b 34 25 c0 df 01 00 <65> 8b 05 7a 59 9f 7e a9 00 01 1f 00 75 4f 8b 86 60 13 00 00 83 f8 RSP: 0018:ffff8880447d7708 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13 RAX: 0000000000000007 RBX: ffffffff8d255280 RCX: ffffffff8195f9f1 RDX: 0000000000000000 RSI: ffff888097376240 RDI: 0000000000000003 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000003 R11: 0000000000000000 R12: 0000000000000000 R13: 00000000006200ca R14: 0000000000000000 R15: 0000000000000000 policy_node+0xe1/0x140 mm/mempolicy.c:1799 alloc_pages_vma+0xe2/0x780 mm/mempolicy.c:2160 shmem_alloc_page+0x11c/0x1f0 mm/shmem.c:1494 shmem_alloc_and_acct_page+0x15a/0x850 mm/shmem.c:1519 shmem_getpage_gfp+0x4e9/0x37f0 mm/shmem.c:1797 shmem_getpage mm/shmem.c:132 [inline] shmem_write_begin+0xff/0x1e0 mm/shmem.c:2446 generic_perform_write+0x1f8/0x4d0 mm/filemap.c:3170 __generic_file_write_iter+0x24b/0x610 mm/filemap.c:3295 generic_file_write_iter+0x3f8/0x730 mm/filemap.c:3323 call_write_iter include/linux/fs.h:1821 [inline] new_sync_write fs/read_write.c:474 [inline] __vfs_write+0x51b/0x770 fs/read_write.c:487 vfs_write+0x1f3/0x540 fs/read_write.c:549 ksys_write+0x12b/0x2a0 fs/read_write.c:599 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f9822f0fe4f Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 99 fd ff ff 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 cc fd ff ff 48 RSP: 002b:00007f98214cff10 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00007f9822f0fe4f RDX: 0000000002000000 RSI: 00007f981908f000 RDI: 0000000000000004 RBP: 00007f981908f000 R08: 0000000000000000 R09: 000000000000bae7 R10: 0000000002000000 R11: 0000000000000293 R12: 0000000000000000 R13: 00007f98214cffdc R14: 00007f98214cffe0 R15: 000000002000bbc2 Rebooting in 86400 seconds.. ---------------- Code disassembly (best guess): 0: 00 00 add %al,(%rax) 2: e8 3d 04 29 f9 callq 0xf9290444 7: e8 58 3f 4f f9 callq 0xf94f3f64 c: 4c 89 e8 mov %r13,%rax f: 48 c1 e8 03 shr $0x3,%rax 13: 80 3c 18 00 cmpb $0x0,(%rax,%rbx,1) 17: 75 69 jne 0x82 19: 48 83 3d 9b 18 d9 01 cmpq $0x0,0x1d9189b(%rip) # 0x1d918bc 20: 00 21: 74 5b je 0x7e 23: fb sti 24: 66 0f 1f 44 00 00 nopw 0x0(%rax,%rax,1) * 2a: bf 01 00 00 00 mov $0x1,%edi <-- trapping instruction 2f: e8 40 d1 ff ff callq 0xffffd174 34: 48 c7 c0 90 82 f1 89 mov $0xffffffff89f18290,%rax 3b: 48 c1 e8 03 shr $0x3,%rax 3f: 80 .byte 0x80