syzbot


panic: kernel diagnostic assertion "pg->wire_count != NUM" failed: file "/syzkaller/managers/multicore/kernel/sys/uvm/uv

Status: upstream: reported on 2026/05/24 22:34
Reported-by: syzbot+61588d0185a27d61b032@syzkaller.appspotmail.com
First crash: 46d, last: 26d

Sample crash report:
panic: kernel diagnostic assWeArRtNiIoNnG:  S"pgP-L> wNiOreT_ cLoOWuERntED  !O= N0 " SfYSaCiALlLe d1: 3f6il e1 53"1/0sy5z35k0a4l leErX/ImTana g0 e9r
s/Stopped at    savectx+0xae:   movl    $0,%gs:0x688
    TID    PID    UID     PRFLAGS     PFLAGS  CPU  COMMAND
* 28474  15959      0         0x2          0    1  syz-executor
savectx() at savectx+0xae
end of kernel
end trace frame: 0x72ff5b420660, count: 14
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
*cpu0: kernel diagnostic assertion "pg->wire_count != 0" failed: file "/syzkaller/managers/multicore/kernel/sys/uvm/uvm_page.c", line 1207
ddb{1}> trace
savectx() at savectx+0xae
end of kernel
end trace frame: 0x72ff5b420660, count: -1
ddb{1}> show registers
rdi                                0
rsi                                0
rbp               0xffff80002a35cf30
rbx                                0
rdx                                0
rcx               0xffff8000fffeea78
rax                             0x3c
r8                0xffff80002a35ce60
r9                                 0
r10               0xac269bb508cf7e30
r11               0x8c49c71786e764b8
r12                                0
r13                                0
r14               0xffff8000fffeea78
r15                                0
rip               0xffffffff8270b3ee    savectx+0xae
cs                               0x8
rflags                          0x46
rsp               0xffff80002a35ceb0
ss                              0x10
savectx+0xae:   movl    $0,%gs:0x688
ddb{1}> show proc
PROC (syz-executor) tid=28474 pid=15959 tcnt=1 stat=onproc
    flags process=2<EXEC> proc=0
    runpri=17, usrpri=50, slppri=17, nice=20
    wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0
    forw=0xffffffffffffffff, list=0xffff8000fffef240,0xffff8000fffef780
    process=0xffff8000ffff5ce8 user=0xffff80002a357000, vmspace=0xfffff3006f3733d8
    estcpu=36, cpticks=16, pctcpu=0.8, user=1, sys=14, intr=1
ddb{1}> ps
   PID     TID   PPID    UID  S       FLAGS  WAIT          COMMAND
 16028  495620  56742      0  2         0x2                syz-executor
 52706  301052  31689      0  2           0                syz-executor
 52706  422169  31689      0  3   0x4000080  fsleep        syz-executor
 27709  371992  95120      0  2           0                syz-executor
 14235  416385  55807      0  2           0                syz-executor
 14235  425807  55807      0  3   0x4000080  fsleep        syz-executor
 62122  305445  38613      0  2           0                syz-executor
 62122  212442  38613      0  3   0x4000080  fsleep        syz-executor
 22046  400336      1      0  2           0                syz-executor
 22046  427653      1      0  3   0x4000080  fifor         syz-executor
 22046  256709      1      0  3   0x4000080  fifor         syz-executor
 22046  518258      1      0  3   0x4000080  fifor         syz-executor
 22046   41693      1      0  3   0x4000080  fifor         syz-executor
 22046    9391      1      0  3   0x4000080  fsleep        syz-executor
 22046   93887      1      0  2   0x4000000                syz-executor
  6723  107358  90962      0  2           0                syz-executor
  6723  499311  90962      0  3   0x4000080  fsleep        syz-executor
 67819  199151  56742      0  2       0xc82                syz-executor
 32666   27505      0      0  3     0x14200  acct          acct
*15959   28474  56742      0  7         0x2                syz-executor
 95120  344277  56742      0  2       0xc82                syz-executor
 55807  287599  56742      0  2       0xc82                syz-executor
 90962  350937  56742      0  2       0xc82                syz-executor
 38613  366601  56742      0  2       0xc82                syz-executor
 31689  361400  56742      0  2       0xc82                syz-executor
 56742  475517  48403      0  3        0x82  kqread        syz-executor
 48403  179912  52303      0  3    0x10008a  sigsusp       ksh
 52303  208956  14862      0  3        0x98  kqread        sshd-session
 14862  276653  27183      0  3        0x92  kqread        sshd-session
 69250  522892      1      0  3    0x100083  ttyin         getty
 27183   17546      1      0  3        0x88  kqread        sshd
 56569  200619  16234     74  3   0x1100092  bpf           pflogd
 16234  380099      1      0  3        0x80  sbwait        pflogd
 57311  114035   7355     73  3   0x1100090  kqread        syslogd
  7355  283836      1      0  3    0x100082  sbwait        syslogd
 25883   80547      1      0  3    0x100080  kqread        resolvd
 77492  407225    267     77  3    0x100092  kqread        dhcpleased
 54394  480307    267     77  3    0x100092  kqread        dhcpleased
   267  317167      1      0  3        0x80  kqread        dhcpleased
 98576   97367      0      0  3     0x14200  bored         smr
  2336  368657      0      0  2     0x14200                zerothread
 52656  428314      0      0  3     0x14200  aiodoned      aiodoned
 34499  108449      0      0  3     0x14200  syncer        update
 20667  313358      0      0  3     0x14200  cleaner       cleaner
  2574  216331      0      0  3     0x14200  reaper        reaper
 77692  358593      0      0  3     0x14200  pgdaemon      pagedaemon
 79525  442704      0      0  3     0x14200  bored         viomb
  5113  500188      0      0  3  0x40014200  acpi0         acpi0
 75731  284238      0      0  3  0x40014200                idle1
 55582  184339      0      0  3     0x14200  bored         softnet1
 22886  326765      0      0  3     0x14200  bored         softnet0
 99923   68835      0      0  3     0x14200  bored         systqmp
 69025  495134      0      0  3     0x14200  bored         systq
 21367  332367      0      0  3     0x14200  tmoslp        softclockmp
 44866  168710      0      0  3  0x40014200  tmoslp        softclock
 13770  269093      0      0  3  0x40014200                idle0
     1  386028      0      0  3        0x82  wait          init
     0       0     -1      0  3     0x10200  scheduler     swapper
ddb{1}> show all locks
CPU 1:
exclusive mutex namei r = 0 (0xffffffff83a0c2e8)
#0  witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline]
#0  witness_lock+0x5f1 sys/kern/subr_witness.c:1160
#1  mtx_enter+0x4b4 sys/kern/kern_lock.c:487
#2  pool_get+0x124 sys/kern/subr_pool.c:585
#3  namei+0xdf sys/kern/vfs_lookup.c:145
#4  domkdirat+0x8b sys/kern/vfs_syscalls.c:3047
#5  syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline]
#5  syscall+0xb17 sys/arch/amd64/amd64/trap.c:783
#6  Xsyscall+0x128
Process 15959 (syz-executor) thread 0xffff8000fffeea78 (28474)
exclusive kernel_lock &kernel_lock r = 0 (0xffffffff83ae20c0)
#0  witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline]
#0  witness_lock+0x5f1 sys/kern/subr_witness.c:1160
#1  syscall+0xaf4 mi_syscall sys/sys/syscall_mi.h:175 [inline]
#1  syscall+0xaf4 sys/arch/amd64/amd64/trap.c:783
#2  Xsyscall+0x128
exclusive mutex namei r = 0 (0xffffffff83a0c2e8)
#0  witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline]
#0  witness_lock+0x5f1 sys/kern/subr_witness.c:1160
#1  mtx_enter+0x4b4 sys/kern/kern_lock.c:487
#2  pool_get+0x124 sys/kern/subr_pool.c:585
#3  namei+0xdf sys/kern/vfs_lookup.c:145
#4  domkdirat+0x8b sys/kern/vfs_syscalls.c:3047
#5  syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline]
#5  syscall+0xb17 sys/arch/amd64/amd64/trap.c:783
#6  Xsyscall+0x128
ddb{1}> show malloc
           Type InUse  MemUse  HighUse   Limit  Requests Type Lim
         devbuf 11070  12241K   12422K 166960K     12368        0
            pcb    19     12K      12K 166960K        46        0
         rtable   225      7K       9K 166960K       428        0
             pf    34     17K      24K 166960K        88        0
         ifaddr    39      6K       7K 166960K        55        0
        ifgroup    51      2K       2K 166960K        67        0
         sysctl     1      1K       9K 166960K         7        0
       counters    68     36K      37K 166960K        86        0
       ioctlops     0      0K       4K 166960K      1510        0
            iov     0      0K      12K 166960K        11        0
          mount     1      1K       1K 166960K         1        0
            log     0      0K       0K 166960K         4        0
         vnodes  1370     86K      86K 166960K      1577        0
      UFS quota     1     32K      32K 166960K         1        0
      UFS mount     5     36K      36K 166960K         5        0
            shm     2      1K       9K 166960K         6        0
         VM map     2      1K       1K 166960K         2        0
            sem    10      0K       0K 166960K        13        0
        dirhash    12      2K       2K 166960K        15        0
           ACPI  1692    195K     286K 166960K     12470        0
      file desc    16     57K      97K 166960K       305        0
          sigio     0      0K       0K 166960K         3        0
           proc    72    115K     180K 166960K       598        0
        subproc    74      4K       5K 166960K       101        0
    NFS srvsock     1      0K       0K 166960K         1        0
     NFS daemon     1     16K      16K 166960K         1        0
    ip_moptions     0      0K       0K 166960K        22        0
       in_multi    88      6K       7K 166960K       113        0
    ether_multi     1      0K       0K 166960K         1        0
            mrt     0      0K       0K 166960K         6        0
    ISOFS mount     1     32K      32K 166960K         1        0
  MSDOSFS mount     1     16K      16K 166960K         1        0
           ttys    73    334K     334K 166960K        73        0
           exec     0      0K       1K 166960K       421        0
   fusefs mount     1     32K      32K 166960K         1        0
            tdb     3      0K       0K 166960K         3        0
        VM swap     8     62K      64K 166960K        10        0
       UVM amap   243    169K     170K 166960K      4642        0
       UVM aobj     9      2K       2K 166960K         9        0
     pinsyscall    41     82K     105K 166960K      1527        0
        memdesc     1      4K       4K 166960K         1        0
    crypto data     1      1K       1K 166960K         1        0
    ip6_options     0      0K       0K 166960K         3        0
            NDP    11      0K       2K 166960K        35        0
           temp    44   9111K    9175K 166960K     12399        0
         kqueue    14     22K      26K 166960K        49        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       26    0        0     1     0     1     1     0     8    0
rtpcb      120       52    0       48     1     0     1     1     0     8    0
rtentry    176      122    0       23     6     0     6     6     0     8    0
unpcb      144      252    0      233     6     5     1     6     0     8    0
syncache   336        5    0        5     1     1     0     1     0     8    0
tcpcb      736       44    0       39     1     0     1     1     0     8    0
arp        136       20    0        4     1     0     1     1     0     8    0
inpcb      328      177    0      167     2     0     2     2     0     8    0
nd6        152       27    0        6     1     0     1     1     0     8    0
kcovpl      48       11    0        3     1     0     1     1     0     8    0
mppekey    1024       1    0        1     1     1     0     1     0     8    0
ppxss      1192       7    0        7     1     1     0     1     0     8    0
pfstscr     40        2    0        2     1     1     0     1     0     8    0
pffrag     232        1    0        0     1     0     1     1     0   482    0
pffrnode    88        1    0        0     1     0     1     1     0     8    0
pffrent     40        1    0        0     1     0     1     1     0     8    0
pfosfp      40     1428    0     1005     5     0     5     5     0     8    0
pfosfpen   112     1428    0      714    21     0    21    21     0     8    0
pfrktable  1344       8    0        8     1     1     0     1     0     8    0
pfanchor   1288       6    0        2     1     0     1     1     0     8    0
pftag       88        4    0        2     1     0     1     1     0     8    0
pfstitem    24       25    0        0     1     0     1     1     0     8    0
pfstkey    128       27    0        2     1     0     1     1     0     8    0
pfstate    448       26    0        1     3     0     3     3     0     8    0
pfrule     1360      24    0       18     2     1     1     2     0     8    0
art_heap8  4096       1    0        0     1     0     1     1     0     8    0
art_heap4  256      497    0       88    29     3    26    29     0     8    0
art_table   40      498    0       88     5     0     5     5     0     8    0
art_node    32      122    0       32     1     0     1     1     0     8    0
sysvmsgpl   40        2    0        0     1     0     1     1     0     8    0
semapl      72       10    0        2     1     0     1     1     0     8    0
shmpl      112        6    0        0     1     0     1     1     0     8    0
dirhash    1024      19    0        2     3     0     3     3     0     8    0
dino2pl    256     1826    0      355    93     0    93    93     0     8    0
ffsino     296     1826    0      355   114     0   114   114     0     8    0
nchpl      144     2223    0      517    64     0    64    64     0     8    0
vnodes     216     2078    0        0   116     0   116   116     0     8    0
namei      1024    7258    0     7258     2     1     1     2     0     8    1
percpumem   16       58    0        9     1     0     1     1     0     8    0
pfiaddrpl  120        2    0        2     1     1     0     1     0     8    0
kstatmem   264       37    0       12     2     0     2     2     0     8    0
scsiplug    72        2    0        2     1     1     0     1     0     8    0
scxspl     216     7419    0     7419     3     2     1     2     1     8    1
plimitpl   152       50    0       31     1     0     1     1     0     8    0
sigapl     424      627    0      579     7     1     6     7     0     8    0
knotepl    120      378    0        0    12     0    12    12     0     8    0
kqueuepl   224       71    0       60     1     0     1     1     0     8    0
pipepl     344      145    0      117     3     0     3     3     0     8    0
fdescpl    528      610    0      580     3     0     3     3     0     8    0
filepl     160     2792    0     2567    15     5    10    15     0     8    0
lockfpl    104       89    0       86     1     0     1     1     0     8    0
lockfspl    48       42    0       39     1     0     1     1     0     8    0
sessionpl  144       70    0       61     1     0     1     1     0     8    0
pgrppl      48       87    0       69     1     0     1     1     0     8    0
ucredpl    104      253    0      240     1     0     1     1     0     8    0
zombiepl   144      580    0      579     2     1     1     1     0     8    0
processpl  1232     627    0      579     5     1     4     5     0     8    0
procpl     664      884    0      826     6     0     6     6     0     8    0
sosppl     176        3    0        3     1     1     0     1     0     8    0
sockpl     752      486    0      453    17    13     4    17     0     8    0
mcl64k     65536      2    0        0     1     0     1     1     0     8    0
mcl16k     16384      3    0        0     1     0     1     1     0     8    0
mcl12k     12288      1    0        0     1     0     1     1     0     8    0
mcl8k      8192       3    0        0     1     0     1     1     0     8    0
mcl4k      4096     136    0        0    17     0    17    17     0     8    0
mcl2k      2048      27    0        0     4     0     4     4     0     8    0
mtagpl      96        3    0        0     1     0     1     1     0     8    0
mbufpl     256      171    0        0    11     0    11    11     0     8    0
bufpl      272     5156    0      106   337     0   337   337     0     8    0
anonpl      32    10382    0        0    84     0    84    84     0   246    0
amapchunkpl 152   14560    0    13793    45    11    34    34     0   158    2
amappl16   200     1724    0     1695     5     3     2     5     0     8    0
amappl15   192        6    0        6     1     1     0     1     0     8    0
amappl14   184      454    0      453     1     0     1     1     0     8    0
amappl13   176      142    0      130     1     0     1     1     0     8    0
amappl12   168      871    0      842     2     0     2     2     0     8    0
amappl11   160        2    0        2     1     1     0     1     0     8    0
amappl10   152      101    0       86     1     0     1     1     0     8    0
amappl9    144      279    0      278     1     0     1     1     0     8    0
amappl8    136      107    0      104     1     0     1     1     0     8    0
amappl7    128      151    0      138     1     0     1     1     0     8    0
amappl6    120      168    0      165     1     0     1     1     0     8    0
amappl5    112       98    0       88     1     0     1     1     0     8    0
amappl4    104      303    0      282     1     0     1     1     0     8    0
amappl3     96     2535    0     2419     4     0     4     4     0     8    0
amappl2     88      681    0      618     2     0     2     2     0     8    0
amappl1     80    11264    0    10660    15     1    14    15     0     8    0
amappl      88     3834    0     3665     5     0     5     5     0    92    0
uvmvnodes   80      104    0        0     3     0     3     3     0     8    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       18    0       17     1     0     1     1     0     8    0
aobjpl      72        8    0        0     1     0     1     1     0     8    0
uaddrrnd    24      610    0      579     1     0     1     1     0     8    0
uaddrbest   32        2    0        0     1     0     1     1     0     8    0
uaddr       24      610    0      579     1     0     1     1     0     8    0
vmmpekpl   168     6963    0     6918     3     0     3     3     0     8    0
vmmpepl    168    47662    0    45738    90     2    88    88     0   357    0
vmsppl     488      609    0      579     5     0     5     5     0     8    0
rwobjpl     80    16503    0    15428    24     0    24    24     0     8    0
pdppl      4096    1227    0     1158   109    38    71    87     0     8    2
pvpl        32    30721    0        0   248     0   248   248     0   265    0
pmappl     256      609    0      579     3     0     3     3     0     8    0
extentpl    40       45    0       27     1     0     1     1     0     8    0
phpool     112      623    0       47    17     0    17    17     0     8    0
ddb{1}> machine ddbcpu 0
Stopped at      x86_ipi_db+0x27:        addq    $0x8,%rsp
x86_ipi_db(ffffffff83985ff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:394
x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106
Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27
x86_bus_space_io_read_4(b008,0) at x86_bus_space_io_read_4+0x37 sys/arch/amd64/amd64/bus_space.c:682
acpitimer_delay(1) at acpitimer_delay+0x194 acpitimer_read sys/dev/acpi/acpitimer.c:142 [inline]
acpitimer_delay(1) at acpitimer_delay+0x194 sys/dev/acpi/acpitimer.c:125
comcnputc(800,2f) at comcnputc+0x29b sys/dev/ic/com.c:1274
cnputc(2f) at cnputc+0x67 sys/dev/cons.c:218
db_putchar(2f) at db_putchar+0x36d sys/ddb/db_output.c:155
kprintf() at kprintf+0x29c5 sys/kern/subr_prf.c:-1
db_printf(ffffffff83497404) at db_printf+0x9b sys/kern/subr_prf.c:-1
panic(ffffffff834be1e0) at panic+0x103 sys/kern/subr_prf.c:217
__assert(ffffffff834f943f,ffffffff834e8806,4b7,ffffffff8344a743) at __assert+0x29 sys/kern/subr_prf.c:-1
uvm_pageunwire(fffff300085c6bc8) at uvm_pageunwire+0x17d sys/uvm/uvm_page.c:1206
uvm_fault_unwire_locked(fffff3006c4b0b90,6174ec87000,6174f086000) at uvm_fault_unwire_locked+0x33a sys/uvm/uvm_fault.c:1790
end trace frame: 0xffff800032785330, count: 0
ddb{0}> trace
x86_ipi_db(ffffffff83985ff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:394
x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106
Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27
x86_bus_space_io_read_4(b008,0) at x86_bus_space_io_read_4+0x37 sys/arch/amd64/amd64/bus_space.c:682
acpitimer_delay(1) at acpitimer_delay+0x194 acpitimer_read sys/dev/acpi/acpitimer.c:142 [inline]
acpitimer_delay(1) at acpitimer_delay+0x194 sys/dev/acpi/acpitimer.c:125
comcnputc(800,2f) at comcnputc+0x29b sys/dev/ic/com.c:1274
cnputc(2f) at cnputc+0x67 sys/dev/cons.c:218
db_putchar(2f) at db_putchar+0x36d sys/ddb/db_output.c:155
kprintf() at kprintf+0x29c5 sys/kern/subr_prf.c:-1
db_printf(ffffffff83497404) at db_printf+0x9b sys/kern/subr_prf.c:-1
panic(ffffffff834be1e0) at panic+0x103 sys/kern/subr_prf.c:217
__assert(ffffffff834f943f,ffffffff834e8806,4b7,ffffffff8344a743) at __assert+0x29 sys/kern/subr_prf.c:-1
uvm_pageunwire(fffff300085c6bc8) at uvm_pageunwire+0x17d sys/uvm/uvm_page.c:1206
uvm_fault_unwire_locked(fffff3006c4b0b90,6174ec87000,6174f086000) at uvm_fault_unwire_locked+0x33a sys/uvm/uvm_fault.c:1790
uvm_unmap_kill_entry_withlock(fffff3006c4b0b90,fffff3006c48e3b0,0) at uvm_unmap_kill_entry_withlock+0x81 sys/uvm/uvm_map.c:1866
uvm_map_teardown(fffff3006c4b0b90) at uvm_map_teardown+0x117 uvm_map_addr_RBT_LEFT sys/uvm/uvm_map.h:-1 [inline]
uvm_map_teardown(fffff3006c4b0b90) at uvm_map_teardown+0x117 sys/uvm/uvm_map.c:2497
exit1(ffff80003c3b8d18,0,0,1) at exit1+0x6fc sys/kern/kern_exit.c:260
sys_exit(ffff80003c3b8d18,ffff800032785510,ffff800032785460) at sys_exit+0x1a sys/kern/kern_exit.c:-1
syscall(ffff800032785510) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline]
syscall(ffff800032785510) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:783
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x70971a027d70, count: -20
ddb{0}> machine ddbcpu 1
Stopped at      savectx+0xae:   movl    $0,%gs:0x688
savectx() at savectx+0xae
end of kernel
end trace frame: 0x72ff5b420660, count: 14
ddb{1}> trace
savectx() at savectx+0xae
end of kernel
end trace frame: 0x72ff5b420660, count: -1

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/06/14 04:05 openbsd 46410a2bd49b 4f06757f .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: kernel diagnostic assertion "pg->wire_count != NUM" failed: file "/syzkaller/managers/multicore/kernel/sys/uvm/uv
2026/05/24 22:34 openbsd 6adc68a286a5 c69befb3 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: kernel diagnostic assertion "pg->wire_count != NUM" failed: file "/syzkaller/managers/multicore/kernel/sys/uvm/uv
* Struck through repros no longer work on HEAD.