kernel: page fault trap, code=10 Stopped at 0 TID PID UID PRFLAGS PFLAGS CPU COMMAND *280470 24715 0 0x9000010 0 0 syz-executor 56564 15301 0 0x14000 0x200 1 zerothread 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 0x6bbc000 __kernel_phys_end+0x33bc000 rsi 0xffff80002a03d488 rbp 0 rbx 0 rdx 0x60f03002 rcx 0 rax 0x8000000060f04001 r8 0 r9 0 r10 0x7382ee262f905f2f r11 0x4041eb3edb4574b5 r12 0xffffffffffffffff r13 0 r14 0 r15 0 rip 0 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800035dc50d0 ss 0x10 0 ddb{0}> show proc PROC (syz-executor) tid=280470 pid=24715 tcnt=2 stat=onproc flags process=9000010 proc=0 runpri=84, usrpri=84, slppri=16, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a03dc20,0xffff80002a03d9a8 process=0xffff8000fffe8da8 user=0xffff800035dc0000, vmspace=0xfffffd8076bae380 estcpu=34, cpticks=1, pctcpu=0.0, user=1, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 54788 10658 61326 0 3 0x8000002 clonelk ifconfig 79886 146488 98856 0 2 0x8000000 syz-executor 79886 414133 98856 0 3 0xc000080 fsleep syz-executor 61326 268674 64472 0 3 0x810008a sigsusp sh 30736 63636 1643 0 2 0x8000000 syz-executor 30736 89540 1643 0 2 0xc000000 syz-executor 30736 73317 1643 0 3 0xc000080 fsleep syz-executor 30736 229763 1643 0 3 0xc000080 fsleep syz-executor *24715 280470 8363 0 7 0x9000010 syz-executor 24715 228996 8363 0 3 0xd000090 fsleep syz-executor 64472 153965 53357 0 3 0x8000082 wait syz-executor 1643 296256 53357 0 3 0x8000082 nanoslp syz-executor 8363 239295 53357 0 3 0x8000082 nanoslp syz-executor 45748 162332 0 0 3 0x14200 acct acct 98856 141369 53357 0 3 0x8000082 nanoslp syz-executor 49353 368500 53357 0 3 0x8000082 piperd syz-executor 53342 12415 53357 0 3 0x8000082 piperd syz-executor 62607 331467 53357 0 3 0x8000082 piperd syz-executor 59381 18981 1 0 3 0x18100083 ttyin getty 89353 378170 0 0 3 0x14200 bored sosplice 53357 94295 83656 0 3 0x8000082 wait syz-executor 83656 364683 45376 0 3 0x810008a sigsusp ksh 45376 270205 10417 0 3 0x18000098 kqread sshd-session 10417 164024 34178 0 3 0x18000092 kqread sshd-session 34178 477869 1 0 3 0x18000088 kqread sshd 29413 163737 76951 74 3 0x19100092 bpf pflogd 76951 181763 1 0 3 0x18000080 sbwait pflogd 89611 269277 79302 73 3 0x19100090 kqread syslogd 79302 203101 1 0 3 0x18100082 sbwait syslogd 13252 9055 1 0 3 0x18100080 kqread resolvd 15058 293024 8324 77 3 0x18100092 kqread dhcpleased 18442 331864 8324 77 3 0x18100092 kqread dhcpleased 8324 248814 1 0 3 0x18000080 kqread dhcpleased 15170 400300 0 0 3 0x14200 bored smr 15301 56564 0 0 7 0x14200 zerothread 13409 80393 0 0 3 0x14200 aiodoned aiodoned 10012 348981 0 0 3 0x14200 syncer update 72151 65048 0 0 3 0x14200 cleaner cleaner 55548 436031 0 0 3 0x14200 reaper reaper 83967 255232 0 0 3 0x14200 pgdaemon pagedaemon 54658 189612 0 0 3 0x14200 bored viomb 23781 197191 0 0 3 0x40014200 acpi0 acpi0 56841 64824 0 0 3 0x40014200 idle1 80844 239457 0 0 3 0x14200 bored softnet3 78983 287445 0 0 3 0x14200 bored softnet2 38085 405795 0 0 3 0x14200 bored softnet1 60188 452637 0 0 3 0x14200 bored softnet0 34118 346173 0 0 3 0x14200 bored systqmp 35227 48301 0 0 3 0x14200 bored systq 48602 230083 0 0 3 0x14200 tmoslp softclockmp 27992 423017 0 0 3 0x40014200 tmoslp softclock 20472 234630 0 0 3 0x40014200 idle0 1 14655 0 0 3 0x8080082 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks CPU 0: exclusive mutex &sched_lock r = 0 (0xffffffff835a8da8) #0 witness_lock+0x5b8 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5b8 sys/kern/subr_witness.c:1151 #1 mtx_enter_try+0x178 #2 mtx_enter+0x60 sys/kern/kern_lock.c:239 #3 sleep_finish+0x1b9 sys/kern/kern_synch.c:400 #4 rwsleep+0xf2 sys/kern/kern_synch.c:300 #5 futex_wait+0x372 sys/kern/sys_futex.c:250 #6 sys_futex+0x149 sys/kern/sys_futex.c:101 #7 syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] #7 syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 #8 Xsyscall+0x128 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10230 10189K 14542K 166960K 17784 0 pcb 17 20K 25K 166960K 1114 0 rtable 197 18K 20K 166960K 6873 0 pf 42 19K 26K 166960K 721 0 ifaddr 36 7K 9K 166960K 899 0 ifgroup 60 2K 3K 166960K 975 0 sysctl 4 1K 3K 166960K 5 0 counters 66 36K 37K 166960K 542 0 ioctlops 0 0K 4K 166960K 2321 0 iov 0 0K 28K 166960K 373 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1547 97K 98K 166960K 8725 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 89 0 VM map 2 1K 1K 166960K 2 0 sem 21 32K 32K 166960K 570 0 dirhash 15 2K 3K 166960K 234 0 ACPI 1697 195K 286K 166960K 12548 0 file desc 15 53K 97K 166960K 6413 0 sigio 0 0K 0K 166960K 109 0 proc 80 115K 140K 166960K 6355 0 subproc 104 6K 6K 166960K 2691 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 629 0 in_multi 67 5K 7K 166960K 2366 0 ether_multi 1 0K 0K 166960K 17 0 mrt 1 0K 0K 166960K 10 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 247 1102K 1102K 166960K 247 0 exec 0 0K 1K 166960K 3741 0 pfkey data 0 0K 0K 166960K 8 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 213 120K 162K 166960K 50157 0 UVM aobj 131 6K 8K 166960K 136 0 pinsyscall 40 80K 108K 166960K 12659 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 368 0 NDP 13 0K 1K 166960K 666 0 temp 80 6816K 6944K 166960K 947730 0 kqueue 13 20K 30K 166960K 554 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 1139 0 1136 11 10 1 3 0 8 0 rtentry 112 2401 0 2324 4 0 4 4 0 8 0 unpcb 144 5009 0 4992 45 41 4 6 0 8 3 syncache 336 6 0 6 5 5 0 1 0 8 0 tcpqe 32 5 0 5 1 1 0 1 0 8 0 tcpcb 808 2128 0 2124 69 68 1 14 0 8 0 arp 120 433 0 419 1 0 1 1 0 8 0 ipq 40 8 0 4 3 2 1 1 0 8 0 ipqe 40 12 0 8 3 2 1 1 0 8 0 inpcb 336 7606 0 7598 101 99 2 15 0 8 1 nd6 136 657 0 633 2 0 2 2 0 8 0 pkpcb 40 59 0 59 15 15 0 1 0 8 0 kcovpl 48 207 0 199 1 0 1 1 0 8 0 ppxss 1168 25 0 25 9 9 0 1 0 8 0 pfstscr 40 5 0 5 3 3 0 1 0 8 0 pffrag 232 8 0 8 1 1 0 1 0 482 0 pffrnode 88 8 0 8 1 1 0 1 0 8 0 pffrent 40 60 0 60 1 1 0 1 0 8 0 pfosfp 40 1439 0 1435 6 5 1 5 0 8 0 pfosfpen 112 1439 0 1433 22 21 1 21 0 8 0 pfrktable 1344 40 0 33 1 0 1 1 0 8 0 pfanchor 1288 12 0 8 1 0 1 1 0 8 0 pftag 88 9 0 4 2 1 1 1 0 8 0 pfqueue 264 2 0 1 2 1 1 1 0 8 0 pfstitem 24 174 0 168 1 0 1 1 0 8 0 pfstkey 128 187 0 170 2 0 2 2 0 8 0 pfstate 376 169 0 165 5 2 3 5 0 8 0 pfrule 1344 82 0 64 4 2 2 2 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 9611 0 9279 53 27 26 30 0 8 0 art_table 32 9613 0 9279 5 1 4 4 0 8 0 art_node 16 2390 0 2321 1 0 1 1 0 8 0 sysvmsgpl 40 5 0 2 1 0 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 564 0 545 1 0 1 1 0 8 0 shmpl 112 133 0 5 4 0 4 4 0 8 0 dirhash 1024 167 0 147 4 1 3 4 0 8 0 dino2pl 256 9389 0 7491 120 1 119 119 0 8 0 ffsino 272 9389 0 7491 127 0 127 127 0 8 0 nchpl 144 14928 0 14028 75 41 34 64 0 8 0 uvmvnodes 80 9972 0 0 204 0 204 204 0 8 0 vnodes 216 9972 0 0 554 0 554 554 0 8 0 namei 1024 82225 0 82225 14 13 1 2 0 8 1 percpumem 16 285 0 238 1 0 1 1 0 8 0 vcpupl 3904 9 0 2 2 0 2 2 0 8 0 vmpool 696 28 0 21 1 0 1 1 0 8 0 pfiaddrpl 120 11 0 6 1 0 1 1 0 8 0 kstatmem 264 502 0 476 8 5 3 3 0 8 0 scsiplug 72 9 0 9 6 6 0 1 0 8 0 scxspl 216 99409 0 99409 21 20 1 8 1 8 1 plimitpl 152 1396 0 1379 1 0 1 1 0 8 0 sigapl 424 6350 0 6301 9 2 7 9 0 8 0 futexpl 64 71623 0 71619 19 18 1 1 0 8 0 knotepl 120 1030 0 0 25 1 24 24 0 8 0 kqueuepl 216 1829 0 1820 22 21 1 8 0 8 0 pipepl 320 1624 0 1597 27 22 5 14 0 8 2 fdescpl 496 6305 0 6276 18 13 5 6 0 8 0 filepl 152 50561 0 50319 119 104 15 29 0 8 1 lockfpl 104 2116 0 2114 7 6 1 3 0 8 0 lockfspl 48 677 0 675 1 0 1 1 0 8 0 sessionpl 144 222 0 213 1 0 1 1 0 8 0 pgrppl 48 468 0 451 1 0 1 1 0 8 0 ucredpl 104 8260 0 8246 1 0 1 1 0 8 0 zombiepl 144 6302 0 6301 2 1 1 1 0 8 0 processpl 1152 6350 0 6301 6 2 4 6 0 8 0 procpl 648 12039 0 11985 12 6 6 8 0 8 0 srpgc 96 20 0 20 7 7 0 1 0 8 0 sosppl 168 16 0 16 7 7 0 1 0 8 0 sockpl 664 14012 0 13984 151 142 9 17 0 8 6 mcl64k 65536 4 0 0 1 0 1 1 0 8 0 mcl16k 16384 3 0 0 1 0 1 1 0 8 0 mcl12k 12288 3 0 0 1 0 1 1 0 8 0 mcl9k 9216 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 5 0 0 1 0 1 1 0 8 0 mcl4k 4096 6 0 0 1 0 1 1 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 351 0 0 30 3 27 30 0 8 0 mtagpl 96 137 0 0 2 0 2 2 0 8 0 mbufpl 256 1847 0 0 108 0 108 108 0 8 0 bufpl 280 19354 0 9336 716 0 716 716 0 8 0 anonpl 24 836954 0 833527 167 118 49 82 0 185 0 amapchunkpl 152 159639 0 159243 107 86 21 44 0 158 4 amappl16 200 13678 0 13656 119 115 4 15 0 8 0 amappl15 192 33 0 33 1 1 0 1 0 8 0 amappl14 184 521 0 509 1 0 1 1 0 8 0 amappl13 176 80 0 80 1 1 0 1 0 8 0 amappl12 168 10103 0 10074 4 2 2 3 0 8 0 amappl11 160 60 0 46 1 0 1 1 0 8 0 amappl10 152 18 0 18 1 1 0 1 0 8 0 amappl9 144 179 0 179 1 1 0 1 0 8 0 amappl8 136 43 0 40 1 0 1 1 0 8 0 amappl7 128 517 0 504 1 0 1 1 0 8 0 amappl6 120 2153 0 2149 1 0 1 1 0 8 0 amappl5 112 952 0 939 1 0 1 1 0 8 0 amappl4 104 929 0 909 1 0 1 1 0 8 0 amappl3 96 31337 0 31243 5 1 4 4 0 8 0 amappl2 88 3424 0 3354 2 0 2 2 0 8 0 amappl1 80 38689 0 38107 16 2 14 15 0 8 0 amappl 88 48053 0 47906 6 1 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 8 0 8 3 3 0 1 0 8 0 dma128 128 253 0 253 1 1 0 1 0 8 0 dma64 64 7 0 7 2 2 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 135 0 5 3 0 3 3 0 8 0 uaddrrnd 24 6334 0 6298 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 6334 0 6298 1 0 1 1 0 8 0 vmmpekpl 168 51879 0 51816 4 0 4 4 0 8 0 vmmpepl 168 387462 0 385731 179 90 89 98 0 357 0 vmsppl 440 6333 0 6298 7 2 5 5 0 8 0 rwobjpl 56 111930 0 100892 166 9 157 157 0 8 0 pdppl 4096 12675 0 12603 397 318 79 87 0 8 7 pvpl 32 47146 0 0 378 0 378 378 0 265 0 pmappl 248 6333 0 6298 3 0 3 3 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 1048 0 548 15 0 15 15 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+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 witness_checkorder(ffffffff8357ade8,9,0) at witness_checkorder+0x5a sys/kern/subr_witness.c:773 mtx_enter(ffffffff8357add8) at mtx_enter+0x47 sys/kern/kern_lock.c:238 msleep(ffffffff8357ac54,ffffffff8357add8,7f,ffffffff830182cf,0) at msleep+0x2cf sys/kern/kern_synch.c:239 uvm_pagezero_thread(ffff800029fd8518) at uvm_pagezero_thread+0xe9 sys/uvm/uvm_pmemrange.c:2194 end trace frame: 0x0, count: 8 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 witness_checkorder(ffffffff8357ade8,9,0) at witness_checkorder+0x5a sys/kern/subr_witness.c:773 mtx_enter(ffffffff8357add8) at mtx_enter+0x47 sys/kern/kern_lock.c:238 msleep(ffffffff8357ac54,ffffffff8357add8,7f,ffffffff830182cf,0) at msleep+0x2cf sys/kern/kern_synch.c:239 uvm_pagezero_thread(ffff800029fd8518) at uvm_pagezero_thread+0xe9 sys/uvm/uvm_pmemrange.c:2194 end trace frame: 0x0, count: -7