syzbot


panic: kernel diagnostic assertion "va >= entry->start" failed: file "/syzkaller/managers/setuid/kernel/sys/uvm/uvm_faul

Status: upstream: reported on 2024/11/03 04:46
Reported-by: syzbot+f322461b5e37e5eac8a4@syzkaller.appspotmail.com
First crash: 18d, last: 18d

Sample crash report:
panic: kpearninecl  diagnostic assertion "va >= entry->start" failed: file "/syzkaller/managers/setuid/kernel/sys/uvm/uvm_fault.c", line 1657
Stopped at      db_enter+0x25:  addq    $0x8,%rsp
    TID    PID    UID     PRFLAGS     PFLAGS  CPU  COMMAND
 353285  90854  32767        0x10          0    0  syz-executor
*247713  84261  32767        0x10  0x4000000    1  syz-executor
db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:437
panic(ffffffff830eb279) at panic+0x1e5 sys/kern/subr_prf.c:198
__assert(ffffffff8309de80,ffffffff830d4110,679,ffffffff83000b3b) at __assert+0x29
uvm_fault_unwire_locked(fffffd806c283aa0,20000000,20011000) at uvm_fault_unwire_locked+0x4b4
uvm_fault_unwire(fffffd806c283aa0,20000000,20011000) at uvm_fault_unwire+0x55 sys/uvm/uvm_fault.c:1620
kern_sysctl(ffff8000371fd324,5,20000100,ffff8000371fd358,0,67,72fce3405be5c7bb) at kern_sysctl+0x500 sysctl_vsunlock sys/kern/kern_sysctl.c:209 [inline]
kern_sysctl(ffff8000371fd324,5,20000100,ffff8000371fd358,0,67,72fce3405be5c7bb) at kern_sysctl+0x500 sys/kern/kern_sysctl.c:508
sys_sysctl(ffff800037235980,ffff8000371fd490,ffff8000371fd3e0) at sys_sysctl+0x425
syscall(ffff8000371fd490) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:178 [inline]
syscall(ffff8000371fd490) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x9143993ac40, count: 6
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 "((flags & PGO_LOCKED) != 0 && rw_lock_held(uobj->vmobjlock)) || (flags & PGO_LOCKED) == 0" failed: file "/syzkaller/managers/setuid/kernel/sys/uvm/uvm_vnode.c", line 954
*cpu1: kernel diagnostic assertion "va >= entry->start" failed: file "/syzkaller/managers/setuid/kernel/sys/uvm/uvm_fault.c", line 1657
ddb{1}> trace
db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:437
panic(ffffffff830eb279) at panic+0x1e5 sys/kern/subr_prf.c:198
__assert(ffffffff8309de80,ffffffff830d4110,679,ffffffff83000b3b) at __assert+0x29
uvm_fault_unwire_locked(fffffd806c283aa0,20000000,20011000) at uvm_fault_unwire_locked+0x4b4
uvm_fault_unwire(fffffd806c283aa0,20000000,20011000) at uvm_fault_unwire+0x55 sys/uvm/uvm_fault.c:1620
kern_sysctl(ffff8000371fd324,5,20000100,ffff8000371fd358,0,67,72fce3405be5c7bb) at kern_sysctl+0x500 sysctl_vsunlock sys/kern/kern_sysctl.c:209 [inline]
kern_sysctl(ffff8000371fd324,5,20000100,ffff8000371fd358,0,67,72fce3405be5c7bb) at kern_sysctl+0x500 sys/kern/kern_sysctl.c:508
sys_sysctl(ffff800037235980,ffff8000371fd490,ffff8000371fd3e0) at sys_sysctl+0x425
syscall(ffff8000371fd490) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:178 [inline]
syscall(ffff8000371fd490) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x9143993ac40, count: -9
ddb{1}> show registers
rdi                                0
rsi                              0x1
rbp               0xffff8000371fcfb0
rbx               0xffff800029b7cdbf
rdx                                0
rcx               0xffff800037235980
rax               0xffff800029b7bff0
r8                 0x101010101010101
r9                0x8080808080808080
r10               0xd92eb4e09fde7de8
r11               0x6ea79f4021040fe9
r12               0xffff800029b7cbc0
r13                                0
r14                                0
r15                              0x1
rip               0xffffffff821e79e5    db_enter+0x25
cs                               0x8
rflags                         0x246
rsp               0xffff8000371fcfa0
ss                                 0
db_enter+0x25:  addq    $0x8,%rsp
ddb{1}> show proc
PROC (syz-executor) tid=247713 pid=84261 tcnt=3 stat=onproc
    flags process=10<SUGID> proc=4000000<THREAD>
    runpri=32, usrpri=86, slppri=32, nice=20
    wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0
    forw=0xffffffffffffffff, list=0xffff800037235c08,0xffff8000372342c8
    process=0xffff800030ba6d70 user=0xffff8000371f8000, vmspace=0xfffffd806c283aa0
    estcpu=36, cpticks=2, pctcpu=0.0, user=0, sys=2, intr=0
ddb{1}> ps
   PID     TID   PPID    UID  S       FLAGS  WAIT          COMMAND
 90854  353285  20283  32767  7        0x10                syz-executor
 90854   96221  20283  32767  3   0x4000090  fsleep        syz-executor
 84261  469541   9793  32767  2        0x10                syz-executor
 84261  245519   9793  32767  3   0x4000090  fsleep        syz-executor
*84261  247713   9793  32767  7   0x4000010                syz-executor
 74206  204196  63338  32767  2        0x10                syz-executor
 74206  115940  63338  32767  3   0x4000090  fsleep        syz-executor
 62906  196324  60211  32767  3        0x90  nanoslp       syz-executor
 62906  358200  60211  32767  3   0x4000090  netcon        syz-executor
 62906  393931  60211  32767  3   0x4000090  fsleep        syz-executor
 81282  331616   2044  32767  2        0x10                syz-executor
 81282  162083   2044  32767  3   0x4000090  fsleep        syz-executor
 81282  482057   2044  32767  3   0x4000090  fsleep        syz-executor
 19142  432017  11103  32767  3        0x90  nanoslp       syz-executor
 19142  234654  11103  32767  3   0x4000090  fifor         syz-executor
 19142  165690  11103  32767  3   0x4000090  fsleep        syz-executor
  4456  330340      0      0  3     0x14200  bored         sosplice
  2044  468019  67466  32767  3        0x90  nanoslp       syz-executor
 63338  356565  79321  32767  3        0x90  nanoslp       syz-executor
 60211  214190  97384  32767  3        0x90  nanoslp       syz-executor
  9793  411507  57894  32767  3        0x90  nanoslp       syz-executor
 12111  480250  80230  32767  2        0x10                syz-executor
 11103  469904  84765  32767  3        0x90  nanoslp       syz-executor
 46557  429753  58427  32767  3        0x90  wait          syz-executor
 20283  436568  99838  32767  3        0x90  nanoslp       syz-executor
 57894   13401  83231      0  3        0x82  wait          syz-executor
 97384  493067  83231      0  3        0x82  wait          syz-executor
 79321  101794  83231      0  3        0x82  wait          syz-executor
 67466  523490  83231      0  3        0x82  wait          syz-executor
 80230  396332  83231      0  3        0x82  wait          syz-executor
 58427   51857  83231      0  3        0x82  wait          syz-executor
 84765  246195  83231      0  3        0x82  wait          syz-executor
 99838  179862  83231      0  3        0x82  wait          syz-executor
 83231  190792  49459      0  3        0x82  kqread        syz-executor
 49459   63086  74906      0  3    0x10008a  sigsusp       ksh
 74906  368223  31930      0  3        0x98  kqread        sshd-session
 31930  421390    219      0  3        0x92  kqread        sshd-session
 72493  374581      1      0  3    0x100083  ttyin         getty
   219  304214      1      0  3        0x88  kqread        sshd
 15148  378281  26717     73  3   0x1100090  kqread        syslogd
 26717  480278      1      0  3    0x100082  sbwait        syslogd
  2203  486705      1      0  3    0x100080  kqread        resolvd
 37010  221986  18831     77  3    0x100092  kqread        dhcpleased
 69174   74180  18831     77  3    0x100092  kqread        dhcpleased
 18831   48565      1      0  3        0x80  kqread        dhcpleased
 27556  372231      0      0  3     0x14200  bored         smr
  7110  395044      0      0  2     0x14200                zerothread
  9128  126610      0      0  3     0x14200  aiodoned      aiodoned
 48807  189533      0      0  3     0x14200  syncer        update
 75442  102536      0      0  3     0x14200  cleaner       cleaner
  3053  329475      0      0  3     0x14200  reaper        reaper
 93783  496400      0      0  3     0x14200  pgdaemon      pagedaemon
 63998  503923      0      0  3     0x14200  bored         viomb
 87842  138924      0      0  3  0x40014200  acpi0         acpi0
 20273  182941      0      0  3  0x40014200                idle1
 69987  512459      0      0  3     0x14200  bored         softnet3
  8814  289333      0      0  3     0x14200  bored         softnet2
 10632  348010      0      0  3     0x14200  bored         softnet1
 47497  196236      0      0  3     0x14200  bored         softnet0
  1863  274377      0      0  3     0x14200  bored         systqmp
 98652  180952      0      0  3     0x14200  bored         systq
 56364  431059      0      0  3     0x14200  tmoslp        softclockmp
 13108  333269      0      0  3  0x40014200  tmoslp        softclock
 99386  415939      0      0  3  0x40014200                idle0
     1  145886      0      0  3        0x82  wait          init
     0       0     -1      0  3     0x10200  scheduler     swapper
ddb{1}> show all locks
Process 84261 (syz-executor) thread 0xffff800037235980 (247713)
exclusive rwlock amaplk r = 0 (0xfffffd805ffd6358)
#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  uvm_map_lock_entry+0x4c sys/uvm/uvm_map.c:464
#3  uvm_fault_unwire_locked+0x253 sys/uvm/uvm_fault.c:1676
#4  uvm_fault_unwire+0x55 sys/uvm/uvm_fault.c:1620
#5  kern_sysctl+0x500 sysctl_vsunlock sys/kern/kern_sysctl.c:209 [inline]
#5  kern_sysctl+0x500 sys/kern/kern_sysctl.c:508
#6  sys_sysctl+0x425
#7  syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:178 [inline]
#7  syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577
#8  Xsyscall+0x128
exclusive kernel_lock &kernel_lock r = 0 (0xffffffff83531560)
#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+0x278 sys/kern/kern_synch.c:417
#4  rw_enter+0x348 sys/kern/kern_rwlock.c:285
#5  uvm_map_lock_entry+0x4c sys/uvm/uvm_map.c:464
#6  uvm_fault_unwire_locked+0x253 sys/uvm/uvm_fault.c:1676
#7  uvm_fault_unwire+0x55 sys/uvm/uvm_fault.c:1620
#8  kern_sysctl+0x500 sysctl_vsunlock sys/kern/kern_sysctl.c:209 [inline]
#8  kern_sysctl+0x500 sys/kern/kern_sysctl.c:508
#9  sys_sysctl+0x425
#10 syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:178 [inline]
#10 syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577
#11 Xsyscall+0x128
shared rwlock vmmaplk r = 0 (0xfffffd806c283b98)
#0  witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline]
#0  witness_lock+0x5bb sys/kern/subr_witness.c:1155
#1  uvm_fault_unwire+0x3e sys/uvm/uvm_fault.c:1619
#2  kern_sysctl+0x500 sysctl_vsunlock sys/kern/kern_sysctl.c:209 [inline]
#2  kern_sysctl+0x500 sys/kern/kern_sysctl.c:508
#3  sys_sysctl+0x425
#4  syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:178 [inline]
#4  syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577
#5  Xsyscall+0x128
exclusive rwlock sysctllk r = 0 (0xffffffff834f1960)
#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  sysctl_vslock+0x45 sys/kern/kern_sysctl.c:181
#3  kern_sysctl+0x1ad sys/kern/kern_sysctl.c:504
#4  sys_sysctl+0x425
#5  syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:178 [inline]
#5  syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577
#6  Xsyscall+0x128
ddb{1}> show malloc
           Type InUse  MemUse  HighUse   Limit  Requests Type Lim
         devbuf 10185  11047K   11059K 166960K     11263        0
            pcb    17     12K      12K 166960K        17        0
         rtable   238      6K       7K 166960K       350        0
             pf    31     16K      16K 166960K        31        0
         ifaddr    42      7K       7K 166960K        44        0
        ifgroup    50      2K       2K 166960K        50        0
       counters    64     36K      36K 166960K        64        0
       ioctlops     0      0K       2K 166960K        32        0
            iov     0      0K       8K 166960K        13        0
          mount     1      1K       1K 166960K         1        0
            log     0      0K       0K 166960K         4        0
         vnodes  1365     86K      86K 166960K      1398        0
      UFS quota     1     32K      32K 166960K         1        0
      UFS mount     5     36K      36K 166960K         5        0
            shm     2      1K       5K 166960K         6        0
         VM map     2      1K       1K 166960K         2        0
            sem    12      0K       0K 166960K        47        0
        dirhash    12      2K       2K 166960K        12        0
           ACPI  1690    195K     286K 166960K     12468        0
      file desc    25     93K     121K 166960K       298        0
          sigio     0      0K       0K 166960K         5        0
           proc    58     79K     103K 166960K       484        0
        subproc   104      6K       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       169        0
       in_multi    99      7K       7K 166960K       101        0
    ether_multi     1      0K       0K 166960K         1        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       461        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   256     76K      89K 166960K      4135        0
       UVM aobj     7      2K       2K 166960K         7        0
     pinsyscall    46     92K     114K 166960K      1294        0
        memdesc     1      4K       4K 166960K         1        0
    crypto data     1      1K       1K 166960K         1        0
    ip6_options     0      0K       0K 166960K        17        0
            NDP    11      0K       2K 166960K        27        0
           temp    42   6815K    6879K 166960K      4236        0
         kqueue    13     20K      26K 166960K        52        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      109    0      106     3     0     3     3     0     8    2
rtentry    112      113    0        1     4     0     4     4     0     8    0
unpcb      144      138    0      115     1     0     1     1     0     8    0
syncache   336        6    0        6     2     1     1     1     0     8    1
tcpqe       32        3    0        3     1     0     1     1     0     8    1
tcpcb      808      115    0      101     5     0     5     5     0     8    3
arp        120       18    0        0     1     0     1     1     0     8    0
ipq         40        1    0        0     1     0     1     1     0     8    0
ipqe        40        2    0        0     1     0     1     1     0     8    0
inpcb      336      325    0      307     7     0     7     7     0     8    5
nd6        136       26    0        0     1     0     1     1     0     8    0
kcovpl      48        8    0        0     1     0     1     1     0     8    0
art_heap8  4096       1    0        0     1     0     1     1     0     8    0
art_heap4  256      458    0        0    29     0    29    29     0     8    0
art_table   32      459    0        0     4     0     4     4     0     8    0
art_node    16      112    0       10     1     0     1     1     0     8    0
sysvmsgpl   40        5    0        4     1     0     1     1     0     8    0
semapl     112       45    0       35     1     0     1     1     0     8    0
shmpl      112        4    0        0     1     0     1     1     0     8    0
dirhash    1024      17    0        0     3     0     3     3     0     8    0
dino2pl    256     1779    0      275    95     0    95    95     0     8    0
ffsino     272     1779    0      275   101     0   101   101     0     8    0
nchpl      144     2201    0      525    63     0    63    63     0     8    0
uvmvnodes   80     1892    0        0    39     0    39    39     0     8    0
vnodes     216     1892    0        0   106     0   106   106     0     8    0
namei      1024    6813    0     6813     2     1     1     1     0     8    1
percpumem   16       46    0        0     1     0     1     1     0     8    0
kstatmem   264       22    0        0     2     0     2     2     0     8    0
scxspl     216     6562    0     6562    10     2     8     8     1     8    8
plimitpl   152      119    0       94     2     0     2     2     0     8    0
sigapl     424      572    0      516     7     0     7     7     0     8    0
futexpl     64     2399    0     2392     1     0     1     1     0     8    0
knotepl    120      309    0        0    10     0    10    10     0     8    0
kqueuepl   216       63    0       54     1     0     1     1     0     8    0
pipepl     320      116    0       88     3     0     3     3     0     8    0
fdescpl    496      553    0      516     7     1     6     6     0     8    0
filepl     152     2476    0     2218    14     0    14    14     0     8    3
lockfpl    104       64    0       62     1     0     1     1     0     8    0
lockfspl    48       25    0       23     1     0     1     1     0     8    0
sessionpl  144       23    0        7     1     0     1     1     0     8    0
pgrppl      48       32    0        8     1     0     1     1     0     8    0
ucredpl    104      285    0      266     1     0     1     1     0     8    0
zombiepl   144      517    0      516     1     0     1     1     0     8    0
processpl  1160     572    0      516     5     0     5     5     0     8    0
procpl     648      839    0      773     7     0     7     7     0     8    1
sosppl     168        2    0        1     1     0     1     1     0     8    0
sockpl     664      576    0      532    12     0    12    12     0     8    8
mcl64k     65536      2    0        0     1     0     1     1     0     8    0
mcl16k     16384      1    0        0     1     0     1     1     0     8    0
mcl8k      8192       4    0        0     1     0     1     1     0     8    0
mcl4k      4096     144    0        0    18     0    18    18     0     8    0
mcl2k      2048      19    0        0     3     0     3     3     0     8    0
mtagpl      96        2    0        0     1     0     1     1     0     8    0
mbufpl     256      206    0        0    13     0    13    13     0     8    0
bufpl      280     2348    0       94   161     0   161   161     0     8    0
anonpl      24   205851    0   202486    47     0    47    47     0   185   10
amapchunkpl 152   14734    0    13973    34     0    34    34     0   158    3
amappl16   200     6266    0     6249    16     3    13    15     0     8    8
amappl15   192       10    0       10     1     1     0     1     0     8    0
amappl14   184      109    0       99     1     0     1     1     0     8    0
amappl13   176       11    0       11     1     0     1     1     0     8    1
amappl12   168     1150    0     1113     2     0     2     2     0     8    0
amappl11   160       56    0       46     1     0     1     1     0     8    0
amappl10   152       17    0       17     1     1     0     1     0     8    0
amappl9    144      140    0      140     1     1     0     1     0     8    0
amappl8    136       30    0       29     1     0     1     1     0     8    0
amappl7    128      105    0       94     1     0     1     1     0     8    0
amappl6    120      158    0      157     1     0     1     1     0     8    0
amappl5    112      132    0      124     1     0     1     1     0     8    0
amappl4    104      283    0      269     1     0     1     1     0     8    0
amappl3     96     2483    0     2376     4     0     4     4     0     8    0
amappl2     88      832    0      747     3     0     3     3     0     8    0
amappl1     80     8112    0     7577    14     0    14    14     0     8    1
amappl      88     3791    0     3590     6     0     6     6     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        6    0        0     1     0     1     1     0     8    0
uaddrrnd    24      553    0      516     1     0     1     1     0     8    0
uaddrbest   32        2    0        0     1     0     1     1     0     8    0
uaddr       24      553    0      516     1     0     1     1     0     8    0
vmmpekpl   168     5832    0     5797     2     0     2     2     0     8    0
vmmpepl    168    44482    0    42488   102     1   101   101     0   357   11
vmsppl     448      552    0      516     5     0     5     5     0     8    0
rwobjpl     56    20331    0    17587    43     0    43    43     0     8    0
pdppl      4096    1113    0     1032   117    34    83    95     0     8    2
pvpl        32    14955    0        0   121     0   121   121     0   265    0
pmappl     248      552    0      516     4     1     3     3     0     8    0
extentpl    40       55    0       38     1     0     1     1     0     8    0
phpool     112      407    0       38    11     0    11    11     0     8    0
ddb{1}> machine ddbcpu 0
Stopped at      x86_ipi_db+0x27:        addq    $0x8,%rsp
x86_ipi_db(ffffffff83477ff0) 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(ffffffff83531358) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline]
__mp_lock(ffffffff83531358) at __mp_lock+0x192 sys/kern/kern_lock.c:144
softintr_dispatch(0) at softintr_dispatch+0x5b sys/arch/amd64/amd64/softintr.c:88
Xsoftclock() at Xsoftclock+0x27
cnputc(20) at cnputc+0x61 sys/dev/cons.c:218
db_putchar(3a) at db_putchar+0x524 db_force_whitespace sys/ddb/db_output.c:102 [inline]
db_putchar(3a) at db_putchar+0x524 sys/ddb/db_output.c:153
kprintf() at kprintf+0x843
db_printf(ffffffff8308a500) at db_printf+0x9b
panic(ffffffff830eb279) at panic+0x103 sys/kern/subr_prf.c:216
__assert(ffffffff8309de80,ffffffff8303c7a2,3ba,ffffffff830c029b) at __assert+0x29
uvn_get(fffffd806d38cab8,0,ffff8000371f7340,ffff8000371f71bc,0,1,1f6587a45d2cf05f,0) at uvn_get+0x69b sys/uvm/uvm_vnode.c:953
uvm_fault_lower_lookup(ffff8000371f73c8,ffff8000371f7400,ffff8000371f7340) at uvm_fault_lower_lookup+0x10e sys/uvm/uvm_fault.c:1125
end trace frame: 0xffff8000371f72b0, count: 0
ddb{0}> trace
x86_ipi_db(ffffffff83477ff0) 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(ffffffff83531358) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline]
__mp_lock(ffffffff83531358) at __mp_lock+0x192 sys/kern/kern_lock.c:144
softintr_dispatch(0) at softintr_dispatch+0x5b sys/arch/amd64/amd64/softintr.c:88
Xsoftclock() at Xsoftclock+0x27
cnputc(20) at cnputc+0x61 sys/dev/cons.c:218
db_putchar(3a) at db_putchar+0x524 db_force_whitespace sys/ddb/db_output.c:102 [inline]
db_putchar(3a) at db_putchar+0x524 sys/ddb/db_output.c:153
kprintf() at kprintf+0x843
db_printf(ffffffff8308a500) at db_printf+0x9b
panic(ffffffff830eb279) at panic+0x103 sys/kern/subr_prf.c:216
__assert(ffffffff8309de80,ffffffff8303c7a2,3ba,ffffffff830c029b) at __assert+0x29
uvn_get(fffffd806d38cab8,0,ffff8000371f7340,ffff8000371f71bc,0,1,1f6587a45d2cf05f,0) at uvn_get+0x69b sys/uvm/uvm_vnode.c:953
uvm_fault_lower_lookup(ffff8000371f73c8,ffff8000371f7400,ffff8000371f7340) at uvm_fault_lower_lookup+0x10e sys/uvm/uvm_fault.c:1125
uvm_fault_lower(ffff8000371f73c8,ffff8000371f7400,ffff8000371f7340,0) at uvm_fault_lower+0x74 sys/uvm/uvm_fault.c:1224
uvm_fault(fffffd806c2831e0,110c230000,0,1) at uvm_fault+0x2e4 sys/uvm/uvm_fault.c:632
upageflttrap(ffff8000371f7540,110c230000) at upageflttrap+0xa9 sys/arch/amd64/amd64/trap.c:188
usertrap(ffff8000371f7540) at usertrap+0x2d8 sys/arch/amd64/amd64/trap.c:436
recall_trap() at recall_trap+0x8
end of kernel
end trace frame: 0x783663c91290, count: -19
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(ffffffff830eb279) at panic+0x1e5 sys/kern/subr_prf.c:198
__assert(ffffffff8309de80,ffffffff830d4110,679,ffffffff83000b3b) at __assert+0x29
uvm_fault_unwire_locked(fffffd806c283aa0,20000000,20011000) at uvm_fault_unwire_locked+0x4b4
uvm_fault_unwire(fffffd806c283aa0,20000000,20011000) at uvm_fault_unwire+0x55 sys/uvm/uvm_fault.c:1620
kern_sysctl(ffff8000371fd324,5,20000100,ffff8000371fd358,0,67,72fce3405be5c7bb) at kern_sysctl+0x500 sysctl_vsunlock sys/kern/kern_sysctl.c:209 [inline]
kern_sysctl(ffff8000371fd324,5,20000100,ffff8000371fd358,0,67,72fce3405be5c7bb) at kern_sysctl+0x500 sys/kern/kern_sysctl.c:508
sys_sysctl(ffff800037235980,ffff8000371fd490,ffff8000371fd3e0) at sys_sysctl+0x425
syscall(ffff8000371fd490) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:178 [inline]
syscall(ffff8000371fd490) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x9143993ac40, count: 6
ddb{1}> trace
db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:437
panic(ffffffff830eb279) at panic+0x1e5 sys/kern/subr_prf.c:198
__assert(ffffffff8309de80,ffffffff830d4110,679,ffffffff83000b3b) at __assert+0x29
uvm_fault_unwire_locked(fffffd806c283aa0,20000000,20011000) at uvm_fault_unwire_locked+0x4b4
uvm_fault_unwire(fffffd806c283aa0,20000000,20011000) at uvm_fault_unwire+0x55 sys/uvm/uvm_fault.c:1620
kern_sysctl(ffff8000371fd324,5,20000100,ffff8000371fd358,0,67,72fce3405be5c7bb) at kern_sysctl+0x500 sysctl_vsunlock sys/kern/kern_sysctl.c:209 [inline]
kern_sysctl(ffff8000371fd324,5,20000100,ffff8000371fd358,0,67,72fce3405be5c7bb) at kern_sysctl+0x500 sys/kern/kern_sysctl.c:508
sys_sysctl(ffff800037235980,ffff8000371fd490,ffff8000371fd3e0) at sys_sysctl+0x425
syscall(ffff8000371fd490) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:178 [inline]
syscall(ffff8000371fd490) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x9143993ac40, count: -9

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/11/03 04:45 openbsd 044edc47d478 f00eed24 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-setuid panic: kernel diagnostic assertion "va >= entry->start" failed: file "/syzkaller/managers/setuid/kernel/sys/uvm/uvm_faul
* Struck through repros no longer work on HEAD.