syzbot


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

Status: upstream: reported on 2022/05/13 06:09
Reported-by: syzbot+ec52b910ed63f5e8787e@syzkaller.appspotmail.com
First crash: 270d, last: 35d

Sample crash report:
panic: kernel diagnostic assertion "pg->wire_count == 1" failed: file "/syzkaller/managers/main/kernel/sys/kern/vfs_biomem.c", line 310
Stopped at      db_enter+0x18:  addq    $0x8,%rsp
    TID    PID    UID     PRFLAGS     PFLAGS  CPU  COMMAND
*362354  68934      0         0x2        0x1    0  syz-executor.4
db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437
panic(ffffffff82724ebf) at panic+0x161 sys/kern/subr_prf.c:198
__assert(ffffffff8279feb1,ffffffff827bed80,136,ffffffff8276b532) at __assert+0x25 sys/kern/subr_prf.c:157
buf_free_pages(fffffd80578c5040) at buf_free_pages+0x1c2 sys/kern/vfs_biomem.c:299
buf_dealloc_mem(fffffd80578c5040) at buf_dealloc_mem+0xdf sys/kern/vfs_biomem.c:179
buf_put(fffffd80578c5040) at buf_put+0x161 sys/kern/vfs_bio.c:129
brelse(fffffd80578c5040) at brelse+0x5b3 sys/kern/vfs_bio.c:957
vinvalbuf(fffffd8062bb6c08,2,ffffffffffffffff,ffff80002315cd30,0,ffffffffffffffff) at vinvalbuf+0x391 sys/kern/vfs_subr.c:2021
ffs_truncate(fffffd806d63f1f0,0,0,ffffffffffffffff) at ffs_truncate+0xf06 sys/ufs/ffs/ffs_inode.c:326
ufs_inactive(ffff80002e857618) at ufs_inactive+0x14e sys/ufs/ufs/ufs_inode.c:84
VOP_INACTIVE(fffffd8062bb6c08,ffff80002315cd30) at VOP_INACTIVE+0xb7 sys/kern/vfs_vops.c:489
vrele(fffffd8062bb6c08) at vrele+0xc9 sys/kern/vfs_subr.c:827
ktrwriteraw(ffff80002315cd30,fffffd8062bb6c08,fffffd807f7d7548,ffff80002e8577b8,ffff80002e857790) at ktrwriteraw+0x27f ktrcleartrace sys/kern/kern_ktrace.c:86 [inline]
ktrwriteraw(ffff80002315cd30,fffffd8062bb6c08,fffffd807f7d7548,ffff80002e8577b8,ffff80002e857790) at ktrwriteraw+0x27f sys/kern/kern_ktrace.c:679
ktrgenio(ffff80002315cd30,f9,0,ffff8000006c4840,40) at ktrgenio+0x27b ktrwrite2 sys/kern/kern_ktrace.c:624 [inline]
ktrgenio(ffff80002315cd30,f9,0,ffff8000006c4840,40) at ktrgenio+0x27b sys/kern/kern_ktrace.c:259
end trace frame: 0xffff80002e857910, count: 0
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 "pg->wire_count == 1" failed: file "/syzkaller/managers/main/kernel/sys/kern/vfs_biomem.c", line 310
ddb> trace
db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437
panic(ffffffff82724ebf) at panic+0x161 sys/kern/subr_prf.c:198
__assert(ffffffff8279feb1,ffffffff827bed80,136,ffffffff8276b532) at __assert+0x25 sys/kern/subr_prf.c:157
buf_free_pages(fffffd80578c5040) at buf_free_pages+0x1c2 sys/kern/vfs_biomem.c:299
buf_dealloc_mem(fffffd80578c5040) at buf_dealloc_mem+0xdf sys/kern/vfs_biomem.c:179
buf_put(fffffd80578c5040) at buf_put+0x161 sys/kern/vfs_bio.c:129
brelse(fffffd80578c5040) at brelse+0x5b3 sys/kern/vfs_bio.c:957
vinvalbuf(fffffd8062bb6c08,2,ffffffffffffffff,ffff80002315cd30,0,ffffffffffffffff) at vinvalbuf+0x391 sys/kern/vfs_subr.c:2021
ffs_truncate(fffffd806d63f1f0,0,0,ffffffffffffffff) at ffs_truncate+0xf06 sys/ufs/ffs/ffs_inode.c:326
ufs_inactive(ffff80002e857618) at ufs_inactive+0x14e sys/ufs/ufs/ufs_inode.c:84
VOP_INACTIVE(fffffd8062bb6c08,ffff80002315cd30) at VOP_INACTIVE+0xb7 sys/kern/vfs_vops.c:489
vrele(fffffd8062bb6c08) at vrele+0xc9 sys/kern/vfs_subr.c:827
ktrwriteraw(ffff80002315cd30,fffffd8062bb6c08,fffffd807f7d7548,ffff80002e8577b8,ffff80002e857790) at ktrwriteraw+0x27f ktrcleartrace sys/kern/kern_ktrace.c:86 [inline]
ktrwriteraw(ffff80002315cd30,fffffd8062bb6c08,fffffd807f7d7548,ffff80002e8577b8,ffff80002e857790) at ktrwriteraw+0x27f sys/kern/kern_ktrace.c:679
ktrgenio(ffff80002315cd30,f9,0,ffff8000006c4840,40) at ktrgenio+0x27b ktrwrite2 sys/kern/kern_ktrace.c:624 [inline]
ktrgenio(ffff80002315cd30,f9,0,ffff8000006c4840,40) at ktrgenio+0x27b sys/kern/kern_ktrace.c:259
dofilereadv(ffff80002315cd30,f9,ffff80002e857928,0,ffff80002e857a10) at dofilereadv+0x2e0 sys/kern/sys_generic.c:263
sys_read(ffff80002315cd30,ffff80002e8579c0,ffff80002e857a10) at sys_read+0x83 sys/kern/sys_generic.c:167
syscall(ffff80002e857a90) at syscall+0x446 sys/arch/amd64/amd64/trap.c:599
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x7f7fffffb7c0, count: -18
ddb> show registers
rdi                                0
rsi                              0x1
rbp               0xffff80002e857120
rbx                                0
rdx                                0
rcx                                0
rax               0xffff80002315cd30
r8                 0x101010101010101
r9                0x8080808080808080
r10               0xf026cae2002ecbcd
r11               0xc0fe2139fd637716
r12                                0
r13               0xfffffd8006116c00
r14                                0
r15                              0x1
rip               0xffffffff82593d38    db_enter+0x18
cs                               0x8
rflags                         0x246
rsp               0xffff80002e857110
ss                                 0
db_enter+0x18:  addq    $0x8,%rsp
ddb> show proc
PROC (syz-executor.4) pid=362354 stat=onproc
    flags process=2<EXEC> proc=1<INKTR>
    pri=17, usrpri=50, nice=20
    forw=0xffffffffffffffff, list=0xffff80002e8f6fc0,0xffff80002e8f77b0
    process=0xffff80002171cbe0 user=0xffff80002e852000, vmspace=0xfffffd806d3fb670
    estcpu=0, cpticks=1, pctcpu=0.0
    user=0, sys=1, intr=0
ddb> ps
   PID     TID   PPID    UID  S       FLAGS  WAIT          COMMAND
 59174  258688  26007      0  2           0                syz-executor.5
 16073  413669   6646      0  2           0                syz-executor.7
 44151  229026  31470      0  2           0                syz-executor.3
 22309  245731  80847      0  2           0                syz-executor.0
 22309  236158  80847      0  3   0x4000080  fsleep        syz-executor.0
*68934  362354  81278      0  7         0x3                syz-executor.4
 26007  376286  81278      0  2         0x2                syz-executor.5
 80847  158500  81278      0  3        0x82  nanoslp       syz-executor.0
 31470  339123  81278      0  3        0x82  nanoslp       syz-executor.3
 80733   34900  81278      0  3        0x82  piperd        syz-executor.2
 37128   95869  81278      0  3        0x82  piperd        syz-executor.6
 61342  273279      1      0  3    0x100083  ttyin         getty
  6646  102529  81278      0  3        0x82  nanoslp       syz-executor.7
 65434  332443      0      0  3     0x14200  acct          acct
 10275   97033      0      0  3     0x14200  bored         sosplice
 81278  207526  34391      0  3        0x82  thrsleep      syz-fuzzer
 81278  318835  34391      0  3   0x4000082  nanoslp       syz-fuzzer
 81278  217342  34391      0  3   0x4000082  wait          syz-fuzzer
 81278  205123  34391      0  3   0x4000082  wait          syz-fuzzer
 81278  498961  34391      0  3   0x4000082  thrsleep      syz-fuzzer
 81278   61329  34391      0  3   0x4000082  wait          syz-fuzzer
 81278  305801  34391      0  2   0x4000002                syz-fuzzer
 81278  441985  34391      0  3   0x4000082  wait          syz-fuzzer
 81278  231173  34391      0  3   0x4000082  thrsleep      syz-fuzzer
 81278  171546  34391      0  3   0x4000002  biowait       syz-fuzzer
 81278   68566  34391      0  3   0x4000082  wait          syz-fuzzer
 81278  226528  34391      0  3   0x4000082  wait          syz-fuzzer
 81278  499649  34391      0  3   0x4000082  thrsleep      syz-fuzzer
 81278  268440  34391      0  3   0x4000082  wait          syz-fuzzer
 34391  398213  80379      0  3    0x10008a  sigsusp       ksh
 80379  507715  84340      0  3        0x9a  kqread        sshd
 84340   64351      1      0  3        0x88  kqread        sshd
 29667  497029  59718     73  3   0x1100010  biowait       syslogd
 59718   65861      1      0  3    0x100082  netio         syslogd
 48311  189383      1      0  3    0x100080  kqread        resolvd
  7724  410362  93347     77  3    0x100092  kqread        dhcpleased
 95026  389820  93347     77  3    0x100092  kqread        dhcpleased
 93347   90706      1      0  3        0x80  kqread        dhcpleased
 16154  516423      0      0  3     0x14200  bored         smr
  5189  482753      0      0  2     0x14200                zerothread
 52723  203000      0      0  3     0x14200  aiodoned      aiodoned
 31125   68708      0      0  3     0x14200  syncer        update
 78998    1093      0      0  3     0x14200  cleaner       cleaner
 15260  281639      0      0  3     0x14200  reaper        reaper
 69126  322882      0      0  3     0x14200  pgdaemon      pagedaemon
 87879   88416      0      0  3     0x14200  bored         viomb
 70506  257199      0      0  3  0x40014200  acpi0         acpi0
 57488  179698      0      0  3     0x14200  bored         softnet
 38522  200871      0      0  3     0x14200  bored         softnet
 67377  218403      0      0  3     0x14200  bored         softnet
 43363  450942      0      0  3     0x14200  bored         softnet
 82787  385260      0      0  3     0x14200  bored         systqmp
 28293  139154      0      0  3     0x14200  bored         systq
 50030  271499      0      0  3  0x40014200  bored         softclock
 46697  378814      0      0  3  0x40014200                idle0
     1   93823      0      0  3        0x82  wait          init
     0       0     -1      0  3     0x10200  scheduler     swapper
ddb> show all locks
No such command
ddb> show malloc
           Type InUse  MemUse  HighUse   Limit  Requests Type Lim
         devbuf 10215   6423K    7456K  78643K     28902        0
            pcb    13     18K      22K  78643K      4632        0
         rtable   148     14K      15K  78643K      5083        0
         ifaddr    87     22K      25K  78643K       804        0
         sysctl     3      1K       1K  78643K         3        0
       counters    26     17K      17K  78643K       388        0
       ioctlops     0      0K       4K  78643K      4148        0
            iov     0      0K      32K  78643K      1657        0
          mount     1      1K       1K  78643K         1        0
            log     0      0K       0K  78643K         4        0
         vnodes  1538     96K      97K  78643K     18322        0
      UFS quota     1     32K      32K  78643K         1        0
      UFS mount     5     36K      36K  78643K         5        0
            shm     2      1K       5K  78643K       111        0
         VM map     2      0K       0K  78643K         2        0
            sem    21      2K       3K  78643K        76        0
        dirhash    12      2K       2K  78643K        12        0
           ACPI  1697    195K     286K  78643K     12548        0
      file desc    13     45K      73K  78643K     10350        0
          sigio     0      0K       0K  78643K       282        0
           proc    61     59K      75K  78643K      1701        0
        subproc    91      5K       7K  78643K       562        0
    NFS srvsock     1      0K       0K  78643K         1        0
     NFS daemon     1     16K      16K  78643K         1        0
    ip_moptions     0      0K       0K  78643K       285        0
       in_multi    53      3K       6K  78643K       679        0
    ether_multi     1      0K       0K  78643K        35        0
            mrt     1      0K       0K  78643K       542        0
    ISOFS mount     1     32K      32K  78643K         1        0
  MSDOSFS mount     1     16K      16K  78643K         1        0
           ttys   253   1129K    1129K  78643K       253        0
           exec     0      0K       1K  78643K      2240        0
     pfkey data     0      0K       0K  78643K         3        0
            tdb     3      0K       0K  78643K         3        0
        pagedep     1      8K       8K  78643K         1        0
       inodedep     1     32K      32K  78643K         1        0
         newblk     1      0K       0K  78643K         1        0
        VM swap     8     62K      64K  78643K        10        0
       UVM amap   318     78K      99K  78643K     68559        0
       UVM aobj   131      8K       8K  78643K       142        0
        memdesc     1      4K       4K  78643K         1        0
    crypto data     1      1K       1K  78643K         1        0
    ip6_options     0      0K       0K  78643K       299        0
            NDP    11      0K       1K  78643K       252        0
           temp   125   5766K    6790K  78643K    132494        0
         kqueue    12     18K      28K  78643K      1568        0
      SYN cache     2     16K      16K  78643K         2        0
ddb> show all pools
Name      Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle
rtpcb      120     3992    0     3989    48    47     1     4     0     8    0
rtentry    112     1229    0     1170     4     1     3     4     0     8    0
unpcb      144    14159    0    14146   126   125     1    10     0     8    0
syncache   296       26    0       26     7     7     0     1     0     8    0
sackhl      24        1    0        1     1     1     0     1     0     8    0
tcpqe       32       93    0       93     5     5     0     1     0     8    0
tcpcb      776     3523    0     3519   135   134     1    14     0     8    0
arp         88       90    0       79     1     0     1     1     0     8    0
ipq         40        4    0        4     3     3     0     1     0     8    0
ipqe        40       18    0       18     3     3     0     1     0     8    0
inpcb      336    16872    0    16865   244   243     1    18     0     8    0
nd6         48      142    0      130     1     0     1     1     0     8    0
pkpcb       40        6    0        6     2     2     0     1     0     8    0
kcovpl      48       43    0       36     1     0     1     1     0     8    0
mppekey    1024       9    0        9     3     3     0     1     0     8    0
ppxss      1160     258    0      258    26    26     0     1     0     8    0
pppxif     1352     136    0      136    20    20     0     1     0     8    0
pfstscr     40      866    0      842     1     0     1     1     0     8    0
pfosfp      40        9    0        8     1     0     1     1     0     8    0
pfosfpen   112        9    0        7     1     0     1     1     0     8    0
pfanchor   1280     908    1      439    47     6    41    43     0     8    0
pfstitem    24     1571    0     1529     1     0     1     1     0     8    0
pfstkey    128     1792    0      964    27     0    27    27     0     8    0
pfstate    352      900    0      879     3     1     2     3     0     8    0
rttmr      136       96    0       96    10    10     0     1     0     8    0
art_heap8  4096       5    0        3     4     2     2     3     0     8    0
art_heap4  256     3015    0     2753    50    29    21    31     0     8    0
art_table   32     3020    0     2756     4     0     4     4     0     8    0
art_node    16      870    0      820     1     0     1     1     0     8    0
sysvmsgpl   40       68    0       44     1     0     1     1     0     8    0
semupl     112        3    0        3     1     1     0     1     0     8    0
semapl     112       66    0       47     1     0     1     1     0     8    0
shmpl      112      139    0       11     4     0     4     4     0     8    0
dirhash    1024      17    0        0     3     0     3     3     0     8    0
dino2pl    256    23066    0    21581    94     0    94    94     0     8    0
ffsino     240    23066    0    21581    88     0    88    88     0     8    0
nchpl      144    36717    0    35099    63     1    62    63     0     8    0
rtmask      32        3    0        3     1     1     0     1     0     8    0
uvmvnodes   80     6040    0        0   124     0   124   124     0     8    0
vnodes     216     6040    0        0   336     0   336   336     0     8    0
namei      1024  153844    0   153844    11    10     1     2     0     8    1
vmpool     664       19    0       19     6     6     0     1     0     8    0
kstatmem   264      324    0      302     4     2     2     3     0     8    0
scsiplug    72        7    0        7     2     2     0     1     0     8    0
scxspl     216    93720    0    93718    26    25     1     8     0     8    0
plimitpl   152     1234    0     1220     1     0     1     1     0     8    0
sigapl     424    10674    0    10632     8     1     7     8     0     8    0
futexpl     64   122185    0   122184     9     8     1     1     0     8    0
knotepl    120   173135    0   173057    67    61     6    10     0     8    0
kqueuepl   184     3619    0     3611    41    40     1     7     0     8    0
pipepl     288     2615    0     2588    53    50     3     7     0     8    0
fdescpl    432    10556    0    10532     4     0     4     4     0     8    0
filepl     120   128475    0   128257   161   151    10    19     0     8    0
lockfpl    104     3612    0     3610    12    11     1     2     0     8    0
lockfspl    48     1110    0     1108     1     0     1     1     0     8    0
sessionpl  144       58    0       43     1     0     1     1     0     8    0
pgrppl      48      114    0       99     1     0     1     1     0     8    0
ucredpl    104    44461    0    44451     1     0     1     1     0     8    0
zombiepl   144    10632    0    10632     1     0     1     1     0     8    1
processpl  1008   10674    0    10632    10     2     8     9     0     8    0
procpl     672    27697    0    27641    30    23     7     9     0     8    0
sosppl     168       74    0       74    20    20     0     1     0     8    0
sockpl     456    35227    0    35204   788   782     6    37     0     8    3
mcl64k     65536    347    0      347    35    35     0     1     0     8    0
mcl16k     16384    190    0      190    30    30     0     1     0     8    0
mcl12k     12288    306    0      306    35    35     0     1     0     8    0
mcl9k      9216     240    0      240    35    35     0     1     0     8    0
mcl8k      8192     919    0      919    28    28     0     1     0     8    0
mcl4k      4096    1405    0     1405    19    18     1     1     0     8    1
mcl2k2     2112      82    0       82    31    31     0     1     0     8    0
mcl2k      2048   97949    0    97883    50    41     9    31     0     8    0
mtagpl      96     2503    0     2454    21    15     6    16     0     8    0
mbufpl     256   283153    0   282899   706   670    36   142     0     8    2
bufpl      288    20417    0    13980   460     0   460   460     0     8    0
anonpl      24  2011179    0  1997265   200    60   140   147     0   188   19
amapchunkpl 152  191770    0   191165    89    55    34    38     0   158    3
amappl16   200    16609    0    16012   110    77    33    45     0     8    1
amappl15   192        9    0        9     1     1     0     1     0     8    0
amappl14   184      268    0      257     2     0     2     2     0     8    0
amappl13   176        7    0        7     2     2     0     1     0     8    0
amappl12   168      793    0      791     1     0     1     1     0     8    0
amappl11   160       46    0       35     1     0     1     1     0     8    0
amappl10   152       62    0       55     1     0     1     1     0     8    0
amappl9    144      992    0      990     1     0     1     1     0     8    0
amappl8    136      517    0      422     5     1     4     4     0     8    0
amappl7    128      213    0      189     2     0     2     2     0     8    0
amappl6    120      363    0      349     1     0     1     1     0     8    0
amappl5    112      386    0      379     1     0     1     1     0     8    0
amappl4    104      957    0      934     2     1     1     2     0     8    0
amappl3     96    30249    0    30210     2     0     2     2     0     8    0
amappl2     88    11581    0    11512     3     1     2     3     0     8    0
amappl1     80   238289    0   237668    28    12    16    22     0     8    0
amappl      88    67534    0    67378     5     0     5     5     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      141    0       11     3     0     3     3     0     8    0
uaddrrnd    24    10575    0    10551     1     0     1     1     0     8    0
uaddrbest   32        2    0        0     1     0     1     1     0     8    0
uaddr       24    10575    0    10551     1     0     1     1     0     8    0
vmmpekpl   168    81210    0    81164     3     0     3     3     0     8    0
vmmpepl    168   962692    0   960223   393   258   135   146     0   357    5
vmsppl     272    10574    0    10551     4     2     2     3     0     8    0
rwobjpl     24   250711    0   242916    54     5    49    49     0     8    0
pdppl      4096   21156    0    21102   692   638    54    68     0     8    0
pvpl        32  3940828    0  3921829   556   295   261   269     0   265   65
pmappl     216    10574    0    10551     2     0     2     2     0     8    0
extentpl    40       56    0       38     1     0     1     1     0     8    0
phpool     112     2577    0     1801    26     0    26    26     0     8    0
ddb> machine ddbcpu 0
No such command
ddb> trace
db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437
panic(ffffffff82724ebf) at panic+0x161 sys/kern/subr_prf.c:198
__assert(ffffffff8279feb1,ffffffff827bed80,136,ffffffff8276b532) at __assert+0x25 sys/kern/subr_prf.c:157
buf_free_pages(fffffd80578c5040) at buf_free_pages+0x1c2 sys/kern/vfs_biomem.c:299
buf_dealloc_mem(fffffd80578c5040) at buf_dealloc_mem+0xdf sys/kern/vfs_biomem.c:179
buf_put(fffffd80578c5040) at buf_put+0x161 sys/kern/vfs_bio.c:129
brelse(fffffd80578c5040) at brelse+0x5b3 sys/kern/vfs_bio.c:957
vinvalbuf(fffffd8062bb6c08,2,ffffffffffffffff,ffff80002315cd30,0,ffffffffffffffff) at vinvalbuf+0x391 sys/kern/vfs_subr.c:2021
ffs_truncate(fffffd806d63f1f0,0,0,ffffffffffffffff) at ffs_truncate+0xf06 sys/ufs/ffs/ffs_inode.c:326
ufs_inactive(ffff80002e857618) at ufs_inactive+0x14e sys/ufs/ufs/ufs_inode.c:84
VOP_INACTIVE(fffffd8062bb6c08,ffff80002315cd30) at VOP_INACTIVE+0xb7 sys/kern/vfs_vops.c:489
vrele(fffffd8062bb6c08) at vrele+0xc9 sys/kern/vfs_subr.c:827
ktrwriteraw(ffff80002315cd30,fffffd8062bb6c08,fffffd807f7d7548,ffff80002e8577b8,ffff80002e857790) at ktrwriteraw+0x27f ktrcleartrace sys/kern/kern_ktrace.c:86 [inline]
ktrwriteraw(ffff80002315cd30,fffffd8062bb6c08,fffffd807f7d7548,ffff80002e8577b8,ffff80002e857790) at ktrwriteraw+0x27f sys/kern/kern_ktrace.c:679
ktrgenio(ffff80002315cd30,f9,0,ffff8000006c4840,40) at ktrgenio+0x27b ktrwrite2 sys/kern/kern_ktrace.c:624 [inline]
ktrgenio(ffff80002315cd30,f9,0,ffff8000006c4840,40) at ktrgenio+0x27b sys/kern/kern_ktrace.c:259
dofilereadv(ffff80002315cd30,f9,ffff80002e857928,0,ffff80002e857a10) at dofilereadv+0x2e0 sys/kern/sys_generic.c:263
sys_read(ffff80002315cd30,ffff80002e8579c0,ffff80002e857a10) at sys_read+0x83 sys/kern/sys_generic.c:167
syscall(ffff80002e857a90) at syscall+0x446 sys/arch/amd64/amd64/trap.c:599
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x7f7fffffb7c0, count: -18
ddb> machine ddbcpu 1
No such command
ddb> trace
db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437
panic(ffffffff82724ebf) at panic+0x161 sys/kern/subr_prf.c:198
__assert(ffffffff8279feb1,ffffffff827bed80,136,ffffffff8276b532) at __assert+0x25 sys/kern/subr_prf.c:157
buf_free_pages(fffffd80578c5040) at buf_free_pages+0x1c2 sys/kern/vfs_biomem.c:299
buf_dealloc_mem(fffffd80578c5040) at buf_dealloc_mem+0xdf sys/kern/vfs_biomem.c:179
buf_put(fffffd80578c5040) at buf_put+0x161 sys/kern/vfs_bio.c:129
brelse(fffffd80578c5040) at brelse+0x5b3 sys/kern/vfs_bio.c:957
vinvalbuf(fffffd8062bb6c08,2,ffffffffffffffff,ffff80002315cd30,0,ffffffffffffffff) at vinvalbuf+0x391 sys/kern/vfs_subr.c:2021
ffs_truncate(fffffd806d63f1f0,0,0,ffffffffffffffff) at ffs_truncate+0xf06 sys/ufs/ffs/ffs_inode.c:326
ufs_inactive(ffff80002e857618) at ufs_inactive+0x14e sys/ufs/ufs/ufs_inode.c:84
VOP_INACTIVE(fffffd8062bb6c08,ffff80002315cd30) at VOP_INACTIVE+0xb7 sys/kern/vfs_vops.c:489
vrele(fffffd8062bb6c08) at vrele+0xc9 sys/kern/vfs_subr.c:827
ktrwriteraw(ffff80002315cd30,fffffd8062bb6c08,fffffd807f7d7548,ffff80002e8577b8,ffff80002e857790) at ktrwriteraw+0x27f ktrcleartrace sys/kern/kern_ktrace.c:86 [inline]
ktrwriteraw(ffff80002315cd30,fffffd8062bb6c08,fffffd807f7d7548,ffff80002e8577b8,ffff80002e857790) at ktrwriteraw+0x27f sys/kern/kern_ktrace.c:679
ktrgenio(ffff80002315cd30,f9,0,ffff8000006c4840,40) at ktrgenio+0x27b ktrwrite2 sys/kern/kern_ktrace.c:624 [inline]
ktrgenio(ffff80002315cd30,f9,0,ffff8000006c4840,40) at ktrgenio+0x27b sys/kern/kern_ktrace.c:259
dofilereadv(ffff80002315cd30,f9,ffff80002e857928,0,ffff80002e857a10) at dofilereadv+0x2e0 sys/kern/sys_generic.c:263
sys_read(ffff80002315cd30,ffff80002e8579c0,ffff80002e857a10) at sys_read+0x83 sys/kern/sys_generic.c:167
syscall(ffff80002e857a90) at syscall+0x446 sys/arch/amd64/amd64/trap.c:599
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x7f7fffffb7c0, count: -18

Crashes (8):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets Title
ci-openbsd-main 2023/01/03 01:39 openbsd 382191ad6e8e ab32d508 .config console log report [disk image] [bsd.gdb] [kernel image] assert "pg->wire_count == NUM" failed in vfs_biomem.c
ci-openbsd-main 2022/11/19 13:33 openbsd ff448807c2a5 5bb70014 .config console log report [disk image] [bsd.gdb] [kernel image] assert "pg->wire_count == NUM" failed in vfs_biomem.c
ci-openbsd-multicore 2022/11/10 19:16 openbsd f799f30eb9db 3ead01ad .config console log report [disk image] [bsd.gdb] [kernel image] assert "pg->wire_count == NUM" failed in vfs_biomem.c
ci-openbsd-multicore 2022/09/08 21:08 openbsd b168b2fee5d9 f3027468 .config console log report assert "pg->wire_count == NUM" failed in vfs_biomem.c
ci-openbsd-multicore 2022/09/05 14:37 openbsd b76ab7f95425 922294ab .config console log report assert "pg->wire_count == NUM" failed in vfs_biomem.c
ci-openbsd-multicore 2022/06/22 04:48 openbsd 25daa3f3c228 0fc5c330 .config console log report assert "pg->wire_count == NUM" failed in vfs_biomem.c
ci-openbsd-main 2022/05/22 22:41 openbsd 875ec42d701d 7268fa62 .config console log report assert "pg->wire_count == NUM" failed in vfs_biomem.c
ci-openbsd-main 2022/05/13 06:08 openbsd 700e1b1a6cd1 9ad6612a .config console log report assert "pg->wire_count == NUM" failed in vfs_biomem.c
* Struck through repros no longer work on HEAD.