Buffer I/O error on dev loop0, logical block 10, lost async page write 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.5:5218] Modules linked in: irq event stamp: 4317089 hardirqs last enabled at (4317088): [] asm_sysvec_apic_timer_interrupt+0x1a/0x20 hardirqs last disabled at (4317089): [] sysvec_apic_timer_interrupt+0xf/0xc0 softirqs last enabled at (4191606): [] __irq_exit_rcu+0x11b/0x180 softirqs last disabled at (4191611): [] __irq_exit_rcu+0x11b/0x180 CPU: 0 PID: 5218 Comm: syz-executor.5 Not tainted 6.1.0-rc7-next-20221201 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 RIP: 0010:unwind_next_frame+0x1c2/0x2130 Code: 8d 43 ff 39 c6 0f 83 8c 15 00 00 48 b8 00 00 00 00 00 fc ff df 89 f2 48 8d 3c 95 68 dd 48 86 48 89 f9 48 c1 e9 03 0f b6 0c 01 <48> 89 f8 83 e0 07 83 c0 03 38 c8 7c 27 84 c9 74 23 48 89 54 24 28 RSP: 0018:ffff88806ce097c8 EFLAGS: 00000212 RAX: dffffc0000000000 RBX: 0000000000000002 RCX: 0000000000000000 RDX: 0000000000033efa RSI: 0000000000033efa RDI: ffffffff8655d950 RBP: ffff88806ce098a0 R08: ffffffff8605691e R09: ffffffff86056922 R10: ffffed100d9c1316 R11: 0000000000038001 R12: ffff88806ce09889 R13: ffff88806ce098a8 R14: ffff88806ce09848 R15: ffffffff843efa91 FS: 00007f6fe0537700(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000558d6bafa970 CR3: 000000002198a000 CR4: 0000000000350ef0 Call Trace: arch_stack_walk+0x87/0xf0 stack_trace_save+0x90/0xd0 kasan_save_stack+0x22/0x50 __kasan_record_aux_stack+0x95/0xb0 __call_rcu_common.constprop.0+0x6a/0xa40 __kmem_cache_free+0x95/0x410 skb_release_data+0x6d8/0x810 consume_skb+0xcb/0x170 mac80211_hwsim_tx_frame+0x1f6/0x2a0 mac80211_hwsim_beacon_tx+0x566/0xab0 __iterate_interfaces+0x2d3/0x560 ieee80211_iterate_active_interfaces_atomic+0x74/0x180 mac80211_hwsim_beacon+0x105/0x200 __hrtimer_run_queues+0x54b/0xba0 hrtimer_run_softirq+0x176/0x350 __do_softirq+0x1c7/0x8f9 __irq_exit_rcu+0x11b/0x180 irq_exit_rcu+0x9/0x30 sysvec_apic_timer_interrupt+0x92/0xc0 asm_sysvec_apic_timer_interrupt+0x1a/0x20 RIP: 0010:rcu_preempt_deferred_qs_irqrestore+0x146/0x1110 Code: 45 84 f6 75 3b f7 c5 00 02 00 00 75 13 48 83 c4 58 5b 5d 41 5c 41 5d 41 5e 41 5f e9 d8 c9 0c 03 e8 4f a6 1b 00 fb 48 83 c4 58 <5b> 5d 41 5c 41 5d 41 5e 41 5f e9 bf c9 0c 03 e8 56 5f ff ff eb 8d RSP: 0018:ffff888044ac75f0 EFLAGS: 00000296 RAX: 00000000003ff579 RBX: ffff88801b81b580 RCX: 1ffffffff0ba08d1 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000246 R08: 0000000000000001 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000001 R12: ffff88806ce3a040 R13: ffff88806ce3a051 R14: 0000000000010100 R15: ffff88801b81b978 __rcu_read_unlock+0x289/0x520 __is_insn_slot_addr+0x130/0x250 kernel_text_address+0x48/0xc0 __kernel_text_address+0xd/0x40 unwind_get_return_address+0x59/0xa0 arch_stack_walk+0x9d/0xf0 stack_trace_save+0x90/0xd0 kasan_save_stack+0x22/0x50 kasan_set_track+0x25/0x30 __kasan_slab_alloc+0x5c/0x70 kmem_cache_alloc+0x1e1/0x410 __alloc_file+0x21/0x240 alloc_empty_file+0x71/0x170 path_openat+0xd4/0x29b0 do_filp_open+0x1ba/0x410 do_sys_openat2+0x171/0x4c0 __x64_sys_openat+0x143/0x200 do_syscall_64+0x3f/0x90 entry_SYSCALL_64_after_hwframe+0x72/0xdc RIP: 0033:0x7f6fe2fc1b19 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:00007f6fe0537188 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f6fe30d4f60 RCX: 00007f6fe2fc1b19 RDX: 0000000000101042 RSI: 0000000020000100 RDI: ffffffffffffff9c RBP: 00007f6fe301bf6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc2429a2cf R14: 00007f6fe0537300 R15: 0000000000022000 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 5220 Comm: syz-executor.2 Not tainted 6.1.0-rc7-next-20221201 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 RIP: 0010:match_held_lock+0xc/0xd0 Code: c4 08 5d e9 5a 44 02 00 66 0f 1f 44 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 53 48 89 fb 48 83 ec 08 48 39 77 10 <74> 72 66 f7 47 22 f0 ff 74 5e 48 8b 46 08 48 89 f7 48 85 c0 74 46 RSP: 0018:ffff88806cf093b0 EFLAGS: 00000002 RAX: 0000000000000014 RBX: ffff888046218a00 RCX: 0000000000000001 RDX: 0000000000000000 RSI: ffffffff85607f80 RDI: ffff888046218a00 RBP: ffffffff85607f80 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: ffff888046218000 R13: ffff888046218960 R14: 00000000ffffffff R15: ffff888046218a00 FS: 0000000000000000(0000) GS:ffff88806cf00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000558d6bad2fb8 CR3: 000000000cd58000 CR4: 0000000000350ee0 Call Trace: lock_is_held_type+0xab/0x130 rcu_read_lock_sched_held+0x42/0x80 __hrtimer_run_queues+0x846/0xba0 hrtimer_interrupt+0x319/0x770 __sysvec_apic_timer_interrupt+0x148/0x500 sysvec_apic_timer_interrupt+0x3f/0xc0 asm_sysvec_apic_timer_interrupt+0x1a/0x20 RIP: 0010:preempt_count_add+0x4/0x150 Code: fe ff ff e8 ae fb 1c 03 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa <48> c7 c0 40 77 9b 87 55 48 ba 00 00 00 00 00 fc ff df 48 89 c1 53 RSP: 0018:ffff88806cf09690 EFLAGS: 00000246 RAX: ffff8880452dff30 RBX: 0000000000000001 RCX: 0000000000000000 RDX: 1ffff1100d9e12ec RSI: ffffffff843f0a3d RDI: 0000000000000001 RBP: ffff88806cf09770 R08: ffffffff860890ba R09: ffffffff860890be R10: ffff88806cf09ff8 R11: ffff88806cf09758 R12: ffff88806cf097e0 R13: 0000000000000000 R14: ffff88806cf09718 R15: 0000000000000a20 unwind_next_frame+0xb0/0x2130 arch_stack_walk+0x87/0xf0 stack_trace_save+0x90/0xd0 kasan_save_stack+0x22/0x50 kasan_set_track+0x25/0x30 __kasan_slab_alloc+0x5c/0x70 kmem_cache_alloc_node+0x1f5/0x420 __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+0x566/0xab0 __iterate_interfaces+0x2d3/0x560 ieee80211_iterate_active_interfaces_atomic+0x74/0x180 mac80211_hwsim_beacon+0x105/0x200 __hrtimer_run_queues+0x54b/0xba0 hrtimer_run_softirq+0x176/0x350 __do_softirq+0x1c7/0x8f9 __irq_exit_rcu+0x11b/0x180 irq_exit_rcu+0x9/0x30 sysvec_apic_timer_interrupt+0x92/0xc0 asm_sysvec_apic_timer_interrupt+0x1a/0x20 RIP: 0010:rcu_is_watching+0x5/0xb0 Code: 49 00 eb dc e8 ac b7 49 00 eb 99 e8 b5 b6 49 00 e9 50 ff ff ff 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 53 <48> 83 ec 08 65 ff 05 b8 07 d0 7e e8 6b 94 0b 03 48 c7 c3 00 4f 03 RSP: 0018:ffff8880452df6a8 EFLAGS: 00000246 RAX: 0100000000000000 RBX: 0000000000000000 RCX: ffffffff817f78c0 RDX: 1ffffd40001eeb38 RSI: 0000000000000008 RDI: ffffea0000f759c0 RBP: ffffea0000f759c0 R08: 0000000000000000 R09: ffffea0000f759c7 R10: fffff940001eeb38 R11: 0000000000000001 R12: ffff88800cc7d1a0 R13: ffffea0000f759c0 R14: ffffea0000f759f0 R15: ffff8880452dfad8 unlock_page_memcg+0xbe/0x230 page_remove_rmap+0x23f/0x620 unmap_page_range+0x1fdf/0x2c10 unmap_single_vma+0x190/0x2a0 unmap_vmas+0x226/0x380 exit_mmap+0x158/0x680 mmput+0xd5/0x390 do_exit+0x99b/0x2720 do_group_exit+0xd4/0x2a0 get_signal+0x21a5/0x22e0 arch_do_signal_or_restart+0x79/0x5a0 exit_to_user_mode_prepare+0x131/0x1a0 syscall_exit_to_user_mode+0x1d/0x50 do_syscall_64+0x4c/0x90 entry_SYSCALL_64_after_hwframe+0x72/0xdc RIP: 0033:0x7f6b4a35cb19 Code: Unable to access opcode bytes at 0x7f6b4a35caef. RSP: 002b:00007f6b478d2218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: 0000000000000000 RBX: 00007f6b4a46ff68 RCX: 00007f6b4a35cb19 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f6b4a46ff68 RBP: 00007f6b4a46ff60 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f6b4a46ff6c R13: 00007ffcf6b2f03f R14: 00007f6b478d2300 R15: 0000000000022000 loop6: detected capacity change from 0 to 40 syz-executor.6: attempt to access beyond end of device loop6: rw=2049, sector=124, nr_sectors = 4 limit=40 Buffer I/O error on dev loop6, logical block 31, lost async page write ---------------- Code disassembly (best guess): 0: 8d 43 ff lea -0x1(%rbx),%eax 3: 39 c6 cmp %eax,%esi 5: 0f 83 8c 15 00 00 jae 0x1597 b: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 12: fc ff df 15: 89 f2 mov %esi,%edx 17: 48 8d 3c 95 68 dd 48 lea -0x79b72298(,%rdx,4),%rdi 1e: 86 1f: 48 89 f9 mov %rdi,%rcx 22: 48 c1 e9 03 shr $0x3,%rcx 26: 0f b6 0c 01 movzbl (%rcx,%rax,1),%ecx * 2a: 48 89 f8 mov %rdi,%rax <-- trapping instruction 2d: 83 e0 07 and $0x7,%eax 30: 83 c0 03 add $0x3,%eax 33: 38 c8 cmp %cl,%al 35: 7c 27 jl 0x5e 37: 84 c9 test %cl,%cl 39: 74 23 je 0x5e 3b: 48 89 54 24 28 mov %rdx,0x28(%rsp)