kernel: page fault trap, code=10 Stopped at 0 TID PID UID PRFLAGS PFLAGS CPU COMMAND 466077 97432 0 0x8002000 0x4080000 1 syz-executor.0 * 77598 38669 0 0x8001000 0x4080080 0 syz-executor.3 end trace frame: 0x0, 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{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic *cpu0: attempt to execute user address 0x0 in supervisor mode ddb{0}> trace end trace frame: 0x0, count: -1 ddb{0}> show registers rdi 0 rsi 0xffff80002d6fa7d8 rbp 0 rbx 0 rdx 0x56b52002 rcx 0 rax 0x800000006a9c6001 r8 0xffffffff8245a150 uvm_map_inentry_sp r9 0 r10 0x2a9637d137853290 r11 0x984b305ed1876ee2 r12 0 r13 0 r14 0 r15 0 rip 0 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002bae32d0 ss 0x10 0 ddb{0}> show proc PROC (syz-executor.3) tid=77598 pid=38669 tcnt=3 stat=onproc flags process=8001000 proc=4080080 runpri=24, usrpri=84, slppri=24, nice=20 wchan=0x0, wmesg=, ps_single=0xffff80002a1ffc50 forw=0xffffffffffffffff, list=0xffff80002a1ffc50,0xffff8000ffff6cf8 process=0xffff80002a295648 user=0xffff80002bade000, vmspace=0xfffffd8056719c18 estcpu=34, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 61966 20244 75749 0 3 0x8000080 nanoslp syz-executor.2 61966 116327 75749 0 3 0xc000080 fsleep syz-executor.2 61966 262012 75749 0 3 0xc000080 fsleep syz-executor.2 82731 361005 8627 0 2 0x8000000 syz-executor.1 82731 485230 8627 0 3 0xc000080 fsleep syz-executor.1 29737 308371 78130 60929 2 0x8000010 syz-executor.7 29737 145663 78130 60929 3 0xc000090 fsleep syz-executor.7 97432 342579 19825 0 4 0x8082000 syz-executor.0 97432 466077 19825 0 7 0xc082000 syz-executor.0 97432 106429 19825 0 3 0xc002000 suspend syz-executor.0 72812 273751 54369 0 3 0x8000082 nanoslp syz-executor.6 73084 233327 29451 0 2 0x8000000 syz-executor.5 73084 318478 29451 0 3 0xc000080 fsleep syz-executor.5 16477 309917 42063 0 2 0x8000480 syz-executor.4 16477 218584 42063 0 3 0xc000080 kqread syz-executor.4 38669 267764 11432 0 3 0x8003000 suspend syz-executor.3 *38669 77598 11432 0 7 0xc081080 syz-executor.3 38669 235597 11432 0 2 0xc081080 syz-executor.3 78130 284018 54369 0 2 0x8000482 syz-executor.7 29451 397096 54369 0 3 0x8000082 nanoslp syz-executor.5 42063 355808 54369 0 3 0x8000082 nanoslp syz-executor.4 67545 143010 1 0 3 0x18100083 ttyin getty 19825 438728 54369 0 3 0x8000082 nanoslp syz-executor.0 11432 6005 54369 0 2 0x8000482 syz-executor.3 21187 312448 0 0 3 0x14200 acct acct 8627 426964 54369 0 2 0x8000482 syz-executor.1 75749 367075 54369 0 3 0x8000082 nanoslp syz-executor.2 97306 59744 0 0 3 0x14200 bored sosplice 54369 490036 61878 0 3 0x1a000082 wait syz-fuzzer 54369 123815 61878 0 3 0x1e000082 nanoslp syz-fuzzer 54369 130509 61878 0 3 0x1e000082 wait syz-fuzzer 54369 252128 61878 0 3 0x1e000082 wait syz-fuzzer 54369 56012 61878 0 3 0x1e000082 thrsleep syz-fuzzer 54369 344868 61878 0 3 0x1e000082 thrsleep syz-fuzzer 54369 421768 61878 0 3 0x1e000082 wait syz-fuzzer 54369 220315 61878 0 3 0x1e000082 thrsleep syz-fuzzer 54369 123947 61878 0 3 0x1e000082 wait syz-fuzzer 54369 383057 61878 0 3 0x1e000082 thrsleep syz-fuzzer 54369 184698 61878 0 3 0x1e000082 thrsleep syz-fuzzer 54369 150012 61878 0 3 0x1e000082 thrsleep syz-fuzzer 54369 336137 61878 0 3 0x1e000082 wait syz-fuzzer 54369 105229 61878 0 3 0x1e000082 wait syz-fuzzer 54369 214393 61878 0 3 0x1e000082 wait syz-fuzzer 54369 358225 61878 0 3 0x1e000082 kqread syz-fuzzer 61878 226381 69773 0 3 0x810008a sigsusp ksh 69773 167069 57410 0 3 0x1800009a kqread sshd 57410 289885 1 0 3 0x18000088 kqread sshd 13459 99350 78554 73 3 0x19100090 kqread syslogd 78554 428997 1 0 3 0x18100082 sbwait syslogd 59445 420450 1 0 3 0x18100080 kqread resolvd 47184 81325 40634 77 3 0x18100092 kqread dhcpleased 89297 25278 40634 77 3 0x18100092 kqread dhcpleased 40634 250674 1 0 3 0x18000080 kqread dhcpleased 79972 396695 0 0 2 0x40014200 smr 86170 335444 0 0 3 0x14200 pgzero zerothread 69105 279782 0 0 3 0x14200 aiodoned aiodoned 47356 482576 0 0 3 0x14200 syncer update 30174 407685 0 0 3 0x14200 cleaner cleaner 2389 19103 0 0 3 0x14200 reaper reaper 48637 211866 0 0 3 0x14200 pgdaemon pagedaemon 43870 355370 0 0 3 0x14200 bored viomb 34092 255328 0 0 3 0x40014200 acpi0 acpi0 86812 200494 0 0 3 0x40014200 idle1 73937 318656 0 0 3 0x14200 bored softnet3 96094 375191 0 0 3 0x14200 bored softnet2 25122 108119 0 0 3 0x14200 bored softnet1 82691 391026 0 0 3 0x14200 bored softnet0 60954 140428 0 0 3 0x14200 bored systqmp 24047 494043 0 0 3 0x14200 bored systq 37554 133655 0 0 3 0x14200 tmoslp softclockmp 98407 117860 0 0 3 0x40014200 tmoslp softclock 2133 496168 0 0 3 0x40014200 idle0 1 39888 0 0 3 0x8080082 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks CPU 0: exclusive sched_lock &sched_lock r = 0 (0xffffffff82dd44a8) #0 witness_lock+0x446 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x446 sys/kern/subr_witness.c:1157 #1 sleep_finish+0x145 sys/kern/kern_synch.c:401 #2 single_thread_set+0x398 single_thread_wait sys/kern/kern_sig.c:2224 [inline] #2 single_thread_set+0x398 sys/kern/kern_sig.c:2205 #3 exit1+0xb1 #4 sys_exit+0x1a sys/kern/kern_exit.c:89 #5 syscall+0x854 mi_syscall sys/sys/syscall_mi.h:180 [inline] #5 syscall+0x854 sys/arch/amd64/amd64/trap.c:577 #6 Xsyscall+0x128 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10202 6441K 7089K 166960K 15790 0 pcb 17 12K 12K 166960K 472 0 rtable 166 14K 15K 166960K 1569 0 pf 38 10K 10K 166960K 211 0 ifaddr 42 15K 16K 166960K 228 0 ifgroup 69 2K 3K 166960K 349 0 sysctl 4 1K 1K 166960K 9 0 counters 72 37K 37K 166960K 210 0 ioctlops 0 0K 4K 166960K 1655 0 iov 0 0K 16K 166960K 162 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1381 87K 88K 166960K 3817 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 44 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 196 0 dirhash 12 2K 3K 166960K 81 0 ACPI 1697 195K 286K 166960K 12548 0 file desc 18 65K 89K 166960K 3047 0 sigio 0 0K 0K 166960K 52 0 proc 58 79K 115K 166960K 1580 0 subproc 117 7K 7K 166960K 481 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 453 0 in_multi 63 4K 7K 166960K 537 0 ether_multi 1 0K 0K 166960K 32 0 mrt 1 0K 0K 166960K 9 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 103 466K 466K 166960K 103 0 exec 0 0K 1K 166960K 1130 0 pfkey data 0 0K 0K 166960K 4 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 315 120K 126K 166960K 28168 0 UVM aobj 15 4K 4K 166960K 15 0 pinsyscall 38 76K 100K 166960K 4981 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 232 0 NDP 17 0K 1K 166960K 158 0 temp 81 6820K 7316K 166960K 97684 0 kqueue 13 20K 30K 166960K 453 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 411 0 408 1 0 1 1 0 8 0 rtentry 112 527 0 461 4 1 3 4 0 8 0 unpcb 144 2290 0 2277 4 2 2 2 0 8 1 syncache 336 4 0 4 1 1 0 1 0 8 0 sackhl 24 1 0 1 1 1 0 1 0 8 0 tcpqe 32 28 111 28 1 1 0 1 0 8 0 tcpcb 808 943 0 935 24 22 2 7 0 8 0 arp 120 98 0 84 1 0 1 1 0 8 0 inpcb 384 3116 0 3105 28 25 3 8 0 8 1 nd6 136 129 0 114 2 1 1 2 0 8 0 pkpcb 40 20 0 20 12 12 0 1 0 8 0 kcovpl 48 37 0 28 1 0 1 1 0 8 0 ppxss 1168 15 0 15 9 9 0 1 0 8 0 pffrag 232 32 0 30 3 2 1 1 0 482 0 pffrnode 88 27 0 25 3 2 1 1 0 8 0 pffrent 40 386 0 384 5 4 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 298 0 254 1 0 1 1 0 8 0 pfstkey 128 298 0 254 4 1 3 3 0 8 0 pfstate 376 298 0 254 12 6 6 7 0 8 0 pfrule 1344 21 0 16 2 1 1 2 0 8 0 art_heap8 4096 3 0 2 3 2 1 2 0 8 0 art_heap4 256 1982 0 1675 49 29 20 29 0 8 0 art_table 32 1985 0 1677 4 1 3 4 0 8 0 art_node 16 516 0 457 1 0 1 1 0 8 0 sysvmsgpl 40 16 0 9 1 0 1 1 0 8 0 semupl 112 3 0 3 1 1 0 1 0 8 0 semapl 112 194 0 184 1 0 1 1 0 8 0 shmpl 112 12 0 0 1 0 1 1 0 8 0 dirhash 1024 63 0 46 3 0 3 3 0 8 0 dino2pl 256 6229 0 4691 97 0 97 97 0 8 0 ffsino 272 6229 0 4691 103 0 103 103 0 8 0 nchpl 144 10805 0 10211 67 40 27 67 0 8 0 uvmvnodes 80 8012 0 0 164 0 164 164 0 8 0 vnodes 216 8012 0 0 446 0 446 446 0 8 0 namei 1024 38852 0 38852 10 9 1 2 0 8 1 percpumem 16 119 0 69 1 0 1 1 0 8 0 vcpupl 3904 9 0 2 1 0 1 1 0 8 0 vmpool 696 15 0 8 1 0 1 1 0 8 0 kstatmem 264 168 0 138 4 1 3 3 0 8 0 scsiplug 72 8 0 8 7 6 1 1 0 8 1 scxspl 216 91150 0 91142 25 22 3 8 1 8 2 plimitpl 152 559 0 542 1 0 1 1 0 8 0 sigapl 424 3305 0 3255 6 0 6 6 0 8 0 futexpl 64 48821 0 48815 11 10 1 1 0 8 0 knotepl 120 749 0 0 19 1 18 19 0 8 0 kqueuepl 216 896 0 886 1 0 1 1 0 8 0 pipepl 320 585 0 557 3 0 3 3 0 8 0 fdescpl 496 3282 0 3253 7 3 4 5 0 8 0 filepl 152 21927 0 21668 17 5 12 12 0 8 0 lockfpl 104 835 0 833 1 0 1 1 0 8 0 lockfspl 48 334 0 332 1 0 1 1 0 8 0 sessionpl 144 56 0 39 1 0 1 1 0 8 0 pgrppl 48 107 0 90 1 0 1 1 0 8 0 ucredpl 104 4063 0 4045 1 0 1 1 0 8 0 zombiepl 144 3257 0 3255 1 0 1 1 0 8 0 processpl 1136 3305 0 3255 4 0 4 4 0 8 0 procpl 656 6484 0 6409 7 0 7 7 0 8 0 srpgc 96 36 0 36 11 11 0 1 0 8 0 sosppl 168 26 0 26 14 13 1 1 0 8 1 sockpl 664 5864 0 5837 36 31 5 8 0 8 2 mcl64k 65536 8 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 6 0 0 1 0 1 1 0 8 0 mcl2k 2048 628 0 0 44 7 37 44 0 8 0 mtagpl 96 22 0 0 1 0 1 1 0 8 0 mbufpl 256 1355 0 0 71 0 71 71 0 8 0 bufpl 280 14153 0 4791 669 0 669 669 0 8 0 anonpl 24 541811 0 534055 175 105 70 99 0 186 1 amapchunkpl 152 93924 0 93166 101 63 38 48 0 158 4 amappl16 200 10910 0 10693 93 81 12 21 0 8 0 amappl15 192 9 0 9 3 3 0 1 0 8 0 amappl14 184 259 0 246 2 1 1 2 0 8 0 amappl13 176 52 0 52 1 1 0 1 0 8 0 amappl12 168 4415 0 4381 3 1 2 3 0 8 0 amappl11 160 52 0 42 1 0 1 1 0 8 0 amappl10 152 85 0 72 2 1 1 1 0 8 0 amappl9 144 176 0 175 1 0 1 1 0 8 0 amappl8 136 260 0 221 2 0 2 2 0 8 0 amappl7 128 75 0 61 1 0 1 1 0 8 0 amappl6 120 743 0 727 2 0 2 2 0 8 0 amappl5 112 280 0 268 1 0 1 1 0 8 0 amappl4 104 804 0 769 2 0 2 2 0 8 0 amappl3 96 17593 0 17494 3 0 3 3 0 8 0 amappl2 88 3749 0 3677 4 2 2 4 0 8 0 amappl1 80 20392 0 19888 24 12 12 22 0 8 0 amappl 88 27137 0 26912 9 3 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 14 0 0 1 0 1 1 0 8 0 uaddrrnd 24 3297 0 3261 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 3297 0 3261 1 0 1 1 0 8 0 vmmpekpl 168 25765 0 25690 4 0 4 4 0 8 0 vmmpepl 168 218462 0 216385 190 89 101 118 0 357 4 vmsppl 440 3296 0 3261 7 2 5 5 0 8 0 rwobjpl 56 62367 0 53110 143 12 131 131 0 8 0 pdppl 4096 6601 0 6529 280 204 76 77 0 8 4 pvpl 32 49284 0 0 399 1 398 398 0 265 0 pmappl 248 3296 0 3261 4 1 3 3 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 700 0 285 13 0 13 13 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace end trace frame: 0x0, count: -1 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x1e: addq $0x8,%rsp x86_ipi_db(ffff800029cebff0) at x86_ipi_db+0x1e sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 __sanitizer_cov_trace_const_cmp8(0,0) at __sanitizer_cov_trace_const_cmp8+0x35 kd_curproc sys/dev/kcov.c:590 [inline] __sanitizer_cov_trace_const_cmp8(0,0) at __sanitizer_cov_trace_const_cmp8+0x35 sys/dev/kcov.c:241 rw_enter(fffffd80567197d0,2) at rw_enter+0x63 uvmfault_lookup(ffff80002a25ffe0,0) at uvmfault_lookup+0xd9 sys/uvm/uvm_fault.c:1785 uvm_fault_check(ffff80002a25ffe0,ffff80002a260018,ffff80002a260040) at uvm_fault_check+0x3e sys/uvm/uvm_fault.c:672 uvm_fault(fffffd80567196f0,37c000,0,2) at uvm_fault+0xf2 sys/uvm/uvm_fault.c:600 kpageflttrap(ffff80002a260180,37cfe0) at kpageflttrap+0x238 sys/arch/amd64/amd64/trap.c:279 kerntrap(ffff80002a260180) at kerntrap+0xf2 sys/arch/amd64/amd64/trap.c:332 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b copyout() at copyout+0x57 syscall(ffff80002a2605d0) at syscall+0x8cf mi_syscall sys/sys/syscall_mi.h:180 [inline] syscall(ffff80002a2605d0) at syscall+0x8cf sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x3ecd68d1ce0, count: 1 ddb{1}> trace x86_ipi_db(ffff800029cebff0) at x86_ipi_db+0x1e sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 __sanitizer_cov_trace_const_cmp8(0,0) at __sanitizer_cov_trace_const_cmp8+0x35 kd_curproc sys/dev/kcov.c:590 [inline] __sanitizer_cov_trace_const_cmp8(0,0) at __sanitizer_cov_trace_const_cmp8+0x35 sys/dev/kcov.c:241 rw_enter(fffffd80567197d0,2) at rw_enter+0x63 uvmfault_lookup(ffff80002a25ffe0,0) at uvmfault_lookup+0xd9 sys/uvm/uvm_fault.c:1785 uvm_fault_check(ffff80002a25ffe0,ffff80002a260018,ffff80002a260040) at uvm_fault_check+0x3e sys/uvm/uvm_fault.c:672 uvm_fault(fffffd80567196f0,37c000,0,2) at uvm_fault+0xf2 sys/uvm/uvm_fault.c:600 kpageflttrap(ffff80002a260180,37cfe0) at kpageflttrap+0x238 sys/arch/amd64/amd64/trap.c:279 kerntrap(ffff80002a260180) at kerntrap+0xf2 sys/arch/amd64/amd64/trap.c:332 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b copyout() at copyout+0x57 syscall(ffff80002a2605d0) at syscall+0x8cf mi_syscall sys/sys/syscall_mi.h:180 [inline] syscall(ffff80002a2605d0) at syscall+0x8cf sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x3ecd68d1ce0, count: -14