Bluetooth: hci7: command 0x0405 tx timeout watchdog: BUG: soft lockup - CPU#0 stuck for 23s! [syz-executor.6:5001] Modules linked in: irq event stamp: 6071485 hardirqs last enabled at (6071484): [] asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635 hardirqs last disabled at (6071485): [] sysvec_apic_timer_interrupt+0xb/0xa0 arch/x86/kernel/apic/apic.c:1094 softirqs last enabled at (6062900): [] asm_call_irq_on_stack+0x12/0x20 softirqs last disabled at (6062903): [] asm_call_irq_on_stack+0x12/0x20 CPU: 0 PID: 5001 Comm: syz-executor.6 Not tainted 5.10.223 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 RIP: 0010:__read_once_word_nocheck+0x3/0x10 include/asm-generic/rwonce.h:68 Code: 0a fe ff ff e8 8e 28 5c 00 e9 bf fd ff ff e8 84 28 5c 00 e9 8c fd ff ff e8 7a 28 5c 00 e9 44 fd ff ff cc cc cc cc cc 48 8b 07 58 d5 0f 03 0f 1f 84 00 00 00 00 00 41 57 89 d0 41 56 41 55 41 RSP: 0018:ffff88806ce09830 EFLAGS: 00000246 RAX: ffffffff81071550 RBX: ffff88806ce09988 RCX: ffff88806ce09988 RDX: dffffc0000000000 RSI: 0000000000000001 RDI: ffff888048077538 RBP: ffff888048077538 R08: 0000000000000000 R09: ffff888048077540 R10: 0000000000032042 R11: 1ffff1100d9c1315 R12: ffff88806ce09940 R13: ffff88806ce02000 R14: 1ffff1100d9c1315 R15: ffffffff85d41ac4 FS: 0000000000000000(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005555569cec58 CR3: 000000000dd78000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 00000000000d0602 Call Trace: deref_stack_reg+0xf2/0x160 arch/x86/kernel/unwind_orc.c:360 unwind_next_frame+0xbf8/0x1a90 arch/x86/kernel/unwind_orc.c:536 arch_stack_walk+0x83/0xf0 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x8c/0xc0 kernel/stacktrace.c:121 __save_stack_trace mm/kmemleak.c:563 [inline] create_object.isra.0+0x372/0xa20 mm/kmemleak.c:618 kmemleak_alloc_recursive include/linux/kmemleak.h:43 [inline] slab_post_alloc_hook mm/slab.h:534 [inline] slab_alloc_node mm/slub.c:2896 [inline] __kmalloc_node_track_caller+0x1a6/0x3b0 mm/slub.c:4496 __kmalloc_reserve net/core/skbuff.c:143 [inline] __alloc_skb+0xb1/0x5b0 net/core/skbuff.c:211 __netdev_alloc_skb+0x6e/0x360 net/core/skbuff.c:447 netdev_alloc_skb include/linux/skbuff.h:2857 [inline] dev_alloc_skb include/linux/skbuff.h:2870 [inline] __ieee80211_beacon_get+0x3af/0x1440 net/mac80211/tx.c:4876 ieee80211_beacon_get_tim+0x88/0x9f0 net/mac80211/tx.c:4990 ieee80211_beacon_get include/net/mac80211.h:4912 [inline] mac80211_hwsim_beacon_tx+0x111/0x940 drivers/net/wireless/mac80211_hwsim.c:1740 __iterate_interfaces+0x1f0/0x550 net/mac80211/util.c:792 ieee80211_iterate_active_interfaces_atomic+0x71/0x1c0 net/mac80211/util.c:828 mac80211_hwsim_beacon+0xd1/0x1d0 drivers/net/wireless/mac80211_hwsim.c:1793 __run_hrtimer kernel/time/hrtimer.c:1584 [inline] __hrtimer_run_queues+0x632/0xb40 kernel/time/hrtimer.c:1648 hrtimer_run_softirq+0x148/0x310 kernel/time/hrtimer.c:1665 __do_softirq+0x1b8/0x7c9 kernel/softirq.c:298 asm_call_irq_on_stack+0x12/0x20 __run_on_irqstack arch/x86/include/asm/irq_stack.h:26 [inline] run_on_irqstack_cond arch/x86/include/asm/irq_stack.h:77 [inline] do_softirq_own_stack+0x80/0xa0 arch/x86/kernel/irq_64.c:77 invoke_softirq kernel/softirq.c:393 [inline] __irq_exit_rcu kernel/softirq.c:423 [inline] irq_exit_rcu+0x114/0x1b0 kernel/softirq.c:435 sysvec_apic_timer_interrupt+0x43/0xa0 arch/x86/kernel/apic/apic.c:1094 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635 RIP: 0010:write_comp_data+0x2f/0x80 kernel/kcov.c:218 Code: 05 d6 d5 c1 7e 65 48 8b 34 25 80 6f 02 00 a9 00 01 ff 00 74 0f f6 c4 01 74 59 8b 86 fc 13 00 00 85 c0 74 4f 8b 86 d8 13 00 00 <83> f8 03 75 44 48 8b 86 e0 13 00 00 8b b6 dc 13 00 00 4c 8b 00 48 RSP: 0018:ffff888048077628 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000000004 RCX: ffffffff8156cf03 RDX: 0000000000000004 RSI: ffff888046f61a40 RDI: 0000000000000005 RBP: 000000000000002b R08: 0000000000000000 R09: ffffea00010f78f7 R10: 0000000000000000 R11: 0000000000000001 R12: ffffea00010f78f4 R13: dffffc0000000000 R14: ffff888048b12170 R15: ffffea00010f78c0 put_page_testzero include/linux/mm.h:707 [inline] release_pages+0x143/0xc20 mm/swap.c:914 tlb_batch_pages_flush mm/mmu_gather.c:49 [inline] tlb_flush_mmu_free mm/mmu_gather.c:240 [inline] tlb_flush_mmu+0xe9/0x6e0 mm/mmu_gather.c:247 zap_pte_range mm/memory.c:1355 [inline] zap_pmd_range mm/memory.c:1404 [inline] zap_pud_range mm/memory.c:1433 [inline] zap_p4d_range mm/memory.c:1454 [inline] unmap_page_range+0x17d9/0x1fe0 mm/memory.c:1475 unmap_single_vma+0x198/0x300 mm/memory.c:1520 unmap_vmas+0x16d/0x300 mm/memory.c:1552 exit_mmap+0x27f/0x4f0 mm/mmap.c:3235 __mmput kernel/fork.c:1101 [inline] mmput+0xca/0x340 kernel/fork.c:1122 exit_mm kernel/exit.c:536 [inline] do_exit+0xa96/0x2600 kernel/exit.c:847 do_group_exit+0x125/0x310 kernel/exit.c:982 get_signal+0x4bc/0x22e0 kernel/signal.c:2751 arch_do_signal_or_restart+0x2b7/0x1990 arch/x86/kernel/signal.c:805 handle_signal_work kernel/entry/common.c:145 [inline] exit_to_user_mode_loop kernel/entry/common.c:169 [inline] exit_to_user_mode_prepare+0x10f/0x190 kernel/entry/common.c:199 syscall_exit_to_user_mode+0x38/0x1d0 kernel/entry/common.c:274 entry_SYSCALL_64_after_hwframe+0x67/0xd1 RIP: 0033:0x7f9fc7aa3b19 Code: Unable to access opcode bytes at RIP 0x7f9fc7aa3aef. RSP: 002b:00007f9fc5018e98 EFLAGS: 00000246 ORIG_RAX: 000000000000013f RAX: 0000000000000004 RBX: 0000000020001900 RCX: 00007f9fc7aa3b19 RDX: 000000000000fffe RSI: 0000000000000000 RDI: 00007f9fc7afd0fb RBP: 0000000000000001 R08: 0000000000007fff R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000246 R12: 0000000008100000 R13: 00007ffe8d9de30f R14: 000000000000fffe R15: 0000000000022000 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 288 Comm: syz-executor.7 Not tainted 5.10.223 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 RIP: 0010:task_irq_context kernel/locking/lockdep.c:4463 [inline] RIP: 0010:__lock_acquire+0x300/0x5b00 kernel/locking/lockdep.c:4893 Code: 49 8d b4 24 2c 09 00 00 48 ba 00 00 00 00 00 fc ff df 48 89 f1 48 89 74 24 40 49 89 45 18 65 8b 05 0d b1 db 7e 85 c0 0f 95 c0 <48> c1 e9 03 83 e6 07 0f b6 0c 11 48 89 f2 0f b6 c0 83 c2 03 01 c0 RSP: 0018:ffff888046227498 EFLAGS: 00000046 RAX: 0000000000000000 RBX: ffff888017f65808 RCX: ffff888017f657ec RDX: dffffc0000000000 RSI: ffff888017f657ec RDI: ffff888017f65840 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000005 R11: 0000000000000001 R12: ffff888017f64ec0 R13: ffff888017f65830 R14: ffffffff84ff8c20 R15: 0000000000000002 FS: 0000000000000000(0000) GS:ffff88806cf00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005579f7490c80 CR3: 000000004621c000 CR4: 0000000000350ee0 Call Trace: lock_acquire kernel/locking/lockdep.c:5566 [inline] lock_acquire+0x197/0x470 kernel/locking/lockdep.c:5531 rcu_lock_acquire include/linux/rcupdate.h:303 [inline] rcu_read_lock include/linux/rcupdate.h:717 [inline] lock_page_memcg+0x65/0x270 mm/memcontrol.c:2140 page_remove_rmap+0x21/0x7c0 mm/rmap.c:1328 zap_pte_range mm/memory.c:1287 [inline] zap_pmd_range mm/memory.c:1404 [inline] zap_pud_range mm/memory.c:1433 [inline] zap_p4d_range mm/memory.c:1454 [inline] unmap_page_range+0x110f/0x1fe0 mm/memory.c:1475 unmap_single_vma+0x198/0x300 mm/memory.c:1520 unmap_vmas+0x16d/0x300 mm/memory.c:1552 exit_mmap+0x27f/0x4f0 mm/mmap.c:3235 __mmput kernel/fork.c:1101 [inline] mmput+0xca/0x340 kernel/fork.c:1122 exit_mm kernel/exit.c:536 [inline] do_exit+0xa96/0x2600 kernel/exit.c:847 do_group_exit+0x125/0x310 kernel/exit.c:982 get_signal+0x4bc/0x22e0 kernel/signal.c:2751 arch_do_signal_or_restart+0x2b7/0x1990 arch/x86/kernel/signal.c:805 handle_signal_work kernel/entry/common.c:145 [inline] exit_to_user_mode_loop kernel/entry/common.c:169 [inline] exit_to_user_mode_prepare+0x10f/0x190 kernel/entry/common.c:199 syscall_exit_to_user_mode+0x38/0x1d0 kernel/entry/common.c:274 entry_SYSCALL_64_after_hwframe+0x67/0xd1 RIP: 0033:0x7f54b5712fb7 Code: Unable to access opcode bytes at RIP 0x7f54b5712f8d. RSP: 002b:00007fff35724df0 EFLAGS: 00000293 ORIG_RAX: 000000000000003d RAX: fffffffffffffe00 RBX: 0000000000000065 RCX: 00007f54b5712fb7 RDX: 0000000040000000 RSI: 00007fff35724e7c RDI: 00000000ffffffff RBP: 00007fff35724e7c R08: 0000000000000000 R09: 00007f54b576e1a9 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000 R13: 0000000000058429 R14: 000000000000000c R15: 00007fff35724ee0 mac80211_hwsim: wmediumd released netlink socket, switching to perfect channel medium ---------------- Code disassembly (best guess), 4 bytes skipped: 0: e8 8e 28 5c 00 callq 0x5c2893 5: e9 bf fd ff ff jmpq 0xfffffdc9 a: e8 84 28 5c 00 callq 0x5c2893 f: e9 8c fd ff ff jmpq 0xfffffda0 14: e8 7a 28 5c 00 callq 0x5c2893 19: e9 44 fd ff ff jmpq 0xfffffd62 1e: cc int3 1f: cc int3 20: cc int3 21: cc int3 22: cc int3 23: 48 8b 07 mov (%rdi),%rax * 26: e9 58 d5 0f 03 jmpq 0x30fd583 <-- trapping instruction 2b: 0f 1f 84 00 00 00 00 nopl 0x0(%rax,%rax,1) 32: 00 33: 41 57 push %r15 35: 89 d0 mov %edx,%eax 37: 41 56 push %r14 39: 41 55 push %r13 3b: 41 rex.B