loop0: detected capacity change from 0 to 40 syz-executor.0: attempt to access beyond end of device loop0: rw=2049, sector=124, nr_sectors = 4 limit=40 Buffer I/O error on dev loop0, logical block 31, lost async page write watchdog: BUG: soft lockup - CPU#0 stuck for 26s! [syz-executor.4:49612] Modules linked in: irq event stamp: 5368327 hardirqs last enabled at (5368326): [] asm_sysvec_apic_timer_interrupt+0x1a/0x20 hardirqs last disabled at (5368327): [] sysvec_apic_timer_interrupt+0xf/0x90 softirqs last enabled at (5321116): [] __irq_exit_rcu+0xcc/0x110 softirqs last disabled at (5321119): [] __irq_exit_rcu+0xcc/0x110 CPU: 0 PID: 49612 Comm: syz-executor.4 Not tainted 6.2.0-next-20230303 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 RIP: 0010:___slab_alloc+0x2a5/0x1070 Code: 0a 00 00 49 c7 46 28 00 00 00 00 48 c7 c6 0e 03 80 81 4c 89 f7 e8 0b 5d ad ff 4d 85 ed 74 06 e8 d1 a1 d2 ff fb 48 8b 44 24 30 ab fd ff ff 48 8b 45 00 be ff ff ff ff 48 8d 78 20 65 48 03 3d RSP: 0018:ffff88806ce099c8 EFLAGS: 00000202 RAX: ffffea000116c200 RBX: ffff88806ce41bb0 RCX: ffffffff812cbd8f RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff8180032f RBP: ffff888008fc0280 R08: 0000000000000001 R09: ffffffff877829c7 R10: fffffbfff0ef0538 R11: 0000000000000001 R12: 00000000ffffffff R13: 0000000000000200 R14: ffff88806ce41bd0 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8e46226590 CR3: 000000000fd6e000 CR4: 0000000000350ef0 Call Trace: kmem_cache_alloc_node+0x2fd/0x330 kmalloc_reserve+0x169/0x270 __alloc_skb+0x129/0x330 __netdev_alloc_skb+0x72/0x370 __ieee80211_beacon_get+0x3d9/0x13c0 ieee80211_beacon_get_tim+0x99/0x540 mac80211_hwsim_beacon_tx+0x1d3/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:__tlb_remove_page_size+0x32/0x480 Code: 41 55 49 89 f5 41 54 55 53 48 89 fb e8 67 b0 d7 ff 48 8d 7b 18 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 <0f> 85 aa 03 00 00 48 8b 6b 18 31 ff 48 89 ee e8 0a ac d7 ff 48 85 RSP: 0018:ffff8880486976b8 EFLAGS: 00000246 RAX: dffffc0000000000 RBX: ffff888048697ad8 RCX: 0000000000000000 RDX: 1ffff110090d2f5e RSI: ffffffff8173d199 RDI: ffff888048697af0 RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000000 R10: 000000000000001f R11: 0000000000000001 R12: 000000000000001f R13: ffffea0000fa7840 R14: dffffc0000000000 R15: 000000000000001e unmap_page_range+0x113b/0x2db0 unmap_single_vma+0x19a/0x2b0 unmap_vmas+0x233/0x390 exit_mmap+0x15e/0x960 mmput+0xd5/0x390 do_exit+0x9c6/0x2800 do_group_exit+0xd4/0x2a0 get_signal+0x23c8/0x2450 arch_do_signal_or_restart+0x79/0x590 exit_to_user_mode_prepare+0x122/0x190 syscall_exit_to_user_mode+0x1d/0x50 do_syscall_64+0x4c/0x90 entry_SYSCALL_64_after_hwframe+0x72/0xdc RIP: 0033:0x7f7857342b19 Code: Unable to access opcode bytes at 0x7f7857342aef. RSP: 002b:00007f78548b8218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: 0000000000000000 RBX: 00007f7857455f68 RCX: 00007f7857342b19 RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 00007f7857455f6c RBP: 00007f7857455f60 R08: 000000000000000e R09: 0000000000000000 R10: 0000000000000007 R11: 0000000000000246 R12: 00007f7857455f6c R13: 00007fffe9ba92bf R14: 00007f78548b8300 R15: 0000000000022000 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 skipped: idling at default_idle+0xf/0x20 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: 00 00 add %al,(%rax) 2: 49 c7 46 28 00 00 00 movq $0x0,0x28(%r14) 9: 00 a: 48 c7 c6 0e 03 80 81 mov $0xffffffff8180030e,%rsi 11: 4c 89 f7 mov %r14,%rdi 14: e8 0b 5d ad ff callq 0xffad5d24 19: 4d 85 ed test %r13,%r13 1c: 74 06 je 0x24 1e: e8 d1 a1 d2 ff callq 0xffd2a1f4 23: fb sti 24: 48 8b 44 24 30 mov 0x30(%rsp),%rax * 29: e9 ab fd ff ff jmpq 0xfffffdd9 <-- trapping instruction 2e: 48 8b 45 00 mov 0x0(%rbp),%rax 32: be ff ff ff ff mov $0xffffffff,%esi 37: 48 8d 78 20 lea 0x20(%rax),%rdi 3b: 65 gs 3c: 48 rex.W 3d: 03 .byte 0x3 3e: 3d .byte 0x3d