------------[ cut here ]------------
WARNING: CPU: 1 PID: 18241 at net/mac80211/rx.c:4946 ieee80211_rx_list+0x18ef/0x2760 net/mac80211/rx.c:4946
Modules linked in:
CPU: 1 PID: 18241 Comm: syz-executor.1 Not tainted 5.18.0-syzkaller-04969-g59ed76fe2f98 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:ieee80211_rx_list+0x18ef/0x2760 net/mac80211/rx.c:4946
Code: 00 00 31 ff 89 ee e8 90 41 b3 f8 85 ed 0f 85 19 02 00 00 e8 63 3f b3 f8 4c 89 e7 e8 8b f2 83 fe e9 af eb ff ff e8 51 3f b3 f8 <0f> 0b e9 46 ec ff ff e8 45 3f b3 f8 4c 89 ea 48 b8 00 00 00 00 00
RSP: 0018:ffffc900001f0cb0 EFLAGS: 00010246
RAX: 0000000000000000 RBX: ffff88801a1333e8 RCX: 0000000000000100
RDX: ffff88801c0d1d80 RSI: ffffffff88c6750f RDI: 0000000000000003
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffff88c65e9b R11: 0000000000000000 R12: ffff88804dc45000
R13: 0000000000000000 R14: 0000000000000000 R15: ffff88801a130e60
FS: 00007fb3447e9700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2be33000 CR3: 000000004ab20000 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:5044
ieee80211_rx include/net/mac80211.h:4679 [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
do_softirq.part.0+0xde/0x130 kernel/softirq.c:472
do_softirq kernel/softirq.c:464 [inline]
__local_bh_enable_ip+0x102/0x120 kernel/softirq.c:396
spin_unlock_bh include/linux/spinlock.h:394 [inline]
netif_addr_unlock_bh include/linux/netdevice.h:4419 [inline]
dev_set_rx_mode net/core/dev.c:8459 [inline]
__dev_change_flags+0x5f4/0x750 net/core/dev.c:8542
dev_change_flags+0x93/0x170 net/core/dev.c:8602
dev_ifsioc+0xb48/0x1120 net/core/dev_ioctl.c:327
dev_ioctl+0x1b9/0xed0 net/core/dev_ioctl.c:588
sock_do_ioctl+0x15a/0x230 net/socket.c:1183
sock_ioctl+0x2f1/0x640 net/socket.c:1286
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:870 [inline]
__se_sys_ioctl fs/ioctl.c:856 [inline]
__x64_sys_ioctl+0x193/0x200 fs/ioctl.c:856
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:0x7fb343689109
================================
WARNING: inconsistent lock state
5.18.0-syzkaller-04969-g59ed76fe2f98 #0 Not tainted
--------------------------------
inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage.
syz-executor.1/18241 [HC0[0]:SC1[1]:HE1:SE0] takes:
ffffffff8beb4158 (vmap_area_lock){+.?.}-{2:2}, at: spin_lock include/linux/spinlock.h:349 [inline]
ffffffff8beb4158 (vmap_area_lock){+.?.}-{2:2}, at: find_vmap_area mm/vmalloc.c:1805 [inline]
ffffffff8beb4158 (vmap_area_lock){+.?.}-{2:2}, at: find_vm_area+0x1c/0x190 mm/vmalloc.c:2527
{SOFTIRQ-ON-W} state was registered at:
lock_acquire kernel/locking/lockdep.c:5634 [inline]
lock_acquire+0x1ab/0x570 kernel/locking/lockdep.c:5599
__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:2455
get_vm_area_caller+0x43/0x50 mm/vmalloc.c:2508
__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:297 [inline]
acpi_os_map_iomem+0x463/0x550 drivers/acpi/osl.c:356
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: 824
hardirqs last enabled at (824): [] console_trylock_spinning kernel/printk/printk.c:2034 [inline]
hardirqs last enabled at (824): [] vprintk_emit+0x5f0/0x680 kernel/printk/printk.c:2400
hardirqs last disabled at (823): [] console_trylock_spinning kernel/printk/printk.c:2013 [inline]
hardirqs last disabled at (823): [] vprintk_emit+0x587/0x680 kernel/printk/printk.c:2400
softirqs last enabled at (326): [] spin_unlock_bh include/linux/spinlock.h:394 [inline]
softirqs last enabled at (326): [] netif_addr_unlock_bh include/linux/netdevice.h:4419 [inline]
softirqs last enabled at (326): [] dev_set_rx_mode net/core/dev.c:8459 [inline]
softirqs last enabled at (326): [] __dev_change_flags+0x5f4/0x750 net/core/dev.c:8542
softirqs last disabled at (327): [] do_softirq.part.0+0xde/0x130 kernel/softirq.c:472
other info that might help us debug this:
Possible unsafe locking scenario:
CPU0
----
lock(vmap_area_lock);
lock(vmap_area_lock);
*** DEADLOCK ***
2 locks held by syz-executor.1/18241:
#0: ffffffff8d588b68 (rtnl_mutex){+.+.}-{3:3}, at: dev_ioctl+0x1a7/0xed0 net/core/dev_ioctl.c:587
#1: ffffffff8bd855e0 (rcu_read_lock){....}-{1:2}, at: ieee80211_rx_napi+0x0/0x3d0 include/linux/etherdevice.h:349
stack backtrace:
CPU: 1 PID: 18241 Comm: syz-executor.1 Not tainted 5.18.0-syzkaller-04969-g59ed76fe2f98 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
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:3930 [inline]
valid_state kernel/locking/lockdep.c:3942 [inline]
mark_lock_irq kernel/locking/lockdep.c:4145 [inline]
mark_lock.part.0.cold+0x18/0xd8 kernel/locking/lockdep.c:4601
mark_lock kernel/locking/lockdep.c:4565 [inline]
mark_usage kernel/locking/lockdep.c:4496 [inline]
__lock_acquire+0x11e7/0x56c0 kernel/locking/lockdep.c:4976
lock_acquire kernel/locking/lockdep.c:5634 [inline]
lock_acquire+0x1ab/0x570 kernel/locking/lockdep.c:5599
__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 mm/vmalloc.c:1805 [inline]
find_vm_area+0x1c/0x190 mm/vmalloc.c:2527
check_heap_object mm/usercopy.c:176 [inline]
__check_object_size mm/usercopy.c:252 [inline]
__check_object_size+0x1fb/0x7a0 mm/usercopy.c:214
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+0xe7/0x190 kernel/panic.c:598
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+0x18ef/0x2760 net/mac80211/rx.c:4946
Code: 00 00 31 ff 89 ee e8 90 41 b3 f8 85 ed 0f 85 19 02 00 00 e8 63 3f b3 f8 4c 89 e7 e8 8b f2 83 fe e9 af eb ff ff e8 51 3f b3 f8 <0f> 0b e9 46 ec ff ff e8 45 3f b3 f8 4c 89 ea 48 b8 00 00 00 00 00
RSP: 0018:ffffc900001f0cb0 EFLAGS: 00010246
RAX: 0000000000000000 RBX: ffff88801a1333e8 RCX: 0000000000000100
RDX: ffff88801c0d1d80 RSI: ffffffff88c6750f RDI: 0000000000000003
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffff88c65e9b R11: 0000000000000000 R12: ffff88804dc45000
R13: 0000000000000000 R14: 0000000000000000 R15: ffff88801a130e60
ieee80211_rx_napi+0xdb/0x3d0 net/mac80211/rx.c:5044
ieee80211_rx include/net/mac80211.h:4679 [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
do_softirq.part.0+0xde/0x130 kernel/softirq.c:472
do_softirq kernel/softirq.c:464 [inline]
__local_bh_enable_ip+0x102/0x120 kernel/softirq.c:396
spin_unlock_bh include/linux/spinlock.h:394 [inline]
netif_addr_unlock_bh include/linux/netdevice.h:4419 [inline]
dev_set_rx_mode net/core/dev.c:8459 [inline]
__dev_change_flags+0x5f4/0x750 net/core/dev.c:8542
dev_change_flags+0x93/0x170 net/core/dev.c:8602
dev_ifsioc+0xb48/0x1120 net/core/dev_ioctl.c:327
dev_ioctl+0x1b9/0xed0 net/core/dev_ioctl.c:588
sock_do_ioctl+0x15a/0x230 net/socket.c:1183
sock_ioctl+0x2f1/0x640 net/socket.c:1286
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:870 [inline]
__se_sys_ioctl fs/ioctl.c:856 [inline]
__x64_sys_ioctl+0x193/0x200 fs/ioctl.c:856
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:0x7fb343689109
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:00007fb3447e9168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007fb34379bf60 RCX: 00007fb343689109
RDX: 0000000020000900 RSI: 0000000000008914 RDI: 0000000000000003
RBP: 00007fb3436e308d R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffcb3ab690f R14: 00007fb3447e9300 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:00007fb3447e9168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007fb34379bf60 RCX: 00007fb343689109
RDX: 0000000020000900 RSI: 0000000000008914 RDI: 0000000000000003
RBP: 00007fb3436e308d R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffcb3ab690f R14: 00007fb3447e9300 R15: 0000000000022000
----------------
Code disassembly (best guess), 1 bytes skipped:
0: ff c3 inc %ebx
2: 66 2e 0f 1f 84 00 00 nopw %cs:0x0(%rax,%rax,1)
9: 00 00 00
c: 0f 1f 40 00 nopl 0x0(%rax)
10: 48 89 f8 mov %rdi,%rax
13: 48 89 f7 mov %rsi,%rdi
16: 48 89 d6 mov %rdx,%rsi
19: 48 89 ca mov %rcx,%rdx
1c: 4d 89 c2 mov %r8,%r10
1f: 4d 89 c8 mov %r9,%r8
22: 4c 8b 4c 24 08 mov 0x8(%rsp),%r9
27: 0f 05 syscall
* 29: 48 3d 01 f0 ff ff cmp $0xfffffffffffff001,%rax <-- trapping instruction
2f: 73 01 jae 0x32
31: c3 retq
32: 48 c7 c1 b8 ff ff ff mov $0xffffffffffffffb8,%rcx
39: f7 d8 neg %eax
3b: 64 89 01 mov %eax,%fs:(%rcx)
3e: 48 rex.W