syz-executor.7: attempt to access beyond end of device loop7: rw=2049, sector=40, nr_sectors = 4 limit=40 Buffer I/O error on dev loop7, logical block 10, lost async page write watchdog: BUG: soft lockup - CPU#0 stuck for 23s! [syz-executor.5:8952] Modules linked in: irq event stamp: 4857213 hardirqs last enabled at (4857212): [] asm_sysvec_irq_work+0x1a/0x20 hardirqs last disabled at (4857213): [] sysvec_apic_timer_interrupt+0xf/0x90 softirqs last enabled at (35616): [] __irq_exit_rcu+0xcc/0x110 softirqs last disabled at (35619): [] __irq_exit_rcu+0xcc/0x110 CPU: 0 PID: 8952 Comm: syz-executor.5 Not tainted 6.3.0-rc6-next-20230412 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 RIP: 0010:__rcu_read_unlock+0xc8/0x4f0 Code: b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 0f b6 04 02 84 c0 74 08 3c 03 0f 8e 76 01 00 00 8b 85 f8 03 00 00 85 c0 75 58 <65> 48 8b 1c 25 80 8d 03 00 48 8d bb f4 03 00 00 48 b8 00 00 00 00 RSP: 0018:ffff88806ce09da8 EFLAGS: 00000206 RAX: 000000000000e06a RBX: ffff88806ce3a540 RCX: 1ffffffff0ba4ce1 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff813705c1 RBP: ffffffff85615e00 R08: 0000000000000001 R09: 0000000000000001 R10: fffffbfff0ba51fa R11: 0000000000000001 R12: 0000000000000001 R13: ffffffff830fee00 R14: 0000000000000200 R15: dffffc0000000000 FS: 00007f2d4a3ba700(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005555567a8c58 CR3: 00000000163a6000 CR4: 0000000000350ef0 Call Trace: ieee80211_iterate_active_interfaces_atomic+0x95/0x1c0 mac80211_hwsim_beacon+0x105/0x200 __hrtimer_run_queues+0x59d/0xb60 hrtimer_run_softirq+0x14c/0x310 __do_softirq+0x1b7/0x7d4 __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:finish_task_switch.isra.0+0x20d/0x830 Code: 89 ff 48 c7 03 00 00 00 00 e8 3f d5 27 03 4d 85 e4 75 ba 4c 89 ff e8 12 b0 27 03 e8 5d b2 2f 00 fb 65 48 8b 1c 25 80 8d 03 00 <48> 8d bb d8 13 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 RSP: 0018:ffff888044677ae8 EFLAGS: 00000206 RAX: 0000000000003c09 RBX: ffff8880101a0000 RCX: 1ffffffff0ba4ce1 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff81233853 RBP: ffff888044677b28 R08: 0000000000000001 R09: 0000000000000001 R10: fffffbfff0ba51fa R11: 0000000000000001 R12: ffff88806ce39798 R13: ffff888019d10000 R14: ffff88800fef9f68 R15: ffff88806ce39780 __schedule+0x995/0x2a00 __cond_resched+0x46/0x70 kmem_cache_alloc+0x32c/0x390 security_file_alloc+0x38/0x170 __alloc_file+0xb6/0x240 alloc_empty_file+0x71/0x190 alloc_file+0x5e/0x810 alloc_file_pseudo+0x16e/0x260 sock_alloc_file+0x53/0x1a0 __sys_socket+0x1ac/0x250 __x64_sys_socket+0x73/0xb0 do_syscall_64+0x3f/0x90 entry_SYSCALL_64_after_hwframe+0x72/0xdc RIP: 0033:0x7f2d4ce44b19 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:00007f2d4a3ba188 EFLAGS: 00000246 ORIG_RAX: 0000000000000029 RAX: ffffffffffffffda RBX: 00007f2d4cf57f60 RCX: 00007f2d4ce44b19 RDX: 0000000000000000 RSI: 0000000000000002 RDI: 000000000000000a RBP: 00007f2d4ce9ef6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc11105adf R14: 00007f2d4a3ba300 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): 0: b8 00 00 00 00 mov $0x0,%eax 5: 00 fc add %bh,%ah 7: ff (bad) 8: df 48 89 fisttps -0x77(%rax) b: fa cli c: 48 c1 ea 03 shr $0x3,%rdx 10: 0f b6 04 02 movzbl (%rdx,%rax,1),%eax 14: 84 c0 test %al,%al 16: 74 08 je 0x20 18: 3c 03 cmp $0x3,%al 1a: 0f 8e 76 01 00 00 jle 0x196 20: 8b 85 f8 03 00 00 mov 0x3f8(%rbp),%eax 26: 85 c0 test %eax,%eax 28: 75 58 jne 0x82 * 2a: 65 48 8b 1c 25 80 8d mov %gs:0x38d80,%rbx <-- trapping instruction 31: 03 00 33: 48 8d bb f4 03 00 00 lea 0x3f4(%rbx),%rdi 3a: 48 rex.W 3b: b8 00 00 00 00 mov $0x0,%eax