------------[ cut here ]------------ WARNING: CPU: 1 PID: 9800 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: 9800 Comm: syz-executor.2 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 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: ffff88804066b4c8 RCX: 0000000000000000 RDX: 0000000000000100 RSI: ffffffff814dff01 RDI: ffffed1017420f92 RBP: 0000000000000000 R08: 0000000000000024 R09: 0000000000000000 R10: 0000000000000005 R11: 0000000000000000 R12: ffff8880b3698000 R13: ffff888040669b80 R14: ffff888040669b80 R15: ffff8880b3698000 ieee80211_rx include/net/mac80211.h:4109 [inline] ieee80211_tasklet_handler+0x101/0x160 net/mac80211/main.c:229 mac80211_hwsim hwsim9 : renamed from wlan1 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:ffff88803b9b7530 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff13 RAX: 1ffffffff13e3053 RBX: dffffc0000000000 RCX: 1ffff11013b875ba RDX: 0000000000000000 RSI: ffff88809dc3adb0 RDI: ffff88809dc3ad84 RBP: ffffed1013b874a0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff88809dc3a500 R13: ffffffff89f18298 R14: 0000000000000000 R15: 0000000000000000 retint_kernel+0x1b/0x2d RIP: 0010:ext4_get_group_desc+0x1f3/0x4e0 fs/ext4/balloc.c:291 Code: 00 00 00 e8 af 18 8a ff e8 4a fc 78 ff e8 a5 18 8a ff 48 c7 c2 bc 6c d8 81 be 01 00 00 00 48 c7 c7 a0 5f f8 89 e8 0d dd 72 ff <4d> 85 e4 0f 84 4c 02 00 00 e8 7f 18 8a ff 49 8d 7c 24 28 48 b8 00 RSP: 0018:ffff88803b9b7608 EFLAGS: 00000292 ORIG_RAX: ffffffffffffff13 RAX: 0000000000000000 RBX: 0000000000000001 RCX: 1ffff11013b875bb RDX: dffffc0000000000 RSI: 0000000000000003 RDI: 0000000000000286 RBP: ffff8882350c20c0 R08: 0000000000000000 R09: 0000000000000002 R10: 0000000000000000 R11: 0000000000000000 R12: ffff8882399f97e0 R13: 0000000000000000 R14: ffff8882350c2740 R15: 0000000000000000 recently_deleted fs/ext4/ialloc.c:680 [inline] find_inode_bit+0x1a0/0x520 fs/ext4/ialloc.c:724 __ext4_new_inode+0x160c/0x5a20 fs/ext4/ialloc.c:916 ext4_create+0x29e/0x5f0 fs/ext4/namei.c:2517 lookup_open+0x893/0x1a20 fs/namei.c:3235 do_last fs/namei.c:3327 [inline] path_openat+0x1094/0x2df0 fs/namei.c:3537 do_filp_open+0x18c/0x3f0 fs/namei.c:3567 do_sys_open+0x3b3/0x520 fs/open.c:1085 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f08c654d0c9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f08c4abf168 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f08c666cf80 RCX: 00007f08c654d0c9 RDX: 00000000000026e1 RSI: 0000000020000280 RDI: ffffffffffffff9c RBP: 00007f08c65a8ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff3939bf7f R14: 00007f08c4abf300 R15: 0000000000022000 Kernel Offset: disabled ================================ WARNING: inconsistent lock state 4.19.211-syzkaller #0 Not tainted -------------------------------- inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-R} usage. syz-executor.2/9800 [HC0[0]:SC1[1]:HE0:SE0] takes: 00000000a627a41d ((fb_notifier_list).rwsem){+++?}, at: __blocking_notifier_call_chain kernel/notifier.c:316 [inline] 00000000a627a41d ((fb_notifier_list).rwsem){+++?}, at: __blocking_notifier_call_chain kernel/notifier.c:304 [inline] 00000000a627a41d ((fb_notifier_list).rwsem){+++?}, at: blocking_notifier_call_chain kernel/notifier.c:328 [inline] 00000000a627a41d ((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: 21829 hardirqs last enabled at (21828): [] trace_hardirqs_on_thunk+0x1a/0x1c hardirqs last disabled at (21829): [] trace_hardirqs_off_thunk+0x1a/0x1c softirqs last enabled at (20972): [] __do_softirq+0x678/0x980 kernel/softirq.c:318 softirqs last disabled at (20975): [] invoke_softirq kernel/softirq.c:372 [inline] softirqs last disabled at (20975): [] 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.2/9800: #0: 00000000b4ef38fe (sb_writers#3){.+.+}, at: sb_start_write include/linux/fs.h:1579 [inline] #0: 00000000b4ef38fe (sb_writers#3){.+.+}, at: mnt_want_write+0x3a/0xb0 fs/namespace.c:360 #1: 00000000687848ba (&type->i_mutex_dir_key#3){++++}, at: inode_lock include/linux/fs.h:748 [inline] #1: 00000000687848ba (&type->i_mutex_dir_key#3){++++}, at: do_last fs/namei.c:3324 [inline] #1: 00000000687848ba (&type->i_mutex_dir_key#3){++++}, at: path_openat+0x1071/0x2df0 fs/namei.c:3537 stack backtrace: CPU: 1 PID: 9800 Comm: syz-executor.2 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 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: ffff88804066b4c8 RCX: 0000000000000000 RDX: 0000000000000100 RSI: ffffffff814dff01 RDI: ffffed1017420f92 RBP: 0000000000000000 R08: 0000000000000024 R09: 0000000000000000 R10: 0000000000000005 R11: 0000000000000000 R12: ffff8880b3698000 R13: ffff888040669b80 R14: ffff888040669b80 R15: ffff8880b3698000 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:ffff88803b9b7530 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff13 RAX: 1ffffffff13e3053 RBX: dffffc0000000000 RCX: 1ffff11013b875ba RDX: 0000000000000000 RSI: ffff88809dc3adb0 RDI: ffff88809dc3ad84 RBP: ffffed1013b874a0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff88809dc3a500 R13: ffffffff89f18298 R14: 0000000000000000 R15: 0000000000000000 retint_kernel+0x1b/0x2d RIP: 0010:ext4_get_group_desc+0x1f3/0x4e0 fs/ext4/balloc.c:291 Code: 00 00 00 e8 af 18 8a ff e8 4a fc 78 ff e8 a5 18 8a ff 48 c7 c2 bc 6c d8 81 be 01 00 00 00 48 c7 c7 a0 5f f8 89 e8 0d dd 72 ff <4d> 85 e4 0f 84 4c 02 00 00 e8 7f 18 8a ff 49 8d 7c 24 28 48 b8 00 RSP: 0018:ffff88803b9b7608 EFLAGS: 00000292 ORIG_RAX: ffffffffffffff13 RAX: 0000000000000000 RBX: 0000000000000001 RCX: 1ffff11013b875bb RDX: dffffc0000000000 RSI: 0000000000000003 RDI: 0000000000000286 RBP: ffff8882350c20c0 R08: 0000000000000000 R09: 0000000000000002 R10: 0000000000000000 R11: 0000000000000000 R12: ffff8882399f97e0 R13: 0000000000000000 R14: ffff8882350c2740 R15: 0000000000000000 recently_deleted fs/ext4/ialloc.c:680 [inline] find_inode_bit+0x1a0/0x520 fs/ext4/ialloc.c:724 __ext4_new_inode+0x160c/0x5a20 fs/ext4/ialloc.c:916 ext4_create+0x29e/0x5f0 fs/ext4/namei.c:2517 lookup_open+0x893/0x1a20 fs/namei.c:3235 do_last fs/namei.c:3327 [inline] path_openat+0x1094/0x2df0 fs/namei.c:3537 do_filp_open+0x18c/0x3f0 fs/namei.c:3567 do_sys_open+0x3b3/0x520 fs/open.c:1085 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f08c654d0c9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f08c4abf168 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f08c666cf80 RCX: 00007f08c654d0c9 RDX: 00000000000026e1 RSI: 0000000020000280 RDI: ffffffffffffff9c RBP: 00007f08c65a8ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff3939bf7f R14: 00007f08c4abf300 R15: 0000000000022000 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