panic: kernel diagnostic assertion "va >= entry->start" failed: file "/syzkaller/managers/multicore/kernel/sys/uvm/uvm_fault.c", line 1694
Stopped at db_enter+0x25: addq $0x8,%rsp
TID PID UID PRFLAGS PFLAGS CPU COMMAND
*199114 66666 0 0 0x4000000 0K syz-executor
495105 60342 0 0 0 1 syz-executor
db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:437
panic(ffffffff830f3f4b) at panic+0x1e5 sys/kern/subr_prf.c:198
__assert(ffffffff830a7f95,ffffffff8304c6b7,69e,ffffffff8300e20b) at __assert+0x29
uvm_fault_unwire_locked(fffffd806a8fb8e8,20000000,20010000) at uvm_fault_unwire_locked+0x4b4
uvm_fault_unwire(fffffd806a8fb8e8,20000000,20010000) at uvm_fault_unwire+0x55 sys/uvm/uvm_fault.c:1657
kern_sysctl(ffff8000371c4914,2,20000100,ffff8000371c4948,0,37,29d1b8aefe9492b2) at kern_sysctl+0x500 sysctl_vsunlock sys/kern/kern_sysctl.c:209 [inline]
kern_sysctl(ffff8000371c4914,2,20000100,ffff8000371c4948,0,37,29d1b8aefe9492b2) at kern_sysctl+0x500 sys/kern/kern_sysctl.c:508
sys_sysctl(ffff80002a090a60,ffff8000371c4a80,ffff8000371c49d0) at sys_sysctl+0x425
syscall(ffff8000371c4a80) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:178 [inline]
syscall(ffff8000371c4a80) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0xfb23e23e710, 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{0}>
ddb{0}> set $lines = 0
ddb{0}> set $maxwidth = 0
ddb{0}> show panic
*cpu0: kernel diagnostic assertion "va >= entry->start" failed: file "/syzkaller/managers/multicore/kernel/sys/uvm/uvm_fault.c", line 1694
ddb{0}> trace
db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:437
panic(ffffffff830f3f4b) at panic+0x1e5 sys/kern/subr_prf.c:198
__assert(ffffffff830a7f95,ffffffff8304c6b7,69e,ffffffff8300e20b) at __assert+0x29
uvm_fault_unwire_locked(fffffd806a8fb8e8,20000000,20010000) at uvm_fault_unwire_locked+0x4b4
uvm_fault_unwire(fffffd806a8fb8e8,20000000,20010000) at uvm_fault_unwire+0x55 sys/uvm/uvm_fault.c:1657
kern_sysctl(ffff8000371c4914,2,20000100,ffff8000371c4948,0,37,29d1b8aefe9492b2) at kern_sysctl+0x500 sysctl_vsunlock sys/kern/kern_sysctl.c:209 [inline]
kern_sysctl(ffff8000371c4914,2,20000100,ffff8000371c4948,0,37,29d1b8aefe9492b2) at kern_sysctl+0x500 sys/kern/kern_sysctl.c:508
sys_sysctl(ffff80002a090a60,ffff8000371c4a80,ffff8000371c49d0) at sys_sysctl+0x425
syscall(ffff8000371c4a80) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:178 [inline]
syscall(ffff8000371c4a80) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0xfb23e23e710, count: -9
ddb{0}> show registers
rdi 0
rsi 0x1
rbp 0xffff8000371c45a0
rbx 0xffffffff834a0dbf cpu_info_full_primary+0x2dbf
rdx 0
rcx 0xffff80002a090a60
rax 0xffffffff8349fff0 cpu_info_full_primary+0x1ff0
r8 0x101010101010101
r9 0x8080808080808080
r10 0x72209b669139e6d4
r11 0x404db346401c76a5
r12 0xffffffff834a0bc0 cpu_info_full_primary+0x2bc0
r13 0
r14 0
r15 0x1
rip 0xffffffff81610e15 db_enter+0x25
cs 0x8
rflags 0x246
rsp 0xffff8000371c4590
ss 0x10
db_enter+0x25: addq $0x8,%rsp
ddb{0}> show proc
PROC (syz-executor) tid=199114 pid=66666 tcnt=4 stat=onproc
flags process=0 proc=4000000<THREAD>
runpri=36, usrpri=50, slppri=36, nice=20
wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0
forw=0xffffffffffffffff, list=0xffff8000ffff76e8,0xffffffff835f1e20
process=0xffff8000fffeb1d8 user=0xffff8000371bf000, vmspace=0xfffffd806a8fb8e8
estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0
ddb{0}> ps
PID TID PPID UID S FLAGS WAIT COMMAND
66666 276033 80405 0 2 0 syz-executor
66666 79737 80405 0 3 0x4000080 fsleep syz-executor
66666 301496 80405 0 2 0x4000000 syz-executor
*66666 199114 80405 0 7 0x4000000 syz-executor
60342 495105 9832 0 7 0 syz-executor
60342 510906 9832 0 2 0x4000000 syz-executor
25307 48658 4641 0 2 0 syz-executor
25307 480349 4641 0 3 0x4000080 fsleep syz-executor
25307 99132 4641 0 3 0x4000080 fsleep syz-executor
58636 424586 26763 0 2 0 syz-executor
58636 445182 26763 0 2 0x4000000 syz-executor
58636 45761 26763 0 3 0x4000080 fsleep syz-executor
58636 60619 26763 0 2 0x4000000 syz-executor
48849 260292 75598 0 2 0 syz-executor
48849 417047 75598 0 3 0x4000080 ttyout syz-executor
48849 36660 75598 0 3 0x4000080 ttyout syz-executor
48849 441594 75598 0 2 0x4000000 syz-executor
46270 83938 64058 0 2 0 syz-executor
46270 456766 64058 0 3 0x4000080 fsleep syz-executor
46270 155319 64058 0 3 0x4000080 fsleep syz-executor
80927 520421 75773 0 2 0x3 syz-executor
20452 231118 0 0 3 0x14200 acct acct
39804 519091 1 0 3 0x100083 ttyin getty
4641 206589 75773 0 3 0x82 nanoslp syz-executor
64058 135759 75773 0 2 0x3 syz-executor
14567 84673 0 0 3 0x14280 nfsidl nfsio
70745 473306 0 0 3 0x14280 nfsidl nfsio
26948 380224 0 0 3 0x14280 nfsidl nfsio
70516 279037 0 0 3 0x14280 nfsidl nfsio
25900 400423 0 0 3 0x14280 nfsidl nfsio
67600 430090 0 0 3 0x14280 nfsidl nfsio
63914 288852 0 0 3 0x14280 nfsidl nfsio
40368 63502 0 0 3 0x14280 nfsidl nfsio
99993 324196 0 0 3 0x14280 nfsidl nfsio
21487 241988 0 0 3 0x14280 nfsidl nfsio
78869 437967 0 0 3 0x14280 nfsidl nfsio
98508 499829 0 0 3 0x14280 nfsidl nfsio
97867 452506 0 0 3 0x14280 nfsidl nfsio
63767 220406 0 0 3 0x14280 nfsidl nfsio
89117 479201 0 0 3 0x14280 nfsidl nfsio
9705 183981 0 0 3 0x14280 nfsidl nfsio
74781 296368 0 0 3 0x14280 nfsidl nfsio
77316 282911 0 0 3 0x14280 nfsidl nfsio
950 6052 0 0 3 0x14280 nfsidl nfsio
53010 18950 0 0 3 0x14280 nfsidl nfsio
79348 225022 0 0 3 0x14200 bored sosplice
14666 455962 82599 0 3 0x100082 sbwait ndp
82599 115654 6478 0 3 0x10008a sigsusp sh
26763 491623 75773 0 2 0x2 syz-executor
6478 162446 75773 0 3 0x82 wait syz-executor
9832 496621 75773 0 2 0x3 syz-executor
80405 229973 75773 0 3 0x82 nanoslp syz-executor
75598 40459 75773 0 2 0x3 syz-executor
75773 140594 43638 0 2 0x3 syz-executor
43638 381579 65627 0 3 0x10008a sigsusp ksh
65627 417079 17342 0 3 0x98 kqread sshd-session
17342 308771 25592 0 3 0x92 kqread sshd-session
25592 405404 1 0 3 0x88 kqread sshd
90464 89113 9501 74 3 0x1100092 bpf pflogd
9501 481222 1 0 3 0x80 sbwait pflogd
30540 484257 23832 73 3 0x1100090 kqread syslogd
23832 479018 1 0 3 0x100082 sbwait syslogd
50861 518466 1 0 3 0x100080 kqread resolvd
52580 420314 60257 77 3 0x100092 kqread dhcpleased
11882 181166 60257 77 3 0x100092 kqread dhcpleased
60257 141044 1 0 3 0x80 kqread dhcpleased
29429 162199 0 0 3 0x14200 bored smr
62466 459728 0 0 2 0x14200 zerothread
69027 244066 0 0 3 0x14200 aiodoned aiodoned
34678 48018 0 0 3 0x14200 syncer update
66665 49769 0 0 3 0x14200 cleaner cleaner
68775 397948 0 0 3 0x14200 reaper reaper
59904 338664 0 0 3 0x14200 pgdaemon pagedaemon
7183 392384 0 0 3 0x14200 bored viomb
92433 507534 0 0 3 0x40014200 acpi0 acpi0
85795 508486 0 0 3 0x40014200 idle1
4344 273954 0 0 3 0x14200 bored softnet3
40283 467035 0 0 3 0x14200 bored softnet2
90201 128102 0 0 3 0x14200 bored softnet1
37268 487748 0 0 3 0x14200 bored softnet0
86370 3831 0 0 3 0x14200 bored systqmp
85875 461012 0 0 3 0x14200 bored systq
56720 420162 0 0 3 0x14200 tmoslp softclockmp
1114 338189 0 0 3 0x40014200 tmoslp softclock
22431 333179 0 0 3 0x40014200 idle0
1 406485 0 0 3 0x82 wait init
0 0 -1 0 3 0x10200 scheduler swapper
ddb{0}> show all locks
Process 66666 (syz-executor) thread 0xffff80002a090a60 (199114)
Process 60342 (syz-executor) thread 0xffff800036390a50 (510906)
Process 58636 (syz-executor) thread 0xffff8000ffff67b8 (445182)
Process 48849 (syz-executor) thread 0xffff8000363916f8 (441594)
ddb{0}> show malloc
Type InUse MemUse HighUse Limit Requests Type Lim
devbuf 10214 11117K 11508K 166960K 13090 0
pcb 20 15K 16K 166960K 208 0
rtable 179 6K 7K 166960K 614 0
pf 37 18K 18K 166960K 89 0
ifaddr 38 6K 7K 166960K 80 0
ifgroup 59 2K 2K 166960K 110 0
sysctl 3 0K 0K 166960K 3 0
counters 66 36K 36K 166960K 102 0
ioctlops 0 0K 4K 166960K 1679 0
iov 0 0K 16K 166960K 57 0
mount 1 1K 1K 166960K 1 0
log 0 0K 0K 166960K 4 0
vnodes 1535 96K 97K 166960K 2510 0
UFS quota 1 32K 32K 166960K 1 0
UFS mount 5 36K 36K 166960K 5 0
shm 2 1K 9K 166960K 15 0
VM map 2 1K 1K 166960K 2 0
sem 21 5K 6K 166960K 58 0
dirhash 12 2K 2K 166960K 24 0
ACPI 1690 195K 286K 166960K 12468 0
file desc 18 65K 93K 166960K 1082 0
sigio 0 0K 0K 166960K 151 0
proc 72 91K 128K 166960K 730 0
subproc 104 6K 6K 166960K 156 0
NFS srvsock 1 0K 0K 166960K 1 0
NFS daemon 1 16K 16K 166960K 1 0
ip_moptions 1 0K 0K 166960K 102 0
in_multi 76 5K 7K 166960K 163 0
ether_multi 1 0K 0K 166960K 4 0
mrt 0 0K 0K 166960K 2 0
ISOFS mount 1 32K 32K 166960K 1 0
MSDOSFS mount 1 16K 16K 166960K 1 0
ttys 175 784K 784K 166960K 175 0
exec 0 0K 1K 166960K 512 0
fusefs mount 1 32K 32K 166960K 1 0
pfkey data 0 0K 0K 166960K 1 0
tdb 3 0K 0K 166960K 3 0
VM swap 8 62K 64K 166960K 10 0
UVM amap 249 73K 88K 166960K 11806 0
UVM aobj 26 4K 4K 166960K 28 0
pinsyscall 44 88K 103K 166960K 2274 0
memdesc 1 4K 4K 166960K 1 0
crypto data 1 1K 1K 166960K 1 0
ip6_options 0 0K 0K 166960K 39 0
NDP 13 0K 2K 166960K 55 0
temp 70 6826K 6892K 166960K 43438 0
kqueue 13 20K 28K 166960K 161 0
SYN cache 2 16K 16K 166960K 2 0
ddb{0}> 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 116 0 112 2 1 1 2 0 8 0
rtentry 112 175 0 96 4 1 3 4 0 8 0
unpcb 144 915 0 890 7 3 4 6 0 8 3
syncache 336 7 0 7 2 1 1 1 0 8 1
tcpqe 32 4 0 4 2 1 1 1 0 8 1
tcpcb 808 378 0 369 11 9 2 8 0 8 0
arp 120 31 0 15 1 0 1 1 0 8 0
inpcb 336 1503 0 1421 24 11 13 13 0 8 6
nd6 136 41 0 23 1 0 1 1 0 8 0
pkpcb 40 3 0 3 2 2 0 1 0 8 0
kcovpl 48 12 0 4 1 0 1 1 0 8 0
ppxss 1168 11 0 11 3 2 1 1 0 8 1
pfstscr 40 1 0 1 1 1 0 1 0 8 0
pffrag 232 6 0 2 1 0 1 1 0 482 0
pffrnode 88 6 0 2 1 0 1 1 0 8 0
pffrent 40 9 0 5 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
pfstitem 24 67 0 21 1 0 1 1 0 8 0
pfstkey 128 69 0 23 2 0 2 2 0 8 0
pfstate 376 67 0 22 5 0 5 5 0 8 0
pfrule 1344 21 0 15 2 0 2 2 0 8 0
art_heap8 4096 1 0 0 1 0 1 1 0 8 0
art_heap4 256 680 0 343 30 8 22 29 0 8 0
art_table 32 681 0 343 4 0 4 4 0 8 0
art_node 16 172 0 103 1 0 1 1 0 8 0
sysvmsgpl 40 17 0 11 1 0 1 1 0 8 0
semupl 112 1 0 1 1 1 0 1 0 8 0
semapl 112 50 0 31 1 0 1 1 0 8 0
shmpl 112 25 0 2 1 0 1 1 0 8 0
dirhash 1024 25 0 8 3 0 3 3 0 8 0
dino2pl 256 3256 0 1749 95 0 95 95 0 8 0
ffsino 272 3256 0 1749 102 0 102 102 0 8 0
nchpl 144 4711 0 3016 63 0 63 63 0 8 0
uvmvnodes 80 4133 0 0 85 0 85 85 0 8 0
vnodes 216 4133 0 0 230 0 230 230 0 8 0
namei 1024 15974 0 15974 4 3 1 2 0 8 1
percpumem 16 65 0 18 1 0 1 1 0 8 0
kstatmem 264 62 0 36 2 0 2 2 0 8 0
scsiplug 72 8 0 8 2 1 1 1 0 8 1
scxspl 216 13743 0 13743 11 10 1 8 1 8 1
plimitpl 152 265 0 248 1 0 1 1 0 8 0
sigapl 424 1399 0 1327 10 1 9 9 0 8 0
futexpl 64 13709 0 13703 1 0 1 1 0 8 0
knotepl 120 561 0 0 17 0 17 17 0 8 0
kqueuepl 216 258 0 249 2 1 1 2 0 8 0
pipepl 320 353 0 326 9 5 4 8 0 8 1
fdescpl 496 1358 0 1326 5 0 5 5 0 8 0
filepl 152 8818 0 8559 26 12 14 20 0 8 1
lockfpl 104 361 0 358 1 0 1 1 0 8 0
lockfspl 48 126 0 123 1 0 1 1 0 8 0
sessionpl 144 30 0 21 1 0 1 1 0 8 0
pgrppl 48 113 0 96 1 0 1 1 0 8 0
ucredpl 104 1482 0 1469 1 0 1 1 0 8 0
zombiepl 144 1523 0 1523 1 0 1 1 0 8 1
processpl 1160 1399 0 1327 6 0 6 6 0 8 0
procpl 648 2996 0 2910 9 1 8 8 0 8 0
srpgc 96 18 0 18 1 1 0 1 0 8 0
sosppl 168 6 0 6 3 3 0 1 0 8 0
sockpl 664 2552 0 2440 27 12 15 15 0 8 5
mcl64k 65536 4 0 0 1 0 1 1 0 8 0
mcl16k 16384 3 0 0 1 0 1 1 0 8 0
mcl9k 9216 2 0 0 1 0 1 1 0 8 0
mcl8k 8192 6 0 0 1 0 1 1 0 8 0
mcl4k 4096 142 0 0 18 0 18 18 0 8 0
mcl2k 2048 32 0 0 4 0 4 4 0 8 0
mtagpl 96 11 0 0 1 0 1 1 0 8 0
mbufpl 256 339 0 0 22 0 22 22 0 8 0
bufpl 280 5022 0 101 352 0 352 352 0 8 0
anonpl 24 237730 0 231834 68 8 60 61 0 185 13
amapchunkpl 152 38925 0 38351 34 2 32 32 0 158 5
amappl16 200 5426 0 5330 25 7 18 18 0 8 8
amappl15 192 14 0 13 1 0 1 1 0 8 0
amappl14 184 161 0 148 1 0 1 1 0 8 0
amappl13 176 21 0 21 1 1 0 1 0 8 0
amappl12 168 2074 0 2041 3 1 2 2 0 8 0
amappl11 160 58 0 44 1 0 1 1 0 8 0
amappl10 152 10 0 10 2 2 0 1 0 8 0
amappl9 144 141 0 141 1 1 0 1 0 8 0
amappl8 136 31 0 28 1 0 1 1 0 8 0
amappl7 128 118 0 104 1 0 1 1 0 8 0
amappl6 120 205 0 202 1 0 1 1 0 8 0
amappl5 112 147 0 135 1 0 1 1 0 8 0
amappl4 104 337 0 314 1 0 1 1 0 8 0
amappl3 96 7104 0 7005 3 0 3 3 0 8 0
amappl2 88 1670 0 1581 3 0 3 3 0 8 0
amappl1 80 11344 0 10750 14 0 14 14 0 8 0
amappl 88 11306 0 11123 5 0 5 5 0 92 0
dma32768 32768 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 1 0 0 1 0 1 1 0 8 0
dma256 256 6 0 6 1 1 0 1 0 8 0
dma128 128 256 0 256 4 4 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 19 0 18 1 0 1 1 0 8 0
aobjpl 72 27 0 2 1 0 1 1 0 8 0
uaddrrnd 24 1358 0 1326 1 0 1 1 0 8 0
uaddrbest 32 2 0 0 1 0 1 1 0 8 0
uaddr 24 1358 0 1326 1 0 1 1 0 8 0
vmmpekpl 168 12730 0 12683 3 0 3 3 0 8 0
vmmpepl 168 90384 0 88394 105 5 100 101 0 357 6
vmsppl 448 1357 0 1326 6 1 5 5 0 8 0
rwobjpl 56 31110 0 25886 77 1 76 76 0 8 1
pdppl 4096 2723 0 2652 115 42 73 85 0 8 2
pvpl 32 16548 0 0 136 2 134 134 0 265 0
pmappl 248 1357 0 1326 3 0 3 3 0 8 0
extentpl 40 55 0 38 1 0 1 1 0 8 0
phpool 112 448 0 81 11 0 11 11 0 8 0
ddb{0}> machine ddbcpu 0
Invalid cpu 0
ddb{0}> trace
db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:437
panic(ffffffff830f3f4b) at panic+0x1e5 sys/kern/subr_prf.c:198
__assert(ffffffff830a7f95,ffffffff8304c6b7,69e,ffffffff8300e20b) at __assert+0x29
uvm_fault_unwire_locked(fffffd806a8fb8e8,20000000,20010000) at uvm_fault_unwire_locked+0x4b4
uvm_fault_unwire(fffffd806a8fb8e8,20000000,20010000) at uvm_fault_unwire+0x55 sys/uvm/uvm_fault.c:1657
kern_sysctl(ffff8000371c4914,2,20000100,ffff8000371c4948,0,37,29d1b8aefe9492b2) at kern_sysctl+0x500 sysctl_vsunlock sys/kern/kern_sysctl.c:209 [inline]
kern_sysctl(ffff8000371c4914,2,20000100,ffff8000371c4948,0,37,29d1b8aefe9492b2) at kern_sysctl+0x500 sys/kern/kern_sysctl.c:508
sys_sysctl(ffff80002a090a60,ffff8000371c4a80,ffff8000371c49d0) at sys_sysctl+0x425
syscall(ffff8000371c4a80) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:178 [inline]
syscall(ffff8000371c4a80) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0xfb23e23e710, count: -9
ddb{0}> machine ddbcpu 1
Stopped at x86_ipi_db+0x27: addq $0x8,%rsp
x86_ipi_db(ffff800029b7bff0) 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
end of kernel
end trace frame: 0x788bedf47880, count: 12
ddb{1}> trace
x86_ipi_db(ffff800029b7bff0) 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
end of kernel
end trace frame: 0x788bedf47880, count: -3