syzbot


panic: kernel diagnosti

Status: upstream: reported on 2025/12/20 04:06
Reported-by: syzbot+7a633dea3fd892638bce@syzkaller.appspotmail.com
First crash: 3d16h, last: 3d09h

Sample crash report:
panic: kernel diagnosti
c assertion "(pg->pg_fl
ags & (PQ_INACTIVE|PQ_A
CTIVE)) == 0" failed: f
ile "/syzkaller/manager
s/main/kernel/sys/uvm/u
vm_page.c", line 1306
Stopped at      db_ente
r+0x25: addq    $0x8,%r
sp
    TID    PID    UID     P
RFLAGS     PFLAGS  CPU  C
OMMAND
*160738  17253      0           0
          0    0  syz-e
xecutor
db_enter() at db_enter+
0x25
panic(ffffffff833791f3)
 at panic+0x1cf sys/kern/subr_prf.c:198
__assert(ffffffff833b9a
e2,ffffffff833a5ef6,51a
,ffffffff833eb71f) at _
_assert+0x29
uvm_pageactivate(fffffd
8006e5e300) at uvm_page
activate+0x1e2
uvm_fault_lower(ffff800
037e38e30,ffff800037e38
e68,ffff800037e38db0) a
t uvm_fault_lower+0x22a

uvm_fault(fffffd806c9cd
a28,200000000000,0,2) a
t uvm_fault+0x241
upageflttrap(ffff800037
e38fd0,200000000040) at
 upageflttrap+0xa0
usertrap(ffff800037e38f
d0) at usertrap+0x413 sys/arch/amd64/amd64/trap.c:632
recall_trap() at recall
_trap+0x8
end of kernel
end trace frame: 0x7842
ab0b6c20, count: 6
https://www.openbsd.org
/ddb.html describes the
 minimum info required i
n bug
reports.  Insufficient i
nfo makes it difficult t
o find and fix bugs.
ddb> 
ddb> set $lines = 0
ddb> set $maxwidth = 0
ddb> show panic
*cpu0: kernel diagnostic assertion "(pg->pg_flags & (PQ_INACTIVE|PQ_ACTIVE)) == 0" failed: file "/syzkaller/managers/main/kernel/sys/uvm/uvm_page.c", line 1306
ddb> trace
db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438
panic(ffffffff833791f3) at panic+0x1cf sys/kern/subr_prf.c:198
__assert(ffffffff833b9ae2,ffffffff833a5ef6,51a,ffffffff833eb71f) at __assert+0x29 sys/kern/subr_prf.c:-1
uvm_pageactivate(fffffd8006e5e300) at uvm_pageactivate+0x1e2 sys/uvm/uvm_page.c:1303
uvm_fault_lower(ffff800037e38e30,ffff800037e38e68,ffff800037e38db0) at uvm_fault_lower+0x22a sys/uvm/uvm_fault.c:1391
uvm_fault(fffffd806c9cda28,200000000000,0,2) at uvm_fault+0x241 sys/uvm/uvm_fault.c:-1
upageflttrap(ffff800037e38fd0,200000000040) at upageflttrap+0xa0 sys/arch/amd64/amd64/trap.c:192
usertrap(ffff800037e38fd0) at usertrap+0x413 sys/arch/amd64/amd64/trap.c:632
recall_trap() at recall_trap+0x8
end of kernel
end trace frame: 0x7842ab0b6c20, count: -9
ddb> show registers
rdi                                0
rsi                              0x1
rbp               0xffff800037e38b70
rbx                                0
rdx                                0
rcx                                0
rax               0xffff80003c93afb0
r8                 0x101010101010101
r9                0x8080808080808080
r10               0x735278ebe4b070e3
r11               0x75d7d3770a59dd82
r12                                0
r13               0xfffffd8006e5e300
r14                                0
r15                              0x1
rip               0xffffffff81744d05    db_enter+0x25
cs                               0x8
rflags                         0x246
rsp               0xffff800037e38b60
ss                                 0
db_enter+0x25:  addq    $0x8,%rsp
ddb> show proc
PROC (syz-executor) tid=160738 pid=17253 tcnt=3 stat=onproc
    flags process=0 proc=0
    runpri=86, usrpri=86, slppri=32, nice=20
    wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0
    forw=0xffffffffffffffff, list=0xffff80002a7a6010,0xffff80003c93b258
    process=0xffff8000ffff8918 user=0xffff800037e34000, vmspace=0xfffffd806c9cda28
    estcpu=36, cpticks=6, pctcpu=0.0, user=4, sys=2, intr=0
ddb> ps
   PID     TID   PPID    UID  S       FLAGS  WAIT          COMMAND
*17253  160738   1434      0  7           0                syz-executor
 17253  167541   1434      0  3   0x4000080  fsleep        syz-executor
 17253   87000   1434      0  3   0x4000080  fsleep        syz-executor
 33634  402595  90861      0  2           0                syz-executor
 33634  407213  90861      0  3   0x4000080  fsleep        syz-executor
 33634  203760  90861      0  3   0x4000080  fsleep        syz-executor
 65950   83865  94858      0  2           0                syz-executor
 65950  348637  94858      0  3   0x4000080  lockf         syz-executor
 65950  231666  94858      0  3   0x4000080  fsleep        syz-executor
 65950  348255  94858      0  3   0x4000080  fsleep        syz-executor
 53503  253739  38124      0  2           0                syz-executor
 53503  111527  38124      0  2   0x4000000                syz-executor
 75098  221207  78961      0  2           0                syz-executor
 47905  221780  64786      0  3      0x3000  suspend       syz-executor
 47905  249295  64786      0  2   0x4081000                syz-executor
 47905  258123  64786      0  2   0x4081000                syz-executor
 47905  182704  64786      0  2   0x4081000                syz-executor
 74007   85003  69437      0  2           0                syz-executor
 74007  283848  69437      0  3   0x4000080  fsleep        syz-executor
 74007  289095  69437      0  2   0x4000000                syz-executor
 74007  455891  69437      0  2   0x4000000                syz-executor
 78555  173961  10010      0  2           0                syz-executor
 78555  505372  10010      0  3   0x4000080  ttyout        syz-executor
 78555   35499  10010      0  3   0x4000080  ttyin         syz-executor
 78555  125206  10010      0  3   0x4000080  fsleep        syz-executor
 78961   18763  86534      0  2       0xc82                syz-executor
 94858  229853  86534      0  2       0xc82                syz-executor
 47246    7655      1      0  3    0x100083  ttyopn        getty
 10010  198734  86534      0  2       0xc82                syz-executor
 38124   43011  86534      0  2       0xc82                syz-executor
 69437  517291  86534      0  2       0xc82                syz-executor
 60754   48615      0      0  3     0x14280  nfsidl        nfsio
 31436  188286      0      0  3     0x14280  nfsidl        nfsio
 48601  515961      0      0  3     0x14280  nfsidl        nfsio
 99821   50136      0      0  3     0x14280  nfsidl        nfsio
 90871  483816      0      0  3     0x14280  nfsidl        nfsio
  7826  434982      0      0  3     0x14280  nfsidl        nfsio
 31427  365224      0      0  3     0x14280  nfsidl        nfsio
 23654    7212      0      0  3     0x14280  nfsidl        nfsio
 90410  463341      0      0  3     0x14280  nfsidl        nfsio
  8173  371016      0      0  3     0x14280  nfsidl        nfsio
 59955  297976      0      0  3     0x14280  nfsidl        nfsio
 42825  422332      0      0  3     0x14280  nfsidl        nfsio
 13295  295461      0      0  3     0x14280  nfsidl        nfsio
 21366  262291      0      0  3     0x14280  nfsidl        nfsio
 59843  270799      0      0  3     0x14280  nfsidl        nfsio
   560  508633      0      0  3     0x14280  nfsidl        nfsio
 12353   29695      0      0  3     0x14280  nfsidl        nfsio
 34749  466191      0      0  3     0x14280  nfsidl        nfsio
 53148   72358      0      0  3     0x14280  nfsidl        nfsio
  7397  215514      0      0  3     0x14280  nfsidl        nfsio
 64786  411196  86534      0  2       0xc82                syz-executor
 90861  223158  86534      0  2       0xc82                syz-executor
  1434  218531  86534      0  2       0xc82                syz-executor
 86534   91421  93667      0  3        0x82  kqread        syz-executor
 93667  474782  10232      0  3    0x10008a  sigsusp       ksh
 10232  190583  36750      0  3        0x98  kqread        sshd-session
 36750  515406  39347      0  3        0x92  kqread        sshd-session
 39347   88212      1      0  3        0x88  kqread        sshd
 77128  195617  10719     73  3   0x1100090  kqread        syslogd
 10719  126263      1      0  3    0x100082  sbwait        syslogd
 18815  189702      1      0  3    0x100080  kqread        resolvd
 27176  201587  55546     77  3    0x100092  kqread        dhcpleased
 70842  135512  55546     77  3    0x100092  kqread        dhcpleased
 55546  296448      1      0  3        0x80  kqread        dhcpleased
 41004  147682      0      0  3     0x14200  bored         smr
 59549  379171      0      0  2     0x14200                zerothread
 92003  488335      0      0  3     0x14200  aiodoned      aiodoned
 25515   88843      0      0  3     0x14200  syncer        update
 68012  321568      0      0  3     0x14200  cleaner       cleaner
 34735  392263      0      0  3     0x14200  reaper        reaper
 40126  114242      0      0  3     0x14200  pgdaemon      pagedaemon
 95086  363557      0      0  3     0x14200  bored         viomb
 37510  346673      0      0  3  0x40014200  acpi0         acpi0
 47769  365955      0      0  3     0x14200  bored         softnet0
 96968  131082      0      0  3     0x14200  bored         systqmp
 51997  417971      0      0  3     0x14200  bored         systq
 83737   74587      0      0  3  0x40014200  tmoslp        softclock
 74999  221668      0      0  3  0x40014200                idle0
     1  105928      0      0  3     0x80082  wait          init
     0       0     -1      0  3  0x10010200  scheduler     swapper
ddb> show all locks
No such command
ddb> show malloc
           Type InUse  MemUse  HighUse   Limit  Requests Type Lim
         devbuf 10217  11048K   12376K 166960K     15807        0
            pcb    17     17K      25K 166960K       863        0
         rtable   180     11K      11K 166960K       854        0
             pf    35     14K      17K 166960K       328        0
         ifaddr    31      5K       8K 166960K       181        0
        ifgroup    55      2K       2K 166960K       328        0
         sysctl     4      1K       9K 166960K        18        0
       counters    35     18K      18K 166960K       181        0
       ioctlops     0      0K       4K 166960K       658        0
            iov     0      0K      28K 166960K       264        0
          mount     1      1K       1K 166960K         1        0
            log     0      0K       0K 166960K         4        0
         vnodes  1575     99K      99K 166960K      4075        0
      UFS quota     1     32K      32K 166960K         1        0
      UFS mount     5     36K      36K 166960K         5        0
            shm     2      1K       9K 166960K        41        0
         VM map     2      1K       1K 166960K         2        0
            sem    12      0K       1K 166960K        87        0
        dirhash    12      2K       2K 166960K        30        0
           ACPI  1692    195K     286K 166960K     12470        0
      file desc    18     65K     240K 166960K      2372        0
          sigio     0      0K       0K 166960K       128        0
           proc    61     59K     100K 166960K      1014        0
        subproc    72      4K       4K 166960K       153        0
    NFS srvsock     1      0K       0K 166960K         1        0
     NFS daemon     1     16K      16K 166960K         1        0
    ip_moptions     0      0K       0K 166960K       472        0
       in_multi    53      4K       7K 166960K       262        0
    ether_multi     1      0K       0K 166960K        20        0
            mrt     0      0K       0K 166960K        12        0
    ISOFS mount     1     32K      32K 166960K         1        0
  MSDOSFS mount     1     16K      16K 166960K         1        0
           ttys   277   1235K    1235K 166960K       277        0
           exec     0      0K       1K 166960K       865        0
   fusefs mount     1     32K      32K 166960K         1        0
     pfkey data     0      0K       0K 166960K         3        0
            tdb     3      0K       0K 166960K         3        0
        VM swap     8     62K      64K 166960K        10        0
       UVM amap   238    144K     171K 166960K     22763        0
       UVM aobj    53     16K      16K 166960K        56        0
     pinsyscall    39     78K      94K 166960K      3706        0
        memdesc     1      4K       4K 166960K         1        0
    crypto data     1      1K       1K 166960K         1        0
    ip6_options     0      0K       0K 166960K       186        0
            NDP    12      0K       1K 166960K       138        0
           temp    79   8672K    8926K 166960K     97605        0
         kqueue    16     24K      32K 166960K       410        0
      SYN cache     2     16K      16K 166960K         2        0
ddb> show all pools
Name      Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle
rtpcb      120      207    0      200     1     0     1     1     0     8    0
rtentry    136      242    0      187     4     0     4     4     0     8    0
unpcb      144     1908    0     1892     4     0     4     4     0     8    3
syncache   336       15    0       15     2     1     1     1     0     8    1
tcpqe       32       18    0       18     2     1     1     1     0     8    1
tcpcb      736      893    0      889    16     8     8    10     0     8    7
arp         96       38    0       27     1     0     1     1     0     8    0
ipq         40       10    0        9     1     0     1     1     0     8    0
ipqe        40       16    0       15     1     0     1     1     0     8    0
inpcb      328     2477    0     2466    18    10     8    12     0     8    7
ip6q        72        8    0        8     1     0     1     1     0     8    1
ip6af       40       13    0       13     1     0     1     1     0     8    1
nd6        112       56    0       45     1     0     1     1     0     8    0
pkpcb       40       47    0       47     2     1     1     1     0     8    1
kcovpl      48       17    0        9     1     0     1     1     0     8    0
mppekey    1024       2    0        2     1     1     0     1     0     8    0
ppxss      1072     111    0      110     2     1     1     1     0     8    0
pppxif     1384      10    0        9     2     1     1     1     0     8    0
pfrktable  1344       1    0        1     1     0     1     1     0     8    1
pfrule     1344       2    0        1     1     0     1     1     0     8    0
rttmr      136        1    0        1     1     1     0     1     0     8    0
art_heap8  4096       4    0        0     4     0     4     4     0     8    0
art_heap4  256     1076    0      818    30    11    19    29     0     8    0
art_table   40     1080    0      818     5     0     5     5     0     8    0
art_node    32      241    0      191     1     0     1     1     0     8    0
sysvmsgpl   40       51    0       12     1     0     1     1     0     8    0
semapl     112       84    0       74     1     0     1     1     0     8    0
shmpl      112       45    0        2     2     0     2     2     0     8    0
dirhash    1024      29    0       12     3     0     3     3     0     8    0
dino2pl    256     5721    0     4205    96     0    96    96     0     8    0
ffsino     256     5721    0     4205    96     0    96    96     0     8    0
nchpl      144     8935    0     7215    64     0    64    64     0     8    0
rtmask      32       25    0       25     2     1     1     1     0     8    1
vnodes     216     5926    0        0   330     0   330   330     0     8    0
namei      1024   32968    0    32966     3     2     1     2     0     8    0
vcpupl     3904       7    0        0     1     0     1     1     0     8    0
vmpool     808        8    0        1     1     0     1     1     0     8    0
kstatmem   264      206    0      182     3     1     2     3     0     8    0
acpiwqpl    32        1    0        1     1     0     1     1     1     8    1
scsiplug    72        7    0        7     1     1     0     1     0     8    0
scxspl     216    31410    0    31410     9     7     2     8     1     8    2
plimitpl   152      742    0      725     1     0     1     1     0     8    0
sigapl     424     2661    0     2598     8     0     8     8     0     8    0
knotepl    120    87222    0    87170    35    26     9    17     0     8    5
kqueuepl   184      798    0      785     5     2     3     3     0     8    2
pipepl     304      435    0      375     7     2     5     5     0     8    0
fdescpl    448     2624    0     2594     5     1     4     5     0     8    0
filepl     120    18163    0    17867    15     4    11    13     0     8    1
lockfpl    104     1457    0     1450     2     1     1     2     0     8    0
lockfspl    48      491    0      486     1     0     1     1     0     8    0
sessionpl  144       40    0       32     1     0     1     1     0     8    0
pgrppl      48      123    0      106     1     0     1     1     0     8    0
ucredpl    104     2828    0     2816     1     0     1     1     0     8    0
zombiepl   144     3002    0     3001     1     0     1     1     0     8    0
processpl  1152    2661    0     2598     5     0     5     5     0     8    0
procpl     664     6041    0     5960     8     1     7     8     0     8    0
sosppl     176       12    0       12     2     1     1     1     0     8    1
sockpl     552     4846    0     4812    17     6    11    13     0     8    8
mcl64k     65536    138    0      138     1     0     1     1     0     8    1
mcl16k     16384      3    0        3     2     1     1     1     0     8    1
mcl12k     12288      1    0        1     1     0     1     1     0     8    1
mcl9k      9216       3    0        3     2     1     1     1     0     8    1
mcl8k      8192      25    0       25     2     1     1     1     0     8    1
mcl4k      4096    5415    0     5361    13     5     8    13     0     8    0
mcl2k2     2112       3    0        3     1     1     0     1     0     8    0
mcl2k      2048    3569    0     3564     6     3     3     5     0     8    1
mtagpl      96      120    0      116     3     1     2     3     0     8    1
mbufpl     256    27866    0    27712    21     4    17    21     0     8    0
bufpl      280    11309    0     5088   445     0   445   445     0     8    0
anonpl      24   382301    0   379066    80    23    57    57     0   187   20
amapchunkpl 152   80009    0    79386    40     7    33    34     0   158    8
amappl16   200     6270    0     6233    35    21    14    15     0     8    8
amappl15   192       37    0       37     1     1     0     1     0     8    0
amappl14   184      103    0      103     2     1     1     1     0     8    1
amappl13   176      520    0      519     1     0     1     1     0     8    0
amappl12   168     3056    0     3017     3     1     2     3     0     8    0
amappl11   160      101    0      101     1     1     0     1     0     8    0
amappl10   152       54    0       44     1     0     1     1     0     8    0
amappl9    144      243    0      242     1     0     1     1     0     8    0
amappl8    136       19    0       16     1     0     1     1     0     8    0
amappl7    128      120    0      118     1     0     1     1     0     8    0
amappl6    120      386    0      374     1     0     1     1     0     8    0
amappl5    112       78    0       70     1     0     1     1     0     8    0
amappl4    104      475    0      450     1     0     1     1     0     8    0
amappl3     96    15726    0    15616     4     0     4     4     0     8    0
amappl2     88      669    0      612     2     0     2     2     0     8    0
amappl1     80    19838    0    19298    15     2    13    15     0     8    0
amappl      88    21446    0    21276     5     0     5     5     0    92    0
uvmvnodes   80      165    0        0     4     0     4     4     0     8    0
dma65536   65536      1    0        1     1     1     0     1     0     8    0
dma4096    4096       1    0        1     1     1     0     1     0     8    0
dma2048    2048       1    0        1     1     1     0     1     0     8    0
dma1024    1024       2    0        1     1     0     1     1     0     8    0
dma256     256        6    0        6     1     1     0     1     0     8    0
dma128     128      254    0      254     1     1     0     1     0     8    0
dma64       64        9    0        9     2     1     1     1     0     8    1
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       55    0        3     1     0     1     1     0     8    0
uaddrrnd    24     2624    0     2594     1     0     1     1     0     8    0
uaddrbest   32        2    0        0     1     0     1     1     0     8    0
uaddr       24     2624    0     2594     1     0     1     1     0     8    0
vmmpekpl   168    20306    0    20244     3     0     3     3     0     8    0
vmmpepl    168   168207    0   166338   100     8    92    93     0   357    5
vmsppl     368     2623    0     2594     4     1     3     4     0     8    0
rwobjpl     40    42151    0    41074    14     0    14    14     0     8    0
pdppl      4096    5270    0     5197   124    51    73    82     0     8    0
pvpl        32  1116805    0  1108329   160    27   133   133     0   265   38
pmappl     216     2631    0     2595     3     0     3     3     0     8    0
extentpl    40       45    0       27     1     0     1     1     0     8    0
phpool     112      435    0       94    11     0    11    11     0     8    0
ddb> machine ddbcpu 0
No such command
ddb> trace
db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438
panic(ffffffff833791f3) at panic+0x1cf sys/kern/subr_prf.c:198
__assert(ffffffff833b9ae2,ffffffff833a5ef6,51a,ffffffff833eb71f) at __assert+0x29 sys/kern/subr_prf.c:-1
uvm_pageactivate(fffffd8006e5e300) at uvm_pageactivate+0x1e2 sys/uvm/uvm_page.c:1303
uvm_fault_lower(ffff800037e38e30,ffff800037e38e68,ffff800037e38db0) at uvm_fault_lower+0x22a sys/uvm/uvm_fault.c:1391
uvm_fault(fffffd806c9cda28,200000000000,0,2) at uvm_fault+0x241 sys/uvm/uvm_fault.c:-1
upageflttrap(ffff800037e38fd0,200000000040) at upageflttrap+0xa0 sys/arch/amd64/amd64/trap.c:192
usertrap(ffff800037e38fd0) at usertrap+0x413 sys/arch/amd64/amd64/trap.c:632
recall_trap() at recall_trap+0x8
end of kernel
end trace frame: 0x7842ab0b6c20, count: -9
ddb> machine ddbcpu 1
No such command
ddb> trace
db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438
panic(ffffffff833791f3) at panic+0x1cf sys/kern/subr_prf.c:198
__assert(ffffffff833b9ae2,ffffffff833a5ef6,51a,ffffffff833eb71f) at __assert+0x29 sys/kern/subr_prf.c:-1
uvm_pageactivate(fffffd8006e5e300) at uvm_pageactivate+0x1e2 sys/uvm/uvm_page.c:1303
uvm_fault_lower(ffff800037e38e30,ffff800037e38e68,ffff800037e38db0) at uvm_fault_lower+0x22a sys/uvm/uvm_fault.c:1391
uvm_fault(fffffd806c9cda28,200000000000,0,2) at uvm_fault+0x241 sys/uvm/uvm_fault.c:-1
upageflttrap(ffff800037e38fd0,200000000040) at upageflttrap+0xa0 sys/arch/amd64/amd64/trap.c:192
usertrap(ffff800037e38fd0) at usertrap+0x413 sys/arch/amd64/amd64/trap.c:632
recall_trap() at recall_trap+0x8
end of kernel
end trace frame: 0x7842ab0b6c20, count: -9

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/12/20 10:25 openbsd ddef1afac53e e14dbeb9 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main panic: kernel diagnosti
2025/12/20 04:05 openbsd ddef1afac53e e14dbeb9 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main panic: kernel diagnosti
* Struck through repros no longer work on HEAD.