syzbot


assert "pg->wire_count == NUM" failed in vfs_biomem.c (3)

Status: upstream: reported on 2023/12/29 11:04
Reported-by: syzbot+9b8f9974ccb14bdd31cb@syzkaller.appspotmail.com
First crash: 148d, last: 1h33m
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
openbsd assert "pg->wire_count == NUM" failed in vfs_biomem.c (2) 2 253d 283d 0/3 auto-obsoleted due to no activity on 2023/12/13 15:53
openbsd assert "pg->wire_count == NUM" failed in vfs_biomem.c 10 407d 743d 0/3 auto-obsoleted due to no activity on 2023/07/13 08:24

Sample crash report:
panic: kernel diagnostic assertion "pg->wire_count == 1" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/vfs_biomem.c", line 310
Stopped at      db_enter+0x1c:  addq    $0x8,%rsp
    TID    PID    UID     PRFLAGS     PFLAGS  CPU  COMMAND
 503586   8037      0   0x8000000          0    0  syz-executor.4
* 65341  24317      0   0x8000002          0    1K syz-executor.3
db_enter() at db_enter+0x1c sys/arch/amd64/amd64/db_interface.c:437
panic(ffffffff8295e81e) at panic+0x17b sys/kern/subr_prf.c:198
__assert(ffffffff829133d1,ffffffff828b81db,136,ffffffff8289dbbe) at __assert+0x29 sys/kern/subr_prf.c:157
buf_free_pages(fffffd8054b74d38) at buf_free_pages+0x1d0 sys/kern/vfs_biomem.c:299
buf_dealloc_mem(fffffd8054b74d38) at buf_dealloc_mem+0xe2 sys/kern/vfs_biomem.c:179
buf_put(fffffd8054b74d38) at buf_put+0x15e sys/kern/vfs_bio.c:127
brelse(fffffd8054b74d38) at brelse+0x26b sys/kern/vfs_bio.c:944
vinvalbuf(fffffd80742265f0,2,fffffd807f7d36e8,ffff80002a1fe020,0,ffffffffffffffff) at vinvalbuf+0x3b8 sys/kern/vfs_subr.c:2025
ffs_truncate(fffffd80675cdcc0,0,4,fffffd807f7d36e8) at ffs_truncate+0xba2
ufs_rmdir(ffff800033771818) at ufs_rmdir+0x295 sys/ufs/ufs/ufs_vnops.c:1265
VOP_RMDIR(fffffd807a25a6f8,fffffd80742265f0,ffff8000337718f8) at VOP_RMDIR+0x12a sys/kern/vfs_vops.c:413
dounlinkat(ffff80002a1fe020,ffffff9c,729efd641850,8) at dounlinkat+0x20e sys/kern/vfs_syscalls.c:1889
syscall(ffff800033771a70) at syscall+0x854 mi_syscall sys/sys/syscall_mi.h:180 [inline]
syscall(ffff800033771a70) at syscall+0x854 sys/arch/amd64/amd64/trap.c:577
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x729efd641840, count: 1
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: kernel diagnostic assertion "pg->wire_count == 1" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/vfs_biomem.c", line 310
ddb{1}> trace
db_enter() at db_enter+0x1c sys/arch/amd64/amd64/db_interface.c:437
panic(ffffffff8295e81e) at panic+0x17b sys/kern/subr_prf.c:198
__assert(ffffffff829133d1,ffffffff828b81db,136,ffffffff8289dbbe) at __assert+0x29 sys/kern/subr_prf.c:157
buf_free_pages(fffffd8054b74d38) at buf_free_pages+0x1d0 sys/kern/vfs_biomem.c:299
buf_dealloc_mem(fffffd8054b74d38) at buf_dealloc_mem+0xe2 sys/kern/vfs_biomem.c:179
buf_put(fffffd8054b74d38) at buf_put+0x15e sys/kern/vfs_bio.c:127
brelse(fffffd8054b74d38) at brelse+0x26b sys/kern/vfs_bio.c:944
vinvalbuf(fffffd80742265f0,2,fffffd807f7d36e8,ffff80002a1fe020,0,ffffffffffffffff) at vinvalbuf+0x3b8 sys/kern/vfs_subr.c:2025
ffs_truncate(fffffd80675cdcc0,0,4,fffffd807f7d36e8) at ffs_truncate+0xba2
ufs_rmdir(ffff800033771818) at ufs_rmdir+0x295 sys/ufs/ufs/ufs_vnops.c:1265
VOP_RMDIR(fffffd807a25a6f8,fffffd80742265f0,ffff8000337718f8) at VOP_RMDIR+0x12a sys/kern/vfs_vops.c:413
dounlinkat(ffff80002a1fe020,ffffff9c,729efd641850,8) at dounlinkat+0x20e sys/kern/vfs_syscalls.c:1889
syscall(ffff800033771a70) at syscall+0x854 mi_syscall sys/sys/syscall_mi.h:180 [inline]
syscall(ffff800033771a70) at syscall+0x854 sys/arch/amd64/amd64/trap.c:577
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x729efd641840, count: -14
ddb{1}> show registers
rdi                                0
rsi                              0x1
rbp               0xffff800033771300
rbx               0xffff800029cecd77
rdx                                0
rcx               0xffff80002a1fe020
rax               0xffff800029cebff0
r8                 0x101010101010101
r9                0x8080808080808080
r10               0x2b97210f684780fe
r11               0xccd9d081156ae668
r12               0xffff800029cecb78
r13                                0
r14                                0
r15                              0x1
rip               0xffffffff814e5edc    db_enter+0x1c
cs                               0x8
rflags                         0x246
rsp               0xffff8000337712f0
ss                              0x10
db_enter+0x1c:  addq    $0x8,%rsp
ddb{1}> show proc
PROC (syz-executor.3) tid=65341 pid=24317 tcnt=1 stat=onproc
    flags process=8000002<EXEC> proc=0
    runpri=17, usrpri=57, slppri=17, nice=20
    wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0
    forw=0xffffffffffffffff, list=0xffff8000fffe2d10,0xffff8000fffecfa8
    process=0xffff80002a1588f8 user=0xffff80003376c000, vmspace=0xfffffd806578d898
    estcpu=16, cpticks=2, pctcpu=1.20, user=0, sys=1, intr=0
ddb{1}> ps
   PID     TID   PPID    UID  S       FLAGS  WAIT          COMMAND
  8037  503586  42470      0  7   0x8000000                syz-executor.4
  8037  229425  42470      0  2   0xc000080                syz-executor.4
 34069   92387  61351      0  3   0x8000080  nanoslp       syz-executor.1
 34069  413138  61351      0  3   0xc000080  kqpoll        syz-executor.1
 34069  240688  61351      0  3   0xc000080  fsleep        syz-executor.1
 58549  350287   2680      0  3   0x8000080  nanoslp       syz-executor.5
 58549  290462   2680      0  3   0xc000000  smrbar        syz-executor.5
 58549  241199   2680      0  3   0xc000080  fsleep        syz-executor.5
 42470  509658  89892      0  3   0x8000082  nanoslp       syz-executor.4
 86100  196925  31362      0  3   0x8000080  nanoslp       syz-executor.2
 86100  107737  31362      0  3   0xc000080  netcon        syz-executor.2
 86100  153532  31362      0  3   0xc000080  netcon        syz-executor.2
 86100  245873  31362      0  3   0xc000080  fsleep        syz-executor.2
 61351  502387  89892      0  3   0x8000082  nanoslp       syz-executor.1
 28674   79246  51233      0  3   0x8000080  nanoslp       syz-executor.7
 28674  459047  51233      0  3   0xc000080  netacc        syz-executor.7
 28674   68518  51233      0  3   0xc000080  fsleep        syz-executor.7
  2680  447146  89892      0  3   0x8000082  nanoslp       syz-executor.5
 90503  292833  45423      0  3   0x8000080  nanoslp       syz-executor.6
 90503  483723  45423      0  3   0xc000080  sbwait        syz-executor.6
 90503  430143  45423      0  3   0xc000080  fsleep        syz-executor.6
 38340   55135  89892      0  2   0x8000002                syz-executor.0
 45423  138628  89892      0  3   0x8000082  nanoslp       syz-executor.6
*24317   65341  89892      0  7   0x8000002                syz-executor.3
 31362  343911  89892      0  3   0x8000082  nanoslp       syz-executor.2
 51233  323817  89892      0  3   0x8000082  nanoslp       syz-executor.7
   780  415761      1      0  3  0x18100083  ttyin         getty
 30782  329352      0      0  3     0x14200  bored         sosplice
 89892  299683  14283      0  3  0x1a000082  wait          syz-fuzzer
 89892  181083  14283      0  3  0x1e000082  nanoslp       syz-fuzzer
 89892  309183  14283      0  3  0x1e000082  wait          syz-fuzzer
 89892   79303  14283      0  3  0x1e000082  thrsleep      syz-fuzzer
 89892  404403  14283      0  3  0x1e000082  thrsleep      syz-fuzzer
 89892  265149  14283      0  3  0x1e000082  thrsleep      syz-fuzzer
 89892  319801  14283      0  3  0x1e000082  kqread        syz-fuzzer
 89892  518759  14283      0  3  0x1e000082  thrsleep      syz-fuzzer
 89892  438119  14283      0  3  0x1e000082  wait          syz-fuzzer
 89892  488257  14283      0  3  0x1e000082  wait          syz-fuzzer
 89892  157127  14283      0  3  0x1e000082  thrsleep      syz-fuzzer
 89892   86395  14283      0  3  0x1e000082  wait          syz-fuzzer
 89892  408747  14283      0  3  0x1e000082  wait          syz-fuzzer
 89892   79622  14283      0  3  0x1e000082  wait          syz-fuzzer
 89892  232350  14283      0  3  0x1e000082  thrsleep      syz-fuzzer
 89892  275785  14283      0  3  0x1e000082  wait          syz-fuzzer
 14283  366701  80576      0  3   0x810008a  sigsusp       ksh
 80576   33941  51297      0  3  0x1800009a  kqread        sshd
 51297  490400      1      0  3  0x18000088  kqread        sshd
 40308  426992  54147     73  3  0x19100010  biowait       syslogd
 54147  193783      1      0  3  0x18100082  sbwait        syslogd
 85772  468483      1      0  3  0x18100080  kqread        resolvd
 49822  368799  65914     77  3  0x18100092  kqread        dhcpleased
 73705  405982  65914     77  3  0x18100092  kqread        dhcpleased
 65914  469183      1      0  3  0x18000080  kqread        dhcpleased
 59078   60235      0      0  3     0x14200  bored         smr
 86392   80580      0      0  2     0x14200                zerothread
 47029   25695      0      0  3     0x14200  aiodoned      aiodoned
 22925  181849      0      0  3     0x14200  syncer        update
 55151  513492      0      0  3     0x14200  cleaner       cleaner
 47705  339428      0      0  3     0x14200  reaper        reaper
 94565  157069      0      0  3     0x14200  pgdaemon      pagedaemon
  8593  436340      0      0  3     0x14200  bored         viomb
 24868  263893      0      0  3  0x40014200  acpi0         acpi0
 77816  506667      0      0  3  0x40014200                idle1
 94749  330631      0      0  3     0x14200  bored         softnet3
 29744  523537      0      0  3     0x14200  bored         softnet2
 73496  127553      0      0  3     0x14200  bored         softnet1
 10972  354536      0      0  3     0x14200  bored         softnet0
 75518  136506      0      0  3     0x14200  bored         systqmp
 96997  364038      0      0  3     0x14200  bored         systq
 57408  273509      0      0  3     0x14200  tmoslp        softclockmp
 32670  234713      0      0  3  0x40014200  tmoslp        softclock
 98066  446140      0      0  3  0x40014200                idle0
     1  233960      0      0  3   0x8080082  wait          init
     0       0     -1      0  3     0x10200  scheduler     swapper
ddb{1}> show all locks
Process 58549 (syz-executor.5) thread 0xffff8000fffecd08 (290462)
Process 38340 (syz-executor.0) thread 0xffff80002a1ffc50 (55135)
Process 24317 (syz-executor.3) thread 0xffff80002a1fe020 (65341)
Process 40308 (syslogd) thread 0xffff8000ffffdc40 (426992)
ddb{1}> show malloc
           Type InUse  MemUse  HighUse   Limit  Requests Type Lim
         devbuf 10216   6571K    7064K 166960K     18302        0
            pcb    17     14K      15K 166960K       627        0
         rtable   224     15K      16K 166960K      2570        0
             pf    39     10K      11K 166960K       247        0
         ifaddr    50     17K      17K 166960K       350        0
        ifgroup    70      2K       3K 166960K       431        0
         sysctl     4      1K       2K 166960K        15        0
       counters    72     37K      37K 166960K       266        0
       ioctlops     0      0K       4K 166960K      1693        0
            iov     1      0K      18K 166960K       177        0
          mount     1      1K       1K 166960K         1        0
            log     0      0K       0K 166960K         4        0
         vnodes  1468     92K      92K 166960K      5572        0
      UFS quota     1     32K      32K 166960K         1        0
      UFS mount     5     36K      36K 166960K         5        0
            shm     2     32K      40K 166960K        29        0
         VM map     2      1K       1K 166960K         2        0
            sem    12      0K       0K 166960K       332        0
        dirhash    12      2K       3K 166960K        99        0
           ACPI  1697    195K     286K 166960K     12548        0
      file desc    16     57K      89K 166960K      4179        0
          sigio     0      0K       0K 166960K        52        0
           proc    58     79K     128K 166960K      2441        0
        subproc   104      6K       7K 166960K       951        0
    NFS srvsock     1      0K       0K 166960K         1        0
     NFS daemon     1     16K      16K 166960K         1        0
    ip_moptions     0      0K       0K 166960K       523        0
       in_multi    99      7K       7K 166960K       881        0
    ether_multi     1      0K       0K 166960K        32        0
            mrt     1      0K       0K 166960K        10        0
    ISOFS mount     1     32K      32K 166960K         1        0
  MSDOSFS mount     1     16K      16K 166960K         1        0
           ttys   103    466K     466K 166960K       103        0
           exec     0      0K       1K 166960K      1594        0
     pfkey data     0      0K       0K 166960K         2        0
            tdb     3      0K       0K 166960K         3        0
        VM swap     8     62K      64K 166960K        10        0
       UVM amap   291    111K     165K 166960K     36481        0
       UVM aobj   162      8K       8K 166960K       177        0
     pinsyscall    36     72K     100K 166960K      7005        0
        memdesc     1      4K       4K 166960K         1        0
    crypto data     1      1K       1K 166960K         1        0
    ip6_options     0      0K       0K 166960K       285        0
            NDP    23      1K       1K 166960K       250        0
           temp    74   6808K   14744K 166960K    127461        0
         kqueue    13     20K      28K 166960K       550        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       24    0        0     1     0     1     1     0     8    0
rtpcb      120      498    0      494     1     0     1     1     0     8    0
rtentry    112      903    0      805     4     1     3     4     0     8    0
unpcb      144     3120    0     3096    15    14     1     6     0     8    0
syncache   336        5    0        5     2     2     0     1     0     8    0
tcpqe       32       31    0       31     1     1     0     1     0     8    0
tcpcb      808     1150    0     1139    12    10     2     2     0     8    0
arp        120      171    0      153     1     0     1     1     0     8    0
inpcb      384     4051    0     4035    28    26     2     9     0     8    0
nd6        136      228    0      203     1     0     1     1     0     8    0
pkpcb       40       19    0       19    11    11     0     1     0     8    0
kcovpl      48       73    0       65     1     0     1     1     0     8    0
ppxss      1168      15    0       15     6     6     0     1     0     8    0
pffrag     232       43    0       42     3     2     1     1     0   482    0
pffrnode    88       31    0       30     3     2     1     1     0     8    0
pffrent     40      452    0      451     3     2     1     1     0     8    0
pfosfp      40     1428    0     1005     5     0     5     5     0     8    0
pfosfpen   112     1428    0      714    21     0    21    21     0     8    0
pfstitem    24      365    0      329     1     0     1     1     0     8    0
pfstkey    128      365    0      329     3     1     2     3     0     8    0
pfstate    376      365    0      329    12     6     6     9     0     8    0
pfrule     1344      21    0       16     2     1     1     2     0     8    0
art_heap8  4096       1    0        0     1     0     1     1     0     8    0
art_heap4  256     3458    0     3013    50    22    28    29     0     8    0
art_table   32     3459    0     3013     4     0     4     4     0     8    0
art_node    16      895    0      807     1     0     1     1     0     8    0
sysvmsgpl   40       18    0       15     1     0     1     1     0     8    0
semapl     112      330    0      320     1     0     1     1     0     8    0
shmpl      112      174    0       15     5     0     5     5     0     8    0
dirhash    1024      75    0       58     3     0     3     3     0     8    0
dino2pl    256     7779    0     6249    97     0    97    97     0     8    0
ffsino     272     7780    0     6249   103     0   103   103     0     8    0
nchpl      144    13623    0    11881    67     0    67    67     0     8    0
uvmvnodes   80     9719    0        0   199     0   199   199     0     8    0
vnodes     216     9719    0        0   540     0   540   540     0     8    0
namei      1024   52029    0    52028    10     9     1     2     0     8    0
percpumem   16      147    0       97     1     0     1     1     0     8    0
vcpupl     3904       7    0        4     1     0     1     1     0     8    0
vmpool     696       15    0       12     1     0     1     1     0     8    0
kstatmem   264      224    0      194     3     0     3     3     0     8    0
scsiplug    72        8    0        8     7     7     0     1     0     8    0
scxspl     216    87012    0    87011    19    16     3     8     1     8    2
plimitpl   152      766    0      749     1     0     1     1     0     8    0
sigapl     424     4391    0     4345     8     2     6     8     0     8    0
futexpl     64    63432    0    63427    11    10     1     1     0     8    0
knotepl    120      678    0        0    18     0    18    18     0     8    0
kqueuepl   216     1158    0     1148     2     1     1     2     0     8    0
pipepl     320      802    0      774     3     0     3     3     0     8    0
fdescpl    496     4348    0     4321     9     4     5     5     0     8    1
filepl     152    29537    0    29267    35    24    11    20     0     8    0
lockfpl    104     1459    0     1457     1     0     1     1     0     8    0
lockfspl    48      622    0      620     1     0     1     1     0     8    0
sessionpl  144       87    0       71     1     0     1     1     0     8    0
pgrppl      48      143    0      127     1     0     1     1     0     8    0
ucredpl    104     5086    0     5073     1     0     1     1     0     8    0
zombiepl   144     4345    0     4345     1     0     1     1     0     8    1
processpl  1144    4391    0     4345     7     2     5     6     0     8    0
procpl     656     8384    0     8311     9     1     8     9     0     8    0
srpgc       96       72    0       72    13    12     1     1     0     8    1
sosppl     168       17    0       17     9     9     0     1     0     8    0
sockpl     664     7721    0     7677    57    53     4    14     0     8    0
mcl64k     65536     18    0        0     3     0     3     3     0     8    0
mcl16k     16384      8    0        0     1     0     1     1     0     8    0
mcl12k     12288      8    0        0     1     0     1     1     0     8    0
mcl9k      9216       5    0        0     1     0     1     1     0     8    0
mcl8k      8192       7    0        0     1     0     1     1     0     8    0
mcl4k      4096       6    0        0     1     0     1     1     0     8    0
mcl2k2     2112       1    0        0     1     0     1     1     0     8    0
mcl2k      2048     456    0        0    42    10    32    42     0     8    0
mtagpl      96       32    0        0     1     0     1     1     0     8    0
mbufpl     256      693    0        0    24     0    24    24     0     8    0
bufpl      280    18493    0     8774   695     0   695   695     0     8    0
anonpl      24   675488    0   669258   238   119   119   125     0   186   49
amapchunkpl 152  121221    0   120515   136    84    52    58     0   158   20
amappl16   200    13171    0    13050    73    62    11    21     0     8    0
amappl15   192       14    0       14     3     3     0     1     0     8    0
amappl14   184      400    0      387     2     1     1     2     0     8    0
amappl13   176       11    0       11     3     3     0     1     0     8    0
amappl12   168     5962    0     5932     3     1     2     3     0     8    0
amappl11   160       53    0       42     1     0     1     1     0     8    0
amappl10   152      105    0       97     2     1     1     1     0     8    0
amappl9    144      200    0      200     2     2     0     1     0     8    0
amappl8    136      497    0      460     2     0     2     2     0     8    0
amappl7    128       66    0       52     1     0     1     1     0     8    0
amappl6    120     1152    0     1136     2     1     1     2     0     8    0
amappl5    112      439    0      426     1     0     1     1     0     8    0
amappl4    104     1073    0     1037     2     0     2     2     0     8    0
amappl3     96    22242    0    22156     3     0     3     3     0     8    0
amappl2     88     4979    0     4907     4     2     2     4     0     8    0
amappl1     80    26132    0    25645    24    12    12    22     0     8    0
amappl      88    35228    0    35022     6     0     6     6     0    92    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      176    0       15     3     0     3     3     0     8    0
uaddrrnd    24     4363    0     4333     1     0     1     1     0     8    0
uaddrbest   32        2    0        0     1     0     1     1     0     8    0
uaddr       24     4363    0     4333     1     0     1     1     0     8    0
vmmpekpl   168    34191    0    34115     4     0     4     4     0     8    0
vmmpepl    168   290172    0   288314   194    97    97   115     0   357    7
vmsppl     440     4362    0     4333     5     1     4     5     0     8    0
rwobjpl     56    79439    0    68471   166    10   156   159     0     8    0
pdppl      4096    8733    0     8669   330   256    74    77     0     8   10
pvpl        32    46629    0        0   378     1   377   377     0   265    0
pmappl     248     4362    0     4333     5     2     3     3     0     8    0
extentpl    40       56    0       38     1     0     1     1     0     8    0
phpool     112      689    0      317    11     0    11    11     0     8    0
ddb{1}> machine ddbcpu 0
Stopped at      x86_ipi_db+0x1e:        addq    $0x8,%rsp
x86_ipi_db(ffffffff82c7cff0) at x86_ipi_db+0x1e sys/arch/amd64/amd64/db_interface.c:393
x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106
Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27
__sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x1c kd_curproc sys/dev/kcov.c:588 [inline]
__sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x1c sys/dev/kcov.c:158
__mp_lock(ffffffff82e728b0) at __mp_lock+0x133 __mp_lock_spin sys/kern/kern_lock.c:116 [inline]
__mp_lock(ffffffff82e728b0) at __mp_lock+0x133 sys/kern/kern_lock.c:147
intr_handler(ffff800030b23500,ffff80000006bc00) at intr_handler+0x62 sys/arch/amd64/amd64/intr.c:539
Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f
end of kernel
end trace frame: 0x7cce6e9dc6d0, count: 8
ddb{0}> trace
x86_ipi_db(ffffffff82c7cff0) at x86_ipi_db+0x1e sys/arch/amd64/amd64/db_interface.c:393
x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106
Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27
__sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x1c kd_curproc sys/dev/kcov.c:588 [inline]
__sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x1c sys/dev/kcov.c:158
__mp_lock(ffffffff82e728b0) at __mp_lock+0x133 __mp_lock_spin sys/kern/kern_lock.c:116 [inline]
__mp_lock(ffffffff82e728b0) at __mp_lock+0x133 sys/kern/kern_lock.c:147
intr_handler(ffff800030b23500,ffff80000006bc00) at intr_handler+0x62 sys/arch/amd64/amd64/intr.c:539
Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f
end of kernel
end trace frame: 0x7cce6e9dc6d0, count: -7
ddb{0}> machine ddbcpu 1
Stopped at      db_enter+0x1c:  addq    $0x8,%rsp
db_enter() at db_enter+0x1c sys/arch/amd64/amd64/db_interface.c:437
panic(ffffffff8295e81e) at panic+0x17b sys/kern/subr_prf.c:198
__assert(ffffffff829133d1,ffffffff828b81db,136,ffffffff8289dbbe) at __assert+0x29 sys/kern/subr_prf.c:157
buf_free_pages(fffffd8054b74d38) at buf_free_pages+0x1d0 sys/kern/vfs_biomem.c:299
buf_dealloc_mem(fffffd8054b74d38) at buf_dealloc_mem+0xe2 sys/kern/vfs_biomem.c:179
buf_put(fffffd8054b74d38) at buf_put+0x15e sys/kern/vfs_bio.c:127
brelse(fffffd8054b74d38) at brelse+0x26b sys/kern/vfs_bio.c:944
vinvalbuf(fffffd80742265f0,2,fffffd807f7d36e8,ffff80002a1fe020,0,ffffffffffffffff) at vinvalbuf+0x3b8 sys/kern/vfs_subr.c:2025
ffs_truncate(fffffd80675cdcc0,0,4,fffffd807f7d36e8) at ffs_truncate+0xba2
ufs_rmdir(ffff800033771818) at ufs_rmdir+0x295 sys/ufs/ufs/ufs_vnops.c:1265
VOP_RMDIR(fffffd807a25a6f8,fffffd80742265f0,ffff8000337718f8) at VOP_RMDIR+0x12a sys/kern/vfs_vops.c:413
dounlinkat(ffff80002a1fe020,ffffff9c,729efd641850,8) at dounlinkat+0x20e sys/kern/vfs_syscalls.c:1889
syscall(ffff800033771a70) at syscall+0x854 mi_syscall sys/sys/syscall_mi.h:180 [inline]
syscall(ffff800033771a70) at syscall+0x854 sys/arch/amd64/amd64/trap.c:577
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x729efd641840, count: 1
ddb{1}> trace
db_enter() at db_enter+0x1c sys/arch/amd64/amd64/db_interface.c:437
panic(ffffffff8295e81e) at panic+0x17b sys/kern/subr_prf.c:198
__assert(ffffffff829133d1,ffffffff828b81db,136,ffffffff8289dbbe) at __assert+0x29 sys/kern/subr_prf.c:157
buf_free_pages(fffffd8054b74d38) at buf_free_pages+0x1d0 sys/kern/vfs_biomem.c:299
buf_dealloc_mem(fffffd8054b74d38) at buf_dealloc_mem+0xe2 sys/kern/vfs_biomem.c:179
buf_put(fffffd8054b74d38) at buf_put+0x15e sys/kern/vfs_bio.c:127
brelse(fffffd8054b74d38) at brelse+0x26b sys/kern/vfs_bio.c:944
vinvalbuf(fffffd80742265f0,2,fffffd807f7d36e8,ffff80002a1fe020,0,ffffffffffffffff) at vinvalbuf+0x3b8 sys/kern/vfs_subr.c:2025
ffs_truncate(fffffd80675cdcc0,0,4,fffffd807f7d36e8) at ffs_truncate+0xba2
ufs_rmdir(ffff800033771818) at ufs_rmdir+0x295 sys/ufs/ufs/ufs_vnops.c:1265
VOP_RMDIR(fffffd807a25a6f8,fffffd80742265f0,ffff8000337718f8) at VOP_RMDIR+0x12a sys/kern/vfs_vops.c:413
dounlinkat(ffff80002a1fe020,ffffff9c,729efd641850,8) at dounlinkat+0x20e sys/kern/vfs_syscalls.c:1889
syscall(ffff800033771a70) at syscall+0x854 mi_syscall sys/sys/syscall_mi.h:180 [inline]
syscall(ffff800033771a70) at syscall+0x854 sys/arch/amd64/amd64/trap.c:577
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x729efd641840, count: -14

Crashes (126):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/05/25 13:07 openbsd 92850d3aeacc a10a183e .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "pg->wire_count == NUM" failed in vfs_biomem.c
2024/05/25 11:15 openbsd 92850d3aeacc a10a183e .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "pg->wire_count == NUM" failed in vfs_biomem.c
2024/05/25 09:48 openbsd 92850d3aeacc a10a183e .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "pg->wire_count == NUM" failed in vfs_biomem.c
2024/05/25 07:39 openbsd 92850d3aeacc a10a183e .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "pg->wire_count == NUM" failed in vfs_biomem.c
2024/05/25 02:58 openbsd 4aaef610e0a6 a10a183e .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "pg->wire_count == NUM" failed in vfs_biomem.c
2024/05/24 21:09 openbsd 4aaef610e0a6 a10a183e .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "pg->wire_count == NUM" failed in vfs_biomem.c
2024/05/24 11:33 openbsd 6859a790d2a4 8f98448e .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "pg->wire_count == NUM" failed in vfs_biomem.c
2024/05/24 04:35 openbsd 6859a790d2a4 8f98448e .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "pg->wire_count == NUM" failed in vfs_biomem.c
2024/05/23 21:40 openbsd 6859a790d2a4 8f98448e .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "pg->wire_count == NUM" failed in vfs_biomem.c
2024/05/23 02:32 openbsd 6859a790d2a4 4d098039 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "pg->wire_count == NUM" failed in vfs_biomem.c
2024/05/23 01:09 openbsd 6859a790d2a4 4d098039 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "pg->wire_count == NUM" failed in vfs_biomem.c
2024/05/22 02:29 openbsd 6859a790d2a4 1014eca7 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "pg->wire_count == NUM" failed in vfs_biomem.c
2024/05/21 23:15 openbsd 6859a790d2a4 1014eca7 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "pg->wire_count == NUM" failed in vfs_biomem.c
2024/05/21 15:00 openbsd d0fe8eba4c8c 4c0d3ee3 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "pg->wire_count == NUM" failed in vfs_biomem.c
2024/05/20 21:41 openbsd ab5fd4cb8341 c0f1611a .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "pg->wire_count == NUM" failed in vfs_biomem.c
2024/05/20 18:18 openbsd ab5fd4cb8341 c0f1611a .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "pg->wire_count == NUM" failed in vfs_biomem.c
2024/05/20 06:14 openbsd 676865473293 c0f1611a .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "pg->wire_count == NUM" failed in vfs_biomem.c
2024/05/20 04:46 openbsd 676865473293 c0f1611a .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "pg->wire_count == NUM" failed in vfs_biomem.c
2024/05/20 01:39 openbsd 676865473293 c0f1611a .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "pg->wire_count == NUM" failed in vfs_biomem.c
2024/05/19 10:31 openbsd 63371a7f711d c0f1611a .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "pg->wire_count == NUM" failed in vfs_biomem.c
2024/05/19 09:21 openbsd 63371a7f711d c0f1611a .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "pg->wire_count == NUM" failed in vfs_biomem.c
2024/05/19 04:03 openbsd 088a2cd995ac c0f1611a .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "pg->wire_count == NUM" failed in vfs_biomem.c
2024/05/18 02:17 openbsd fea1e5fd692c c0f1611a .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "pg->wire_count == NUM" failed in vfs_biomem.c
2024/05/17 14:54 openbsd 77ba8c170614 c2e07261 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "pg->wire_count == NUM" failed in vfs_biomem.c
2024/05/17 10:22 openbsd 77ba8c170614 c2e07261 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "pg->wire_count == NUM" failed in vfs_biomem.c
2024/05/16 14:32 openbsd b20edd337af0 ef5d53ed .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "pg->wire_count == NUM" failed in vfs_biomem.c
2024/05/16 06:07 openbsd e298eee01736 ef5d53ed .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "pg->wire_count == NUM" failed in vfs_biomem.c
2024/05/14 04:47 openbsd aa47c49a2e9a fdb4c10c .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "pg->wire_count == NUM" failed in vfs_biomem.c
2024/05/14 03:36 openbsd aa47c49a2e9a fdb4c10c .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "pg->wire_count == NUM" failed in vfs_biomem.c
2024/05/13 17:25 openbsd aa47c49a2e9a fdb4c10c .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "pg->wire_count == NUM" failed in vfs_biomem.c
2024/05/13 05:11 openbsd 30293cdc5e30 9026e142 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "pg->wire_count == NUM" failed in vfs_biomem.c
2024/05/12 23:43 openbsd bae657104f70 9026e142 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "pg->wire_count == NUM" failed in vfs_biomem.c
2024/05/12 09:03 openbsd 73556a19205d 9026e142 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "pg->wire_count == NUM" failed in vfs_biomem.c
2024/05/11 21:20 openbsd 1b9599294b30 9026e142 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "pg->wire_count == NUM" failed in vfs_biomem.c
2024/05/11 20:11 openbsd 1b9599294b30 9026e142 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "pg->wire_count == NUM" failed in vfs_biomem.c
2024/05/11 15:29 openbsd 1b9599294b30 9026e142 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "pg->wire_count == NUM" failed in vfs_biomem.c
2024/05/10 23:05 openbsd f63e15d85063 9026e142 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "pg->wire_count == NUM" failed in vfs_biomem.c
2024/05/10 14:20 openbsd 898e5d067977 375932ce .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "pg->wire_count == NUM" failed in vfs_biomem.c
2024/05/10 01:48 openbsd fbadb84b3757 de979bc2 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "pg->wire_count == NUM" failed in vfs_biomem.c
2024/05/09 23:49 openbsd a7b9eedcb4c1 de979bc2 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "pg->wire_count == NUM" failed in vfs_biomem.c
2024/05/09 08:47 openbsd 1b9cf3a3fa61 20bf80e1 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "pg->wire_count == NUM" failed in vfs_biomem.c
2024/05/09 04:18 openbsd 1b9cf3a3fa61 20bf80e1 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "pg->wire_count == NUM" failed in vfs_biomem.c
2024/05/08 12:07 openbsd 8fad29a3d36d 9473be88 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "pg->wire_count == NUM" failed in vfs_biomem.c
2024/05/07 15:56 openbsd debf255c65d9 cb2dcc0e .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "pg->wire_count == NUM" failed in vfs_biomem.c
2024/05/06 12:12 openbsd 27da0d9a6e0d d884b519 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "pg->wire_count == NUM" failed in vfs_biomem.c
2024/05/06 07:47 openbsd 4580bd6ebd98 610f2a54 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "pg->wire_count == NUM" failed in vfs_biomem.c
2023/12/29 11:03 openbsd 4600b3a1e352 fb427a07 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "pg->wire_count == NUM" failed in vfs_biomem.c
* Struck through repros no longer work on HEAD.