assert "refs != ~NUM" failed in kern_synch.c

Status: upstream: reported on 2025/02/08 12:26
Reported-by: syzbot+bee527c059e64ef8bdec@syzkaller.appspotmail.com
First crash: 567d, last: 20h56m

Sample crash report:
panic: kernel diagnostic assertion "refs != ~0" failed: file "/syzkaller/managers/main/kernel/sys/kern/kern_synch.c", line 959
Stopped at      db_enter+0x25:  addq    $0x8,%rsp
    TID    PID    UID     PRFLAGS     PFLAGS  CPU  COMMAND
*103929  33888  60929        0x10  0x4000000    0  syz-executor
db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438
panic(ffffffff83488b7d) at panic+0x1cf sys/kern/subr_prf.c:198
__assert(ffffffff834c5262,ffffffff83520b98,3bf,ffffffff834f98af) at __assert+0x29 sys/kern/subr_prf.c:-1
refcnt_finalize(ffff80002a7866c8,ffffffff8347b953) at refcnt_finalize+0x1e7 sys/kern/kern_synch.c:960
pppx_if_destroy(2285b9a,ffff80002a7866c0) at pppx_if_destroy+0x3d sys/net/if_pppx.c:794
pppxclose(2285b9a,1,2000,ffff80002a7c3788) at pppxclose+0xa0 sys/net/if_pppx.c:541
spec_close(ffff80003a397a80) at spec_close+0x417 sys/kern/spec_vnops.c:-1
VOP_CLOSE(fffffc8079416028,1,fffffc8007ffd5b0,ffff80002a7c3788) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156
vn_closefile(fffffc806d478450,ffff80002a7c3788) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:298 [inline]
vn_closefile(fffffc806d478450,ffff80002a7c3788) at vn_closefile+0x11d sys/kern/vfs_vnops.c:621
fdrop(fffffc806d478450,ffff80002a7c3788) at fdrop+0x121 sys/kern/kern_descrip.c:1281
closef(fffffc806d478450,ffff80002a7c3788) at closef+0x190 sys/kern/kern_descrip.c:1265
syscall(ffff80003a397cd0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline]
syscall(ffff80003a397cd0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:791
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x458b1b9b860, 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> 
ddb> set $lines = 0
ddb> set $maxwidth = 0
ddb> show panic
*cpu0: kernel diagnostic assertion "refs != ~0" failed: file "/syzkaller/managers/main/kernel/sys/kern/kern_synch.c", line 959
ddb> show kasan
No such command
ddb> trace
db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438
panic(ffffffff83488b7d) at panic+0x1cf sys/kern/subr_prf.c:198
__assert(ffffffff834c5262,ffffffff83520b98,3bf,ffffffff834f98af) at __assert+0x29 sys/kern/subr_prf.c:-1
refcnt_finalize(ffff80002a7866c8,ffffffff8347b953) at refcnt_finalize+0x1e7 sys/kern/kern_synch.c:960
pppx_if_destroy(2285b9a,ffff80002a7866c0) at pppx_if_destroy+0x3d sys/net/if_pppx.c:794
pppxclose(2285b9a,1,2000,ffff80002a7c3788) at pppxclose+0xa0 sys/net/if_pppx.c:541
spec_close(ffff80003a397a80) at spec_close+0x417 sys/kern/spec_vnops.c:-1
VOP_CLOSE(fffffc8079416028,1,fffffc8007ffd5b0,ffff80002a7c3788) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156
vn_closefile(fffffc806d478450,ffff80002a7c3788) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:298 [inline]
vn_closefile(fffffc806d478450,ffff80002a7c3788) at vn_closefile+0x11d sys/kern/vfs_vnops.c:621
fdrop(fffffc806d478450,ffff80002a7c3788) at fdrop+0x121 sys/kern/kern_descrip.c:1281
closef(fffffc806d478450,ffff80002a7c3788) at closef+0x190 sys/kern/kern_descrip.c:1265
syscall(ffff80003a397cd0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline]
syscall(ffff80003a397cd0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:791
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x458b1b9b860, count: -13
ddb> show registers
rdi                                0
rsi                              0x1
rbp               0xffff80003a397850
rbx                                0
rdx                                0
rcx                                0
rax               0xffff80002a7c3788
r8                 0x101010101010101
r9                0x8080808080808080
r10                0x9332c1401c385fb
r11               0x311d16ab31f664d2
r12                                0
r13                                0
r14                                0
r15                              0x1
rip               0xffffffff82c86235    db_enter+0x25
cs                               0x8
rflags                         0x246
rsp               0xffff80003a397840
ss                              0x10
db_enter+0x25:  addq    $0x8,%rsp
ddb> show proc
PROC (syz-executor) tid=103929 pid=33888 tcnt=3 stat=onproc
    flags process=10<SUGID> proc=4000000<THREAD>
    runpri=32, usrpri=68, slppri=32, nice=20
    wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0
    forw=0xffffffffffffffff, list=0xffff80002a7c2030,0xffff80002a7c22d8
    process=0xffff8000318b9f98 user=0xffff80003a392000, vmspace=0xfffffc807ee675c8
    estcpu=18, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0
ddb> ps
   PID     TID   PPID   UID  S      PRLAGS     PFLAGS WAIT      COMMAND
 33888  344762  17169 60929  2        0x10          0           syz-executor
*33888  103929  17169 60929  7        0x10  0x4000000           syz-executor
 33888  334945  17169 60929  3        0x10  0x4000080 fsleep    syz-executor
 85852  212632  57476     0  3         0x2          0 clonelk   ifconfig
 90682  494712  99781     0  3           0       0x80 nanoslp   syz-executor
 90682  485489  99781     0  3           0  0x4000080 netcon    syz-executor
 90682   16017  99781     0  3           0  0x4000080 netacc    syz-executor
 90682  231646  99781     0  3           0  0x4000000 smrbar    syz-executor
 57476    9436  98200     0  3    0x100002       0x88 sigsusp   sh
 98200  229114  69851     0  3         0x2       0x80 wait      syz-executor
 30870  260620  69851     0  2         0x2      0xc80           syz-executor
 77415  171450      0     0  3     0x14000      0x280 nfsidl    nfsio
 36841  327170      0     0  3     0x14000      0x280 nfsidl    nfsio
 11015  332283      0     0  3     0x14000      0x280 nfsidl    nfsio
 13655  248721      0     0  3     0x14000      0x280 nfsidl    nfsio
 78300  379065      0     0  3     0x14000      0x280 nfsidl    nfsio
 23409  374099      0     0  3     0x14000      0x280 nfsidl    nfsio
 84222   77218      0     0  3     0x14000      0x280 nfsidl    nfsio
 29934  256208      0     0  3     0x14000      0x280 nfsidl    nfsio
 64265  306429      0     0  3     0x14000      0x280 nfsidl    nfsio
 98072  150940      0     0  3     0x14000      0x280 nfsidl    nfsio
 82712  286499      0     0  3     0x14000      0x280 nfsidl    nfsio
 91684  284008      0     0  3     0x14000      0x280 nfsidl    nfsio
 72151  205575      0     0  3     0x14000      0x280 nfsidl    nfsio
 55955  467715      0     0  3     0x14000      0x280 nfsidl    nfsio
  8099  267904      0     0  3     0x14000      0x280 nfsidl    nfsio
 83410  130034      0     0  3     0x14000      0x280 nfsidl    nfsio
 81309  298368      0     0  3     0x14000      0x280 nfsidl    nfsio
  5718   59167      0     0  3     0x14000      0x280 nfsidl    nfsio
  4472  490787      0     0  3     0x14000      0x280 nfsidl    nfsio
 13537  433250      0     0  3     0x14000      0x280 nfsidl    nfsio
 34497  486864  69851     0  3         0x2       0x80 piperd    syz-executor
 35775  146893      0     0  3     0x14000      0x200 acct      acct
  9389  154598      1     0  3    0x100003       0x80 ttyin     getty
 99781  124916  69851     0  2         0x2      0xc80           syz-executor
 17169  144088  69851     0  3         0x2       0x80 nanoslp   syz-executor
 19684  380654  69851     0  3         0x2       0x80 wait      syz-executor
 69851  240240  46091     0  3         0x2       0x80 wait      syz-executor
 46091   64511  44656     0  3    0x100002       0x88 sigsusp   ksh
 44656   65447  42049     0  3        0x10       0x88 kqread    sshd-session
 42049  412402  85214     0  3        0x12       0x80 kqread    sshd-session
 85214  240969      1     0  3           0       0x88 kqread    sshd
 24879  465273  30021    73  3   0x1100010       0x80 kqread    syslogd
 30021  289293      1     0  3    0x100002       0x80 sbwait    syslogd
 28617  445566      1     0  3    0x100000       0x80 kqread    resolvd
 24483  179195  19053    77  3    0x100012       0x80 kqread    dhcpleased
 57777   25808  19053    77  3    0x100012       0x80 kqread    dhcpleased
 19053  489499      1     0  3           0       0x80 kqread    dhcpleased
 83535  256592      0     0  2     0x14000      0x200           smr
 56239  251542      0     0  2     0x14000      0x200           zerothread
 59831  375844      0     0  3     0x14000      0x200 aiodoned  aiodoned
 39271   50394      0     0  3     0x14000      0x200 syncer    update
 59101  464567      0     0  3     0x14000      0x200 cleaner   cleaner
 21885  464519      0     0  3     0x14000      0x200 reaper    reaper
 71618  359211      0     0  3     0x14000      0x200 pgdaemon  pagedaemon
 84749  311669      0     0  3     0x14000      0x200 bored     viomb
 19867  316310      0     0  3     0x14000 0x40000200 acpi0     acpi0
 11092  214888      0     0  2     0x14000      0x200           softnet0
 33574  265405      0     0  3     0x14000      0x200 bored     systqmp
 34339  452252      0     0  3     0x14000      0x200 bored     systq
 23775  325853      0     0  2     0x14000 0x40000200           softclock
 67895  420343      0     0  3     0x14000 0x40000200           idle0
     1  474886      0     0  3         0x2       0x80 wait      init
     0       0     -1     0  3     0x10000      0x200 scheduler swapper
ddb> show all locks
No such command
ddb> show malloc
           Type InUse  MemUse  HighUse   Limit  Requests Type Lim
         devbuf 11034  12104K   12380K 166960K     13200        0
            pcb    18     13K      13K 166960K        93        0
         rtable   189      6K       8K 166960K      1619        0
             pf    34     13K    4177K 166960K       217        0
         ifaddr    39      7K       7K 166960K       226        0
        ifgroup    51      2K       2K 166960K       243        0
         sysctl     2      1K       9K 166960K         7        0
       counters    34     17K      18K 166960K        91        0
       ioctlops     0      0K       4K 166960K       254        0
            iov     0      0K      16K 166960K        14        0
          mount     1      1K       1K 166960K         1        0
            log     0      0K       0K 166960K         4        0
         vnodes  1418     89K      89K 166960K      2528        0
      UFS quota     1     32K      32K 166960K         1        0
      UFS mount     5     36K      36K 166960K         5        0
            shm     2      1K       5K 166960K         5        0
         VM map     2      1K       1K 166960K         2        0
            sem    13      0K       1K 166960K        38        0
        dirhash    12      2K       2K 166960K        18        0
           ACPI  1734    201K     291K 166960K     11964        0
      file desc    16     57K      85K 166960K      1067        0
          sigio     0      0K       0K 166960K        67        0
           proc    67     67K      83K 166960K      1650        0
        subproc    72      4K       4K 166960K       441        0
    NFS srvsock     1      0K       0K 166960K         1        0
     NFS daemon     1     16K      16K 166960K         1        0
    ip_moptions     0      0K       0K 166960K        40        0
       in_multi    87      5K       6K 166960K       556        0
    ether_multi     1      0K       0K 166960K         5        0
            mrt     0      0K       0K 166960K        29        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       927        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   199    151K     165K 166960K      9200        0
       UVM aobj    12      3K       3K 166960K        12        0
     pinsyscall    37     74K      88K 166960K      3215        0
        memdesc     1      4K       4K 166960K         1        0
    crypto data     1      1K       1K 166960K         1        0
    ip6_options     0      0K       0K 166960K         9        0
            NDP    11      0K       2K 166960K       159        0
           temp    37   9110K    9174K 166960K     21846        0
         kqueue    17     26K      26K 166960K       111        0
      SYN cache     2     16K      16K 166960K         2        0
ddb> show all pools
Name      Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle
rtpcb      120      170    0      166     2     0     2     2     0     8    1
rtentry    136      568    0      487     4     0     4     4     0     8    0
unpcb      144      239    0      224     1     0     1     1     0     8    0
syncache   336        4    0        4     1     1     0     1     0     8    0
tcpcb      736      137    0      130     4     0     4     4     0     8    3
arp         96       99    0       85     1     0     1     1     0     8    0
ipq         40        2    0        0     1     0     1     1     0     8    0
ipqe        40        2    0        0     1     0     1     1     0     8    0
inpcb      328      603    0      591    13     9     4    10     0     8    3
nd6        112      146    0      126     1     0     1     1     0     8    0
pkpcb       40        2    0        2     2     1     1     1     0     8    1
kcovpl      48       49    0       41     1     0     1     1     0     8    0
mppekey    1024       1    0        1     1     0     1     1     0     8    1
ppxss      1072      15    0       14     2     1     1     1     0     8    0
pppxif     1416       3    0        2     2     1     1     1     0     8    0
pfstscr     40       13    0        6     1     0     1     1     0     8    0
pfrktable  1344       3    0        3     1     1     0     1     0     8    0
pfanchor   1288      28    0       23     2     1     1     1     0     8    0
pftag       88        1    0        0     1     0     1     1     0     8    0
pfstitem    24        8    0        4     1     0     1     1     0     8    0
pfstkey    128       14    0        9     1     0     1     1     0     8    0
pfstate    384        7    0        3     1     0     1     1     0     8    0
pfrule     1360       9    0        9     2     1     1     1     0     8    1
rttmr      136        5    0        5     2     1     1     1     0     8    1
art_heap8  4096       1    0        0     1     0     1     1     0     8    0
art_heap4  256     2325    0     1933    36     4    32    32     0     8    4
art_table   40     2326    0     1933     6     0     6     6     0     8    0
art_node    32      567    0      494     1     0     1     1     0     8    0
sysvmsgpl   40        1    0        1     1     1     0     1     0     8    0
semupl     112        1    0        1     1     0     1     1     0     8    1
semapl      72       33    0       22     1     0     1     1     0     8    0
shmpl      112        9    0        0     1     0     1     1     0     8    0
dirhash    1024      21    0        4     3     0     3     3     0     8    0
dino2pl    256     2344    0      799    97     0    97    97     0     8    0
ffsino     256     2344    0      799    97     0    97    97     0     8    0
nchpl      144     2939    0     1072    70     0    70    70     0     8    0
rtmask      32        1    0        1     1     0     1     1     0     8    1
vnodes     216     3386    0        0   189     0   189   189     0     8    0
namei      1024   13761    0    13761     3     2     1     2     0     8    1
pfiaddrpl  120        1    0        1     1     1     0     1     0     8    0
kstatmem   264      127    0      104     2     0     2     2     0     8    0
scsiplug    72        2    0        2     2     1     1     1     0     8    1
scxspl     216    10060    0    10060    11     3     8     8     1     8    8
plimitpl   152      208    0      191     1     0     1     1     0     8    0
sigapl     424     1302    0     1240     9     1     8     8     0     8    0
knotepl    120    15293    0    15241    10     0    10    10     0     8    7
kqueuepl   184      143    0      129     1     0     1     1     0     8    0
pipepl     304      337    0      310     8     0     8     8     0     8    5
fdescpl    448     1268    0     1240     5     1     4     4     0     8    0
filepl     120     5869    0     5647    15     5    10    13     0     8    2
lockfpl    104      363    0      361     2     1     1     2     0     8    0
lockfspl    48      116    0      114     1     0     1     1     0     8    0
sessionpl  144       81    0       72     1     0     1     1     0     8    0
pgrppl      48      132    0      115     1     0     1     1     0     8    0
ucredpl    104      518    0      506     1     0     1     1     0     8    0
zombiepl   144     1244    0     1240     1     0     1     1     0     8    0
processpl  1152    1302    0     1240     5     0     5     5     0     8    0
procpl     664     1907    0     1840     8     0     8     8     0     8    1
sosppl     176        4    0        4     2     1     1     1     0     8    1
sockpl     552     1022    0      991    15     8     7    10     0     8    4
mcl64k     65536    617    0      617     2     1     1     1     0     8    1
mcl16k     16384     10    0       10     2     1     1     1     0     8    1
mcl12k     12288      1    0        1     1     0     1     1     0     8    1
mcl9k128   9344       4    0        4     2     1     1     1     0     8    1
mcl8k      8192      33    0       33     2     1     1     1     0     8    1
mcl4k      4096    2991    0     2937    15     6     9    13     0     8    1
mcl2k      2048    1098    0     1089     5     1     4     4     0     8    2
mextrefs    64      361    0      361     2     1     1     1     0     8    1
mtagpl      96       29    0       11     1     0     1     1     0     8    0
mbufpl     256    12279    0    12117    24     3    21    24     0     8    8
bufpl      272     3263    0      102   211     0   211   211     0     8    0
anonpl      24   160579    0   157586    69    27    42    51     0   187   18
amapchunkpl 152   26889    0    26495    37    11    26    28     0   158    7
amappl16   200     1924    0     1910    21     8    13    13     0     8   10
amappl15   192        6    0        5     1     0     1     1     0     8    0
amappl14   184      892    0      890     1     0     1     1     0     8    0
amappl13   176      195    0      185     1     0     1     1     0     8    0
amappl12   168     1672    0     1646     2     0     2     2     0     8    0
amappl11   160        5    0        5     1     1     0     1     0     8    0
amappl10   152       70    0       60     1     0     1     1     0     8    0
amappl9    144      271    0      271     1     1     0     1     0     8    0
amappl8    136      255    0      253     1     0     1     1     0     8    0
amappl7    128      218    0      206     1     0     1     1     0     8    0
amappl6    120      548    0      545     1     0     1     1     0     8    0
amappl5    112      108    0      100     1     0     1     1     0     8    0
amappl4    104      387    0      370     1     0     1     1     0     8    0
amappl3     96     4840    0     4763     4     1     3     3     0     8    0
amappl2     88     1231    0     1164     2     0     2     2     0     8    0
amappl1     80    16768    0    16223    14     1    13    13     0     8    1
amappl      88     7776    0     7641     4     0     4     4     0    92    0
uvmvnodes   80      105    0        0     3     0     3     3     0     8    0
dma8192    8192       1    0        1     1     0     1     1     0     8    1
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      255    0      255     2     1     1     1     0     8    1
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       11    0        0     1     0     1     1     0     8    0
uaddrrnd    24     1268    0     1240     1     0     1     1     0     8    0
uaddrbest   32        2    0        0     1     0     1     1     0     8    0
uaddr       24     1268    0     1240     1     0     1     1     0     8    0
vmmpekpl   168    11479    0    11428     3     0     3     3     0     8    0
vmmpepl    168    88188    0    86558    96    15    81    88     0   357    4
vmsppl     368     1267    0     1240     4     1     3     4     0     8    0
rwobjpl     40    26454    0    25522    13     1    12    12     0     8    1
pdppl      4096    2542    0     2480   140    72    68    76     0     8    6
pvpl        32   484875    0   476961   147    46   101   123     0   265   22
pmappl     216     1267    0     1240     2     0     2     2     0     8    0
extentpl    40       46    0       28     1     0     1     1     0     8    0
phpool     112      659    0       97    17     0    17    17     0     8    0
ddb> machine ddbcpu 0
No such command
ddb> trace
db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438
panic(ffffffff83488b7d) at panic+0x1cf sys/kern/subr_prf.c:198
__assert(ffffffff834c5262,ffffffff83520b98,3bf,ffffffff834f98af) at __assert+0x29 sys/kern/subr_prf.c:-1
refcnt_finalize(ffff80002a7866c8,ffffffff8347b953) at refcnt_finalize+0x1e7 sys/kern/kern_synch.c:960
pppx_if_destroy(2285b9a,ffff80002a7866c0) at pppx_if_destroy+0x3d sys/net/if_pppx.c:794
pppxclose(2285b9a,1,2000,ffff80002a7c3788) at pppxclose+0xa0 sys/net/if_pppx.c:541
spec_close(ffff80003a397a80) at spec_close+0x417 sys/kern/spec_vnops.c:-1
VOP_CLOSE(fffffc8079416028,1,fffffc8007ffd5b0,ffff80002a7c3788) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156
vn_closefile(fffffc806d478450,ffff80002a7c3788) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:298 [inline]
vn_closefile(fffffc806d478450,ffff80002a7c3788) at vn_closefile+0x11d sys/kern/vfs_vnops.c:621
fdrop(fffffc806d478450,ffff80002a7c3788) at fdrop+0x121 sys/kern/kern_descrip.c:1281
closef(fffffc806d478450,ffff80002a7c3788) at closef+0x190 sys/kern/kern_descrip.c:1265
syscall(ffff80003a397cd0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline]
syscall(ffff80003a397cd0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:791
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x458b1b9b860, count: -13
ddb> machine ddbcpu 1
No such command
ddb> trace
db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438
panic(ffffffff83488b7d) at panic+0x1cf sys/kern/subr_prf.c:198
__assert(ffffffff834c5262,ffffffff83520b98,3bf,ffffffff834f98af) at __assert+0x29 sys/kern/subr_prf.c:-1
refcnt_finalize(ffff80002a7866c8,ffffffff8347b953) at refcnt_finalize+0x1e7 sys/kern/kern_synch.c:960
pppx_if_destroy(2285b9a,ffff80002a7866c0) at pppx_if_destroy+0x3d sys/net/if_pppx.c:794
pppxclose(2285b9a,1,2000,ffff80002a7c3788) at pppxclose+0xa0 sys/net/if_pppx.c:541
spec_close(ffff80003a397a80) at spec_close+0x417 sys/kern/spec_vnops.c:-1
VOP_CLOSE(fffffc8079416028,1,fffffc8007ffd5b0,ffff80002a7c3788) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156
vn_closefile(fffffc806d478450,ffff80002a7c3788) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:298 [inline]
vn_closefile(fffffc806d478450,ffff80002a7c3788) at vn_closefile+0x11d sys/kern/vfs_vnops.c:621
fdrop(fffffc806d478450,ffff80002a7c3788) at fdrop+0x121 sys/kern/kern_descrip.c:1281
closef(fffffc806d478450,ffff80002a7c3788) at closef+0x190 sys/kern/kern_descrip.c:1265
syscall(ffff80003a397cd0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline]
syscall(ffff80003a397cd0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:791
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x458b1b9b860, count: -13

Crashes (1260):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/08/29 14:27 openbsd 2c3a37e498aa 2f52988a .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "refs != ~NUM" failed in kern_synch.c
2026/08/27 15:27 openbsd eaf6a50527ed c53a1b9c .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "refs != ~NUM" failed in kern_synch.c
2026/08/24 07:13 openbsd cf84231e2650 1e72964b .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "refs != ~NUM" failed in kern_synch.c
2026/08/23 13:53 openbsd 69b59cbe79d8 1e72964b .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "refs != ~NUM" failed in kern_synch.c
2026/08/22 15:31 openbsd 94b8f25de2d2 1e72964b .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "refs != ~NUM" failed in kern_synch.c
2026/08/22 03:25 openbsd d8ab52b87c98 1e72964b .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "refs != ~NUM" failed in kern_synch.c
2026/08/20 18:54 openbsd 66ffe5599e58 1e72964b .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "refs != ~NUM" failed in kern_synch.c
2026/08/19 15:31 openbsd b71086f46363 1e72964b .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "refs != ~NUM" failed in kern_synch.c
2026/08/15 18:28 openbsd b903a0834f41 746171ee .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "refs != ~NUM" failed in kern_synch.c
2026/08/13 13:22 openbsd b8ee6bbd8ccb 4d118901 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "refs != ~NUM" failed in kern_synch.c
2026/08/12 02:11 openbsd a47f863e5cb3 f8d35649 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "refs != ~NUM" failed in kern_synch.c
2026/08/11 20:15 openbsd 99858244924d 557a89d3 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "refs != ~NUM" failed in kern_synch.c
2026/08/11 16:36 openbsd 99858244924d 557a89d3 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "refs != ~NUM" failed in kern_synch.c
2026/08/10 22:29 openbsd b56428e2942e 508909ea .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "refs != ~NUM" failed in kern_synch.c
2026/08/10 14:34 openbsd 422ca638c1d6 558388e4 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "refs != ~NUM" failed in kern_synch.c
2026/07/31 02:17 openbsd aa7f4357c308 0a1bc234 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "refs != ~NUM" failed in kern_synch.c
2026/07/29 02:51 openbsd 7c9a09f11f52 19622d9d .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "refs != ~NUM" failed in kern_synch.c
2026/07/28 23:26 openbsd 7c9a09f11f52 19622d9d .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "refs != ~NUM" failed in kern_synch.c
2026/07/28 15:37 openbsd e63b2cdac76f 5fe7c56f .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "refs != ~NUM" failed in kern_synch.c
2026/07/27 07:40 openbsd 03525b20a4f0 492bab15 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "refs != ~NUM" failed in kern_synch.c
2026/07/27 01:13 openbsd d2534f409959 492bab15 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "refs != ~NUM" failed in kern_synch.c
2026/07/25 21:26 openbsd d6cf5170b77f 492bab15 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "refs != ~NUM" failed in kern_synch.c
2026/07/25 13:20 openbsd f3d8a5574675 492bab15 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "refs != ~NUM" failed in kern_synch.c
2026/07/21 15:06 openbsd 20200149c668 7c5de9c3 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "refs != ~NUM" failed in kern_synch.c
2026/07/21 00:57 openbsd d55fd7dd01df de6a700d .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "refs != ~NUM" failed in kern_synch.c
2026/07/20 13:11 openbsd 3406bb49e583 4763fed7 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "refs != ~NUM" failed in kern_synch.c
2026/07/05 13:43 openbsd e9996feb4a0b fcece630 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "refs != ~NUM" failed in kern_synch.c
2026/07/01 02:03 openbsd b68bd8e26319 00a5cf1c .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "refs != ~NUM" failed in kern_synch.c
2026/06/28 10:03 openbsd 2194060d1c40 fb92f11c .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "refs != ~NUM" failed in kern_synch.c
2026/06/26 05:36 openbsd a5986fc34424 7ff32d8b .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "refs != ~NUM" failed in kern_synch.c
2026/06/26 02:07 openbsd a5986fc34424 7ff32d8b .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "refs != ~NUM" failed in kern_synch.c
2026/06/25 03:19 openbsd 7c9581f1cd1a cfa969bf .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "refs != ~NUM" failed in kern_synch.c
2026/06/20 17:47 openbsd b7d02bf002df 62cc6db3 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "refs != ~NUM" failed in kern_synch.c
2026/06/19 16:27 openbsd e607e174aea6 62cc6db3 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "refs != ~NUM" failed in kern_synch.c
2026/06/19 09:46 openbsd e607e174aea6 62cc6db3 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "refs != ~NUM" failed in kern_synch.c
2026/06/18 05:50 openbsd 135881df8fe2 62cc6db3 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "refs != ~NUM" failed in kern_synch.c
2026/06/17 16:29 openbsd abb34060f546 62cc6db3 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "refs != ~NUM" failed in kern_synch.c
2026/06/17 02:27 openbsd 2f229140c828 62cc6db3 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "refs != ~NUM" failed in kern_synch.c
2026/06/16 15:30 openbsd 3cf96d7d154c a3998659 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "refs != ~NUM" failed in kern_synch.c
2026/06/15 11:20 openbsd e83fdb494821 c700a26e .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "refs != ~NUM" failed in kern_synch.c
2026/06/15 08:21 openbsd e83fdb494821 c700a26e .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "refs != ~NUM" failed in kern_synch.c
2026/06/15 06:46 openbsd e83fdb494821 4f06757f .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "refs != ~NUM" failed in kern_synch.c
2026/06/14 23:45 openbsd 459bfe6c89ff 4f06757f .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "refs != ~NUM" failed in kern_synch.c
2026/06/14 03:37 openbsd 46410a2bd49b 4f06757f .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "refs != ~NUM" failed in kern_synch.c
2026/06/13 13:41 openbsd 4abe9ebbcc38 4f06757f .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "refs != ~NUM" failed in kern_synch.c
2026/06/13 01:34 openbsd b5f1a9c5e77f 4f06757f .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "refs != ~NUM" failed in kern_synch.c
2026/06/12 11:58 openbsd 59d95d307a04 8f6cdf3b .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "refs != ~NUM" failed in kern_synch.c
2026/06/11 12:08 openbsd 28cce1e713d0 d93a6ab6 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "refs != ~NUM" failed in kern_synch.c
2026/06/10 22:38 openbsd 01c8afc2223d f79bac11 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "refs != ~NUM" failed in kern_synch.c
2026/06/10 12:24 openbsd 01c8afc2223d f79bac11 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "refs != ~NUM" failed in kern_synch.c
2026/06/10 01:54 openbsd 65c91b083cf7 34dab4be .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "refs != ~NUM" failed in kern_synch.c
2026/06/09 23:20 openbsd 65c91b083cf7 34dab4be .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "refs != ~NUM" failed in kern_synch.c
2025/02/08 12:25 openbsd 2347e6edcd5e ef44b750 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "refs != ~NUM" failed in kern_synch.c
* Struck through repros no longer work on HEAD.