ptrace attach of "/root/syz-executor.2"[8010] was attempted by "/root/syz-executor.2"[9752]
------------[ cut here ]------------
WARNING: CPU: 1 PID: 9707 at net/mac80211/rx.c:4321 ieee80211_rx_napi+0x177a/0x1e40 net/mac80211/rx.c:4321
ptrace attach of "/root/syz-executor.2"[8010] was attempted by "/root/syz-executor.2"[9759]
Kernel panic - not syncing: panic_on_warn set ...
CPU: 1 PID: 9707 Comm: syz-executor.5 Not tainted 4.14.209-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
__dump_stack lib/dump_stack.c:17 [inline]
dump_stack+0x1b2/0x283 lib/dump_stack.c:58
panic+0x1f9/0x42d kernel/panic.c:183
block nbd4: shutting down sockets
__warn.cold+0x20/0x4b kernel/panic.c:547
report_bug+0x208/0x249 lib/bug.c:186
ieee80211 phy9: mac80211_hwsim_configure_filter
fixup_bug arch/x86/kernel/traps.c:177 [inline]
fixup_bug arch/x86/kernel/traps.c:172 [inline]
do_error_trap+0x195/0x2d0 arch/x86/kernel/traps.c:295
invalid_op+0x1b/0x40 arch/x86/entry/entry_64.S:964
RIP: 0010:ieee80211_rx_napi+0x177a/0x1e40 net/mac80211/rx.c:4321
RSP: 0018:ffff8880ba507d28 EFLAGS: 00010206
RAX: ffff88806e774000 RBX: 0000000000000000 RCX: 1ffff110174a0fb2
RDX: 0000000000000100 RSI: 0000000000000000 RDI: ffff88809ac01f3c
RBP: ffff88809ac01400 R08: ffffffff8b9acbf0 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffff88809ac032a0
R13: ffff88809d622280 R14: ffff88809ac02000 R15: ffff88809ac019e0
ieee80211_rx include/net/mac80211.h:4026 [inline]
ieee80211_tasklet_handler+0x90/0xf0 net/mac80211/main.c:228
tasklet_action+0x195/0x340 kernel/softirq.c:513
__do_softirq+0x254/0xa1d kernel/softirq.c:288
invoke_softirq kernel/softirq.c:368 [inline]
irq_exit+0x193/0x240 kernel/softirq.c:409
exiting_irq arch/x86/include/asm/apic.h:648 [inline]
smp_apic_timer_interrupt+0x141/0x5e0 arch/x86/kernel/apic/apic.c:1102
apic_timer_interrupt+0x93/0xa0 arch/x86/entry/entry_64.S:793
RIP: 0010:__sanitizer_cov_trace_pc+0x23/0x50 kernel/kcov.c:68
RSP: 0018:ffff88806b7677b8 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff10
RAX: ffff88806e774000 RBX: dffffc0000000000 RCX: 0000000000000001
RDX: 0000000000000000 RSI: 00007f46d478a000 RDI: 8000000071567007
RBP: ffff88809340cc50 R08: 0000000000000000 R09: 0000000000000001
R10: 0000000000000000 R11: ffff88806e774000 R12: ffffea0001c559c0
R13: 8000000000000007 R14: 00007f46d478b000 R15: 0000000000000000
zap_pte_range mm/memory.c:1339 [inline]
zap_pmd_range mm/memory.c:1456 [inline]
zap_pud_range mm/memory.c:1485 [inline]
zap_p4d_range mm/memory.c:1506 [inline]
unmap_page_range+0xd04/0x1ce0 mm/memory.c:1527
unmap_single_vma+0x147/0x2b0 mm/memory.c:1572
unmap_vmas+0x9d/0x160 mm/memory.c:1602
exit_mmap+0x270/0x4d0 mm/mmap.c:3058
__mmput kernel/fork.c:930 [inline]
mmput kernel/fork.c:951 [inline]
mmput+0xfa/0x420 kernel/fork.c:946
exit_mm kernel/exit.c:548 [inline]
do_exit+0x984/0x2850 kernel/exit.c:855
do_group_exit+0x100/0x2e0 kernel/exit.c:965
get_signal+0x38d/0x1ca0 kernel/signal.c:2423
do_signal+0x7c/0x1550 arch/x86/kernel/signal.c:814
exit_to_usermode_loop+0x160/0x200 arch/x86/entry/common.c:160
prepare_exit_to_usermode arch/x86/entry/common.c:199 [inline]
syscall_return_slowpath arch/x86/entry/common.c:270 [inline]
do_syscall_64+0x4a3/0x640 arch/x86/entry/common.c:297
entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x45deb9
RSP: 002b:00007f46d38ccc78 EFLAGS: 00000246 ORIG_RAX: 000000000000002c
RAX: 0000000000278b00 RBX: 000000000002e900 RCX: 000000000045deb9
RDX: ffffffffffffffef RSI: 0000000020d7cfcb RDI: 0000000000000005
RBP: 000000000118bf78 R08: 0000000000000000 R09: 0000000000000053
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118bf2c
R13: 00007ffcebcc719f R14: 00007f46d38cd9c0 R15: 000000000118bf2c
Kernel Offset: disabled
================================
WARNING: inconsistent lock state
4.14.209-syzkaller #0 Not tainted
--------------------------------
inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-R} usage.
syz-executor.5/9707 [HC0[0]:SC1[1]:HE0:SE0] takes:
((fb_notifier_list).rwsem){+++?}, at: [] __blocking_notifier_call_chain kernel/notifier.c:316 [inline]
((fb_notifier_list).rwsem){+++?}, at: [] __blocking_notifier_call_chain kernel/notifier.c:304 [inline]
((fb_notifier_list).rwsem){+++?}, at: [] blocking_notifier_call_chain kernel/notifier.c:328 [inline]
((fb_notifier_list).rwsem){+++?}, at: [] blocking_notifier_call_chain+0x63/0x90 kernel/notifier.c:325
{SOFTIRQ-ON-W} state was registered at:
lock_acquire+0x170/0x3f0 kernel/locking/lockdep.c:3998
down_write+0x34/0x90 kernel/locking/rwsem.c:54
blocking_notifier_chain_register+0x65/0x310 kernel/notifier.c:226
fb_console_init+0x1a/0x1f2 drivers/video/fbdev/core/fbcon.c:3339
fbmem_init+0xe2/0x103 drivers/video/fbdev/core/fbmem.c:1930
do_one_initcall+0x88/0x202 init/main.c:826
do_initcall_level init/main.c:892 [inline]
do_initcalls init/main.c:900 [inline]
do_basic_setup init/main.c:918 [inline]
kernel_init_freeable+0x553/0x614 init/main.c:1075
kernel_init+0xd/0x165 init/main.c:1000
ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:404
irq event stamp: 237731
hardirqs last enabled at (237730): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:160 [inline]
hardirqs last enabled at (237730): [] _raw_spin_unlock_irqrestore+0x79/0xe0 kernel/locking/spinlock.c:192
hardirqs last disabled at (237731): [] error_entry+0x72/0xd0 arch/x86/entry/entry_64.S:1233
softirqs last enabled at (230390): [] __do_softirq+0x6ab/0xa1d kernel/softirq.c:314
softirqs last disabled at (230393): [] invoke_softirq kernel/softirq.c:368 [inline]
softirqs last disabled at (230393): [] irq_exit+0x193/0x240 kernel/softirq.c:409
other info that might help us debug this:
Possible unsafe locking scenario:
CPU0
----
lock((fb_notifier_list).rwsem);
lock((fb_notifier_list).rwsem);
*** DEADLOCK ***
1 lock held by syz-executor.5/9707:
#0: (&(ptlock_ptr(page))->rlock#2){+.+.}, at: [] spin_lock include/linux/spinlock.h:317 [inline]
#0: (&(ptlock_ptr(page))->rlock#2){+.+.}, at: [] zap_pte_range mm/memory.c:1315 [inline]
#0: (&(ptlock_ptr(page))->rlock#2){+.+.}, at: [] zap_pmd_range mm/memory.c:1456 [inline]
#0: (&(ptlock_ptr(page))->rlock#2){+.+.}, at: [] zap_pud_range mm/memory.c:1485 [inline]
#0: (&(ptlock_ptr(page))->rlock#2){+.+.}, at: [] zap_p4d_range mm/memory.c:1506 [inline]
#0: (&(ptlock_ptr(page))->rlock#2){+.+.}, at: [] unmap_page_range+0x887/0x1ce0 mm/memory.c:1527
stack backtrace:
CPU: 1 PID: 9707 Comm: syz-executor.5 Not tainted 4.14.209-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
__dump_stack lib/dump_stack.c:17 [inline]
dump_stack+0x1b2/0x283 lib/dump_stack.c:58
print_usage_bug.cold+0x42e/0x570 kernel/locking/lockdep.c:2589
valid_state kernel/locking/lockdep.c:2602 [inline]
mark_lock_irq kernel/locking/lockdep.c:2796 [inline]
mark_lock+0xb4d/0x1050 kernel/locking/lockdep.c:3194
mark_irqflags kernel/locking/lockdep.c:3064 [inline]
__lock_acquire+0x1014/0x3f20 kernel/locking/lockdep.c:3448
lock_acquire+0x170/0x3f0 kernel/locking/lockdep.c:3998
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+0x63/0x90 kernel/notifier.c:325
fb_blank+0x94/0x190 drivers/video/fbdev/core/fbmem.c:1076
fbcon_blank+0x7ed/0xd50 drivers/video/fbdev/core/fbcon.c:2196
do_unblank_screen+0x1fd/0x4e0 drivers/tty/vt/vt.c:3937
panic+0x290/0x42d kernel/panic.c:236
__warn.cold+0x20/0x4b kernel/panic.c:547
report_bug+0x208/0x249 lib/bug.c:186
fixup_bug arch/x86/kernel/traps.c:177 [inline]
fixup_bug arch/x86/kernel/traps.c:172 [inline]
do_error_trap+0x195/0x2d0 arch/x86/kernel/traps.c:295
invalid_op+0x1b/0x40 arch/x86/entry/entry_64.S:964
RIP: 0010:ieee80211_rx_napi+0x177a/0x1e40 net/mac80211/rx.c:4321
RSP: 0018:ffff8880ba507d28 EFLAGS: 00010206
RAX: ffff88806e774000 RBX: 0000000000000000 RCX: 1ffff110174a0fb2
RDX: 0000000000000100 RSI: 0000000000000000 RDI: ffff88809ac01f3c
RBP: ffff88809ac01400 R08: ffffffff8b9acbf0 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffff88809ac032a0
R13: ffff88809d622280 R14: ffff88809ac02000 R15: ffff88809ac019e0
ieee80211_rx include/net/mac80211.h:4026 [inline]
ieee80211_tasklet_handler+0x90/0xf0 net/mac80211/main.c:228
tasklet_action+0x195/0x340 kernel/softirq.c:513
__do_softirq+0x254/0xa1d kernel/softirq.c:288
invoke_softirq kernel/softirq.c:368 [inline]
irq_exit+0x193/0x240 kernel/softirq.c:409
exiting_irq arch/x86/include/asm/apic.h:648 [inline]
smp_apic_timer_interrupt+0x141/0x5e0 arch/x86/kernel/apic/apic.c:1102
apic_timer_interrupt+0x93/0xa0 arch/x86/entry/entry_64.S:793
RIP: 0010:__sanitizer_cov_trace_pc+0x23/0x50 kernel/kcov.c:68
RSP: 0018:ffff88806b7677b8 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff10
RAX: ffff88806e774000 RBX: dffffc0000000000 RCX: 0000000000000001
RDX: 0000000000000000 RSI: 00007f46d478a000 RDI: 8000000071567007
RBP: ffff88809340cc50 R08: 0000000000000000 R09: 0000000000000001
R10: 0000000000000000 R11: ffff88806e774000 R12: ffffea0001c559c0
R13: 8000000000000007 R14: 00007f46d478b000 R15: 0000000000000000
zap_pte_range mm/memory.c:1339 [inline]
zap_pmd_range mm/memory.c:1456 [inline]
zap_pud_range mm/memory.c:1485 [inline]
zap_p4d_range mm/memory.c:1506 [inline]
unmap_page_range+0xd04/0x1ce0 mm/memory.c:1527
unmap_single_vma+0x147/0x2b0 mm/memory.c:1572
unmap_vmas+0x9d/0x160 mm/memory.c:1602
exit_mmap+0x270/0x4d0 mm/mmap.c:3058
__mmput kernel/fork.c:930 [inline]
mmput kernel/fork.c:951 [inline]
mmput+0xfa/0x420 kernel/fork.c:946
exit_mm kernel/exit.c:548 [inline]
do_exit+0x984/0x2850 kernel/exit.c:855
do_group_exit+0x100/0x2e0 kernel/exit.c:965
get_signal+0x38d/0x1ca0 kernel/signal.c:2423
do_signal+0x7c/0x1550 arch/x86/kernel/signal.c:814
exit_to_usermode_loop+0x160/0x200 arch/x86/entry/common.c:160
prepare_exit_to_usermode arch/x86/entry/common.c:199 [inline]
syscall_return_slowpath arch/x86/entry/common.c:270 [inline]
do_syscall_64+0x4a3/0x640 arch/x86/entry/common.c:297
entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x45deb9
RSP: 002b:00007f46d38ccc78 EFLAGS: 00000246 ORIG_RAX: 000000000000002c
RAX: 0000000000278b00 RBX: 000000000002e900 RCX: 000000000045deb9
RDX: ffffffffffffffef RSI: 0000000020d7cfcb RDI: 0000000000000005
RBP: 000000000118bf78 R08: 0000000000000000 R09: 0000000000000053
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118bf2c
R13: 00007ffcebcc719f R14: 00007f46d38cd9c0 R15: 000000000118bf2c
Rebooting in 86400 seconds..