syzbot


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

Status: auto-obsoleted due to no activity on 2023/07/13 08:24
Reported-by: syzbot+ec52b910ed63f5e8787e@syzkaller.appspotmail.com
First crash: 923d, last: 587d
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 (3) 1384 3d06h 328d 0/3 upstream: reported on 2023/12/29 11:04

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+0x18:  addq    $0x8,%rsp
    TID    PID    UID     PRFLAGS     PFLAGS  CPU  COMMAND
*314865  22888      0         0x2          0    0K syz-executor.3
 285538  22991      0         0x2          0    1  syz-executor.2
db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437
panic(ffffffff82751deb) at panic+0x177 sys/kern/subr_prf.c:198
__assert(ffffffff827cd2be,ffffffff827b612f,136,ffffffff82795411) at __assert+0x25 sys/kern/subr_prf.c:157
buf_free_pages(fffffd8058ffb040) at buf_free_pages+0x1c2 sys/kern/vfs_biomem.c:299
buf_dealloc_mem(fffffd8058ffb040) at buf_dealloc_mem+0xdf sys/kern/vfs_biomem.c:179
buf_put(fffffd8058ffb040) at buf_put+0x161 sys/kern/vfs_bio.c:129
brelse(fffffd8058ffb040) at brelse+0x5b3 sys/kern/vfs_bio.c:957
vinvalbuf(fffffd807275fbd0,2,fffffd807f7d7888,ffff8000212435e8,0,ffffffffffffffff) at vinvalbuf+0x391 sys/kern/vfs_subr.c:2021
ffs_truncate(fffffd8067817780,0,4,fffffd807f7d7888) at ffs_truncate+0xf2a sys/ufs/ffs/ffs_inode.c:326
ufs_rmdir(ffff80002c9fb9e8) at ufs_rmdir+0x3a9 sys/ufs/ufs/ufs_vnops.c:1343
VOP_RMDIR(fffffd8067ce4cf8,fffffd807275fbd0,ffff80002c9fbac8) at VOP_RMDIR+0x122 sys/kern/vfs_vops.c:407
dounlinkat(ffff8000212435e8,ffffff9c,7f7ffffc7ee0,8) at dounlinkat+0x20e sys/kern/vfs_syscalls.c:1881
syscall(ffff80002c9fbc40) at syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline]
syscall(ffff80002c9fbc40) at syscall+0x5e2 sys/arch/amd64/amd64/trap.c:625
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x7f7ffffc7ed0, 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{0}> 
ddb{0}> set $lines = 0
ddb{0}> set $maxwidth = 0
ddb{0}> show panic
*cpu0: kernel diagnostic assertion "pg->wire_count == 1" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/vfs_biomem.c", line 310
ddb{0}> trace
db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437
panic(ffffffff82751deb) at panic+0x177 sys/kern/subr_prf.c:198
__assert(ffffffff827cd2be,ffffffff827b612f,136,ffffffff82795411) at __assert+0x25 sys/kern/subr_prf.c:157
buf_free_pages(fffffd8058ffb040) at buf_free_pages+0x1c2 sys/kern/vfs_biomem.c:299
buf_dealloc_mem(fffffd8058ffb040) at buf_dealloc_mem+0xdf sys/kern/vfs_biomem.c:179
buf_put(fffffd8058ffb040) at buf_put+0x161 sys/kern/vfs_bio.c:129
brelse(fffffd8058ffb040) at brelse+0x5b3 sys/kern/vfs_bio.c:957
vinvalbuf(fffffd807275fbd0,2,fffffd807f7d7888,ffff8000212435e8,0,ffffffffffffffff) at vinvalbuf+0x391 sys/kern/vfs_subr.c:2021
ffs_truncate(fffffd8067817780,0,4,fffffd807f7d7888) at ffs_truncate+0xf2a sys/ufs/ffs/ffs_inode.c:326
ufs_rmdir(ffff80002c9fb9e8) at ufs_rmdir+0x3a9 sys/ufs/ufs/ufs_vnops.c:1343
VOP_RMDIR(fffffd8067ce4cf8,fffffd807275fbd0,ffff80002c9fbac8) at VOP_RMDIR+0x122 sys/kern/vfs_vops.c:407
dounlinkat(ffff8000212435e8,ffffff9c,7f7ffffc7ee0,8) at dounlinkat+0x20e sys/kern/vfs_syscalls.c:1881
syscall(ffff80002c9fbc40) at syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline]
syscall(ffff80002c9fbc40) at syscall+0x5e2 sys/arch/amd64/amd64/trap.c:625
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x7f7ffffc7ed0, count: -14
ddb{0}> show registers
rdi                                0
rsi                              0x1
rbp               0xffff80002c9fb4d0
rbx               0xffffffff82b25b8f    cpu_info_full_primary+0x2b8f
rdx                                0
rcx                                0
rax               0xffff8000212435e8
r8                 0x101010101010101
r9                0x8080808080808080
r10               0xeab3375b6e75132e
r11               0x4d7966cbcb7da84f
r12               0xffffffff82b25990    cpu_info_full_primary+0x2990
r13                                0
r14                                0
r15                              0x1
rip               0xffffffff81b420b8    db_enter+0x18
cs                               0x8
rflags                         0x246
rsp               0xffff80002c9fb4c0
ss                              0x10
db_enter+0x18:  addq    $0x8,%rsp
ddb{0}> show proc
PROC (syz-executor.3) pid=314865 stat=onproc
    flags process=2<EXEC> proc=0
    pri=17, usrpri=52, nice=20
    forw=0xffffffffffffffff, list=0xffff800021242dc0,0xffff800021200858
    process=0xffff800021288448 user=0xffff80002c9f6000, vmspace=0xfffffd8008a0a1b8
    estcpu=2, cpticks=2, pctcpu=0.0
    user=0, sys=1, intr=0
ddb{0}> ps
   PID     TID   PPID    UID  S       FLAGS  WAIT          COMMAND
 38182  251133  94724      0  2           0                syz-executor.7
 31181  417896  61451      0  2           0                syz-executor.0
 31181  200559  61451      0  2   0x4000000                syz-executor.0
 31181  185817  61451      0  3   0x4000080  netcon        syz-executor.0
 16980  413950  42088      0  2         0x2                syz-executor.5
 22595  515161  42088      0  2         0x2                syz-executor.6
 32360  518797      0      0  3     0x14200  bored         sosplice
*22888  314865  42088      0  7         0x2                syz-executor.3
 94724  359613  42088      0  3        0x82  nanoslp       syz-executor.7
 71157  154393  42088      0  2         0x2                syz-executor.4
 22991  285538  42088      0  7         0x2                syz-executor.2
 19243  410585  42088      0  2         0x2                syz-executor.1
 61451  380474  42088      0  3        0x82  nanoslp       syz-executor.0
 42088  341151  21925      0  2         0x2                syz-fuzzer
 42088  132683  21925      0  3   0x4000082  nanoslp       syz-fuzzer
 42088   43091  21925      0  3   0x4000082  thrsleep      syz-fuzzer
 42088   87314  21925      0  3   0x4000082  thrsleep      syz-fuzzer
 42088   68991  21925      0  3   0x4000082  wait          syz-fuzzer
 42088   95236  21925      0  3   0x4000082  wait          syz-fuzzer
 42088  167978  21925      0  3   0x4000082  wait          syz-fuzzer
 42088   12354  21925      0  3   0x4000082  wait          syz-fuzzer
 42088  505978  21925      0  3   0x4000082  thrsleep      syz-fuzzer
 42088  286813  21925      0  3   0x4000082  wait          syz-fuzzer
 42088  263908  21925      0  3   0x4000082  thrsleep      syz-fuzzer
 42088  327152  21925      0  3   0x4000082  thrsleep      syz-fuzzer
 42088  118104  21925      0  3   0x4000082  wait          syz-fuzzer
 42088  321403  21925      0  3   0x4000082  wait          syz-fuzzer
 42088   37780  21925      0  2   0x4000002                syz-fuzzer
 42088  520946  21925      0  3   0x4000082  wait          syz-fuzzer
 21925  459605  80917      0  3    0x10008a  sigsusp       ksh
 80917  177407  81869      0  3        0x9a  kqread        sshd
 56994  484510      1      0  3    0x100083  ttyin         getty
 81869  154559      1      0  3        0x88  kqread        sshd
  5261  281534  36976     74  3   0x1100092  bpf           pflogd
 36976  389991      1      0  3        0x80  netio         pflogd
 38532  511343  99666     73  3   0x1100010  ffs_fsync     syslogd
 99666    3112      1      0  3    0x100082  netio         syslogd
 65583  499202      1      0  2    0x100000                resolvd
 39532  463443  25139     77  2    0x100092                dhcpleased
 35759  412272  25139     77  3    0x100092  kqread        dhcpleased
 25139  180704      1      0  3        0x80  kqread        dhcpleased
 14233  248402      0      0  3     0x14200  bored         smr
 89416  309987      0      0  2     0x14200                zerothread
 30734  249428      0      0  3     0x14200  aiodoned      aiodoned
 76080  147877      0      0  3     0x14200  syncer        update
 32758  512748      0      0  3     0x14200  cleaner       cleaner
 30539   67370      0      0  3     0x14200  reaper        reaper
 17804  393392      0      0  3     0x14200  pgdaemon      pagedaemon
 32277   86685      0      0  3     0x14200  bored         viomb
  3974  522369      0      0  3  0x40014200  acpi0         acpi0
 36925   37298      0      0  3  0x40014200                idle1
 11221  272040      0      0  3     0x14200  bored         softnet
 65081   65573      0      0  3     0x14200  bored         softnet
 93900  411342      0      0  2     0x14200                softnet
  5556   32591      0      0  3     0x14200  bored         softnet
  6215   70926      0      0  3     0x14200  bored         systqmp
 48397  245487      0      0  3     0x14200  bored         systq
  4384  378493      0      0  3  0x40014200  bored         softclock
 77032  180187      0      0  3  0x40014200                idle0
     1  141445      0      0  3        0x82  wait          init
     0       0     -1      0  3     0x10200  scheduler     swapper
ddb{0}> show all locks
Process 22595 (syz-executor.6) thread 0xffff8000212e2dc8 (515161)
exclusive rrwlock inode r = 0 (0xfffffd807272e808)
#0  witness_lock+0x44d
#1  rw_enter+0x3e1 sys/kern/kern_rwlock.c:310
#2  rrw_enter+0x8b sys/kern/kern_rwlock.c:465
#3  VOP_LOCK+0x87 sys/kern/vfs_vops.c:518
#4  ufs_ihashins+0x42 sys/ufs/ufs/ufs_ihash.c:140
#5  ffs_vget+0x141 sys/ufs/ffs/ffs_vfsops.c:1353
#6  ffs_inode_alloc+0x1be sys/ufs/ffs/ffs_alloc.c:394
#7  ufs_mkdir+0xf4 sys/ufs/ufs/ufs_vnops.c:1150
#8  VOP_MKDIR+0xbf sys/kern/vfs_vops.c:388
#9  domkdirat+0x121 sys/kern/vfs_syscalls.c:3112
#10 syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline]
#10 syscall+0x5e2 sys/arch/amd64/amd64/trap.c:625
#11 Xsyscall+0x128
exclusive rrwlock inode r = 0 (0xfffffd8067817708)
#0  witness_lock+0x44d
#1  rw_enter+0x3e1 sys/kern/kern_rwlock.c:310
#2  rrw_enter+0x8b sys/kern/kern_rwlock.c:465
#3  VOP_LOCK+0x87 sys/kern/vfs_vops.c:518
#4  vn_lock+0x84 sys/kern/vfs_vnops.c:564
#5  vfs_lookup+0xd1 sys/kern/vfs_lookup.c:418
#6  namei+0x55a sys/kern/vfs_lookup.c:250
#7  domkdirat+0x75 sys/kern/vfs_syscalls.c:3097
#8  syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline]
#8  syscall+0x5e2 sys/arch/amd64/amd64/trap.c:625
#9  Xsyscall+0x128
Process 22888 (syz-executor.3) thread 0xffff8000212435e8 (314865)
exclusive kernel_lock &kernel_lock r = 0 (0xffffffff82db6228)
#0  witness_lock+0x44d
#1  __mp_acquire_count+0x48 sys/kern/kern_lock.c:227
#2  mi_switch+0x3bb sys/kern/sched_bsd.c:405
#3  sleep_finish+0x180 sys/kern/kern_synch.c:417
#4  tsleep+0x12c sys/kern/kern_synch.c:155
#5  biowait+0x91 sys/kern/vfs_bio.c:1268
#6  bwrite+0x21b sys/kern/vfs_bio.c:769
#7  ffs_update+0x27d sys/ufs/ffs/ffs_inode.c:113
#8  ffs_truncate+0xcec
#9  ufs_rmdir+0x3a9 sys/ufs/ufs/ufs_vnops.c:1343
#10 VOP_RMDIR+0x122 sys/kern/vfs_vops.c:407
#11 dounlinkat+0x20e sys/kern/vfs_syscalls.c:1881
#12 syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline]
#12 syscall+0x5e2 sys/arch/amd64/amd64/trap.c:625
#13 Xsyscall+0x128
exclusive rrwlock inode r = 0 (0xfffffd8067817818)
#0  witness_lock+0x44d
#1  rw_enter+0x3e1 sys/kern/kern_rwlock.c:310
#2  rrw_enter+0x8b sys/kern/kern_rwlock.c:465
#3  VOP_LOCK+0x87 sys/kern/vfs_vops.c:518
#4  vn_lock+0x84 sys/kern/vfs_vnops.c:564
#5  vget+0x1fc sys/kern/vfs_subr.c:676
#6  ufs_ihashget+0x121 sys/ufs/ufs/ufs_ihash.c:119
#7  ffs_vget+0x7c sys/ufs/ffs/ffs_vfsops.c:1324
#8  ufs_lookup+0x13ba sys/ufs/ufs/ufs_lookup.c:487
#9  VOP_LOOKUP+0x58 sys/kern/vfs_vops.c:85
#10 vfs_lookup+0x6e5 sys/kern/vfs_lookup.c:566
#11 namei+0x55a sys/kern/vfs_lookup.c:250
#12 dounlinkat+0x99 sys/kern/vfs_syscalls.c:1848
#13 syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline]
#13 syscall+0x5e2 sys/arch/amd64/amd64/trap.c:625
#14 Xsyscall+0x128
exclusive rrwlock inode r = 0 (0xfffffd80678171b8)
#0  witness_lock+0x44d
#1  rw_enter+0x3e1 sys/kern/kern_rwlock.c:310
#2  rrw_enter+0x8b sys/kern/kern_rwlock.c:465
#3  VOP_LOCK+0x87 sys/kern/vfs_vops.c:518
#4  vn_lock+0x84 sys/kern/vfs_vnops.c:564
#5  vfs_lookup+0xd1 sys/kern/vfs_lookup.c:418
#6  namei+0x55a sys/kern/vfs_lookup.c:250
#7  dounlinkat+0x99 sys/kern/vfs_syscalls.c:1848
#8  syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline]
#8  syscall+0x5e2 sys/arch/amd64/amd64/trap.c:625
#9  Xsyscall+0x128
Process 22991 (syz-executor.2) thread 0xffff800021202af0 (285538)
exclusive rrwlock inode r = 0 (0xfffffd807272e4d8)
#0  witness_lock+0x44d
#1  rw_enter+0x3e1 sys/kern/kern_rwlock.c:310
#2  rrw_enter+0x8b sys/kern/kern_rwlock.c:465
#3  VOP_LOCK+0x87 sys/kern/vfs_vops.c:518
#4  ufs_ihashins+0x42 sys/ufs/ufs/ufs_ihash.c:140
#5  ffs_vget+0x141 sys/ufs/ffs/ffs_vfsops.c:1353
#6  ffs_inode_alloc+0x1be sys/ufs/ffs/ffs_alloc.c:394
#7  ufs_mkdir+0xf4 sys/ufs/ufs/ufs_vnops.c:1150
#8  VOP_MKDIR+0xbf sys/kern/vfs_vops.c:388
#9  domkdirat+0x121 sys/kern/vfs_syscalls.c:3112
#10 syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline]
#10 syscall+0x5e2 sys/arch/amd64/amd64/trap.c:625
#11 Xsyscall+0x128
exclusive rrwlock inode r = 0 (0xfffffd80672de4e0)
#0  witness_lock+0x44d
#1  rw_enter+0x3e1 sys/kern/kern_rwlock.c:310
#2  rrw_enter+0x8b sys/kern/kern_rwlock.c:465
#3  VOP_LOCK+0x87 sys/kern/vfs_vops.c:518
#4  vn_lock+0x84 sys/kern/vfs_vnops.c:564
#5  vfs_lookup+0xd1 sys/kern/vfs_lookup.c:418
#6  namei+0x55a sys/kern/vfs_lookup.c:250
#7  domkdirat+0x75 sys/kern/vfs_syscalls.c:3097
#8  syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline]
#8  syscall+0x5e2 sys/arch/amd64/amd64/trap.c:625
#9  Xsyscall+0x128
Process 38532 (syslogd) thread 0xffff8000211bd880 (511343)
exclusive rrwlock inode r = 0 (0xfffffd806e6b4700)
#0  witness_lock+0x44d
#1  rw_enter+0x3e1 sys/kern/kern_rwlock.c:310
#2  rrw_enter+0x8b sys/kern/kern_rwlock.c:465
#3  VOP_LOCK+0x87 sys/kern/vfs_vops.c:518
#4  vn_lock+0x84 sys/kern/vfs_vnops.c:564
#5  sys_fsync+0xf5 sys/kern/vfs_syscalls.c:2935
#6  syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline]
#6  syscall+0x5e2 sys/arch/amd64/amd64/trap.c:625
#7  Xsyscall+0x128
ddb{0}> show malloc
           Type InUse  MemUse  HighUse   Limit  Requests Type Lim
         devbuf 10205   6476K    6672K  78643K     11701        0
            pcb    13     10K      11K  78643K       102        0
         rtable   215      6K       7K  78643K       392        0
         ifaddr    75     24K      26K  78643K       117        0
       counters    60     35K      36K  78643K        80        0
       ioctlops     0      0K       4K  78643K      1556        0
            iov     0      0K      12K  78643K        11        0
          mount     1      1K       1K  78643K         1        0
            log     0      0K       0K  78643K         4        0
         vnodes  1407     88K      88K  78643K      1860        0
      UFS quota     1     32K      32K  78643K         1        0
      UFS mount     5     36K      36K  78643K         5        0
            shm     2      1K       1K  78643K         2        0
         VM map     2      1K       1K  78643K         2        0
            sem    12      0K       0K  78643K       122        0
        dirhash    12      2K       2K  78643K        12        0
           ACPI  1697    195K     286K  78643K     12548        0
      file desc    12     41K      89K  78643K       489        0
          sigio     0      0K       0K  78643K         7        0
           proc    70     91K     127K  78643K       568        0
        subproc   104      6K       6K  78643K       130        0
    NFS srvsock     1      0K       0K  78643K         1        0
     NFS daemon     1     16K      16K  78643K         1        0
    ip_moptions     0      0K       0K  78643K        26        0
       in_multi    88      5K       6K  78643K       117        0
    ether_multi     1      0K       0K  78643K         7        0
            mrt     1      0K       0K  78643K         1        0
    ISOFS mount     1     32K      32K  78643K         1        0
  MSDOSFS mount     1     16K      16K  78643K         1        0
           ttys    67    307K     307K  78643K        67        0
           exec     0      0K       1K  78643K       419        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   291     84K      90K  78643K      5224        0
       UVM aobj     6      2K       2K  78643K         6        0
        memdesc     1      4K       4K  78643K         1        0
    crypto data     1      1K       1K  78643K         1        0
    ip6_options     0      0K       0K  78643K         6        0
            NDP    12      0K       1K  78643K        39        0
           temp   106   5772K    5840K  78643K     13934        0
         kqueue    13     20K      24K  78643K       107        0
      SYN cache     2     16K      16K  78643K         2        0
ddb{0}> show all pools
Name      Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle
plcache    128       22    0        0     1     0     1     1     0     8    0
rtpcb      120       79    0       76     2     1     1     2     0     8    0
rtentry    112      124    0       25     4     0     4     4     0     8    0
unpcb      144      222    0      207     4     3     1     4     0     8    0
syncache   296        6    0        6     2     2     0     1     0     8    0
tcpqe       32      395    0      395     2     2     0     1     0     8    0
tcpcb      776       35    0       30     1     0     1     1     0     8    0
arp        120       20    0        4     1     0     1     1     0     8    0
inpcb      368      283    0      275     7     6     1     5     0     8    0
nd6         48       27    0        6     1     0     1     1     0     8    0
pkpcb       40        3    0        3     1     1     0     1     0     8    0
kcovpl      48       10    0        2     1     0     1     1     0     8    0
ppxss      1256       1    0        1     1     1     0     1     0     8    0
pppxif     1456       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       15    0        5     1     0     1     1     0     8    0
pfstkey    128       15    0        5     1     0     1     1     0     8    0
pfstate    384       15    0        5     2     0     2     2     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      512    0      100    30     2    28    30     0     8    0
art_table   32      513    0      100     4     0     4     4     0     8    0
art_node    16      123    0       33     1     0     1     1     0     8    0
sysvmsgpl   40        8    0        2     1     0     1     1     0     8    0
semupl     112        2    0        2     1     1     0     1     0     8    0
semapl     112      118    0      108     1     0     1     1     0     8    0
shmpl      112        3    0        0     1     0     1     1     0     8    0
dirhash    1024      17    0        0     3     0     3     3     0     8    0
dino2pl    256     2227    0      789    91     0    91    91     0     8    0
ffsino     272     2227    0      789    97     0    97    97     0     8    0
nchpl      144     2973    0     1334    63     0    63    63     0     8    0
uvmvnodes   80     2611    0        0    54     0    54    54     0     8    0
vnodes     216     2611    0        0   146     0   146   146     0     8    0
namei      1024   11344    0    11342     2     1     1     2     0     8    0
percpumem   16       53    0       10     1     0     1     1     0     8    0
kstatmem   264       42    0       18     2     0     2     2     0     8    0
scxspl     216     9550    0     9549    10     9     1     8     0     8    0
plimitpl   152      189    0      173     1     0     1     1     0     8    0
sigapl     424      795    0      751     8     1     7     7     0     8    0
futexpl     64     3772    0     3772     2     1     1     1     0     8    1
knotepl    120      237    0        0     7     0     7     7     0     8    0
kqueuepl   216      184    0      175     5     4     1     5     0     8    0
pipepl     320      294    0      266     9     6     3     8     0     8    0
fdescpl    496      777    0      752     5     0     5     5     0     8    0
filepl     152     5336    0     5093    20    10    10    19     0     8    0
lockfpl    104       70    0       68     1     0     1     1     0     8    0
lockfspl    48       33    0       31     1     0     1     1     0     8    0
sessionpl  144       26    0        9     1     0     1     1     0     8    0
pgrppl      48       29    0       12     1     0     1     1     0     8    0
ucredpl    104     1522    0     1510     1     0     1     1     0     8    0
zombiepl   144      752    0      751     1     0     1     1     0     8    0
processpl  1072     795    0      751     4     0     4     4     0     8    0
procpl     696     1484    0     1423     9     2     7     8     0     8    0
sosppl     168       10    0       10     2     2     0     1     0     8    0
sockpl     488      587    0      561    17    13     4    17     0     8    0
mcl64k     65536      4    0        0     1     0     1     1     0     8    0
mcl16k     16384      3    0        0     1     0     1     1     0     8    0
mcl12k     12288      7    0        0     1     0     1     1     0     8    0
mcl9k      9216       5    0        0     1     0     1     1     0     8    0
mcl8k      8192       6    0        0     1     0     1     1     0     8    0
mcl4k      4096       8    0        0     1     0     1     1     0     8    0
mcl2k      2048     537    0        0    67     1    66    67     0     8    0
mtagpl      96      141    0        0     4     0     4     4     0     8    0
mbufpl     256      665    0        0    40     0    40    40     0     8    0
bufpl      288     5943    0      149   414     0   414   414     0     8    0
anonpl      24   244805    0   229709   261    18   243   245     0   186  120
amapchunkpl 152   16659    0    15933    96     8    88    90     0   158   47
amappl16   200     3852    0     3326    44    14    30    43     0     8    0
amappl15   192        2    0        2     1     1     0     1     0     8    0
amappl14   184      169    0      154     2     0     2     2     0     8    0
amappl13   176        5    0        4     1     0     1     1     0     8    0
amappl12   168      432    0      427     1     0     1     1     0     8    0
amappl11   160       48    0       34     1     0     1     1     0     8    0
amappl10   152       43    0       34     1     0     1     1     0     8    0
amappl9    144      968    0      966     1     0     1     1     0     8    0
amappl8    136      164    0      120     2     0     2     2     0     8    0
amappl7    128      170    0      146     2     0     2     2     0     8    0
amappl6    120      178    0      166     2     1     1     2     0     8    0
amappl5    112      135    0      126     1     0     1     1     0     8    0
amappl4    104      511    0      479     2     1     1     2     0     8    0
amappl3     96     1753    0     1710     2     0     2     2     0     8    0
amappl2     88     1168    0     1092     4     2     2     4     0     8    0
amappl1     80    20069    0    19377    28    10    18    28     0     8    0
amappl      88     4680    0     4508     6     1     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        5    0        0     1     0     1     1     0     8    0
uaddrrnd    24      778    0      753     1     0     1     1     0     8    0
uaddrbest   32        2    0        0     1     0     1     1     0     8    0
uaddr       24      778    0      753     1     0     1     1     0     8    0
vmmpekpl   168    12631    0    12566     4     0     4     4     0     8    0
vmmpepl    168    82692    0    80224   169    21   148   152     0   357   22
vmsppl     440      777    0      753     6     2     4     5     0     8    0
rwobjpl     56    26732    0    22479    63     1    62    62     0     8    0
pdppl      4096    1563    0     1506   137    68    69    81     0     8   12
pvpl        32   541202    0   521110   481    48   433   438     0   265  219
pmappl     248      777    0      753     3     1     2     3     0     8    0
extentpl    40       56    0       38     1     0     1     1     0     8    0
phpool     112      897    0       81    24     0    24    24     0     8    0
ddb{0}> machine ddbcpu 0
Invalid cpu 0
ddb{0}> trace
db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437
panic(ffffffff82751deb) at panic+0x177 sys/kern/subr_prf.c:198
__assert(ffffffff827cd2be,ffffffff827b612f,136,ffffffff82795411) at __assert+0x25 sys/kern/subr_prf.c:157
buf_free_pages(fffffd8058ffb040) at buf_free_pages+0x1c2 sys/kern/vfs_biomem.c:299
buf_dealloc_mem(fffffd8058ffb040) at buf_dealloc_mem+0xdf sys/kern/vfs_biomem.c:179
buf_put(fffffd8058ffb040) at buf_put+0x161 sys/kern/vfs_bio.c:129
brelse(fffffd8058ffb040) at brelse+0x5b3 sys/kern/vfs_bio.c:957
vinvalbuf(fffffd807275fbd0,2,fffffd807f7d7888,ffff8000212435e8,0,ffffffffffffffff) at vinvalbuf+0x391 sys/kern/vfs_subr.c:2021
ffs_truncate(fffffd8067817780,0,4,fffffd807f7d7888) at ffs_truncate+0xf2a sys/ufs/ffs/ffs_inode.c:326
ufs_rmdir(ffff80002c9fb9e8) at ufs_rmdir+0x3a9 sys/ufs/ufs/ufs_vnops.c:1343
VOP_RMDIR(fffffd8067ce4cf8,fffffd807275fbd0,ffff80002c9fbac8) at VOP_RMDIR+0x122 sys/kern/vfs_vops.c:407
dounlinkat(ffff8000212435e8,ffffff9c,7f7ffffc7ee0,8) at dounlinkat+0x20e sys/kern/vfs_syscalls.c:1881
syscall(ffff80002c9fbc40) at syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline]
syscall(ffff80002c9fbc40) at syscall+0x5e2 sys/arch/amd64/amd64/trap.c:625
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x7f7ffffc7ed0, count: -14
ddb{0}> machine ddbcpu 1
Stopped at      x86_ipi_db+0x1a:        addq    $0x8,%rsp
x86_ipi_db(ffff800020d68ff0) at x86_ipi_db+0x1a 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+0x23
__mp_lock(ffffffff82db6020) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline]
__mp_lock(ffffffff82db6020) at __mp_lock+0x122 sys/kern/kern_lock.c:147
__mp_acquire_count(ffffffff82db6020,1) at __mp_acquire_count+0x48 sys/kern/kern_lock.c:227
mi_switch() at mi_switch+0x3bb sys/kern/sched_bsd.c:405
sleep_finish(ffff800023d3e930,1) at sleep_finish+0x180 sys/kern/kern_synch.c:417
tsleep(fffffd807e996db8,11,ffffffff82818941,0) at tsleep+0x12c sys/kern/kern_synch.c:155
getblk(fffffd807efb46c0,320,4000,0,ffffffffffffffff) at getblk+0x13c sys/kern/vfs_bio.c:1028
bread(fffffd807efb46c0,320,4000,ffff800023d3ebd8) at bread+0x3a bio_doread sys/kern/vfs_bio.c:433 [inline]
bread(fffffd807efb46c0,320,4000,ffff800023d3ebd8) at bread+0x3a sys/kern/vfs_bio.c:478
ffs_update(fffffd807272e440,1) at ffs_update+0x14b sys/ufs/ffs/ffs_inode.c:91
ufs_mkdir(ffff800023d3edd0) at ufs_mkdir+0x662 sys/ufs/ufs/ufs_vnops.c:1220
VOP_MKDIR(fffffd8065a5c1d8,ffff800023d3ef30,ffff800023d3ef60,ffff800023d3ee60) at VOP_MKDIR+0xbf sys/kern/vfs_vops.c:388
domkdirat(ffff800021202af0,ffffff9c,7f7fffff1e20,1ff) at domkdirat+0x121 sys/kern/vfs_syscalls.c:3112
end trace frame: 0xffff800023d3f0d0, count: 0
ddb{1}> trace
x86_ipi_db(ffff800020d68ff0) at x86_ipi_db+0x1a 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+0x23
__mp_lock(ffffffff82db6020) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline]
__mp_lock(ffffffff82db6020) at __mp_lock+0x122 sys/kern/kern_lock.c:147
__mp_acquire_count(ffffffff82db6020,1) at __mp_acquire_count+0x48 sys/kern/kern_lock.c:227
mi_switch() at mi_switch+0x3bb sys/kern/sched_bsd.c:405
sleep_finish(ffff800023d3e930,1) at sleep_finish+0x180 sys/kern/kern_synch.c:417
tsleep(fffffd807e996db8,11,ffffffff82818941,0) at tsleep+0x12c sys/kern/kern_synch.c:155
getblk(fffffd807efb46c0,320,4000,0,ffffffffffffffff) at getblk+0x13c sys/kern/vfs_bio.c:1028
bread(fffffd807efb46c0,320,4000,ffff800023d3ebd8) at bread+0x3a bio_doread sys/kern/vfs_bio.c:433 [inline]
bread(fffffd807efb46c0,320,4000,ffff800023d3ebd8) at bread+0x3a sys/kern/vfs_bio.c:478
ffs_update(fffffd807272e440,1) at ffs_update+0x14b sys/ufs/ffs/ffs_inode.c:91
ufs_mkdir(ffff800023d3edd0) at ufs_mkdir+0x662 sys/ufs/ufs/ufs_vnops.c:1220
VOP_MKDIR(fffffd8065a5c1d8,ffff800023d3ef30,ffff800023d3ef60,ffff800023d3ee60) at VOP_MKDIR+0xbf sys/kern/vfs_vops.c:388
domkdirat(ffff800021202af0,ffffff9c,7f7fffff1e20,1ff) at domkdirat+0x121 sys/kern/vfs_syscalls.c:3112
syscall(ffff800023d3f0e0) at syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline]
syscall(ffff800023d3f0e0) at syscall+0x5e2 sys/arch/amd64/amd64/trap.c:625
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x7f7fffff1e90, count: -16

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