loop0: detected capacity change from 0 to 40 syz-executor.0: attempt to access beyond end of device loop0: rw=2049, sector=40, nr_sectors = 4 limit=40 Buffer I/O error on dev loop0, logical block 10, lost async page write watchdog: BUG: soft lockup - CPU#1 stuck for 21s! [syz-executor.5:9937] Modules linked in: irq event stamp: 5525597 hardirqs last enabled at (5525596): [] asm_sysvec_apic_timer_interrupt+0x1a/0x20 hardirqs last disabled at (5525597): [] sysvec_apic_timer_interrupt+0xf/0xc0 softirqs last enabled at (5466554): [] irq_exit_rcu+0x11f/0x190 softirqs last disabled at (5466557): [] irq_exit_rcu+0x11f/0x190 CPU: 1 PID: 9937 Comm: syz-executor.5 Not tainted 6.2.0-rc5-next-20230124 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 RIP: 0010:queued_spin_lock_slowpath+0x128/0xc90 Code: 00 00 00 65 48 2b 04 25 28 00 00 00 0f 85 e6 0a 00 00 48 81 c4 88 00 00 00 5b 5d 41 5c 41 5d 41 5e 41 5f e9 ce 1f 00 00 f3 90 71 ff ff ff 44 8b 74 24 48 41 81 fe 00 01 00 00 0f 84 e4 00 00 RSP: 0018:ffff88806cf09a30 EFLAGS: 00000202 RAX: 0000000000000000 RBX: 0000000000000001 RCX: ffffffff84452cbb RDX: fffffbfff0b491fd RSI: 0000000000000004 RDI: ffffffff85a48fe0 RBP: ffffffff85a48fe0 R08: 0000000000000000 R09: ffffffff85a48fe3 R10: fffffbfff0b491fc R11: 0000000000000001 R12: 0000000000000003 R13: fffffbfff0b491fc R14: 0000000000000001 R15: 1ffff1100d9e1347 FS: 0000000000000000(0000) GS:ffff88806cf00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000563916c75a68 CR3: 0000000015b72000 CR4: 0000000000350ee0 Call Trace: do_raw_spin_lock+0x1e0/0x270 mac80211_hwsim_tx_frame_no_nl.isra.0+0x6f1/0x1360 mac80211_hwsim_tx_frame+0x1ee/0x2a0 mac80211_hwsim_beacon_tx+0x567/0xb10 __iterate_interfaces+0x2d3/0x580 ieee80211_iterate_active_interfaces_atomic+0x73/0x1c0 mac80211_hwsim_beacon+0x105/0x200 __hrtimer_run_queues+0x54b/0xcb0 hrtimer_run_softirq+0x176/0x350 __do_softirq+0x274/0x8ff irq_exit_rcu+0x11f/0x190 sysvec_apic_timer_interrupt+0x92/0xc0 asm_sysvec_apic_timer_interrupt+0x1a/0x20 RIP: 0010:unmap_page_range+0xdc6/0x2d90 Code: 48 85 db 0f 84 20 fd ff ff e8 56 fb db ff 48 8d 43 08 48 89 44 24 50 48 c1 e8 03 42 80 3c 30 00 0f 85 1f 16 00 00 48 8b 6b 08 <31> ff 49 89 ec 41 83 e4 01 4c 89 e6 e8 89 f7 db ff 4d 85 e4 0f 85 RSP: 0018:ffff8880365ff700 EFLAGS: 00000246 RAX: 1ffffd4000205c39 RBX: ffffea000102e1c0 RCX: 0000000000000000 RDX: ffff888008d51ac0 RSI: ffffffff816d7daa RDI: ffff8880365ffaf0 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: 8000000040b87007 R13: ffff8880365ffad8 R14: dffffc0000000000 R15: 00007ffaac400000 unmap_single_vma+0x190/0x2a0 unmap_vmas+0x225/0x370 exit_mmap+0x158/0x6a0 mmput+0xd5/0x390 do_exit+0x9c8/0x2780 do_group_exit+0xd4/0x2a0 get_signal+0x2255/0x2390 arch_do_signal_or_restart+0x79/0x5a0 exit_to_user_mode_prepare+0xf5/0x190 syscall_exit_to_user_mode+0x1d/0x50 do_syscall_64+0x4c/0x90 entry_SYSCALL_64_after_hwframe+0x72/0xdc RIP: 0033:0x7ffaad111a04 Code: Unable to access opcode bytes at 0x7ffaad1119da. RSP: 002b:00007ffaaa6d3ed0 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 RAX: 0000000000000007 RBX: 00007ffaad1a8970 RCX: 00007ffaad111a04 RDX: 0000000000000002 RSI: 00007ffaaa6d4000 RDI: 00000000ffffff9c RBP: 00007ffaaa6d4000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000002 R13: 0000000000000005 R14: 00000000200005e0 R15: 0000000000000004 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 9947 Comm: syz-executor.2 Not tainted 6.2.0-rc5-next-20230124 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 RIP: 0010:lock_acquire.part.0+0xd5/0x340 Code: e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 47 02 00 00 8b 95 5c 09 00 00 85 d2 0f 85 ce 00 00 00 4c 89 4c 24 08 89 74 24 04 9c 5d 48 c7 c7 40 0b 87 84 e8 5e e8 16 03 45 89 e8 44 89 e1 44 89 f2 RSP: 0018:ffff88806ce08df0 EFLAGS: 00000046 RAX: 0000000000000007 RBX: 1ffff1100d9c11c0 RCX: 0000000000000002 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff88801696599c RBP: 0000000000000046 R08: 0000000000000000 R09: 0000000000000000 R10: fffffbfff0ba23c2 R11: 0000000000000001 R12: 0000000000000002 R13: 0000000000000000 R14: 0000000000000000 R15: ffffffff8560b060 FS: 0000000000000000(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f236e9f1010 CR3: 000000000e6ec000 CR4: 0000000000350ef0 Call Trace: perf_output_begin_forward+0xb4/0xb50 perf_event_output_forward+0x1c4/0x3c0 __perf_event_overflow+0x3f3/0x760 perf_swevent_hrtimer+0x36a/0x3e0 __hrtimer_run_queues+0x17f/0xcb0 hrtimer_interrupt+0x319/0x770 __sysvec_apic_timer_interrupt+0x148/0x510 sysvec_apic_timer_interrupt+0x3f/0xc0 asm_sysvec_apic_timer_interrupt+0x1a/0x20 RIP: 0010:__orc_find+0x6f/0xf0 Code: 72 4d 4c 89 e0 48 29 e8 48 89 c2 48 c1 e8 3f 48 c1 fa 02 48 01 d0 48 d1 f8 48 8d 5c 85 00 48 89 d8 48 c1 e8 03 42 0f b6 14 38 <48> 89 d8 83 e0 07 83 c0 03 38 d0 7c 04 84 d2 75 50 48 63 03 48 01 RSP: 0018:ffff88806ce095b0 EFLAGS: 00000212 RAX: 1ffffffff0baa201 RBX: ffffffff85d51008 RCX: ffffffff8107ff68 RDX: 0000000000000000 RSI: ffffffff86048b70 RDI: ffffffff85d51004 RBP: ffffffff85d51004 R08: ffffffff86048b70 R09: ffffffff8606c148 R10: ffff88806ce09ff8 R11: 0000000000038001 R12: ffffffff85d51010 R13: ffffffff85d51004 R14: ffffffff85d51004 R15: dffffc0000000000 unwind_next_frame+0x2b1/0x2130 arch_stack_walk+0x87/0xf0 stack_trace_save+0x90/0xd0 kasan_save_stack+0x22/0x50 kasan_set_track+0x25/0x30 __kasan_slab_alloc+0x59/0x70 kmem_cache_alloc+0x172/0x300 __create_object+0x3d/0xc40 kmem_cache_alloc_node+0x215/0x310 __alloc_skb+0x21a/0x310 skb_copy+0x13d/0x3d0 mac80211_hwsim_tx_frame_no_nl.isra.0+0xb6d/0x1360 mac80211_hwsim_tx_frame+0x1ee/0x2a0 mac80211_hwsim_beacon_tx+0x567/0xb10 __iterate_interfaces+0x2d3/0x580 ieee80211_iterate_active_interfaces_atomic+0x73/0x1c0 mac80211_hwsim_beacon+0x105/0x200 __hrtimer_run_queues+0x54b/0xcb0 hrtimer_run_softirq+0x176/0x350 __do_softirq+0x274/0x8ff irq_exit_rcu+0x11f/0x190 sysvec_apic_timer_interrupt+0x92/0xc0 asm_sysvec_apic_timer_interrupt+0x1a/0x20 RIP: 0010:__sanitizer_cov_trace_const_cmp4+0x0/0x20 Code: 0c 24 0f b7 d6 0f b7 f7 bf 03 00 00 00 e9 58 fe ff ff 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1e fa 48 8b 0c 24 89 f2 89 fe bf 05 00 00 00 e9 2a fe ff ff RSP: 0018:ffff88804573f6f8 EFLAGS: 00000202 RAX: 0000000000000000 RBX: 8000000000000007 RCX: 0000000000000000 RDX: ffff888016965040 RSI: 0000000000000001 RDI: 0000000000000000 RBP: 0000000000000001 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: 800000003d959007 R13: ffff88804573fad8 R14: dffffc0000000000 R15: 00007fa5e6200000 unmap_page_range+0x9ce/0x2d90 unmap_single_vma+0x190/0x2a0 unmap_vmas+0x225/0x370 exit_mmap+0x158/0x6a0 mmput+0xd5/0x390 do_exit+0x9c8/0x2780 do_group_exit+0xd4/0x2a0 get_signal+0x2255/0x2390 arch_do_signal_or_restart+0x79/0x5a0 exit_to_user_mode_prepare+0xf5/0x190 syscall_exit_to_user_mode+0x1d/0x50 do_syscall_64+0x4c/0x90 entry_SYSCALL_64_after_hwframe+0x72/0xdc RIP: 0033:0x7fa5e7704b19 Code: Unable to access opcode bytes at 0x7fa5e7704aef. RSP: 002b:00007fa5e4c7a188 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: 0000000000000068 RBX: 00007fa5e7817f60 RCX: 00007fa5e7704b19 RDX: 0000000000000068 RSI: 0000000020000500 RDI: 0000000000000009 RBP: 00007fa5e775ef6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffdcf73a07f R14: 00007fa5e4c7a300 R15: 0000000000022000 Bluetooth: hci5: command 0x0406 tx timeout ---------------- Code disassembly (best guess): 0: 00 00 add %al,(%rax) 2: 00 65 48 add %ah,0x48(%rbp) 5: 2b 04 25 28 00 00 00 sub 0x28,%eax c: 0f 85 e6 0a 00 00 jne 0xaf8 12: 48 81 c4 88 00 00 00 add $0x88,%rsp 19: 5b pop %rbx 1a: 5d pop %rbp 1b: 41 5c pop %r12 1d: 41 5d pop %r13 1f: 41 5e pop %r14 21: 41 5f pop %r15 23: e9 ce 1f 00 00 jmpq 0x1ff6 28: f3 90 pause * 2a: e9 71 ff ff ff jmpq 0xffffffa0 <-- trapping instruction 2f: 44 8b 74 24 48 mov 0x48(%rsp),%r14d 34: 41 81 fe 00 01 00 00 cmp $0x100,%r14d 3b: 0f .byte 0xf 3c: 84 e4 test %ah,%ah