------------[ cut here ]------------
WARNING: CPU: 1 PID: 12216 at net/mac80211/rx.c:4921 ieee80211_rx_list+0x18c7/0x2710 net/mac80211/rx.c:4921
Modules linked in:
CPU: 1 PID: 12216 Comm: syz-executor.2 Not tainted 5.19.0-rc5-syzkaller-01173-gea2babac63d4 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/29/2022
RIP: 0010:ieee80211_rx_list+0x18c7/0x2710 net/mac80211/rx.c:4921
Code: 00 00 31 ff 89 de e8 58 7b af f8 85 db 0f 85 19 02 00 00 e8 0b 7f af f8 4c 89 e7 e8 53 44 83 fe e9 d7 eb ff ff e8 f9 7e af f8 <0f> 0b e9 6e ec ff ff e8 ed 7e af f8 4c 89 ea 48 b8 00 00 00 00 00
RSP: 0018:ffffc900001e0c90 EFLAGS: 00010246
RAX: 0000000000000000 RBX: ffff888040f13368 RCX: 0000000000000100
RDX: ffff888040a60000 RSI: ffffffff88caf407 RDI: 0000000000000001
RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000001 R12: ffff88804e80da00
R13: 0000000000000000 R14: 0000000000000000 R15: ffff888040f10de0
FS: 00007fd9d6206700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000004 CR3: 000000003350a000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
ieee80211_rx_napi+0xdb/0x3d0 net/mac80211/rx.c:5019
ieee80211_rx include/net/mac80211.h:4644 [inline]
ieee80211_tasklet_handler+0xd4/0x130 net/mac80211/main.c:235
tasklet_action_common.constprop.0+0x201/0x2e0 kernel/softirq.c:797
__do_softirq+0x29b/0x9c2 kernel/softirq.c:571
invoke_softirq kernel/softirq.c:445 [inline]
__irq_exit_rcu+0x123/0x180 kernel/softirq.c:650
irq_exit_rcu+0x5/0x20 kernel/softirq.c:662
sysvec_apic_timer_interrupt+0x93/0xc0 arch/x86/kernel/apic/apic.c:1106
asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:649
RIP: 0010:preempt_count arch/x86/include/asm/preempt.h:27 [inline]
RIP: 0010:check_kcov_mode kernel/kcov.c:166 [inline]
RIP: 0010:__sanitizer_cov_trace_pc+0x0/0x60 kernel/kcov.c:200
Code: 48 89 ef 5d e9 f1 ad 4c 00 5d be 03 00 00 00 e9 76 a2 82 02 66 0f 1f 44 00 00 48 8b be a8 01 00 00 e8 b4 ff ff ff 31 c0 c3 90 <65> 8b 05 39 fc 87 7e 89 c1 48 8b 34 24 81 e1 00 01 00 00 65 48 8b
RSP: 0018:ffffc90013aa7760 EFLAGS: 00000246
RAX: 0000000000040000 RBX: 0000000000000200 RCX: ffffc90011bba000
RDX: 0000000000040000 RSI: ffffffff81362307 RDI: 0000000000000007
RBP: 0000000000000000 R08: 0000000000000007 R09: 0000000000000000
R10: 0000000000000200 R11: 0000000000000001 R12: ffffea0000a2ec00
R13: ffff888039585588 R14: 00007fd9d6207000 R15: ffff888039585588
pte_alloc_one+0x19d/0x230 arch/x86/mm/pgtable.c:33
__pte_alloc+0x69/0x250 mm/memory.c:468
copy_pte_range mm/memory.c:1028 [inline]
copy_pmd_range mm/memory.c:1163 [inline]
copy_pud_range mm/memory.c:1200 [inline]
copy_p4d_range mm/memory.c:1224 [inline]
copy_page_range+0x18a6/0x3b00 mm/memory.c:1322
dup_mmap kernel/fork.c:699 [inline]
dup_mm+0xa4e/0x1390 kernel/fork.c:1524
copy_mm kernel/fork.c:1576 [inline]
copy_process+0x3bba/0x7020 kernel/fork.c:2240
kernel_clone+0xe7/0xab0 kernel/fork.c:2655
__do_sys_clone+0xba/0x100 kernel/fork.c:2789
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x46/0xb0
RIP: 0033:0x7fd9d5089209
================================
WARNING: inconsistent lock state
5.19.0-rc5-syzkaller-01173-gea2babac63d4 #0 Not tainted
--------------------------------
inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage.
syz-executor.2/12216 [HC0[0]:SC1[1]:HE1:SE0] takes:
ffffffff8beb9998 (vmap_area_lock){+.?.}-{2:2}, at: spin_lock include/linux/spinlock.h:349 [inline]
ffffffff8beb9998 (vmap_area_lock){+.?.}-{2:2}, at: find_vmap_area+0x1c/0x130 mm/vmalloc.c:1805
{SOFTIRQ-ON-W} state was registered at:
lock_acquire kernel/locking/lockdep.c:5665 [inline]
lock_acquire+0x1ab/0x570 kernel/locking/lockdep.c:5630
__raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline]
_raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:154
spin_lock include/linux/spinlock.h:349 [inline]
alloc_vmap_area+0xa49/0x1f00 mm/vmalloc.c:1586
__get_vm_area_node+0x142/0x3f0 mm/vmalloc.c:2453
get_vm_area_caller+0x43/0x50 mm/vmalloc.c:2506
__ioremap_caller.constprop.0+0x292/0x600 arch/x86/mm/ioremap.c:280
acpi_os_ioremap include/acpi/acpi_io.h:13 [inline]
acpi_map drivers/acpi/osl.c:296 [inline]
acpi_os_map_iomem+0x463/0x550 drivers/acpi/osl.c:355
acpi_tb_acquire_table+0xd8/0x209 drivers/acpi/acpica/tbdata.c:142
acpi_tb_validate_table drivers/acpi/acpica/tbdata.c:317 [inline]
acpi_tb_validate_table+0x50/0x8c drivers/acpi/acpica/tbdata.c:308
acpi_tb_verify_temp_table+0x84/0x674 drivers/acpi/acpica/tbdata.c:504
acpi_reallocate_root_table+0x374/0x3e0 drivers/acpi/acpica/tbxface.c:180
acpi_early_init+0x13a/0x438 drivers/acpi/bus.c:1200
start_kernel+0x3cf/0x48f init/main.c:1098
secondary_startup_64_no_verify+0xce/0xdb
irq event stamp: 34318
hardirqs last enabled at (34318): [] __up_console_sem+0xae/0xc0 kernel/printk/printk.c:264
hardirqs last disabled at (34317): [] __up_console_sem+0x93/0xc0 kernel/printk/printk.c:262
softirqs last enabled at (21044): [] invoke_softirq kernel/softirq.c:445 [inline]
softirqs last enabled at (21044): [] __irq_exit_rcu+0x123/0x180 kernel/softirq.c:650
softirqs last disabled at (21047): [] invoke_softirq kernel/softirq.c:445 [inline]
softirqs last disabled at (21047): [] __irq_exit_rcu+0x123/0x180 kernel/softirq.c:650
other info that might help us debug this:
Possible unsafe locking scenario:
CPU0
----
lock(vmap_area_lock);
lock(vmap_area_lock);
*** DEADLOCK ***
4 locks held by syz-executor.2/12216:
#0: ffffffff8be687d0 (dup_mmap_sem){++++}-{0:0}, at: dup_mmap kernel/fork.c:589 [inline]
#0: ffffffff8be687d0 (dup_mmap_sem){++++}-{0:0}, at: dup_mm+0x108/0x1390 kernel/fork.c:1524
#1: ffff8880178ae328 (&mm->mmap_lock#2){++++}-{3:3}, at: mmap_write_lock_killable include/linux/mmap_lock.h:87 [inline]
#1: ffff8880178ae328 (&mm->mmap_lock#2){++++}-{3:3}, at: dup_mmap kernel/fork.c:590 [inline]
#1: ffff8880178ae328 (&mm->mmap_lock#2){++++}-{3:3}, at: dup_mm+0x12e/0x1390 kernel/fork.c:1524
#2: ffff88807cd8dc28 (&mm->mmap_lock/1){+.+.}-{3:3}, at: mmap_write_lock_nested include/linux/mmap_lock.h:78 [inline]
#2: ffff88807cd8dc28 (&mm->mmap_lock/1){+.+.}-{3:3}, at: dup_mmap kernel/fork.c:599 [inline]
#2: ffff88807cd8dc28 (&mm->mmap_lock/1){+.+.}-{3:3}, at: dup_mm+0x18a/0x1390 kernel/fork.c:1524
#3: ffffffff8bd86660 (rcu_read_lock){....}-{1:2}, at: ieee80211_rx_napi+0x0/0x3d0 include/linux/etherdevice.h:349
stack backtrace:
CPU: 1 PID: 12216 Comm: syz-executor.2 Not tainted 5.19.0-rc5-syzkaller-01173-gea2babac63d4 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/29/2022
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106
print_usage_bug kernel/locking/lockdep.c:3961 [inline]
valid_state kernel/locking/lockdep.c:3973 [inline]
mark_lock_irq kernel/locking/lockdep.c:4176 [inline]
mark_lock.part.0.cold+0x18/0xd8 kernel/locking/lockdep.c:4632
mark_lock kernel/locking/lockdep.c:4596 [inline]
mark_usage kernel/locking/lockdep.c:4527 [inline]
__lock_acquire+0x11e7/0x5660 kernel/locking/lockdep.c:5007
lock_acquire kernel/locking/lockdep.c:5665 [inline]
lock_acquire+0x1ab/0x570 kernel/locking/lockdep.c:5630
__raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline]
_raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:154
spin_lock include/linux/spinlock.h:349 [inline]
find_vmap_area+0x1c/0x130 mm/vmalloc.c:1805
check_heap_object mm/usercopy.c:176 [inline]
__check_object_size mm/usercopy.c:250 [inline]
__check_object_size+0x1f8/0x700 mm/usercopy.c:212
check_object_size include/linux/thread_info.h:199 [inline]
__copy_from_user_inatomic include/linux/uaccess.h:62 [inline]
copy_from_user_nmi arch/x86/lib/usercopy.c:47 [inline]
copy_from_user_nmi+0xcb/0x130 arch/x86/lib/usercopy.c:31
copy_code arch/x86/kernel/dumpstack.c:91 [inline]
show_opcodes+0x59/0xb0 arch/x86/kernel/dumpstack.c:121
show_iret_regs+0xd/0x33 arch/x86/kernel/dumpstack.c:149
__show_regs+0x1e/0x60 arch/x86/kernel/process_64.c:74
show_trace_log_lvl+0x25b/0x2ba arch/x86/kernel/dumpstack.c:292
__warn+0xe2/0x190 kernel/panic.c:620
report_bug+0x1bc/0x210 lib/bug.c:198
handle_bug+0x3c/0x60 arch/x86/kernel/traps.c:316
exc_invalid_op+0x14/0x40 arch/x86/kernel/traps.c:336
asm_exc_invalid_op+0x1b/0x20 arch/x86/include/asm/idtentry.h:568
RIP: 0010:ieee80211_rx_list+0x18c7/0x2710 net/mac80211/rx.c:4921
Code: 00 00 31 ff 89 de e8 58 7b af f8 85 db 0f 85 19 02 00 00 e8 0b 7f af f8 4c 89 e7 e8 53 44 83 fe e9 d7 eb ff ff e8 f9 7e af f8 <0f> 0b e9 6e ec ff ff e8 ed 7e af f8 4c 89 ea 48 b8 00 00 00 00 00
RSP: 0018:ffffc900001e0c90 EFLAGS: 00010246
RAX: 0000000000000000 RBX: ffff888040f13368 RCX: 0000000000000100
RDX: ffff888040a60000 RSI: ffffffff88caf407 RDI: 0000000000000001
RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000001 R12: ffff88804e80da00
R13: 0000000000000000 R14: 0000000000000000 R15: ffff888040f10de0
ieee80211_rx_napi+0xdb/0x3d0 net/mac80211/rx.c:5019
ieee80211_rx include/net/mac80211.h:4644 [inline]
ieee80211_tasklet_handler+0xd4/0x130 net/mac80211/main.c:235
tasklet_action_common.constprop.0+0x201/0x2e0 kernel/softirq.c:797
__do_softirq+0x29b/0x9c2 kernel/softirq.c:571
invoke_softirq kernel/softirq.c:445 [inline]
__irq_exit_rcu+0x123/0x180 kernel/softirq.c:650
irq_exit_rcu+0x5/0x20 kernel/softirq.c:662
sysvec_apic_timer_interrupt+0x93/0xc0 arch/x86/kernel/apic/apic.c:1106
asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:649
RIP: 0010:preempt_count arch/x86/include/asm/preempt.h:27 [inline]
RIP: 0010:check_kcov_mode kernel/kcov.c:166 [inline]
RIP: 0010:__sanitizer_cov_trace_pc+0x0/0x60 kernel/kcov.c:200
Code: 48 89 ef 5d e9 f1 ad 4c 00 5d be 03 00 00 00 e9 76 a2 82 02 66 0f 1f 44 00 00 48 8b be a8 01 00 00 e8 b4 ff ff ff 31 c0 c3 90 <65> 8b 05 39 fc 87 7e 89 c1 48 8b 34 24 81 e1 00 01 00 00 65 48 8b
RSP: 0018:ffffc90013aa7760 EFLAGS: 00000246
RAX: 0000000000040000 RBX: 0000000000000200 RCX: ffffc90011bba000
RDX: 0000000000040000 RSI: ffffffff81362307 RDI: 0000000000000007
RBP: 0000000000000000 R08: 0000000000000007 R09: 0000000000000000
R10: 0000000000000200 R11: 0000000000000001 R12: ffffea0000a2ec00
R13: ffff888039585588 R14: 00007fd9d6207000 R15: ffff888039585588
pte_alloc_one+0x19d/0x230 arch/x86/mm/pgtable.c:33
__pte_alloc+0x69/0x250 mm/memory.c:468
copy_pte_range mm/memory.c:1028 [inline]
copy_pmd_range mm/memory.c:1163 [inline]
copy_pud_range mm/memory.c:1200 [inline]
copy_p4d_range mm/memory.c:1224 [inline]
copy_page_range+0x18a6/0x3b00 mm/memory.c:1322
dup_mmap kernel/fork.c:699 [inline]
dup_mm+0xa4e/0x1390 kernel/fork.c:1524
copy_mm kernel/fork.c:1576 [inline]
copy_process+0x3bba/0x7020 kernel/fork.c:2240
kernel_clone+0xe7/0xab0 kernel/fork.c:2655
__do_sys_clone+0xba/0x100 kernel/fork.c:2789
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x46/0xb0
RIP: 0033:0x7fd9d5089209
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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:00007fd9d6206118 EFLAGS: 00000206 ORIG_RAX: 0000000000000038
RAX: ffffffffffffffda RBX: 00007fd9d519bf60 RCX: 00007fd9d5089209
RDX: 0000000020000380 RSI: 0000000020000370 RDI: 0000000000008000
RBP: 00007fd9d50e3161 R08: 0000000020000400 R09: 0000000020000400
R10: 00000000200003c0 R11: 0000000000000206 R12: 0000000000000000
R13: 00007fff9825945f R14: 00007fd9d6206300 R15: 0000000000022000
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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:00007fd9d6206118 EFLAGS: 00000206 ORIG_RAX: 0000000000000038
RAX: ffffffffffffffda RBX: 00007fd9d519bf60 RCX: 00007fd9d5089209
RDX: 0000000020000380 RSI: 0000000020000370 RDI: 0000000000008000
RBP: 00007fd9d50e3161 R08: 0000000020000400 R09: 0000000020000400
R10: 00000000200003c0 R11: 0000000000000206 R12: 0000000000000000
R13: 00007fff9825945f R14: 00007fd9d6206300 R15: 0000000000022000
----------------
Code disassembly (best guess):
0: 48 89 ef mov %rbp,%rdi
3: 5d pop %rbp
4: e9 f1 ad 4c 00 jmpq 0x4cadfa
9: 5d pop %rbp
a: be 03 00 00 00 mov $0x3,%esi
f: e9 76 a2 82 02 jmpq 0x282a28a
14: 66 0f 1f 44 00 00 nopw 0x0(%rax,%rax,1)
1a: 48 8b be a8 01 00 00 mov 0x1a8(%rsi),%rdi
21: e8 b4 ff ff ff callq 0xffffffda
26: 31 c0 xor %eax,%eax
28: c3 retq
29: 90 nop
* 2a: 65 8b 05 39 fc 87 7e mov %gs:0x7e87fc39(%rip),%eax # 0x7e87fc6a <-- trapping instruction
31: 89 c1 mov %eax,%ecx
33: 48 8b 34 24 mov (%rsp),%rsi
37: 81 e1 00 01 00 00 and $0x100,%ecx
3d: 65 gs
3e: 48 rex.W
3f: 8b .byte 0x8b