syzbot


panic: vputonfreelist: lock count is not zero (4)

Status: upstream: reported on 2026/06/01 18:18
Reported-by: syzbot+bb4eed30f1aecf1ac78c@syzkaller.appspotmail.com
First crash: 7d14h, last: 7d14h
Similar bugs (3)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
openbsd panic: vputonfreelist: lock count is not zero (3) 2 3 782d 841d 0/3 auto-obsoleted due to no activity on 2024/07/17 07:55
openbsd panic: vputonfreelist: lock count is not zero (2) 2 1 1251d 1251d 0/3 auto-obsoleted due to no activity on 2023/04/04 17:19
openbsd panic: vputonfreelist: lock count is not zero 2 C 2 2293d 2293d 3/3 fixed on 2020/03/27 17:30

Sample crash report:
panic: vputonfreelist: lock count is not zero
Stopped at      db_enter+0x25:  addq    $0x8,%rsp
    TID    PID    UID     PRFLAGS     PFLAGS  CPU  COMMAND
 265958  75750  32767        0x11  0x4000000    1  syz-executor
*316832  75750  32767        0x11  0x4000000    0K syz-executor
db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438
panic(ffffffff83510873) at panic+0x1e5 sys/kern/subr_prf.c:198
vputonfreelist(fffffd800c7301f8) at vputonfreelist+0x221
vput(fffffd800c7301f8) at vput+0x166 sys/kern/vfs_subr.c:791
vn_closefile(fffffd806bee7540,ffff8000fffe87e8) at vn_closefile+0x13f sys/kern/vfs_vnops.c:622
fdrop(fffffd806bee7540,ffff8000fffe87e8) at fdrop+0x121 sys/kern/kern_descrip.c:1281
sys_fsync(ffff8000fffe87e8,ffff80003438a5d0,ffff80003438a520) at sys_fsync+0x1b7 sys/kern/vfs_syscalls.c:-1
syscall(ffff80003438a5d0) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline]
syscall(ffff80003438a5d0) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:783
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0xb9135203fd0, count: 6
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}> set $lines = 0
ddb{0}> set $maxwidth = 0
ddb{0}> show panic
*cpu0: vputonfreelist: lock count is not zero
ddb{0}> trace
db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438
panic(ffffffff83510873) at panic+0x1e5 sys/kern/subr_prf.c:198
vputonfreelist(fffffd800c7301f8) at vputonfreelist+0x221
vput(fffffd800c7301f8) at vput+0x166 sys/kern/vfs_subr.c:791
vn_closefile(fffffd806bee7540,ffff8000fffe87e8) at vn_closefile+0x13f sys/kern/vfs_vnops.c:622
fdrop(fffffd806bee7540,ffff8000fffe87e8) at fdrop+0x121 sys/kern/kern_descrip.c:1281
sys_fsync(ffff8000fffe87e8,ffff80003438a5d0,ffff80003438a520) at sys_fsync+0x1b7 sys/kern/vfs_syscalls.c:-1
syscall(ffff80003438a5d0) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline]
syscall(ffff80003438a5d0) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:783
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0xb9135203fd0, count: -9
ddb{0}> show registers
rdi                                0
rsi                              0x1
rbp               0xffff80003438a2c0
rbx               0xffffffff83977e07    cpu_info_full_primary+0x2e07
rdx                                0
rcx               0xffff8000fffe87e8
rax               0xffffffff83976ff0    cpu_info_full_primary+0x1ff0
r8                 0x101010101010101
r9                0x8080808080808080
r10                0xff6e1077247ecc9
r11               0x505faecf38e0e578
r12               0xffffffff83977c08    cpu_info_full_primary+0x2c08
r13                                0
r14                                0
r15                              0x1
rip               0xffffffff81cd3775    db_enter+0x25
cs                               0x8
rflags                         0x246
rsp               0xffff80003438a2b0
ss                                 0
db_enter+0x25:  addq    $0x8,%rsp
ddb{0}> show proc
PROC (syz-executor) tid=316832 pid=75750 tcnt=4 stat=onproc
    flags process=11<CONTROLT,SUGID> proc=4000000<THREAD>
    runpri=17, usrpri=69, slppri=17, nice=20
    wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0
    forw=0xffffffffffffffff, list=0xffff8000fffe8d18,0xffff8000fffe94f0
    process=0xffff8000fffe5830 user=0xffff800034385000, vmspace=0xfffffd800c48d028
    estcpu=19, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0
ddb{0}> ps
   PID     TID   PPID    UID  S       FLAGS  WAIT          COMMAND
 75750  500183  35245  32767  2        0x11                syz-executor
 75750  265958  35245  32767  7   0x4000011                syz-executor
*75750  316832  35245  32767  7   0x4000011                syz-executor
 75750  470572  35245  32767  3   0x4000091  fsleep        syz-executor
 43918   49074  79944  32767  3        0x90  nanoslp       syz-executor
 43918  246296  79944  32767  3   0x4000090  ttyout        syz-executor
 43918   12455  79944  32767  3   0x4000010  biowait       syz-executor
 43918  114025  79944  32767  3   0x4000090  fsleep        syz-executor
 67505  329245  24235  32767  3        0x90  piperd        syz-executor
 42718  249702  38141  32767  3        0x90  piperd        syz-executor
 45212  452891  99330  32767  3        0x90  piperd        syz-executor
 79944  391640  22114  32767  3        0x90  nanoslp       syz-executor
 51628  173869  80341  32767  3        0x90  piperd        syz-executor
 35245  139985  93787  32767  3        0x90  nanoslp       syz-executor
  6098  279786  49490  32767  3        0x90  piperd        syz-executor
 80341  273576   6373      0  3        0x82  wait          syz-executor
 38141  349439   6373      0  3        0x82  wait          syz-executor
 99330  378053   6373      0  3        0x82  wait          syz-executor
 93787  138879   6373      0  3        0x82  wait          syz-executor
 22114  393969   6373      0  3        0x82  wait          syz-executor
 49490   38598   6373      0  3        0x82  wait          syz-executor
 24235  436268   6373      0  3        0x82  wait          syz-executor
  6373  364518  17964      0  3        0x82  nanoslp       syz-executor
 17964  449438  72398      0  3    0x10008a  sigsusp       ksh
 72398  256735  89153      0  3        0x98  kqread        sshd-session
 89153  174335  18950      0  3        0x92  kqread        sshd-session
 24230  346872      1      0  3    0x100083  ttyin         getty
 18950  382597      1      0  3        0x88  kqread        sshd
 93591  152125  38917     73  3   0x1100090  kqread        syslogd
 38917  456475      1      0  3    0x100082  sbwait        syslogd
  2619  417134      1      0  3    0x100080  kqread        resolvd
 54273  162896  34877     77  3    0x100092  kqread        dhcpleased
 74285  153757  34877     77  3    0x100092  kqread        dhcpleased
 34877  489681      1      0  3        0x80  kqread        dhcpleased
 84251   57945      0      0  3     0x14200  bored         smr
 60167  180061      0      0  3     0x14200  pgzero        zerothread
 10616  371663      0      0  3     0x14200  aiodoned      aiodoned
  6689  350084      0      0  3     0x14200  syncer        update
 10773  372873      0      0  3     0x14200  cleaner       cleaner
 34065  261687      0      0  3     0x14200  reaper        reaper
 95813  492048      0      0  3     0x14200  pgdaemon      pagedaemon
 66628  133866      0      0  3     0x14200  bored         viomb
  4990   35493      0      0  3  0x40014200  acpi0         acpi0
 45918  387295      0      0  3  0x40014200                idle1
 15954  333849      0      0  3     0x14200  bored         softnet1
 22709  277104      0      0  3     0x14200  bored         softnet0
 66255   76316      0      0  3     0x14200  bored         systqmp
 78324  484619      0      0  3     0x14200  bored         systq
 11318  455223      0      0  3     0x14200  tmoslp        softclockmp
 46878  321155      0      0  3  0x40014200  tmoslp        softclock
   477  336024      0      0  3  0x40014200                idle0
     1  524281      0      0  3        0x82  wait          init
     0       0     -1      0  3     0x10200  scheduler     swapper
ddb{0}> show all locks
Process 75750 (syz-executor) thread 0xffff8000fffe87e8 (316832)
exclusive kernel_lock &kernel_lock r = 1 (0xffffffff83a619c0)
#0  witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline]
#0  witness_lock+0x5f1 sys/kern/subr_witness.c:1160
#1  __mp_acquire_count+0x58 sys/kern/kern_lock.c:-1
#2  sleep_finish+0x2d8 sys/kern/kern_synch.c:369
#3  biowait+0xc6 sys/kern/vfs_bio.c:1242
#4  bwrite+0x2e7 sys/kern/vfs_bio.c:754
#5  ffs_update+0x2fe sys/ufs/ffs/ffs_inode.c:111
#6  VOP_FSYNC+0x107 sys/kern/vfs_vops.c:311
#7  sys_fsync+0x161 sys/kern/vfs_syscalls.c:2976
#8  syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline]
#8  syscall+0xb17 sys/arch/amd64/amd64/trap.c:783
#9  Xsyscall+0x128
Process 43918 (syz-executor) thread 0xffff8000fffe8d18 (12455)
exclusive rrwlock inode r = 0 (0xfffffd80663e70c8)
#0  witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline]
#0  witness_lock+0x5f1 sys/kern/subr_witness.c:1160
#1  rw_do_enter_write+0x419 sys/kern/kern_rwlock.c:320
#2  rrw_enter+0xc6 sys/kern/kern_rwlock.c:621
#3  VOP_LOCK+0xbd sys/kern/vfs_vops.c:527
#4  vn_lock+0xa4 sys/kern/vfs_vnops.c:576
#5  vn_write+0x18f sys/kern/vfs_vnops.c:411
#6  dofilewritev+0x2bd sys/kern/sys_generic.c:384
#7  sys_write+0xa2 sys/kern/sys_generic.c:300
#8  syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline]
#8  syscall+0xbd4 sys/arch/amd64/amd64/trap.c:783
#9  Xsyscall+0x128
ddb{0}> show malloc
           Type InUse  MemUse  HighUse   Limit  Requests Type Lim
         devbuf 11051  12016K   12034K 166960K     12145        0
            pcb    17     12K      12K 166960K        17        0
         rtable   219      6K       7K 166960K       358        0
             pf    29     16K      16K 166960K        31        0
         ifaddr    39      7K       7K 166960K        44        0
        ifgroup    46      2K       2K 166960K        50        0
         sysctl     1      1K       9K 166960K         5        0
       counters    68     36K      37K 166960K        70        0
       ioctlops     0      0K       2K 166960K        36        0
            iov     0      0K      16K 166960K        11        0
          mount     1      1K       1K 166960K         1        0
            log     0      0K       0K 166960K         4        0
         vnodes  1287     81K      81K 166960K      1514        0
      UFS quota     1     32K      32K 166960K         1        0
      UFS mount     5     36K      36K 166960K         5        0
            shm     2      1K       5K 166960K         6        0
         VM map     2      1K       1K 166960K         2        0
            sem    12      1K       1K 166960K        13        0
        dirhash    12      2K       2K 166960K        18        0
           ACPI  1692    195K     286K 166960K     12470        0
      file desc    18     65K     129K 166960K       412        0
          sigio     0      0K       0K 166960K         4        0
           proc    58     99K     147K 166960K       534        0
        subproc    63      3K       4K 166960K       189        0
    NFS srvsock     1      0K       0K 166960K         1        0
     NFS daemon     1     16K      16K 166960K         1        0
    ip_moptions     0      0K       0K 166960K        42        0
       in_multi    88      6K       7K 166960K       107        0
    ether_multi     1      0K       0K 166960K         3        0
            mrt     0      0K       0K 166960K        15        0
    ISOFS mount     1     32K      32K 166960K         1        0
  MSDOSFS mount     1     16K      16K 166960K         1        0
           ttys    67    307K     307K 166960K        67        0
           exec     0      0K       1K 166960K       401        0
   fusefs mount     1     32K      32K 166960K         1        0
            tdb     3      0K       0K 166960K         3        0
        VM swap     8     62K      64K 166960K        10        0
       UVM amap   202    158K     187K 166960K      5102        0
       UVM aobj    75      3K       3K 166960K        77        0
     pinsyscall    39     78K     122K 166960K      1532        0
        memdesc     1      4K       4K 166960K         1        0
    crypto data     1      1K       1K 166960K         1        0
    ip6_options     0      0K       0K 166960K        12        0
            NDP    10      0K       2K 166960K        27        0
           temp    45   9117K    9121K 166960K      4492        0
         kqueue    13     20K      27K 166960K        85        0
      SYN cache     2     16K      16K 166960K         2        0
ddb{0}> show all pools
Name      Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle
plcache    128       26    0        0     1     0     1     1     0     8    0
rtpcb      120      113    0      110     3     0     3     3     0     8    2
rtentry    176      112    0       11     6     0     6     6     0     8    0
unpcb      144      275    0      260     5     1     4     5     0     8    3
syncache   336        8    0        8     1     0     1     1     0     8    1
sackhl      24        1    0        1     1     1     0     1     0     8    0
tcpqe       32        2    0        2     1     1     0     1     0     8    0
tcpcb      736      234    0      227     7     1     6     7     0     8    4
arp        136       18    0        2     1     0     1     1     0     8    0
ipq         40        1    0        0     1     0     1     1     0     8    0
ipqe        40        1    0        0     1     0     1     1     0     8    0
inpcb      328      426    0      414     7     1     6     7     0     8    4
ip6q        72        2    0        0     1     0     1     1     0     8    0
ip6af       40        2    0        0     1     0     1     1     0     8    0
nd6        152       25    0        3     1     0     1     1     0     8    0
kcovpl      48       21    0       14     1     0     1     1     0     8    0
art_heap8  4096       1    0        0     1     0     1     1     0     8    0
art_heap4  256      454    0       44    29     1    28    29     0     8    1
art_table   40      455    0       44     5     0     5     5     0     8    0
art_node    32      112    0       21     1     0     1     1     0     8    0
sysvmsgpl   40       11    0        6     1     0     1     1     0     8    0
semupl     112        1    0        1     1     1     0     1     0     8    0
semapl      72       11    0        1     1     0     1     1     0     8    0
shmpl      112       74    0        2     3     0     3     3     0     8    0
dirhash    1024      21    0        4     3     0     3     3     0     8    0
dino2pl    256     1931    0      455    93     0    93    93     0     8    0
ffsino     296     1931    0      455   114     0   114   114     0     8    0
nchpl      144     2448    0      748    64     0    64    64     0     8    0
vnodes     216     2129    0        0   119     0   119   119     0     8    0
namei      1024    8131    0     8131     2     1     1     2     0     8    1
percpumem   16       50    0        1     1     0     1     1     0     8    0
kstatmem   264       25    0        2     2     0     2     2     0     8    0
scxspl     216     8058    0     8057     6     5     1     3     1     8    0
plimitpl   152      195    0      173     2     1     1     2     0     8    0
sigapl     424      688    0      642     7     0     7     7     0     8    1
knotepl    120      295    0        0     9     0     9     9     0     8    0
kqueuepl   224       89    0       80     1     0     1     1     0     8    0
pipepl     344      186    0      159     3     0     3     3     0     8    0
fdescpl    528      672    0      642     4     0     4     4     0     8    1
filepl     160     3820    0     3619    22     6    16    22     0     8    7
lockfpl    104       61    0       59     1     0     1     1     0     8    0
lockfspl    48       25    0       23     1     0     1     1     0     8    0
sessionpl  144       54    0       38     1     0     1     1     0     8    0
pgrppl      48       75    0       52     1     0     1     1     0     8    0
ucredpl    104      536    0      518     1     0     1     1     0     8    0
zombiepl   144      642    0      642     1     0     1     1     0     8    1
processpl  1232     688    0      642     5     0     5     5     0     8    0
procpl     664     1079    0     1027     6     0     6     6     0     8    1
sockpl     752      816    0      786    19     7    12    19     0     8    8
mcl64k     65536      3    0        0     1     0     1     1     0     8    0
mcl8k      8192       2    0        0     1     0     1     1     0     8    0
mcl4k      4096     117    0        0    15     0    15    15     0     8    0
mcl2k      2048      21    0        0     3     0     3     3     0     8    0
mtagpl      96        1    0        0     1     0     1     1     0     8    0
mbufpl     256      312    0        0    20     0    20    20     0     8    0
bufpl      280     2625    0      102   181     0   181   181     0     8    0
anonpl      32     6869    0        0    56     0    56    56     0   246    0
amapchunkpl 152   15859    0    15457    29     2    27    29     0   158    8
amappl16   200     1787    0     1770    16     6    10    14     0     8    8
amappl15   192        6    0        6     1     1     0     1     0     8    0
amappl14   184      412    0      411     1     0     1     1     0     8    0
amappl13   176      120    0      110     1     0     1     1     0     8    0
amappl12   168      943    0      914     2     0     2     2     0     8    0
amappl11   160        5    0        5     1     1     0     1     0     8    0
amappl10   152       55    0       45     1     0     1     1     0     8    0
amappl9    144      278    0      278     1     1     0     1     0     8    0
amappl8    136       95    0       93     1     0     1     1     0     8    0
amappl7    128      221    0      210     1     0     1     1     0     8    0
amappl6    120      150    0      148     1     0     1     1     0     8    0
amappl5    112       99    0       92     1     0     1     1     0     8    0
amappl4    104      272    0      257     1     0     1     1     0     8    0
amappl3     96     2996    0     2902     5     1     4     4     0     8    0
amappl2     88      562    0      505     2     0     2     2     0     8    0
amappl1     80    12132    0    11590    15     0    15    15     0     8    2
amappl      88     4330    0     4191     5     0     5     5     0    92    0
uvmvnodes   80      116    0        0     3     0     3     3     0     8    0
dma4096    4096       1    0        1     1     1     0     1     0     8    0
dma1024    1024       1    0        0     1     0     1     1     0     8    0
dma256     256        6    0        6     1     1     0     1     0     8    0
dma128     128      253    0      253     1     1     0     1     0     8    0
dma64       64        6    0        6     1     1     0     1     0     8    0
dma32       32        7    0        7     1     1     0     1     0     8    0
dma16       16       18    0       17     1     0     1     1     0     8    0
aobjpl      72       76    0        2     2     0     2     2     0     8    0
uaddrrnd    24      672    0      642     1     0     1     1     0     8    0
uaddrbest   32        2    0        0     1     0     1     1     0     8    0
uaddr       24      672    0      642     1     0     1     1     0     8    0
vmmpekpl   168     7824    0     7789     2     0     2     2     0     8    0
vmmpepl    168    52590    0    50878    95     1    94    94     0   357    9
vmsppl     488      671    0      642     7     1     6     6     0     8    1
rwobjpl     80    17643    0    16674    25     0    25    25     0     8    2
pdppl      4096    1351    0     1284   117    36    81    99     0     8   14
pvpl        32    13602    0        0   110     0   110   110     0   265    0
pmappl     256      671    0      642     4     1     3     3     0     8    0
extentpl    40       45    0       27     1     0     1     1     0     8    0
phpool     112      300    0       42     8     0     8     8     0     8    0
ddb{0}> machine ddbcpu 0
Invalid cpu 0
ddb{0}> trace
db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438
panic(ffffffff83510873) at panic+0x1e5 sys/kern/subr_prf.c:198
vputonfreelist(fffffd800c7301f8) at vputonfreelist+0x221
vput(fffffd800c7301f8) at vput+0x166 sys/kern/vfs_subr.c:791
vn_closefile(fffffd806bee7540,ffff8000fffe87e8) at vn_closefile+0x13f sys/kern/vfs_vnops.c:622
fdrop(fffffd806bee7540,ffff8000fffe87e8) at fdrop+0x121 sys/kern/kern_descrip.c:1281
sys_fsync(ffff8000fffe87e8,ffff80003438a5d0,ffff80003438a520) at sys_fsync+0x1b7 sys/kern/vfs_syscalls.c:-1
syscall(ffff80003438a5d0) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline]
syscall(ffff80003438a5d0) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:783
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0xb9135203fd0, count: -9
ddb{0}> machine ddbcpu 1
Stopped at      x86_ipi_db+0x27:        addq    $0x8,%rsp
x86_ipi_db(ffff80002999dff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:394
x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106
Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27
__mp_lock(ffffffff83a611c0) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:142 [inline]
__mp_lock(ffffffff83a611c0) at __mp_lock+0x192 sys/kern/kern_lock.c:173
__mp_acquire_count(ffffffff83a611c0,1) at __mp_acquire_count+0x58 sys/kern/kern_lock.c:-1
sleep_finish(ffffffffffffffff,1) at sleep_finish+0x2d8 sys/kern/kern_synch.c:369
rw_do_enter_write(fffffd8066407548,1) at rw_do_enter_write+0x1dc sys/kern/kern_rwlock.c:298
rrw_enter(fffffd8066407548,1) at rrw_enter+0xc6 sys/kern/kern_rwlock.c:621
VOP_LOCK(fffffd800c7301f8,2001) at VOP_LOCK+0xbd sys/kern/vfs_vops.c:527
vn_lock(fffffd800c7301f8,2001) at vn_lock+0xa4 sys/kern/vfs_vnops.c:576
cttywrite(100,ffff80002a395fb0,1) at cttywrite+0xa2 sys/kern/tty_tty.c:88
spec_write(ffff80002a395d80) at spec_write+0x11f sys/kern/spec_vnops.c:302
VOP_WRITE(fffffd806fc3c298,ffff80002a395fb0,1,fffffd80097fd270) at VOP_WRITE+0x101 sys/kern/vfs_vops.c:245
vn_write(fffffd806bee75e0,ffff80002a395fb0,0) at vn_write+0x1d3 sys/kern/vfs_vnops.c:414
end trace frame: 0xffff80002a395f20, count: 0
ddb{1}> trace
x86_ipi_db(ffff80002999dff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:394
x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106
Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27
__mp_lock(ffffffff83a611c0) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:142 [inline]
__mp_lock(ffffffff83a611c0) at __mp_lock+0x192 sys/kern/kern_lock.c:173
__mp_acquire_count(ffffffff83a611c0,1) at __mp_acquire_count+0x58 sys/kern/kern_lock.c:-1
sleep_finish(ffffffffffffffff,1) at sleep_finish+0x2d8 sys/kern/kern_synch.c:369
rw_do_enter_write(fffffd8066407548,1) at rw_do_enter_write+0x1dc sys/kern/kern_rwlock.c:298
rrw_enter(fffffd8066407548,1) at rrw_enter+0xc6 sys/kern/kern_rwlock.c:621
VOP_LOCK(fffffd800c7301f8,2001) at VOP_LOCK+0xbd sys/kern/vfs_vops.c:527
vn_lock(fffffd800c7301f8,2001) at vn_lock+0xa4 sys/kern/vfs_vnops.c:576
cttywrite(100,ffff80002a395fb0,1) at cttywrite+0xa2 sys/kern/tty_tty.c:88
spec_write(ffff80002a395d80) at spec_write+0x11f sys/kern/spec_vnops.c:302
VOP_WRITE(fffffd806fc3c298,ffff80002a395fb0,1,fffffd80097fd270) at VOP_WRITE+0x101 sys/kern/vfs_vops.c:245
vn_write(fffffd806bee75e0,ffff80002a395fb0,0) at vn_write+0x1d3 sys/kern/vfs_vnops.c:414
dofilewritev(ffff8000fffe8550,5,ffff80002a395fb0,0,ffff80002a396070) at dofilewritev+0x2bd sys/kern/sys_generic.c:384
sys_writev(ffff8000fffe8550,ffff80002a396120,ffff80002a396070) at sys_writev+0xd8 sys/kern/sys_generic.c:327
syscall(ffff80002a396120) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline]
syscall(ffff80002a396120) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:783
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0xb91ec4ae6c0, count: -18

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/06/01 18:17 openbsd bddfd4c1ae9e cb4e87ff .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-setuid panic: vputonfreelist: lock count is not zero
* Struck through repros no longer work on HEAD.