syzbot


panic: acquiring blockable sleep lock with spinlock or critical section held (rwlock) vmmaplk (3)

Status: upstream: reported on 2023/10/24 06:13
Reported-by: syzbot+7b6b9003a6b59dff1abb@syzkaller.appspotmail.com
First crash: 245d, last: 27d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
openbsd panic: acquiring blockable sleep lock with spinlock or critical section held (rwlock) vmmaplk (2) 1 590d 590d 0/3 auto-obsoleted due to no activity on 2023/02/11 01:27
openbsd panic: acquiring blockable sleep lock with spinlock or critical section held (rwlock) vmmaplk 3 1498d 1519d 0/3 closed as dup on 2020/04/28 07:03

Sample crash report:
panic: acquiring blockable sleep lock with spinlock or critical section held (rwlock) vmmaplk
Starting stack trace...
panic(ffffffff828ea7f5) at panic+0x16f sys/kern/subr_prf.c:229
witness_checkorder(ffffffff82e35968,1,0) at witness_checkorder+0xd03 witness_debugger sys/kern/subr_witness.c:2524 [inline]
witness_checkorder(ffffffff82e35968,1,0) at witness_checkorder+0xd03 sys/kern/subr_witness.c:786
rw_enter_read(ffffffff82e35958) at rw_enter_read+0x87 sys/kern/kern_rwlock.c:112
uvmfault_lookup(ffff80002a154c10,0) at uvmfault_lookup+0xd9 sys/uvm/uvm_fault.c:1785
uvm_fault_check(ffff80002a154c10,ffff80002a154c48,ffff80002a154c70) at uvm_fault_check+0x3e sys/uvm/uvm_fault.c:672
uvm_fault(ffffffff82e35878,7f83d8f68000,0,2) at uvm_fault+0xf2 sys/uvm/uvm_fault.c:600
kpageflttrap(ffff80002a154db0,7f83d8f68080) at kpageflttrap+0x238 sys/arch/amd64/amd64/trap.c:279
kerntrap(ffff80002a154db0) at kerntrap+0xf2 sys/arch/amd64/amd64/trap.c:332
alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b
pmap_page_remove(fffffd800777ac80) at pmap_page_remove+0x33d _atomic_swap_64 machine/atomic.h:117 [inline]
pmap_page_remove(fffffd800777ac80) at pmap_page_remove+0x33d sys/arch/amd64/amd64/pmap.c:1990
uvm_anfree_list(fffffd805354de70,0) at uvm_anfree_list+0x98
amap_wipeout(fffffd8068a2f938) at amap_wipeout+0x1af sys/uvm/uvm_amap.c:502
uvm_unmap_detach(ffff80002a154fe0,1) at uvm_unmap_detach+0x7d sys/uvm/uvm_map.c:1354
uvm_map_teardown(fffffd806b0b48a8) at uvm_map_teardown+0x2f8 sys/uvm/uvm_map.c:2554
uvmspace_free(fffffd806b0b48a8) at uvmspace_free+0xa6 sys/uvm/uvm_map.c:3461
reaper(ffff80002a149718) at reaper+0x197 sys/kern/kern_exit.c:475
end trace frame: 0x0, count: 241
End of stack trace.

Crashes (22):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/05/28 20:23 openbsd 06cae3775af3 34889ee3 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: acquiring blockable sleep lock with spinlock or critical section held (rwlock) vmmaplk
2024/05/28 03:50 openbsd 98f39564523a f550015e .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: acquiring blockable sleep lock with spinlock or critical section held (rwlock) vmmaplk
2024/05/25 08:23 openbsd 92850d3aeacc a10a183e .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: acquiring blockable sleep lock with spinlock or critical section held (rwlock) vmmaplk
2024/05/24 04:49 openbsd 6859a790d2a4 8f98448e .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: acquiring blockable sleep lock with spinlock or critical section held (rwlock) vmmaplk
2024/05/20 21:49 openbsd ab5fd4cb8341 c0f1611a .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: acquiring blockable sleep lock with spinlock or critical section held (rwlock) vmmaplk
2024/05/20 20:59 openbsd ab5fd4cb8341 c0f1611a .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: acquiring blockable sleep lock with spinlock or critical section held (rwlock) vmmaplk
2024/05/20 01:48 openbsd 676865473293 c0f1611a .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: acquiring blockable sleep lock with spinlock or critical section held (rwlock) vmmaplk
2024/05/17 07:57 openbsd 77ba8c170614 c2e07261 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: acquiring blockable sleep lock with spinlock or critical section held (rwlock) vmmaplk
2024/05/17 04:45 openbsd 77ba8c170614 c2e07261 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: acquiring blockable sleep lock with spinlock or critical section held (rwlock) vmmaplk
2024/04/30 09:34 openbsd cbdc8d63ee5f f10afd69 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: acquiring blockable sleep lock with spinlock or critical section held (rwlock) vmmaplk
2024/04/26 03:57 openbsd 8fa0fb927089 8bdc0f22 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: acquiring blockable sleep lock with spinlock or critical section held (rwlock) vmmaplk
2024/04/20 08:11 openbsd 55906bae5af5 af24b050 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: acquiring blockable sleep lock with spinlock or critical section held (rwlock) vmmaplk
2024/04/19 16:40 openbsd 78aef4a0e2ce af24b050 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: acquiring blockable sleep lock with spinlock or critical section held (rwlock) vmmaplk
2024/04/17 06:55 openbsd 489289b76a3a 18f6e127 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: acquiring blockable sleep lock with spinlock or critical section held (rwlock) vmmaplk
2024/04/16 17:32 openbsd 25b30cac31a3 2338035c .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: acquiring blockable sleep lock with spinlock or critical section held (rwlock) vmmaplk
2024/04/12 19:25 openbsd 474ea8ba1797 c8349e48 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: acquiring blockable sleep lock with spinlock or critical section held (rwlock) vmmaplk
2024/03/16 10:40 openbsd 9b8ef3b0d162 6ee49f2e .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: acquiring blockable sleep lock with spinlock or critical section held (rwlock) vmmaplk
2024/02/28 05:35 openbsd f2888ae16d7e d367cbe5 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: acquiring blockable sleep lock with spinlock or critical section held (rwlock) vmmaplk
2023/12/28 22:39 openbsd e1825d0cf879 fb427a07 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: acquiring blockable sleep lock with spinlock or critical section held (rwlock) vmmaplk
2023/12/22 18:12 openbsd 29ea0b8ea69a fb427a07 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: acquiring blockable sleep lock with spinlock or critical section held (rwlock) vmmaplk
2023/12/05 20:46 openbsd 1c088b9b3a78 858d62d1 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: acquiring blockable sleep lock with spinlock or critical section held (rwlock) vmmaplk
2023/10/24 06:13 openbsd e0c1f4798a44 af8d2e46 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: acquiring blockable sleep lock with spinlock or critical section held (rwlock) vmmaplk
* Struck through repros no longer work on HEAD.