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

Status: upstream: reported on 2026/11/06 21:27
Reported-by: syzbot+ca60d40e3c15b68730ac@syzkaller.appspotmail.com
First crash: 13d, last: 13d
▶ ▼ Similar bugs (4)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
openbsd panic: vputonfreelist: lock count is not zero (3) 2 3 945d 1005d 0/4 auto-obsoleted due to no activity on 2024/07/17 07:55
openbsd panic: vputonfreelist: lock count is not zero (4) 2 1 171d 171d 0/4 auto-obsoleted due to no activity on 2026/08/30 18:18
openbsd panic: vputonfreelist: lock count is not zero (2) 2 1 1415d 1415d 0/4 auto-obsoleted due to no activity on 2023/04/04 17:19
openbsd panic: vputonfreelist: lock count is not zero 2 syz, C 2 2456d 2456d 3/4 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
*405611  62391  32767        0x11  0x4000000    1K syz-executor
 310801  62391  32767        0x11  0x4000000    0  syz-executor
db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438
panic(ffffffff83548b35) at panic+0x1e5 sys/kern/subr_prf.c:198
vputonfreelist(fffffa807384c138) at vputonfreelist+0x238
vput(fffffa807384c138) at vput+0x166 sys/kern/vfs_subr.c:797
vn_closefile(fffffa806db713e8,ffff800045ffd4c8) at vn_closefile+0x13f sys/kern/vfs_vnops.c:622
fdrop(fffffa806db713e8,ffff800045ffd4c8) at fdrop+0x121 sys/kern/kern_descrip.c:1281
sys_fsync(ffff800045ffd4c8,ffff80003c4294b0,ffff80003c429400) at sys_fsync+0x1b7 sys/kern/vfs_syscalls.c:-1
syscall(ffff80003c4294b0) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline]
syscall(ffff80003c4294b0) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:791
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x61c878a4820, 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{1}> 
ddb{1}> set $lines = 0
ddb{1}> set $maxwidth = 0
ddb{1}> show panic
*cpu1: vputonfreelist: lock count is not zero
ddb{1}> show kasan
No such command
ddb{1}> trace
db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438
panic(ffffffff83548b35) at panic+0x1e5 sys/kern/subr_prf.c:198
vputonfreelist(fffffa807384c138) at vputonfreelist+0x238
vput(fffffa807384c138) at vput+0x166 sys/kern/vfs_subr.c:797
vn_closefile(fffffa806db713e8,ffff800045ffd4c8) at vn_closefile+0x13f sys/kern/vfs_vnops.c:622
fdrop(fffffa806db713e8,ffff800045ffd4c8) at fdrop+0x121 sys/kern/kern_descrip.c:1281
sys_fsync(ffff800045ffd4c8,ffff80003c4294b0,ffff80003c429400) at sys_fsync+0x1b7 sys/kern/vfs_syscalls.c:-1
syscall(ffff80003c4294b0) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline]
syscall(ffff80003c4294b0) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:791
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x61c878a4820, count: -9
ddb{1}> show registers
rdi                                0
rsi                              0x1
rbp               0xffff80003c429190
rbx               0xffff80002999ee0f
rdx                                0
rcx               0xffff800045ffd4c8
rax               0xffff80002999dff0
r8                 0x101010101010101
r9                0x8080808080808080
r10               0x2d2b3369a3b35bf9
r11               0x8222f283c2cb921a
r12               0xffff80002999ec10
r13                                0
r14                                0
r15                              0x1
rip               0xffffffff81b006e5    db_enter+0x25
cs                               0x8
rflags                         0x246
rsp               0xffff80003c429180
ss                                 0
db_enter+0x25:  addq    $0x8,%rsp
ddb{1}> show proc
PROC (syz-executor) tid=405611 pid=62391 tcnt=6 stat=onproc
    flags process=11<CONTROLT,SUGID> proc=4000000<THREAD>
    runpri=17, usrpri=79, slppri=17, nice=20
    wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0
    forw=0xffffffffffffffff, list=0xffff80002a359a08,0xffff800045ffdca0
    process=0xffff800045ff0ea8 user=0xffff80003c424000, vmspace=0xfffffa806cf989a8
    estcpu=29, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0
ddb{1}> ps
   PID     TID   PPID   UID  S      PRLAGS     PFLAGS WAIT      COMMAND
 18157  355853  47459 32767  2        0x10          0           syz-executor
 18157   94093  47459 32767  3        0x10  0x4000080 fsleep    syz-executor
 18157  397623  47459 32767  3        0x10  0x4000080 fsleep    syz-executor
 18157  200802  47459 32767  3        0x10  0x4000080 fsleep    syz-executor
 62391  395643  71808 32767  2        0x11          0           syz-executor
 62391  369831  71808 32767  2        0x11  0x4000000           syz-executor
*62391  405611  71808 32767  7        0x11  0x4000000           syz-executor
 62391  310801  71808 32767  7        0x11  0x4000000           syz-executor
 62391  115840  71808 32767  2        0x11  0x4000000           syz-executor
 62391  429612  71808 32767  2        0x11  0x4000000           syz-executor
 37362  488738  48538 32767  2        0x10          0           syz-executor
 37362  156966  48538 32767  3        0x10  0x4000080 fsleep    syz-executor
 37362  354678  48538 32767  3        0x10  0x4000080 fsleep    syz-executor
 43131  220770  34779 32767  3        0x10       0x80 nanoslp   syz-executor
 43131  432827  34779 32767  3        0x10  0x4000080 kqread    syz-executor
 43131  215004  34779 32767  3        0x10  0x4000080 fsleep    syz-executor
 69403  177217  11030 32767  2        0x10          0           syz-executor
 69403  111763  11030 32767  3        0x10  0x4000080 fsleep    syz-executor
 48538   29346  46797 32767  3        0x10       0x80 nanoslp   syz-executor
 46797  245749   9458     0  3         0x2       0x80 wait      syz-executor
 11030  516835   6230 32767  3        0x10       0x80 nanoslp   syz-executor
  6230   77675   9458     0  3         0x2       0x80 wait      syz-executor
 71808  494679  46401 32767  3        0x10       0x80 nanoslp   syz-executor
 46401   92662   9458     0  3         0x2       0x80 wait      syz-executor
 47459  507126   1987 32767  3        0x10       0x80 nanoslp   syz-executor
  1987  444009   9458     0  3         0x2       0x80 wait      syz-executor
 95638  344307  64578 32767  3        0x10          0 biowait   syz-executor
 64578  503960   9458     0  3         0x2       0x80 wait      syz-executor
 38692   76902  21802 32767  3        0x10          0 biowait   syz-executor
 21802  250824   9458     0  3         0x2       0x80 wait      syz-executor
 34779  361064  66135 32767  3        0x10       0x80 nanoslp   syz-executor
 66135   76924   9458     0  3         0x2       0x80 wait      syz-executor
  9458  135497  28305     0  3         0x2       0x80 nanoslp   syz-executor
 28305  261090  74198     0  3    0x100002       0x88 sigsusp   ksh
 74198  146898  77977     0  3        0x10       0x88 kqread    sshd-session
 77977    3088  92895     0  3        0x12       0x80 kqread    sshd-session
 87354  186366      1     0  3    0x100003       0x80 ttyin     getty
 92895  414755      1     0  3           0       0x88 kqread    sshd
 93868  304724  69314    73  3   0x1100010       0x80 kqread    syslogd
 69314  331149      1     0  3    0x100002       0x80 sbwait    syslogd-parent
  1211   60894      1     0  3    0x100000       0x80 kqread    resolvd
 41502  246343   4598    77  3    0x100012       0x80 kqread    dhcpleased
 44667  400528   4598    77  3    0x100012       0x80 kqread    dhcpleased
  4598  465973      1     0  3           0       0x80 kqread    dhcpleased
 87800  310188      0     0  3     0x14000      0x200 bored     smr
 26543  496009      0     0  2     0x14000      0x200           zerothread
 89727  282014      0     0  3     0x14000      0x200 aiodoned  aiodoned
  4795  490017      0     0  3     0x14000      0x200 syncer    update
 68932  500761      0     0  3     0x14000      0x200 cleaner   cleaner
 45386   47836      0     0  3     0x14000      0x200 reaper    reaper
 51295   32089      0     0  3     0x14000      0x200 pgdaemon  pagedaemon
 15819   62587      0     0  3     0x14000      0x200 bored     viomb
 56642   39851      0     0  3     0x14000 0x40000200 acpi0     acpi0
 65207   71494      0     0  3     0x14000 0x40000200           idle1
 36353  353572      0     0  3     0x14000      0x200 bored     softnet1
 93874  406754      0     0  3     0x14000      0x200 bored     softnet0
 56089  144870      0     0  3     0x14000      0x200 bored     systqmp
 59946  122055      0     0  3     0x14000      0x200 bored     systq
 71610  190178      0     0  3     0x14000      0x200 tmoslp    softclockmp
 40211  367768      0     0  3     0x14000 0x40000200 tmoslp    softclock
 10712   31049      0     0  3     0x14000 0x40000200           idle0
     1  445480      0     0  3         0x2       0x80 wait      init
     0       0     -1     0  3     0x10000      0x200 scheduler swapper
ddb{1}> show all locks
Process 62391 (syz-executor) thread 0xffff800045ffd4c8 (405611)
exclusive kernel_lock &kernel_lock r = 1 (0xffffffff83b50f80)
#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:1110
#4  bwrite+0x359 sys/kern/vfs_bio.c:625
#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:2887
#8  syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline]
#8  syscall+0xb17 sys/arch/amd64/amd64/trap.c:791
#9  Xsyscall+0x128
Process 95638 (syz-executor) thread 0xffff8000383c0fb0 (344307)
exclusive rrwlock inode r = 0 (0xfffffa806cf2db28)
#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+0x42c 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  vget+0x2a2 sys/kern/vfs_subr.c:692
#6  ufs_ihashget+0x18c sys/ufs/ufs/ufs_ihash.c:100
#7  ffs_vget+0x8c sys/ufs/ffs/ffs_vfsops.c:1203
#8  ufs_lookup+0x19a0 sys/ufs/ufs/ufs_lookup.c:478
#9  VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85
#10 vfs_lookup+0x9f0 sys/kern/vfs_lookup.c:585
#11 namei+0x5ea sys/kern/vfs_lookup.c:250
#12 dounlinkat+0xc1 sys/kern/vfs_syscalls.c:1807
#13 syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline]
#13 syscall+0xb17 sys/arch/amd64/amd64/trap.c:791
#14 Xsyscall+0x128
exclusive rrwlock inode r = 0 (0xfffffa8071ca17c8)
#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+0x42c 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  vfs_lookup+0x10e sys/kern/vfs_lookup.c:431
#6  namei+0x5ea sys/kern/vfs_lookup.c:250
#7  dounlinkat+0xc1 sys/kern/vfs_syscalls.c:1807
#8  syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline]
#8  syscall+0xb17 sys/arch/amd64/amd64/trap.c:791
#9  Xsyscall+0x128
Process 38692 (syz-executor) thread 0xffff8000383c1248 (76902)
exclusive rrwlock inode r = 0 (0xfffffa807839c6b0)
#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+0x42c 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  ufs_ihashins+0x4f ufs_ihash sys/ufs/ufs/ufs_ihash.c:-1 [inline]
#4  ufs_ihashins+0x4f sys/ufs/ufs/ufs_ihash.c:156
#5  ffs_vget+0x187 sys/ufs/ffs/ffs_vfsops.c:1232
#6  ffs_inode_alloc+0x279 sys/ufs/ffs/ffs_alloc.c:393
#7  ufs_mkdir+0xfc sys/ufs/ufs/ufs_vnops.c:1112
#8  VOP_MKDIR+0x101 sys/kern/vfs_vops.c:394
#9  domkdirat+0x179 sys/kern/vfs_syscalls.c:3060
#10 syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline]
#10 syscall+0xb17 sys/arch/amd64/amd64/trap.c:791
#11 Xsyscall+0x128
exclusive rrwlock inode r = 0 (0xfffffa8079e5fd88)
#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+0x42c 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  vfs_lookup+0x10e sys/kern/vfs_lookup.c:431
#6  namei+0x5ea sys/kern/vfs_lookup.c:250
#7  domkdirat+0x8b sys/kern/vfs_syscalls.c:3045
#8  syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline]
#8  syscall+0xb17 sys/arch/amd64/amd64/trap.c:791
#9  Xsyscall+0x128
ddb{1}> show malloc
           Type InUse  MemUse  HighUse   Limit  Requests Type Lim
         devbuf 11046  12016K   12034K 166960K     12173        0
            pcb    17     12K      12K 166960K        17        0
         rtable   209      6K       7K 166960K       749        0
             pf    29     16K      16K 166960K        53        0
         ifaddr    38      6K       7K 166960K        90        0
        ifgroup    46      2K       2K 166960K        94        0
         sysctl     3      1K       9K 166960K         9        0
       counters    68     36K      37K 166960K        92        0
       ioctlops     0      0K       4K 166960K        49        0
            iov     0      0K       2K 166960K         7        0
          mount     1      1K       1K 166960K         1        0
            log     0      0K       0K 166960K         4        0
         vnodes  1287     81K      81K 166960K      1602        0
      UFS quota     1     32K      32K 166960K         1        0
      UFS mount     5     36K      36K 166960K         5        0
            shm     2      1K       5K 166960K         7        0
         VM map     2      1K       1K 166960K         2        0
            sem    11      1K       1K 166960K        11        0
        dirhash    15      2K       2K 166960K        24        0
           ACPI  1692    195K     286K 166960K     12472        0
      file desc    21     77K     129K 166960K       498        0
           proc    58     99K     147K 166960K       822        0
        subproc    63      3K       4K 166960K       315        0
    NFS srvsock     1      0K       0K 166960K         1        0
     NFS daemon     1     16K      16K 166960K         1        0
    ip_moptions     2      0K       0K 166960K       158        0
       in_multi    88      5K       6K 166960K       225        0
    ether_multi     1      0K       0K 166960K         2        0
            mrt     0      0K       0K 166960K        11        0
    ISOFS mount     1     32K      32K 166960K         1        0
  MSDOSFS mount     1     16K      16K 166960K         1        0
           ttys    55    254K     254K 166960K        55        0
           exec     0      0K       1K 166960K       539        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   226    142K     189K 166960K      5165        0
       UVM aobj     8      2K       2K 166960K         8        0
     pinsyscall    42     84K     112K 166960K      1878        0
        memdesc     1      4K       4K 166960K         1        0
    crypto data     1      1K       1K 166960K         1        0
    ip6_options     0      0K       0K 166960K         5        0
            NDP    10      0K       2K 166960K        60        0
           temp    30   9122K    9142K 166960K      5200        0
         kqueue    14     22K      24K 166960K        41        0
      SYN cache     2     16K      16K 166960K         2        0
ddb{1}> show all pools
Name      Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle
plcache    128       28    0        0     1     0     1     1     0     8    0
rtpcb      120       65    0       61     1     0     1     1     0     8    0
rtentry    176      235    0      134     6     0     6     6     0     8    1
unpcb      144      125    0      110     1     0     1     1     0     8    0
syncache   336        6    0        6     1     0     1     1     0     8    1
tcpcb      736      145    0      141    10     2     8    10     0     8    7
arp        136       42    0       25     1     0     1     1     0     8    0
ipq         40        1    0        1     1     0     1     1     0     8    1
ipqe        40        2    0        2     1     0     1     1     0     8    1
inpcb      328      343    0      331     9     1     8     9     0     8    6
ip6q        80        2    0        0     1     0     1     1     0     8    0
ip6af       40        2    0        0     1     0     1     1     0     8    0
nd6        152       58    0       36     1     0     1     1     0     8    0
kcovpl      48       35    0       28     1     0     1     1     0     8    0
art_heap8  4096       1    0        0     1     0     1     1     0     8    0
art_heap4  256      942    0      529    32     1    31    32     0     8    2
art_table   40      943    0      529     6     0     6     6     0     8    1
art_node    32      235    0      143     1     0     1     1     0     8    0
sysvmsgpl   40        4    0        3     1     0     1     1     0     8    0
semupl     112        2    0        2     1     0     1     1     0     8    1
semapl      72        9    0        0     1     0     1     1     0     8    0
shmpl      120        5    0        0     1     0     1     1     0     8    0
dirhash    1024      25    0        6     3     0     3     3     0     8    0
dino2pl    256     1779    0      258    96     0    96    96     0     8    0
ffsino     296     1779    0      258   118     0   118   118     0     8    0
nchpl      144     2128    0      378    66     0    66    66     0     8    0
vnodes     216     2103    0        0   117     0   117   117     0     8    0
namei      1024    8520    0     8519     4     3     1     3     0     8    0
percpumem   16       62    0       12     1     0     1     1     0     8    0
kstatmem   264       47    0       24     2     0     2     2     0     8    0
scxspl     216     7420    0     7418     4     1     3     3     1     8    2
plimitpl   152      102    0       80     2     0     2     2     0     8    0
sigapl     424      734    0      685     7     0     7     7     0     8    0
knotepl    120       84    0        0     3     0     3     3     0     8    0
kqueuepl   224       48    0       37     1     0     1     1     0     8    0
pipepl     344      215    0      188     4     0     4     4     0     8    1
fdescpl    528      718    0      685     5     1     4     4     0     8    1
filepl     160     2783    0     2581    14     1    13    14     0     8    3
lockfpl    104       57    0       54     1     0     1     1     0     8    0
lockfspl    48       23    0       20     1     0     1     1     0     8    0
sessionpl  144       64    0       48     1     0     1     1     0     8    0
pgrppl      48      100    0       77     1     0     1     1     0     8    0
ucredpl    104      263    0      245     1     0     1     1     0     8    0
zombiepl   144      685    0      685     1     0     1     1     0     8    1
processpl  1240     734    0      685     5     0     5     5     0     8    0
procpl     664      956    0      894     6     0     6     6     0     8    0
sosppl     176        1    0        1     1     0     1     1     0     8    1
sockpl     752      535    0      504    13     3    10    13     0     8    6
mcl64k     65536      3    0        0     1     0     1     1     0     8    0
mcl16k     16384      1    0        0     1     0     1     1     0     8    0
mcl12k     12288      3    0        0     1     0     1     1     0     8    0
mcl9k128   9344       1    0        0     1     0     1     1     0     8    0
mcl8k      8192       5    0        0     1     0     1     1     0     8    0
mcl4k      4096     133    0        0    17     0    17    17     0     8    0
mcl2k2     2112       1    0        0     1     0     1     1     0     8    0
mcl2k      2048      19    0        0     3     0     3     3     0     8    0
mextrefs    64       17    0        0     1     0     1     1     0     8    0
mtagpl      96        3    0        0     1     0     1     1     0     8    0
mbufpl     256      330    0        0    21     0    21    21     0     8    0
bufpl      272     2748    0       87   178     0   178   178     0     8    0
anonpl      32     5262    0        0    43     0    43    43     0   247    0
amapchunkpl 152   14895    0    14404    30     0    30    30     0   158    7
amappl16   200     1915    0     1900     5     2     3     5     0     8    1
amappl15   192        3    0        3     1     1     0     1     0     8    0
amappl14   184      546    0      545     1     0     1     1     0     8    0
amappl13   176      139    0      128     1     0     1     1     0     8    0
amappl12   168      995    0      962     2     0     2     2     0     8    0
amappl11   160        5    0        4     1     0     1     1     0     8    0
amappl10   152       69    0       61     1     0     1     1     0     8    0
amappl9    144      296    0      295     1     0     1     1     0     8    0
amappl8    136      136    0      135     1     0     1     1     0     8    0
amappl7    128      162    0      152     1     0     1     1     0     8    0
amappl6    120      180    0      179     1     0     1     1     0     8    0
amappl5    112      175    0      169     1     0     1     1     0     8    0
amappl4    104      295    0      280     1     0     1     1     0     8    0
amappl3     96     2865    0     2743     4     0     4     4     0     8    0
amappl2     88      484    0      434     2     0     2     2     0     8    0
amappl1     80    12249    0    11685    14     0    14    14     0     8    1
amappl      88     4272    0     4107     6     1     5     5     0    92    0
uvmvnodes   80      104    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        7    0        0     1     0     1     1     0     8    0
uaddrrnd    24      718    0      685     1     0     1     1     0     8    0
uaddrbest   32        2    0        0     1     0     1     1     0     8    0
uaddr       24      718    0      685     1     0     1     1     0     8    0
vmmpekpl   168     7437    0     7371     4     0     4     4     0     8    0
vmmpepl    168    54493    0    52612    93     1    92    93     0   357    4
vmsppl     488      717    0      685     6     0     6     6     0     8    1
rwobjpl     80    18103    0    17179    22     1    21    22     0     8    0
pdppl      4096    1443    0     1370   127    46    81    99     0     8    8
pvpl        32    13038    0        0   106     0   106   106     0   265    0
pmappl     256      717    0      685     3     0     3     3     0     8    0
extentpl    40       45    0       27     1     0     1     1     0     8    0
phpool     112      502    0       54    13     0    13    13     0     8    0
ddb{1}> machine ddbcpu 0
Stopped at      x86_ipi_db+0x27:        addq    $0x8,%rsp
x86_ipi_db(ffffffff839a4ff0) 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(ffffffff83b50780) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:142 [inline]
__mp_lock(ffffffff83b50780) at __mp_lock+0x192 sys/kern/kern_lock.c:173
intr_handler(ffff80002e783710,ffff8000002a3480) at intr_handler+0xe9 sys/arch/amd64/amd64/intr.c:560
Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f
__sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x2c kd_curproc sys/dev/kcov.c:584 [inline]
__sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x2c sys/dev/kcov.c:153
__mp_lock(ffffffff83b50780) at __mp_lock+0x1a3 __mp_lock_spin sys/kern/kern_lock.c:142 [inline]
__mp_lock(ffffffff83b50780) at __mp_lock+0x1a3 sys/kern/kern_lock.c:173
__mp_acquire_count(ffffffff83b50780,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(fffffa807384aee0,1) at rw_do_enter_write+0x1dc sys/kern/kern_rwlock.c:298
rrw_enter(fffffa807384aee0,1) at rrw_enter+0xc6 sys/kern/kern_rwlock.c:621
VOP_LOCK(fffffa807384c138,2001) at VOP_LOCK+0xbd sys/kern/vfs_vops.c:527
vn_lock(fffffa807384c138,2001) at vn_lock+0xa4 sys/kern/vfs_vnops.c:576
end trace frame: 0xffff80002e783aa0, count: 0
ddb{0}> trace
x86_ipi_db(ffffffff839a4ff0) 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(ffffffff83b50780) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:142 [inline]
__mp_lock(ffffffff83b50780) at __mp_lock+0x192 sys/kern/kern_lock.c:173
intr_handler(ffff80002e783710,ffff8000002a3480) at intr_handler+0xe9 sys/arch/amd64/amd64/intr.c:560
Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f
__sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x2c kd_curproc sys/dev/kcov.c:584 [inline]
__sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x2c sys/dev/kcov.c:153
__mp_lock(ffffffff83b50780) at __mp_lock+0x1a3 __mp_lock_spin sys/kern/kern_lock.c:142 [inline]
__mp_lock(ffffffff83b50780) at __mp_lock+0x1a3 sys/kern/kern_lock.c:173
__mp_acquire_count(ffffffff83b50780,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(fffffa807384aee0,1) at rw_do_enter_write+0x1dc sys/kern/kern_rwlock.c:298
rrw_enter(fffffa807384aee0,1) at rrw_enter+0xc6 sys/kern/kern_rwlock.c:621
VOP_LOCK(fffffa807384c138,2001) at VOP_LOCK+0xbd sys/kern/vfs_vops.c:527
vn_lock(fffffa807384c138,2001) at vn_lock+0xa4 sys/kern/vfs_vnops.c:576
cttywrite(100,ffff80002e783d80,1) at cttywrite+0xa2 sys/kern/tty_tty.c:88
spec_write(ffff80002e783b50) at spec_write+0x11f sys/kern/spec_vnops.c:302
VOP_WRITE(fffffa8070483298,ffff80002e783d80,1,fffffa80097fd1a0) at VOP_WRITE+0x101 sys/kern/vfs_vops.c:245
vn_write(fffffa806d829018,ffff80002e783d80,0) at vn_write+0x1d3 sys/kern/vfs_vnops.c:414
dofilewritev(ffff80003c3f9cb0,5,ffff80002e783d80,0,ffff80002e783e40) at dofilewritev+0x2bd sys/kern/sys_generic.c:384
sys_writev(ffff80003c3f9cb0,ffff80002e783ef0,ffff80002e783e40) at sys_writev+0xd8 sys/kern/sys_generic.c:327
syscall(ffff80002e783ef0) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline]
syscall(ffff80002e783ef0) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:791
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x61c4278db40, count: -22
ddb{0}> machine ddbcpu 1
Stopped at      db_enter+0x25:  addq    $0x8,%rsp
db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438
panic(ffffffff83548b35) at panic+0x1e5 sys/kern/subr_prf.c:198
vputonfreelist(fffffa807384c138) at vputonfreelist+0x238
vput(fffffa807384c138) at vput+0x166 sys/kern/vfs_subr.c:797
vn_closefile(fffffa806db713e8,ffff800045ffd4c8) at vn_closefile+0x13f sys/kern/vfs_vnops.c:622
fdrop(fffffa806db713e8,ffff800045ffd4c8) at fdrop+0x121 sys/kern/kern_descrip.c:1281
sys_fsync(ffff800045ffd4c8,ffff80003c4294b0,ffff80003c429400) at sys_fsync+0x1b7 sys/kern/vfs_syscalls.c:-1
syscall(ffff80003c4294b0) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline]
syscall(ffff80003c4294b0) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:791
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x61c878a4820, count: 6
ddb{1}> trace
db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438
panic(ffffffff83548b35) at panic+0x1e5 sys/kern/subr_prf.c:198
vputonfreelist(fffffa807384c138) at vputonfreelist+0x238
vput(fffffa807384c138) at vput+0x166 sys/kern/vfs_subr.c:797
vn_closefile(fffffa806db713e8,ffff800045ffd4c8) at vn_closefile+0x13f sys/kern/vfs_vnops.c:622
fdrop(fffffa806db713e8,ffff800045ffd4c8) at fdrop+0x121 sys/kern/kern_descrip.c:1281
sys_fsync(ffff800045ffd4c8,ffff80003c4294b0,ffff80003c429400) at sys_fsync+0x1b7 sys/kern/vfs_syscalls.c:-1
syscall(ffff80003c4294b0) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline]
syscall(ffff80003c4294b0) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:791
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x61c878a4820, count: -9

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/11/06 21:27 openbsd f893d3734509 5cecaf1f .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.