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: 328d, last: 3d01h
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 434d 464d 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 587d 923d 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+0x25:  addq    $0x8,%rsp
    TID    PID    UID     PRFLAGS     PFLAGS  CPU  COMMAND
*438096  90545      0         0x2        0x1    1K syz-executor
 138926  35466      0     0x14000      0x200    0  reaper
db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:437
panic(ffffffff830f11cf) at panic+0x1e5 sys/kern/subr_prf.c:198
__assert(ffffffff830a8ebd,ffffffff8304f694,136,ffffffff8302eb9f) at __assert+0x29
buf_free_pages(fffffd806bab3158) at buf_free_pages+0x23d sys/kern/vfs_biomem.c:299
buf_dealloc_mem(fffffd806bab3158) at buf_dealloc_mem+0x14e sys/kern/vfs_biomem.c:179
buf_put(fffffd806bab3158) at buf_put+0x1dc sys/kern/vfs_bio.c:127
brelse(fffffd806bab3158) at brelse+0x395 sys/kern/vfs_bio.c:936
vinvalbuf(fffffd806a6c9de0,2,ffffffffffffffff,ffff80002a03e2a0,0,ffffffffffffffff) at vinvalbuf+0x52c sys/kern/vfs_subr.c:2027
ffs_truncate(fffffd806be32aa8,0,0,ffffffffffffffff) at ffs_truncate+0xf6c
ufs_inactive(ffff80002a09ca08) at ufs_inactive+0x203 sys/ufs/ufs/ufs_inode.c:84
VOP_INACTIVE(fffffd806a6c9de0,ffff80002a03e2a0) at VOP_INACTIVE+0x107 sys/kern/vfs_vops.c:495
vrele(fffffd806a6c9de0) at vrele+0x129 sys/kern/vfs_subr.c:829
ktrwriteraw(ffff80002a03e2a0,fffffd806a6c9de0,fffffd807f7d3680,ffff80002a09cbb0,ffff80002a09cb90) at ktrwriteraw+0x382 ktrcleartrace sys/kern/kern_ktrace.c:86 [inline]
ktrwriteraw(ffff80002a03e2a0,fffffd806a6c9de0,fffffd807f7d3680,ffff80002a09cbb0,ffff80002a09cb90) at ktrwriteraw+0x382 sys/kern/kern_ktrace.c:701
ktrsysret(ffff80002a03e2a0,b,4,ffff80002a09cc80) at ktrsysret+0x18b sys/kern/kern_ktrace.c:206
end trace frame: 0xffff80002a09cd20, 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{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+0x25 sys/arch/amd64/amd64/db_interface.c:437
panic(ffffffff830f11cf) at panic+0x1e5 sys/kern/subr_prf.c:198
__assert(ffffffff830a8ebd,ffffffff8304f694,136,ffffffff8302eb9f) at __assert+0x29
buf_free_pages(fffffd806bab3158) at buf_free_pages+0x23d sys/kern/vfs_biomem.c:299
buf_dealloc_mem(fffffd806bab3158) at buf_dealloc_mem+0x14e sys/kern/vfs_biomem.c:179
buf_put(fffffd806bab3158) at buf_put+0x1dc sys/kern/vfs_bio.c:127
brelse(fffffd806bab3158) at brelse+0x395 sys/kern/vfs_bio.c:936
vinvalbuf(fffffd806a6c9de0,2,ffffffffffffffff,ffff80002a03e2a0,0,ffffffffffffffff) at vinvalbuf+0x52c sys/kern/vfs_subr.c:2027
ffs_truncate(fffffd806be32aa8,0,0,ffffffffffffffff) at ffs_truncate+0xf6c
ufs_inactive(ffff80002a09ca08) at ufs_inactive+0x203 sys/ufs/ufs/ufs_inode.c:84
VOP_INACTIVE(fffffd806a6c9de0,ffff80002a03e2a0) at VOP_INACTIVE+0x107 sys/kern/vfs_vops.c:495
vrele(fffffd806a6c9de0) at vrele+0x129 sys/kern/vfs_subr.c:829
ktrwriteraw(ffff80002a03e2a0,fffffd806a6c9de0,fffffd807f7d3680,ffff80002a09cbb0,ffff80002a09cb90) at ktrwriteraw+0x382 ktrcleartrace sys/kern/kern_ktrace.c:86 [inline]
ktrwriteraw(ffff80002a03e2a0,fffffd806a6c9de0,fffffd807f7d3680,ffff80002a09cbb0,ffff80002a09cb90) at ktrwriteraw+0x382 sys/kern/kern_ktrace.c:701
ktrsysret(ffff80002a03e2a0,b,4,ffff80002a09cc80) at ktrsysret+0x18b sys/kern/kern_ktrace.c:206
syscall(ffff80002a09cd30) at syscall+0xa2f mi_syscall_return sys/sys/syscall_mi.h:208 [inline]
syscall(ffff80002a09cd30) at syscall+0xa2f sys/arch/amd64/amd64/trap.c:598
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x730452bae840, count: -16
ddb{1}> show registers
rdi                                0
rsi                              0x1
rbp               0xffff80002a09c500
rbx               0xffff800029b7cdbf
rdx                                0
rcx               0xffff80002a03e2a0
rax               0xffff800029b7bff0
r8                 0x101010101010101
r9                0x8080808080808080
r10               0x81aaf641120f976e
r11               0x4ff536427f50c92b
r12               0xffff800029b7cbc0
r13                                0
r14                                0
r15                              0x1
rip               0xffffffff82b713d5    db_enter+0x25
cs                               0x8
rflags                         0x246
rsp               0xffff80002a09c4f0
ss                              0x10
db_enter+0x25:  addq    $0x8,%rsp
ddb{1}> show proc
PROC (syz-executor) tid=438096 pid=90545 tcnt=1 stat=onproc
    flags process=2<EXEC> proc=1<INKTR>
    runpri=17, usrpri=50, slppri=17, nice=20
    wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0
    forw=0xffffffffffffffff, list=0xffff80002a03ea38,0xffff80002a03ef58
    process=0xffff8000ffff8010 user=0xffff80002a097000, vmspace=0xfffffd807eb76a80
    estcpu=0, cpticks=1, pctcpu=0.0, user=2, sys=40, intr=2
ddb{1}> ps
   PID     TID   PPID    UID  S       FLAGS  WAIT          COMMAND
 80826  379777      0      0  3     0x14200  bored         sosplice
 97366  493564  32224      0  3        0x82  wait          syz-executor
 42282  312825  32224      0  3        0x82  wait          syz-executor
  8064  376201  32224      0  3        0x82  wait          syz-executor
 90441  288247  32224      0  3        0x82  wait          syz-executor
   964  419344  32224      0  3        0x82  wait          syz-executor
 57990   96143  32224      0  3        0x82  wait          syz-executor
*90545  438096  32224      0  7         0x3                syz-executor
 32224  306368  52079      0  3        0x82  wait          syz-executor
 52079   54368  63129      0  3    0x10008a  sigsusp       ksh
 63129  290210   5246      0  3        0x98  kqread        sshd-session
  5246  307126  73193      0  3        0x92  kqread        sshd-session
 58675  146498      1      0  3    0x100083  ttyin         getty
 73193    3325      1      0  3        0x88  kqread        sshd
 59523   68175  48513     74  3   0x1100092  bpf           pflogd
 48513  422320      1      0  3        0x80  sbwait        pflogd
 83826  479714  10804     73  3   0x1100010  biowait       syslogd
 10804  483492      1      0  3    0x100082  sbwait        syslogd
 21093  353774      1      0  3    0x100080  kqread        resolvd
 37511  398104   9124     77  3    0x100092  kqread        dhcpleased
 94121  389450   9124     77  3    0x100092  kqread        dhcpleased
  9124  139148      1      0  3        0x80  kqread        dhcpleased
 75796  326149      0      0  3     0x14200  bored         smr
 79501   62607      0      0  3     0x14200  pgzero        zerothread
 84087   42474      0      0  3     0x14200  aiodoned      aiodoned
 41003  337760      0      0  3     0x14200  syncer        update
 86988   67428      0      0  3     0x14200  cleaner       cleaner
 35466  138926      0      0  7     0x14200                reaper
 70124   22070      0      0  3     0x14200  pgdaemon      pagedaemon
 29673   71202      0      0  3     0x14200  bored         viomb
 57489  383740      0      0  3  0x40014200  acpi0         acpi0
 31331   64258      0      0  3  0x40014200                idle1
 41854  425121      0      0  3     0x14200  bored         softnet3
 62828  442186      0      0  3     0x14200  bored         softnet2
   995   71577      0      0  3     0x14200  bored         softnet1
 88100   20546      0      0  3     0x14200  bored         softnet0
 75695  288858      0      0  3     0x14200  bored         systqmp
 26164  509169      0      0  3     0x14200  bored         systq
 87106  485074      0      0  3     0x14200  tmoslp        softclockmp
 52911  226622      0      0  3  0x40014200  tmoslp        softclock
  5869  146918      0      0  3  0x40014200                idle0
     1  305446      0      0  3        0x82  wait          init
     0       0     -1      0  3     0x10200  scheduler     swapper
ddb{1}> show all locks
Process 90545 (syz-executor) thread 0xffff80002a03e2a0 (438096)
exclusive kernel_lock &kernel_lock r = 0 (0xffffffff8363b4e8)
#0  witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline]
#0  witness_lock+0x5bb sys/kern/subr_witness.c:1155
#1  __mp_acquire_count+0x58
#2  mi_switch+0x4b7 sys/kern/sched_bsd.c:441
#3  sleep_finish+0x2f2 sys/kern/kern_synch.c:425
#4  biowait+0xc1 sys/kern/vfs_bio.c:1246
#5  bwrite+0x2e2 sys/kern/vfs_bio.c:758
#6  ffs_update+0x34c sys/ufs/ffs/ffs_inode.c:111
#7  ffs_truncate+0xcb6
#8  ufs_inactive+0x203 sys/ufs/ufs/ufs_inode.c:84
#9  VOP_INACTIVE+0x107 sys/kern/vfs_vops.c:495
#10 vrele+0x129 sys/kern/vfs_subr.c:829
#11 ktrwriteraw+0x382 ktrcleartrace sys/kern/kern_ktrace.c:86 [inline]
#11 ktrwriteraw+0x382 sys/kern/kern_ktrace.c:701
#12 ktrsysret+0x18b sys/kern/kern_ktrace.c:206
#13 syscall+0xa2f mi_syscall_return sys/sys/syscall_mi.h:208 [inline]
#13 syscall+0xa2f sys/arch/amd64/amd64/trap.c:598
#14 Xsyscall+0x128
exclusive rrwlock inode r = 0 (0xfffffd806be32b40)
#0  witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline]
#0  witness_lock+0x5bb sys/kern/subr_witness.c:1155
#1  rw_enter+0x41b sys/kern/kern_rwlock.c:309
#2  rrw_enter+0xbe sys/kern/kern_rwlock.c:464
#3  VOP_LOCK+0xa6 sys/kern/vfs_vops.c:524
#4  vn_lock+0xa4 sys/kern/vfs_vnops.c:564
#5  vrele+0xd0 sys/kern/vfs_subr.c:820
#6  ktrwriteraw+0x382 ktrcleartrace sys/kern/kern_ktrace.c:86 [inline]
#6  ktrwriteraw+0x382 sys/kern/kern_ktrace.c:701
#7  ktrsysret+0x18b sys/kern/kern_ktrace.c:206
#8  syscall+0xa2f mi_syscall_return sys/sys/syscall_mi.h:208 [inline]
#8  syscall+0xa2f sys/arch/amd64/amd64/trap.c:598
#9  Xsyscall+0x128
Process 83826 (syslogd) thread 0xffff8000ffffd450 (479714)
exclusive rrwlock inode r = 0 (0xfffffd806e49c5f0)
#0  witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline]
#0  witness_lock+0x5bb sys/kern/subr_witness.c:1155
#1  rw_enter+0x41b sys/kern/kern_rwlock.c:309
#2  rrw_enter+0xbe sys/kern/kern_rwlock.c:464
#3  VOP_LOCK+0xa6 sys/kern/vfs_vops.c:524
#4  vn_lock+0xa4 sys/kern/vfs_vnops.c:564
#5  sys_fsync+0x152 sys/kern/vfs_syscalls.c:2926
#6  syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:178 [inline]
#6  syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577
#7  Xsyscall+0x128
Process 35466 (reaper) thread 0xffff800029fd91c0 (138926)
kernel: protection fault trap, code=0
Faulted in DDB; continuing...
ddb{1}> show malloc
           Type InUse  MemUse  HighUse   Limit  Requests Type Lim
         devbuf 10181  11115K   11414K 166960K     11915        0
            pcb    17     14K      16K 166960K       188        0
         rtable   128      3K       6K 166960K       397        0
             pf    27     16K      18K 166960K        73        0
         ifaddr    27      4K       7K 166960K        62        0
        ifgroup    39      1K       2K 166960K        84        0
         sysctl     3      1K       1K 166960K         3        0
       counters    56     35K      36K 166960K        84        0
       ioctlops     0      0K       4K 166960K      1610        0
            iov     0      0K      12K 166960K        22        0
          mount     1      1K       1K 166960K         1        0
            log     0      0K       0K 166960K         4        0
         vnodes  1519     96K      96K 166960K      1890        0
      UFS quota     1     32K      32K 166960K         1        0
      UFS mount     5     36K      36K 166960K         5        0
            shm     2      1K       9K 166960K         8        0
         VM map     2      1K       1K 166960K         2        0
            sem    12      0K       0K 166960K        56        0
        dirhash    12      2K       3K 166960K        27        0
           ACPI  1690    195K     286K 166960K     12468        0
      file desc     9     29K      93K 166960K       564        0
          sigio     0      0K       0K 166960K        13        0
           proc    72     91K     128K 166960K       586        0
        subproc    91      5K       6K 166960K       104        0
    NFS srvsock     1      0K       0K 166960K         1        0
     NFS daemon     1     16K      16K 166960K         1        0
    ip_moptions     0      0K       0K 166960K        44        0
       in_multi    55      4K       7K 166960K       131        0
    ether_multi     1      0K       0K 166960K         5        0
            mrt     1      0K       0K 166960K         4        0
    ISOFS mount     1     32K      32K 166960K         1        0
  MSDOSFS mount     1     16K      16K 166960K         1        0
           ttys    79    360K     360K 166960K        79        0
           exec     0      0K       1K 166960K       506        0
   fusefs mount     1     32K      32K 166960K         1        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   245     65K      77K 166960K      7049        0
       UVM aobj    19      4K       4K 166960K        19        0
     pinsyscall    34     68K     105K 166960K      1668        0
        memdesc     1      4K       4K 166960K         1        0
    crypto data     1      1K       1K 166960K         1        0
    ip6_options     0      0K       0K 166960K        22        0
            NDP     8      0K       2K 166960K        39        0
           temp    43   6820K    6916K 166960K     33163        0
         kqueue    13     20K      28K 166960K        97        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       54    0       51     1     0     1     1     0     8    0
rtentry    112      129    0       72     4     0     4     4     0     8    0
unpcb      144      373    0      356     4     3     1     3     0     8    0
syncache   336        4    0        4     2     2     0     1     0     8    0
tcpqe       32        2    0        2     1     1     0     1     0     8    0
tcpcb      808      227    0      222    14    13     1     8     0     8    0
arp        120       20    0       10     1     0     1     1     0     8    0
inpcb      336      682    0      674    13    12     1     7     0     8    0
nd6        136       25    0       13     1     0     1     1     0     8    0
pkpcb       40        5    0        5     2     2     0     1     0     8    0
kcovpl      48        8    0        1     1     0     1     1     0     8    0
ppxss      1168       7    0        7     3     3     0     1     0     8    0
pffrent     40        1    0        1     1     1     0     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       49    0       34     1     0     1     1     0     8    0
pfstkey    128       49    0       34     2     0     2     2     0     8    0
pfstate    376       49    0       34     5     0     5     5     0     8    1
pfrule     1344      23    0       17     2     0     2     2     0     8    0
art_heap8  4096       1    0        0     1     0     1     1     0     8    0
art_heap4  256      584    0      342    29     6    23    29     0     8    3
art_table   32      585    0      342     4     0     4     4     0     8    0
art_node    16      128    0       79     1     0     1     1     0     8    0
sysvmsgpl   40        5    0        3     1     0     1     1     0     8    0
semapl     112       52    0       42     1     0     1     1     0     8    0
shmpl      112       16    0        0     1     0     1     1     0     8    0
dirhash    1024      27    0       10     3     0     3     3     0     8    0
dino2pl    256     2369    0      873    95     0    95    95     0     8    0
ffsino     272     2369    0      873   101     0   101   101     0     8    0
nchpl      144     3169    0     1479    63     0    63    63     0     8    0
uvmvnodes   80     2854    0        0    59     0    59    59     0     8    0
vnodes     216     2854    0        0   159     0   159   159     0     8    0
namei      1024   10453    0    10453     4     4     0     2     0     8    0
percpumem   16       56    0       14     1     0     1     1     0     8    0
kstatmem   264       44    0       28     2     0     2     2     0     8    0
scsiplug    72        7    0        7     2     2     0     1     0     8    0
scxspl     216    12932    0    12931    17    16     1     8     1     8    0
plimitpl   152       91    0       73     1     0     1     1     0     8    0
sigapl     424      873    0      823     7     1     6     7     0     8    0
futexpl     64     6916    0     6916     1     1     0     1     0     8    0
knotepl    120      557    0        0    17     0    17    17     0     8    0
kqueuepl   216      153    0      144     1     0     1     1     0     8    0
pipepl     320      156    0      129     3     0     3     3     0     8    0
fdescpl    496      854    0      831     6     2     4     5     0     8    1
filepl     152     4785    0     4563    21    10    11    17     0     8    1
lockfpl    104      225    0      223     1     0     1     1     0     8    0
lockfspl    48       69    0       67     1     0     1     1     0     8    0
sessionpl  144       23    0       14     1     0     1     1     0     8    0
pgrppl      48       34    0       17     1     0     1     1     0     8    0
ucredpl    104      638    0      623     1     0     1     1     0     8    0
zombiepl   144      938    0      930     1     0     1     1     0     8    0
processpl  1160     873    0      823     5     1     4     5     0     8    0
procpl     648     1639    0     1571     7     1     6     7     0     8    0
srpgc       96        4    0        4     1     1     0     1     0     8    0
sosppl     168        3    0        3     2     2     0     1     0     8    0
sockpl     664     1188    0     1160    15    12     3     9     0     8    0
mcl64k     65536      3    0        0     1     0     1     1     0     8    0
mcl16k     16384      3    0        0     1     0     1     1     0     8    0
mcl8k      8192       4    0        0     1     0     1     1     0     8    0
mcl4k      4096     156    0        0    20     0    20    20     0     8    0
mcl2k      2048      18    0        0     3     0     3     3     0     8    0
mtagpl      96        6    0        0     1     0     1     1     0     8    0
mbufpl     256      184    0        0    11     0    11    11     0     8    0
bufpl      280     6947    0      773   442     0   442   442     0     8    0
anonpl      24   207553    0   199527   120    41    79    79     0   185   19
amapchunkpl 152   23088    0    22512    47    10    37    37     0   158    7
amappl16   200     5533    0     5278    41    27    14    15     0     8    0
amappl15   192       34    0       34     1     1     0     1     0     8    0
amappl14   184      121    0      108     1     0     1     1     0     8    0
amappl13   176       16    0       15     1     0     1     1     0     8    0
amappl12   168     1511    0     1482     3     1     2     2     0     8    0
amappl11   160       55    0       41     1     0     1     1     0     8    0
amappl10   152        6    0        6     1     1     0     1     0     8    0
amappl9    144      138    0      138     1     1     0     1     0     8    0
amappl8    136       23    0       20     1     0     1     1     0     8    0
amappl7    128      109    0       97     1     0     1     1     0     8    0
amappl6    120      169    0      167     1     0     1     1     0     8    0
amappl5    112      135    0      124     1     0     1     1     0     8    0
amappl4    104      312    0      294     1     0     1     1     0     8    0
amappl3     96     4243    0     4139     4     0     4     4     0     8    0
amappl2     88     1133    0     1050     4     1     3     3     0     8    0
amappl1     80     9139    0     8576    16     2    14    14     0     8    0
amappl      88     6649    0     6466     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      254    0      254     2     2     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       20    0       19     1     0     1     1     0     8    0
aobjpl      72       18    0        0     1     0     1     1     0     8    0
uaddrrnd    24      854    0      825     1     0     1     1     0     8    0
uaddrbest   32        2    0        0     1     0     1     1     0     8    0
uaddr       24      854    0      825     1     0     1     1     0     8    0
vmmpekpl   168     8430    0     8381     4     1     3     3     0     8    0
vmmpepl    168    60695    0    58648   114    18    96    96     0   357    0
vmsppl     448      853    0      825     6     2     4     5     0     8    0
rwobjpl     56    23871    0    19823    60     2    58    58     0     8    0
pdppl      4096    1715    0     1650   111    40    71    85     0     8    6
pvpl        32    33420    0        0   270     0   270   270     0   265    0
pmappl     248      853    0      825     3     0     3     3     0     8    0
extentpl    40       55    0       38     1     0     1     1     0     8    0
phpool     112      422    0       84    11     0    11    11     0     8    0
ddb{1}> machine ddbcpu 0
Stopped at      x86_ipi_db+0x27:        addq    $0x8,%rsp
x86_ipi_db(ffffffff834ffff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:393
x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106
Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27
__mp_lock(ffffffff8363b2e0) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline]
__mp_lock(ffffffff8363b2e0) at __mp_lock+0x192 sys/kern/kern_lock.c:144
reaper(ffff800029fd91c0) at reaper+0x24b sys/kern/kern_exit.c:478
end trace frame: 0x0, count: 10
ddb{0}> trace
x86_ipi_db(ffffffff834ffff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:393
x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106
Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27
__mp_lock(ffffffff8363b2e0) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline]
__mp_lock(ffffffff8363b2e0) at __mp_lock+0x192 sys/kern/kern_lock.c:144
reaper(ffff800029fd91c0) at reaper+0x24b sys/kern/kern_exit.c:478
end trace frame: 0x0, count: -5
ddb{0}> machine ddbcpu 1
Stopped at      db_enter+0x25:  addq    $0x8,%rsp
db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:437
panic(ffffffff830f11cf) at panic+0x1e5 sys/kern/subr_prf.c:198
__assert(ffffffff830a8ebd,ffffffff8304f694,136,ffffffff8302eb9f) at __assert+0x29
buf_free_pages(fffffd806bab3158) at buf_free_pages+0x23d sys/kern/vfs_biomem.c:299
buf_dealloc_mem(fffffd806bab3158) at buf_dealloc_mem+0x14e sys/kern/vfs_biomem.c:179
buf_put(fffffd806bab3158) at buf_put+0x1dc sys/kern/vfs_bio.c:127
brelse(fffffd806bab3158) at brelse+0x395 sys/kern/vfs_bio.c:936
vinvalbuf(fffffd806a6c9de0,2,ffffffffffffffff,ffff80002a03e2a0,0,ffffffffffffffff) at vinvalbuf+0x52c sys/kern/vfs_subr.c:2027
ffs_truncate(fffffd806be32aa8,0,0,ffffffffffffffff) at ffs_truncate+0xf6c
ufs_inactive(ffff80002a09ca08) at ufs_inactive+0x203 sys/ufs/ufs/ufs_inode.c:84
VOP_INACTIVE(fffffd806a6c9de0,ffff80002a03e2a0) at VOP_INACTIVE+0x107 sys/kern/vfs_vops.c:495
vrele(fffffd806a6c9de0) at vrele+0x129 sys/kern/vfs_subr.c:829
ktrwriteraw(ffff80002a03e2a0,fffffd806a6c9de0,fffffd807f7d3680,ffff80002a09cbb0,ffff80002a09cb90) at ktrwriteraw+0x382 ktrcleartrace sys/kern/kern_ktrace.c:86 [inline]
ktrwriteraw(ffff80002a03e2a0,fffffd806a6c9de0,fffffd807f7d3680,ffff80002a09cbb0,ffff80002a09cb90) at ktrwriteraw+0x382 sys/kern/kern_ktrace.c:701
ktrsysret(ffff80002a03e2a0,b,4,ffff80002a09cc80) at ktrsysret+0x18b sys/kern/kern_ktrace.c:206
end trace frame: 0xffff80002a09cd20, count: 0
ddb{1}> trace
db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:437
panic(ffffffff830f11cf) at panic+0x1e5 sys/kern/subr_prf.c:198
__assert(ffffffff830a8ebd,ffffffff8304f694,136,ffffffff8302eb9f) at __assert+0x29
buf_free_pages(fffffd806bab3158) at buf_free_pages+0x23d sys/kern/vfs_biomem.c:299
buf_dealloc_mem(fffffd806bab3158) at buf_dealloc_mem+0x14e sys/kern/vfs_biomem.c:179
buf_put(fffffd806bab3158) at buf_put+0x1dc sys/kern/vfs_bio.c:127
brelse(fffffd806bab3158) at brelse+0x395 sys/kern/vfs_bio.c:936
vinvalbuf(fffffd806a6c9de0,2,ffffffffffffffff,ffff80002a03e2a0,0,ffffffffffffffff) at vinvalbuf+0x52c sys/kern/vfs_subr.c:2027
ffs_truncate(fffffd806be32aa8,0,0,ffffffffffffffff) at ffs_truncate+0xf6c
ufs_inactive(ffff80002a09ca08) at ufs_inactive+0x203 sys/ufs/ufs/ufs_inode.c:84
VOP_INACTIVE(fffffd806a6c9de0,ffff80002a03e2a0) at VOP_INACTIVE+0x107 sys/kern/vfs_vops.c:495
vrele(fffffd806a6c9de0) at vrele+0x129 sys/kern/vfs_subr.c:829
ktrwriteraw(ffff80002a03e2a0,fffffd806a6c9de0,fffffd807f7d3680,ffff80002a09cbb0,ffff80002a09cb90) at ktrwriteraw+0x382 ktrcleartrace sys/kern/kern_ktrace.c:86 [inline]
ktrwriteraw(ffff80002a03e2a0,fffffd806a6c9de0,fffffd807f7d3680,ffff80002a09cbb0,ffff80002a09cb90) at ktrwriteraw+0x382 sys/kern/kern_ktrace.c:701
ktrsysret(ffff80002a03e2a0,b,4,ffff80002a09cc80) at ktrsysret+0x18b sys/kern/kern_ktrace.c:206
syscall(ffff80002a09cd30) at syscall+0xa2f mi_syscall_return sys/sys/syscall_mi.h:208 [inline]
syscall(ffff80002a09cd30) at syscall+0xa2f sys/arch/amd64/amd64/trap.c:598
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x730452bae840, count: -16

Crashes (1384):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/11/18 17:11 openbsd f7304f605db8 e7bb5d6e .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "pg->wire_count == NUM" failed in vfs_biomem.c
2024/10/24 14:10 openbsd 52e3983c11c1 092bf4ab .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "pg->wire_count == NUM" failed in vfs_biomem.c
2024/10/24 12:35 openbsd 52e3983c11c1 092bf4ab .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "pg->wire_count == NUM" failed in vfs_biomem.c
2024/10/24 10:51 openbsd 52e3983c11c1 092bf4ab .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "pg->wire_count == NUM" failed in vfs_biomem.c
2024/10/24 09:39 openbsd 52e3983c11c1 092bf4ab .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "pg->wire_count == NUM" failed in vfs_biomem.c
2024/10/24 05:14 openbsd 52e3983c11c1 15fa2979 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "pg->wire_count == NUM" failed in vfs_biomem.c
2024/10/24 03:46 openbsd bf431fff95e1 15fa2979 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "pg->wire_count == NUM" failed in vfs_biomem.c
2024/10/24 00:15 openbsd bf431fff95e1 15fa2979 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "pg->wire_count == NUM" failed in vfs_biomem.c
2024/10/23 22:22 openbsd bf431fff95e1 15fa2979 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "pg->wire_count == NUM" failed in vfs_biomem.c
2024/10/23 20:39 openbsd bf431fff95e1 15fa2979 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "pg->wire_count == NUM" failed in vfs_biomem.c
2024/10/23 17:56 openbsd bf431fff95e1 15fa2979 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "pg->wire_count == NUM" failed in vfs_biomem.c
2024/10/23 16:49 openbsd bf431fff95e1 15fa2979 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "pg->wire_count == NUM" failed in vfs_biomem.c
2024/10/23 15:49 openbsd bf431fff95e1 15fa2979 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "pg->wire_count == NUM" failed in vfs_biomem.c
2024/10/23 13:33 openbsd c2bc71950d23 15fa2979 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "pg->wire_count == NUM" failed in vfs_biomem.c
2024/10/23 12:25 openbsd c2bc71950d23 15fa2979 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "pg->wire_count == NUM" failed in vfs_biomem.c
2024/10/23 11:02 openbsd c2bc71950d23 15fa2979 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "pg->wire_count == NUM" failed in vfs_biomem.c
2024/10/23 09:55 openbsd c2bc71950d23 15fa2979 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "pg->wire_count == NUM" failed in vfs_biomem.c
2024/10/23 08:40 openbsd c2bc71950d23 15fa2979 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "pg->wire_count == NUM" failed in vfs_biomem.c
2024/10/23 06:00 openbsd c2bc71950d23 15fa2979 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "pg->wire_count == NUM" failed in vfs_biomem.c
2024/10/23 02:45 openbsd c2bc71950d23 15fa2979 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "pg->wire_count == NUM" failed in vfs_biomem.c
2024/10/23 00:13 openbsd 1a81a8e6e44b 9d74f456 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "pg->wire_count == NUM" failed in vfs_biomem.c
2024/10/22 22:47 openbsd 1a81a8e6e44b 9d74f456 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "pg->wire_count == NUM" failed in vfs_biomem.c
2024/10/22 20:55 openbsd 1a81a8e6e44b 9d74f456 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "pg->wire_count == NUM" failed in vfs_biomem.c
2024/10/22 18:00 openbsd 1a81a8e6e44b 9d74f456 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "pg->wire_count == NUM" failed in vfs_biomem.c
2024/10/22 16:33 openbsd 1a81a8e6e44b 9d74f456 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "pg->wire_count == NUM" failed in vfs_biomem.c
2024/10/22 14:03 openbsd 1a81a8e6e44b 9d74f456 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "pg->wire_count == NUM" failed in vfs_biomem.c
2024/10/22 09:45 openbsd f714f513178d a93682b3 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "pg->wire_count == NUM" failed in vfs_biomem.c
2024/10/22 07:55 openbsd f714f513178d a93682b3 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "pg->wire_count == NUM" failed in vfs_biomem.c
2024/10/22 07:49 openbsd f714f513178d a93682b3 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "pg->wire_count == NUM" failed in vfs_biomem.c
2024/10/22 05:39 openbsd f714f513178d a93682b3 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "pg->wire_count == NUM" failed in vfs_biomem.c
2024/10/22 04:12 openbsd f714f513178d a93682b3 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "pg->wire_count == NUM" failed in vfs_biomem.c
2024/10/22 01:14 openbsd f714f513178d a93682b3 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "pg->wire_count == NUM" failed in vfs_biomem.c
2024/10/21 21:57 openbsd ad7ea506c175 14517542 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "pg->wire_count == NUM" failed in vfs_biomem.c
2024/10/21 19:14 openbsd ad7ea506c175 14517542 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "pg->wire_count == NUM" failed in vfs_biomem.c
2024/10/21 17:23 openbsd ad7ea506c175 14517542 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "pg->wire_count == NUM" failed in vfs_biomem.c
2024/10/21 15:16 openbsd ad7ea506c175 14517542 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "pg->wire_count == NUM" failed in vfs_biomem.c
2024/10/21 14:05 openbsd ad7ea506c175 14517542 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "pg->wire_count == NUM" failed in vfs_biomem.c
2024/10/21 12:53 openbsd ad7ea506c175 14517542 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "pg->wire_count == NUM" failed in vfs_biomem.c
2024/10/21 08:56 openbsd e432ca3c48ac cd6fc0a3 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "pg->wire_count == NUM" failed in vfs_biomem.c
2024/10/21 02:26 openbsd 10994215a7ed cd6fc0a3 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "pg->wire_count == NUM" failed in vfs_biomem.c
2024/10/21 00:18 openbsd 10994215a7ed cd6fc0a3 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "pg->wire_count == NUM" failed in vfs_biomem.c
2024/10/20 23:32 openbsd 10994215a7ed cd6fc0a3 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "pg->wire_count == NUM" failed in vfs_biomem.c
2024/10/20 20:39 openbsd 10994215a7ed cd6fc0a3 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "pg->wire_count == NUM" failed in vfs_biomem.c
2024/10/20 15:43 openbsd 10994215a7ed cd6fc0a3 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "pg->wire_count == NUM" failed in vfs_biomem.c
2024/10/20 13:56 openbsd bcc47c46a274 cd6fc0a3 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "pg->wire_count == NUM" failed in vfs_biomem.c
2024/10/20 10:05 openbsd bcc47c46a274 cd6fc0a3 .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.