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 379985 85737 0 0 0 1 syz-executor *522424 85737 0 0 0x4000000 0K syz-executor db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff830f6312) at panic+0x1e5 sys/kern/subr_prf.c:198 __assert(ffffffff830a7cd6,ffffffff83050009,69e,ffffffff83011f3a) at __assert+0x29 uvm_fault_unwire_locked(fffffd806bccf1e8,20000000,20010000) at uvm_fault_unwire_locked+0x4b4 uvm_fault_unwire(fffffd806bccf1e8,20000000,20010000) at uvm_fault_unwire+0x55 sys/uvm/uvm_fault.c:1657 kern_sysctl(ffff80002d9740e4,2,20000100,ffff80002d974118,0,37,638b816e3bf31283) at kern_sysctl+0x500 sysctl_vsunlock sys/kern/kern_sysctl.c:209 [inline] kern_sysctl(ffff80002d9740e4,2,20000100,ffff80002d974118,0,37,638b816e3bf31283) at kern_sysctl+0x500 sys/kern/kern_sysctl.c:508 sys_sysctl(ffff8000305847c8,ffff80002d974250,ffff80002d9741a0) at sys_sysctl+0x425 syscall(ffff80002d974250) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:178 [inline] syscall(ffff80002d974250) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7c92ce8baa0, 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(ffffffff830f6312) at panic+0x1e5 sys/kern/subr_prf.c:198 __assert(ffffffff830a7cd6,ffffffff83050009,69e,ffffffff83011f3a) at __assert+0x29 uvm_fault_unwire_locked(fffffd806bccf1e8,20000000,20010000) at uvm_fault_unwire_locked+0x4b4 uvm_fault_unwire(fffffd806bccf1e8,20000000,20010000) at uvm_fault_unwire+0x55 sys/uvm/uvm_fault.c:1657 kern_sysctl(ffff80002d9740e4,2,20000100,ffff80002d974118,0,37,638b816e3bf31283) at kern_sysctl+0x500 sysctl_vsunlock sys/kern/kern_sysctl.c:209 [inline] kern_sysctl(ffff80002d9740e4,2,20000100,ffff80002d974118,0,37,638b816e3bf31283) at kern_sysctl+0x500 sys/kern/kern_sysctl.c:508 sys_sysctl(ffff8000305847c8,ffff80002d974250,ffff80002d9741a0) at sys_sysctl+0x425 syscall(ffff80002d974250) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:178 [inline] syscall(ffff80002d974250) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7c92ce8baa0, count: -9 ddb{0}> show registers rdi 0 rsi 0x1 rbp 0xffff80002d973d70 rbx 0xffffffff834c2dbf cpu_info_full_primary+0x2dbf rdx 0 rcx 0xffff8000305847c8 rax 0xffffffff834c1ff0 cpu_info_full_primary+0x1ff0 r8 0 r9 0x8080808080808080 r10 0x9a39add99d2c3990 r11 0x3ad85975eed01eb0 r12 0xffffffff834c2bc0 cpu_info_full_primary+0x2bc0 r13 0 r14 0 r15 0x1 rip 0xffffffff82500785 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff80002d973d60 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb{0}> show proc PROC (syz-executor) tid=522424 pid=85737 tcnt=3 stat=onproc flags process=0 proc=4000000 runpri=36, usrpri=50, slppri=36, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff8000371b6038,0xffffffff835ecba0 process=0xffff800035a1d6b0 user=0xffff80002d96f000, vmspace=0xfffffd806bccf1e8 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 85737 379985 6518 0 7 0 syz-executor 85737 425740 6518 0 2 0x4000000 syz-executor *85737 522424 6518 0 7 0x4000000 syz-executor 82514 428027 41471 0 2 0 syz-executor 82514 367081 41471 0 2 0x4000000 syz-executor 38047 481715 20373 0 2 0 syz-executor 38047 511424 20373 0 3 0x4000080 fsleep syz-executor 87596 13064 79301 0 2 0 syz-executor 87596 439811 79301 0 3 0x4000080 fsleep syz-executor 32506 366902 79738 0 2 0x1 syz-executor 32506 115703 79738 0 3 0x4000080 ttyout syz-executor 33949 512958 24941 0 2 0 syz-executor 33949 423082 24941 0 3 0x4000000 fltagain2 syz-executor 33949 522130 24941 0 3 0x4000080 fsleep syz-executor 10031 411028 35358 0 2 0 syz-executor 10031 137950 35358 0 2 0x4000000 syz-executor 10031 500095 35358 0 2 0x4000001 syz-executor 79700 58395 0 0 3 0x14200 acct acct 55924 146874 1 0 3 0x100083 ttyin getty 20893 245972 0 0 3 0x14280 nfsidl nfsio 84930 298175 0 0 3 0x14280 nfsidl nfsio 52253 423598 0 0 3 0x14280 nfsidl nfsio 52771 190349 0 0 3 0x14280 nfsidl nfsio 73385 499150 0 0 3 0x14280 nfsidl nfsio 91348 383228 0 0 3 0x14280 nfsidl nfsio 43302 377430 0 0 3 0x14280 nfsidl nfsio 39260 7233 0 0 3 0x14280 nfsidl nfsio 2364 50220 0 0 3 0x14280 nfsidl nfsio 5530 325991 0 0 3 0x14280 nfsidl nfsio 47584 124397 0 0 3 0x14280 nfsidl nfsio 98344 128559 0 0 3 0x14280 nfsidl nfsio 11093 120531 0 0 3 0x14280 nfsidl nfsio 61391 169810 0 0 3 0x14280 nfsidl nfsio 67971 388650 0 0 3 0x14280 nfsidl nfsio 14503 34972 0 0 3 0x14280 nfsidl nfsio 70418 108324 0 0 3 0x14280 nfsidl nfsio 42542 502828 0 0 3 0x14280 nfsidl nfsio 90944 311815 0 0 3 0x14280 nfsidl nfsio 87507 115761 0 0 3 0x14280 nfsidl nfsio 6518 484105 30884 0 2 0x482 syz-executor 88583 156489 0 0 3 0x14200 bored sosplice 41471 91660 30884 0 2 0x3 syz-executor 14564 154462 30884 0 3 0x82 wait syz-executor 79738 245537 30884 0 3 0x82 nanoslp syz-executor 20373 277842 30884 0 3 0x82 nanoslp syz-executor 79301 69082 30884 0 2 0x3 syz-executor 35358 459412 30884 0 3 0x82 nanoslp syz-executor 24941 432068 30884 0 3 0x82 nanoslp syz-executor 30884 479885 8412 0 3 0x82 kqread syz-executor 8412 466598 50040 0 3 0x10008a sigsusp ksh 50040 275040 40319 0 3 0x98 kqread sshd-session 40319 328691 15112 0 3 0x92 kqread sshd-session 15112 202936 1 0 3 0x88 kqread sshd 73230 128326 73991 74 3 0x1100092 bpf pflogd 73991 288878 1 0 3 0x80 sbwait pflogd 2503 467982 17197 73 3 0x1100090 kqread syslogd 17197 167949 1 0 3 0x100082 sbwait syslogd 36122 503154 1 0 3 0x100080 kqread resolvd 85037 87338 1344 77 3 0x100092 kqread dhcpleased 11612 394257 1344 77 3 0x100092 kqread dhcpleased 1344 268098 1 0 3 0x80 kqread dhcpleased 37378 355446 0 0 3 0x14200 bored smr 95779 32703 0 0 3 0x14200 pgzero zerothread 24345 208653 0 0 3 0x14200 aiodoned aiodoned 8277 85348 0 0 3 0x14200 syncer update 28344 288766 0 0 3 0x14200 cleaner cleaner 69714 491108 0 0 3 0x14200 reaper reaper 82227 487010 0 0 3 0x14200 pgdaemon pagedaemon 64735 219098 0 0 3 0x14200 bored viomb 59932 272275 0 0 3 0x40014200 acpi0 acpi0 66058 220780 0 0 3 0x40014200 idle1 17619 38067 0 0 3 0x14200 bored softnet3 8230 295347 0 0 3 0x14200 bored softnet2 78911 83325 0 0 3 0x14200 bored softnet1 34218 102482 0 0 3 0x14200 bored softnet0 39679 377824 0 0 3 0x14200 bored systqmp 40763 229442 0 0 3 0x14200 bored systq 51899 175515 0 0 3 0x14200 tmoslp softclockmp 86493 56017 0 0 2 0x40014200 softclock 69500 17764 0 0 3 0x40014200 idle0 1 19989 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 85737 (syz-executor) thread 0xffff8000305847c8 (522424) Process 10031 (syz-executor) thread 0xffff8000371b6a58 (137950) ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10230 11202K 11651K 166960K 14539 0 pcb 18 20K 23K 166960K 486 0 rtable 186 7K 8K 166960K 559 0 pf 42 19K 338K 166960K 96 0 ifaddr 40 6K 8K 166960K 76 0 ifgroup 63 2K 2K 166960K 105 0 sysctl 3 0K 0K 166960K 5 0 counters 68 36K 37K 166960K 100 0 ioctlops 0 0K 4K 166960K 1849 0 iov 0 0K 16K 166960K 179 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1484 93K 94K 166960K 3095 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 3 5K 13K 166960K 23 0 VM map 2 1K 1K 166960K 2 0 sem 28 2K 2K 166960K 242 0 dirhash 12 2K 2K 166960K 39 0 ACPI 1690 195K 286K 166960K 12468 0 file desc 18 65K 93K 166960K 1735 0 sigio 0 0K 0K 166960K 27 0 proc 72 91K 128K 166960K 759 0 subproc 104 6K 6K 166960K 117 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 261 0 in_multi 78 5K 7K 166960K 187 0 ether_multi 1 0K 0K 166960K 15 0 mrt 2 0K 0K 166960K 4 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 217 970K 970K 166960K 217 0 exec 0 0K 1K 166960K 666 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 2 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 254 77K 87K 166960K 18662 0 UVM aobj 131 6K 6K 166960K 138 0 pinsyscall 43 86K 104K 166960K 2973 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 1K 166960K 138 0 NDP 14 0K 2K 166960K 51 0 temp 77 6828K 7084K 166960K 78244 0 kqueue 13 20K 30K 166960K 302 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 145 0 142 1 0 1 1 0 8 0 rtentry 112 174 0 93 4 0 4 4 0 8 0 unpcb 144 1743 0 1724 15 9 6 9 0 8 5 syncache 336 22 0 22 3 2 1 1 0 8 1 tcpqe 32 6 0 6 3 2 1 1 0 8 1 tcpcb 808 707 0 697 15 6 9 11 0 8 6 arp 120 32 0 16 1 0 1 1 0 8 0 ipq 40 1 0 1 1 1 0 1 0 8 0 ipqe 40 3 0 3 1 1 0 1 0 8 0 inpcb 336 2850 0 2835 30 21 9 13 0 8 6 nd6 136 32 0 11 1 0 1 1 0 8 0 pkpcb 40 10 0 10 4 3 1 1 0 8 1 kcovpl 48 9 0 1 1 0 1 1 0 8 0 ppxss 1168 12 0 12 3 2 1 1 0 8 1 pfstscr 40 2 0 1 1 0 1 1 0 8 0 pffrag 232 5 0 2 1 0 1 1 0 482 0 pffrnode 88 5 0 2 1 0 1 1 0 8 0 pffrent 40 13 0 10 2 1 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 73 0 33 1 0 1 1 0 8 0 pfstkey 128 73 0 32 3 0 3 3 0 8 0 pfstate 376 70 0 32 7 0 7 7 0 8 0 pfsrctr 152 8 0 6 1 0 1 1 0 8 0 pfrule 1344 26 0 18 2 0 2 2 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 732 0 364 32 4 28 30 0 8 2 art_table 32 734 0 364 4 0 4 4 0 8 0 art_node 16 168 0 102 1 0 1 1 0 8 0 sysvmsgpl 40 2 0 0 1 0 1 1 0 8 0 semupl 112 2 0 2 2 2 0 1 0 8 0 semapl 112 231 0 205 1 0 1 1 0 8 0 shmpl 112 135 0 7 4 0 4 4 0 8 0 dirhash 1024 35 0 18 3 0 3 3 0 8 0 dino2pl 256 4628 0 3127 95 0 95 95 0 8 0 ffsino 272 4628 0 3127 102 1 101 102 0 8 0 nchpl 144 7126 0 5432 64 0 64 64 0 8 0 uvmvnodes 80 5790 0 0 119 0 119 119 0 8 0 vnodes 216 5790 0 0 322 0 322 322 0 8 0 namei 1024 25380 0 25380 3 2 1 2 0 8 1 percpumem 16 64 0 16 1 0 1 1 0 8 0 kstatmem 264 60 0 32 4 1 3 3 0 8 1 scsiplug 72 12 0 12 2 1 1 1 0 8 1 scxspl 216 21633 0 21633 13 10 3 8 1 8 3 plimitpl 152 567 0 548 1 0 1 1 0 8 0 sigapl 424 2089 0 2017 10 1 9 9 0 8 0 futexpl 64 25301 0 25298 2 1 1 1 0 8 0 knotepl 120 552 0 0 17 0 17 17 0 8 0 kqueuepl 216 588 0 579 5 4 1 5 0 8 0 pipepl 320 405 0 376 9 6 3 6 0 8 0 fdescpl 496 2046 0 2014 5 0 5 5 0 8 0 filepl 152 15600 0 15336 27 9 18 19 0 8 7 lockfpl 104 885 0 882 2 1 1 2 0 8 0 lockfspl 48 378 0 375 1 0 1 1 0 8 0 sessionpl 144 44 0 35 1 0 1 1 0 8 0 pgrppl 48 71 0 54 1 0 1 1 0 8 0 ucredpl 104 2970 0 2957 1 0 1 1 0 8 0 zombiepl 144 2667 0 2666 2 1 1 1 0 8 0 processpl 1160 2089 0 2017 7 1 6 6 0 8 0 procpl 648 4905 0 4823 8 0 8 8 0 8 0 srpgc 96 3 0 3 1 1 0 1 0 8 0 sosppl 168 19 0 19 2 1 1 1 0 8 1 sockpl 664 4781 0 4744 45 32 13 20 0 8 8 mcl64k 65536 4 0 0 1 0 1 1 0 8 0 mcl16k 16384 2 0 0 1 0 1 1 0 8 0 mcl12k 12288 1 0 0 1 0 1 1 0 8 0 mcl9k 9216 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 7 0 0 1 0 1 1 0 8 0 mcl4k 4096 127 0 0 16 0 16 16 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 31 0 0 4 0 4 4 0 8 0 mtagpl 96 129 0 0 4 0 4 4 0 8 0 mbufpl 256 320 0 0 19 0 19 19 0 8 0 bufpl 280 6941 0 766 442 0 442 442 0 8 0 anonpl 24 299176 0 294649 95 52 43 72 0 185 0 amapchunkpl 152 60323 0 59733 42 13 29 32 0 158 5 amappl16 200 6664 0 6622 64 60 4 27 0 8 0 amappl15 192 3 0 3 1 1 0 1 0 8 0 amappl14 184 162 0 150 1 0 1 1 0 8 0 amappl13 176 5 0 3 1 0 1 1 0 8 0 amappl12 168 2750 0 2718 4 2 2 3 0 8 0 amappl11 160 54 0 40 1 0 1 1 0 8 0 amappl10 152 14 0 13 2 1 1 1 0 8 0 amappl9 144 201 0 201 1 1 0 1 0 8 0 amappl8 136 36 0 33 1 0 1 1 0 8 0 amappl7 128 141 0 128 1 0 1 1 0 8 0 amappl6 120 176 0 174 1 0 1 1 0 8 0 amappl5 112 158 0 146 1 0 1 1 0 8 0 amappl4 104 400 0 380 1 0 1 1 0 8 0 amappl3 96 11064 0 10961 3 0 3 3 0 8 0 amappl2 88 2513 0 2426 3 0 3 3 0 8 0 amappl1 80 17350 0 16774 17 2 15 16 0 8 0 amappl 88 17959 0 17769 5 0 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 257 0 257 3 2 1 1 0 8 1 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 20 0 19 1 0 1 1 0 8 0 aobjpl 72 137 0 7 3 0 3 3 0 8 0 uaddrrnd 24 2046 0 2014 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2046 0 2014 1 0 1 1 0 8 0 vmmpekpl 168 19859 0 19810 3 0 3 3 0 8 0 vmmpepl 168 135475 0 133516 125 32 93 107 0 357 0 vmsppl 448 2045 0 2014 6 2 4 5 0 8 0 rwobjpl 56 44889 0 37994 99 0 99 99 0 8 0 pdppl 4096 4099 0 4028 129 58 71 87 0 8 0 pvpl 32 18135 0 0 148 1 147 147 0 265 0 pmappl 248 2045 0 2014 3 0 3 3 0 8 0 extentpl 40 55 0 38 1 0 1 1 0 8 0 phpool 112 468 0 100 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(ffffffff830f6312) at panic+0x1e5 sys/kern/subr_prf.c:198 __assert(ffffffff830a7cd6,ffffffff83050009,69e,ffffffff83011f3a) at __assert+0x29 uvm_fault_unwire_locked(fffffd806bccf1e8,20000000,20010000) at uvm_fault_unwire_locked+0x4b4 uvm_fault_unwire(fffffd806bccf1e8,20000000,20010000) at uvm_fault_unwire+0x55 sys/uvm/uvm_fault.c:1657 kern_sysctl(ffff80002d9740e4,2,20000100,ffff80002d974118,0,37,638b816e3bf31283) at kern_sysctl+0x500 sysctl_vsunlock sys/kern/kern_sysctl.c:209 [inline] kern_sysctl(ffff80002d9740e4,2,20000100,ffff80002d974118,0,37,638b816e3bf31283) at kern_sysctl+0x500 sys/kern/kern_sysctl.c:508 sys_sysctl(ffff8000305847c8,ffff80002d974250,ffff80002d9741a0) at sys_sysctl+0x425 syscall(ffff80002d974250) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:178 [inline] syscall(ffff80002d974250) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7c92ce8baa0, 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: 0x75061d8a4ee0, 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: 0x75061d8a4ee0, count: -3