loop7: detected capacity change from 0 to 40 syz-executor.7: attempt to access beyond end of device loop7: rw=2049, sector=124, nr_sectors = 4 limit=40 Buffer I/O error on dev loop7, logical block 31, lost async page write watchdog: BUG: soft lockup - CPU#1 stuck for 26s! [syz-executor.3:37758] Modules linked in: irq event stamp: 4800277 hardirqs last enabled at (4800276): [] asm_sysvec_apic_timer_interrupt+0x1a/0x20 hardirqs last disabled at (4800277): [] sysvec_apic_timer_interrupt+0xf/0x90 softirqs last enabled at (4763372): [] __irq_exit_rcu+0xcc/0x110 softirqs last disabled at (4763375): [] __irq_exit_rcu+0xcc/0x110 CPU: 1 PID: 37758 Comm: syz-executor.3 Not tainted 6.3.0-rc1-next-20230308 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 RIP: 0010:unwind_next_frame+0x3a8/0x22d0 Code: 00 00 fc ff df 4c 8d 41 04 4c 89 c2 48 c1 ea 03 0f b6 04 02 4c 89 c2 83 e2 07 38 d0 7f 08 84 c0 0f 85 a6 16 00 00 f6 41 04 0f <0f> 85 a4 00 00 00 48 b8 00 00 00 00 00 fc ff df 48 8d 79 05 48 89 RSP: 0018:ffff88806cf09550 EFLAGS: 00000206 RAX: 0000000000000000 RBX: ffffffff835d9bbd RCX: ffffffff86391852 RDX: 0000000000000006 RSI: ffffffff86391852 RDI: ffffffff85f8756c RBP: ffff88806cf09618 R08: ffffffff86391856 R09: ffff88806cf09600 R10: 0000000000038001 R11: 0000000000000001 R12: ffff88806cf09620 R13: ffff88806cf095c0 R14: ffff88806cf09601 R15: 0000000000000001 FS: 00007fcd62445700(0000) GS:ffff88806cf00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffe0bf98ff8 CR3: 00000000432b2000 CR4: 0000000000350ee0 Call Trace: 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/0x320 __create_object+0x3c/0xc90 kmem_cache_alloc_node+0x21f/0x330 kmalloc_reserve+0x169/0x270 __alloc_skb+0x129/0x330 skb_copy+0x13d/0x3f0 mac80211_hwsim_tx_frame_no_nl.isra.0+0xb08/0x1330 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+0x14c/0x310 __do_softirq+0x258/0x8a2 __irq_exit_rcu+0xcc/0x110 irq_exit_rcu+0x9/0x20 sysvec_apic_timer_interrupt+0x6e/0x90 asm_sysvec_apic_timer_interrupt+0x1a/0x20 RIP: 0010:__local_bh_enable_ip+0xf4/0x110 Code: 48 89 ef e8 de 9a 14 00 eb a7 0f 0b e9 42 ff ff ff 65 66 8b 05 35 91 ea 7e 66 85 c0 74 ad e8 23 fe ff ff eb a6 0f 1f 44 00 00 <5b> 5d e9 79 4e 32 03 48 c7 c7 70 a7 d2 85 e8 f9 7d 67 00 e9 3f ff RSP: 0018:ffff88803f6a73d0 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 00000000fffffe01 RCX: ffffffff812cb98f RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff8118f931 RBP: ffffffff8391a0dd R08: 0000000000000001 R09: ffffffff87785a4f R10: fffffbfff0ef0b49 R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000000 R14: ffff888032078000 R15: 00000000aa1414ac ip_finish_output2+0x73b/0x2120 ip_do_fragment+0x1e14/0x24e0 ip_fragment.constprop.0+0x16b/0x240 __ip_finish_output.part.0+0x883/0xd10 ip_output+0x2ec/0x8e0 ip_push_pending_frames+0x30b/0x5c0 raw_sendmsg+0x120d/0x2c80 inet_sendmsg+0x121/0x150 sock_sendmsg+0x19b/0x200 ____sys_sendmsg+0x74e/0x980 ___sys_sendmsg+0x110/0x1b0 __sys_sendmsg+0xf7/0x1d0 do_syscall_64+0x3f/0x90 entry_SYSCALL_64_after_hwframe+0x72/0xdc RIP: 0033:0x7fcd64ecfb19 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 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fcd62445188 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007fcd64fe2f60 RCX: 00007fcd64ecfb19 RDX: 0000000000000000 RSI: 0000000020000780 RDI: 0000000000000006 RBP: 00007fcd64f29f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffed8bcc25f R14: 00007fcd62445300 R15: 0000000000022000 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 0 Comm: swapper/0 Not tainted 6.3.0-rc1-next-20230308 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 RIP: 0010:queued_spin_lock_slowpath+0x128/0xc50 Code: 00 00 00 65 48 2b 04 25 28 00 00 00 0f 85 d5 09 00 00 48 81 c4 88 00 00 00 5b 5d 41 5c 41 5d 41 5e 41 5f e9 4e 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:ffff88806ce09a28 EFLAGS: 00000202 RAX: 0000000000000000 RBX: 0000000000000001 RCX: ffffffff844b283b RDX: fffffbfff0b4b0c5 RSI: 0000000000000004 RDI: ffffffff85a58620 RBP: ffffffff85a58620 R08: 0000000000000000 R09: ffffffff85a58623 R10: fffffbfff0b4b0c4 R11: 0000000000000001 R12: 0000000000000003 R13: fffffbfff0b4b0c4 R14: 0000000000000001 R15: 1ffff1100d9c1346 FS: 0000000000000000(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005555563a3c58 CR3: 000000000e70a000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: do_raw_spin_lock+0x1e0/0x270 mac80211_hwsim_tx_frame_no_nl.isra.0+0x6de/0x1330 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+0x14c/0x310 __do_softirq+0x258/0x8a2 __irq_exit_rcu+0xcc/0x110 irq_exit_rcu+0x9/0x20 sysvec_apic_timer_interrupt+0x6e/0x90 asm_sysvec_apic_timer_interrupt+0x1a/0x20 RIP: 0010:default_idle+0xf/0x20 Code: 4c 01 c7 4c 29 c2 e9 72 ff ff ff 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa eb 07 0f 00 2d 53 4d 39 00 fb f4 e9 cf 12 02 00 66 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90 RSP: 0018:ffffffff85407e38 EFLAGS: 00000202 RAX: 0000000000ae8a73 RBX: ffffffff8542a840 RCX: ffffffff8449250e RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff81284df0 RBP: 0000000000000000 R08: 0000000000000001 R09: ffff88806ce34f83 R10: ffffed100d9c69f0 R11: 0000000000000001 R12: fffffbfff0a85508 R13: ffffffff85d29610 R14: 0000000000000000 R15: 0000000000000000 default_idle_call+0x67/0xa0 do_idle+0x300/0x3d0 cpu_startup_entry+0x18/0x20 rest_init+0x166/0x290 arch_call_rest_init+0x13/0x40 start_kernel+0x372/0x530 secondary_startup_64_no_verify+0xe0/0xeb ---------------- Code disassembly (best guess), 4 bytes skipped: 0: df 4c 8d 41 fisttps 0x41(%rbp,%rcx,4) 4: 04 4c add $0x4c,%al 6: 89 c2 mov %eax,%edx 8: 48 c1 ea 03 shr $0x3,%rdx c: 0f b6 04 02 movzbl (%rdx,%rax,1),%eax 10: 4c 89 c2 mov %r8,%rdx 13: 83 e2 07 and $0x7,%edx 16: 38 d0 cmp %dl,%al 18: 7f 08 jg 0x22 1a: 84 c0 test %al,%al 1c: 0f 85 a6 16 00 00 jne 0x16c8 22: f6 41 04 0f testb $0xf,0x4(%rcx) * 26: 0f 85 a4 00 00 00 jne 0xd0 <-- trapping instruction 2c: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 33: fc ff df 36: 48 8d 79 05 lea 0x5(%rcx),%rdi 3a: 48 rex.W 3b: 89 .byte 0x89