syzbot


panic: acquiring blockable sleep lock with spinlock or critical section held (kernel_lock) &kernel_lock (9)

Status: upstream: reported on 2026/06/27 04:34
Reported-by: syzbot+de885339faa7e0a8cb83@syzkaller.appspotmail.com
First crash: 10d, last: 9d04h
Similar bugs (8)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
openbsd panic: acquiring blockable sleep lock with spinlock or critical section held (kernel_lock) &kernel_lock (5) 2 C 104 1567d never 3/4 fixed on 2022/03/22 22:28
openbsd panic: acquiring blockable sleep lock with spinlock or critical section held (kernel_lock) &kernel_lock (3) 2 C 2 1765d 1769d 3/4 fixed on 2021/09/07 20:47
openbsd panic: acquiring blockable sleep lock with spinlock or critical section held (kernel_lock) &kernel_lock (4) 2 C 249 1568d 1568d 3/4 fixed on 2022/03/22 10:24
openbsd panic: acquiring blockable sleep lock with spinlock or critical section held (kernel_lock) &kernel_lock 2 33 2506d 2510d 3/4 fixed on 2019/08/27 19:45
openbsd panic: acquiring blockable sleep lock with spinlock or critical section held (kernel_lock) &kernel_lock (2) 2 C 152 1770d 2490d 3/4 fixed on 2021/09/01 16:54
openbsd panic: acquiring blockable sleep lock with spinlock or critical section held (kernel_lock) &kernel_lock (8) 2 C 175 781d 794d 0/4 auto-obsoleted due to no activity on 2024/08/09 07:23
openbsd panic: acquiring blockable sleep lock with spinlock or critical section held (kernel_lock) &kernel_lock (6) 2 C 80 1566d 1567d 3/4 fixed on 2022/03/24 08:53
openbsd panic: acquiring blockable sleep lock with spinlock or critical section held (kernel_lock) &kernel_lock (7) 2 syz 9 1284d 1299d 3/4 fixed on 2023/01/12 22:01

Sample crash report:
panic: acquiring blockable sleep lock with spinlock or critical section held (kernel_lock) &kernel_lock
Stopped at      db_enter+0x25:  addq    $0x8,%rsp
    TID    PID    UID     PRFLAGS     PFLAGS  CPU  COMMAND
 290216  16442      0           0          0    1  syz-executor
*235205   7755      0     0x14000      0x200    0  systqmp
db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438
panic(ffffffff835572bd) at panic+0x1e5 sys/kern/subr_prf.c:198
witness_checkorder(ffffffff83a7eac0,9,0) at witness_checkorder+0x11ee sys/kern/subr_witness.c:847
__mp_lock(ffffffff83a7e2c0) at __mp_lock+0xe1 read_rflags sys/arch/amd64/compile/SYZKALLER/obj/machine/cpufunc.h:212 [inline]
__mp_lock(ffffffff83a7e2c0) at __mp_lock+0xe1 intr_disable sys/arch/amd64/compile/SYZKALLER/obj/machine/cpufunc.h:233 [inline]
__mp_lock(ffffffff83a7e2c0) at __mp_lock+0xe1 sys/kern/kern_lock.c:168
selwakeup(ffff800001617a90) at selwakeup+0x23 sys/kern/sys_generic.c:836
ptsstart(ffff8000015a2e00) at ptsstart+0x120 ptcwakeup sys/kern/tty_pty.c:391 [inline]
ptsstart(ffff8000015a2e00) at ptsstart+0x120 sys/kern/tty_pty.c:358
tputchar(70,ffff8000015a2e00) at tputchar+0x17b ttstart sys/kern/tty.c:1367 [inline]
tputchar(70,ffff8000015a2e00) at tputchar+0x17b sys/kern/tty.c:2301
kputchar(70,1,0) at kputchar+0x10e sys/kern/subr_prf.c:360
kprintf() at kprintf+0x223 sys/kern/subr_prf.c:723
log(5,ffffffff83521847) at log+0x1f8 sys/kern/subr_prf.c:292
pf_purge_expired_fragments() at pf_purge_expired_fragments+0x148 sys/net/pf_norm.c:214
pf_purge(0) at pf_purge+0x248 sys/net/pf.c:1979
taskq_thread(ffffffff839405b0) at taskq_thread+0x157 sys/kern/kern_task.c:446
end trace frame: 0x0, count: 2
https://www.openbsd.org/ddb.html describes the minimum info required in bug
reports.  Insufficient info makes it difficult to find and fix bugs.
ddb{0}> 
ddb{0}> 

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/06/28 07:09 openbsd 2194060d1c40 fb92f11c .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: acquiring blockable sleep lock with spinlock or critical section held (kernel_lock) &kernel_lock
2026/06/27 04:33 openbsd 309f6120392c fb92f11c .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: acquiring blockable sleep lock with spinlock or critical section held (kernel_lock) &kernel_lock
* Struck through repros no longer work on HEAD.