kernel: page fault trap, code=10 Stopped at 0 TID PID UID PRFLAGS PFLAGS CPU COMMAND *176475 94868 0 0x8000000 0x4000000 0 syz-executor.0 123380 7068 0 0x1a000002 0x4000000 1 syz-fuzzer 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 0x18fb6000 rsi 0xffff80002a202020 rbp 0 rbx 0 rdx 0x7cfb7002 rcx 0 rax 0x800000007cfb6001 r8 0xffffffffffffffff r9 0 r10 0xd3119e16c66ec84 r11 0x6df5521e899efd3a r12 0 r13 0 r14 0 r15 0 rip 0 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002a2aa830 ss 0x10 0 ddb{0}> show proc PROC (syz-executor.0) tid=176475 pid=94868 tcnt=2 stat=onproc flags process=8000000 proc=4000000 runpri=75, usrpri=75, slppri=16, nice=20 wchan=0x0, wmesg=, ps_single=0x0 forw=0xffffffffffffffff, list=0xffff80002a1954b8,0xffff80002a203220 process=0xffff80002a15a388 user=0xffff80002a2a5000, vmspace=0xfffffd8058e2e378 estcpu=36, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 20271 509250 50140 0 2 0x8000000 syz-executor.4 20271 238191 50140 0 2 0xc000080 syz-executor.4 24968 421155 32736 0 2 0x8000000 syz-executor.3 24968 81037 32736 0 3 0xc000080 fsleep syz-executor.3 94868 367150 63358 0 2 0x8000000 syz-executor.0 *94868 176475 63358 0 7 0xc000000 syz-executor.0 96558 515763 77680 0 2 0x8000000 syz-executor.6 96558 424662 77680 0 2 0xc000000 syz-executor.6 97726 108857 1 0 3 0x18100083 ttyin getty 63358 144583 7068 0 3 0x8000082 nanoslp syz-executor.0 21939 141250 7068 0 2 0x8000002 syz-executor.2 77680 101577 7068 0 3 0x8000082 nanoslp syz-executor.6 32736 459094 7068 0 3 0x8000082 nanoslp syz-executor.3 91228 340355 7068 0 3 0x8000002 biowait syz-executor.7 41936 327512 0 0 3 0x14200 acct acct 62492 59910 7068 0 2 0x8000002 syz-executor.1 60034 79188 7068 0 3 0x8000002 biowait syz-executor.5 50140 87779 7068 0 3 0x8000082 nanoslp syz-executor.4 33934 52513 0 0 3 0x14200 bored sosplice 7068 46795 43798 0 3 0x1a000082 thrsleep syz-fuzzer 7068 293344 43798 0 3 0x1e000082 nanoslp syz-fuzzer 7068 123380 43798 0 7 0x1e000002 syz-fuzzer 7068 477979 43798 0 3 0x1e000082 wait syz-fuzzer 7068 132021 43798 0 3 0x1e000082 wait syz-fuzzer 7068 192613 43798 0 3 0x1e000082 wait syz-fuzzer 7068 360117 43798 0 3 0x1e000082 wait syz-fuzzer 7068 154218 43798 0 3 0x1e000082 thrsleep syz-fuzzer 7068 86224 43798 0 3 0x1e000082 wait syz-fuzzer 7068 349130 43798 0 3 0x1e000082 thrsleep syz-fuzzer 7068 240654 43798 0 3 0x1e000082 thrsleep syz-fuzzer 7068 170391 43798 0 3 0x1e000082 thrsleep syz-fuzzer 7068 27169 43798 0 3 0x1e000082 thrsleep syz-fuzzer 7068 521703 43798 0 3 0x1e000082 wait syz-fuzzer 7068 171951 43798 0 3 0x1e000082 wait syz-fuzzer 7068 284915 43798 0 3 0x1e000082 wait syz-fuzzer 43798 40254 58705 0 3 0x810008a sigsusp ksh 58705 168238 62456 0 3 0x1800009a kqread sshd 62456 269829 1 0 3 0x18000088 kqread sshd 15928 183116 87099 73 3 0x19100090 kqread syslogd 87099 102690 1 0 3 0x18100082 sbwait syslogd 83837 319366 1 0 3 0x18100080 kqread resolvd 17400 310566 40380 77 3 0x18100092 kqread dhcpleased 65570 279690 40380 77 3 0x18100092 kqread dhcpleased 40380 410506 1 0 3 0x18000080 kqread dhcpleased 91218 105053 0 0 3 0x14200 bored smr 72558 90925 0 0 2 0x14200 zerothread 75810 261306 0 0 3 0x14200 aiodoned aiodoned 63391 158780 0 0 3 0x14200 syncer update 14219 377342 0 0 3 0x14200 cleaner cleaner 34774 498774 0 0 3 0x14200 reaper reaper 72183 387925 0 0 3 0x14200 pgdaemon pagedaemon 83318 140387 0 0 3 0x14200 bored viomb 9913 10035 0 0 3 0x40014200 acpi0 acpi0 51148 87380 0 0 3 0x40014200 idle1 56960 245594 0 0 3 0x14200 bored softnet3 99078 467765 0 0 3 0x14200 bored softnet2 2269 308720 0 0 3 0x14200 bored softnet1 1335 301571 0 0 3 0x14200 bored softnet0 90005 294042 0 0 3 0x14200 bored systqmp 32655 182271 0 0 3 0x14200 bored systq 62984 507791 0 0 3 0x14200 tmoslp softclockmp 34821 129534 0 0 3 0x40014200 tmoslp softclock 76430 181054 0 0 3 0x40014200 idle0 1 254606 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 (0xffffffff82e13b48) #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 sys_nanosleep+0x1f8 sys/kern/kern_time.c:297 #3 syscall+0x8cf mi_syscall sys/sys/syscall_mi.h:180 [inline] #3 syscall+0x8cf sys/arch/amd64/amd64/trap.c:577 #4 Xsyscall+0x128 Process 91228 (syz-executor.7) thread 0xffff80002a23e048 (340355) Process 60034 (syz-executor.5) thread 0xffff80002a194038 (79188) Process 7068 (syz-fuzzer) thread 0xffff8000ffffcf70 (123380) ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10206 6444K 10971K 166960K 15321 0 pcb 17 15K 16K 166960K 706 0 rtable 157 13K 15K 166960K 1559 0 pf 38 10K 11K 166960K 227 0 ifaddr 40 14K 16K 166960K 232 0 ifgroup 69 3K 3K 166960K 367 0 sysctl 4 1K 2K 166960K 12 0 counters 70 37K 37K 166960K 228 0 ioctlops 0 0K 4K 166960K 1671 0 iov 0 0K 24K 166960K 211 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1388 87K 88K 166960K 4162 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 20K 20K 166960K 80 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 287 0 dirhash 12 2K 3K 166960K 114 0 ACPI 1697 195K 286K 166960K 12548 0 file desc 14 49K 89K 166960K 3652 0 sigio 0 0K 0K 166960K 82 0 proc 59 79K 115K 166960K 1495 0 subproc 104 6K 8K 166960K 507 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 519 0 in_multi 66 5K 7K 166960K 513 0 ether_multi 1 0K 0K 166960K 32 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 109 493K 493K 166960K 109 0 exec 0 0K 1K 166960K 1314 0 pfkey data 0 0K 0K 166960K 3 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 279 156K 175K 166960K 33426 0 UVM aobj 93 5K 7K 166960K 103 0 pinsyscall 34 68K 100K 166960K 5590 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 272 0 NDP 14 0K 1K 166960K 166 0 temp 76 6820K 14756K 166960K 81904 0 kqueue 12 18K 27K 166960K 543 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 452 0 449 1 0 1 1 0 8 0 rtentry 112 521 0 456 4 1 3 4 0 8 0 unpcb 144 3063 0 3050 8 7 1 4 0 8 0 syncache 336 4 0 4 1 1 0 1 0 8 0 tcpqe 32 100 0 100 2 2 0 1 0 8 0 tcpcb 808 1035 0 1030 14 12 2 2 0 8 1 arp 120 104 0 89 1 0 1 1 0 8 0 inpcb 384 4148 0 4139 27 24 3 8 0 8 1 nd6 136 129 0 115 2 1 1 2 0 8 0 pkpcb 40 20 0 20 9 8 1 1 0 8 1 kcovpl 48 39 0 31 1 0 1 1 0 8 0 ppxss 1168 22 0 22 11 10 1 1 0 8 1 pffrag 232 40 0 35 1 0 1 1 0 482 0 pffrnode 88 38 0 33 1 0 1 1 0 8 0 pffrent 40 459 0 454 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 342 0 263 1 0 1 1 0 8 0 pfstkey 128 342 0 263 3 0 3 3 0 8 0 pfstate 376 342 0 263 9 1 8 8 0 8 0 pfrule 1344 21 0 16 2 1 1 2 0 8 0 art_heap8 4096 2 0 1 2 1 1 2 0 8 0 art_heap4 256 1998 0 1686 42 21 21 29 0 8 0 art_table 32 2000 0 1687 4 0 4 4 0 8 0 art_node 16 511 0 452 1 0 1 1 0 8 0 sysvmsgpl 40 21 0 12 1 0 1 1 0 8 0 semapl 112 285 0 275 1 0 1 1 0 8 0 shmpl 112 100 0 10 3 0 3 3 0 8 0 dirhash 1024 85 0 68 3 0 3 3 0 8 0 dino2pl 256 7585 0 6054 97 0 97 97 0 8 0 ffsino 272 7585 0 6054 103 0 103 103 0 8 0 nchpl 144 13130 0 12537 67 40 27 67 0 8 0 uvmvnodes 80 8292 0 0 170 0 170 170 0 8 0 vnodes 216 8292 0 0 461 0 461 461 0 8 0 namei 1024 46726 0 46726 8 7 1 2 0 8 1 percpumem 16 128 0 79 1 0 1 1 0 8 0 vcpupl 3904 17 0 4 2 0 2 2 0 8 0 vmpool 696 30 0 17 2 0 2 2 0 8 0 kstatmem 264 186 0 158 4 1 3 3 0 8 0 scsiplug 72 6 0 6 5 5 0 1 0 8 0 scxspl 216 72202 0 72200 24 23 1 8 1 8 0 plimitpl 152 748 0 732 1 0 1 1 0 8 0 sigapl 424 3924 0 3879 9 1 8 9 0 8 0 futexpl 64 58722 0 58721 4 3 1 1 0 8 0 knotepl 120 1096 0 0 26 0 26 26 0 8 0 kqueuepl 216 1220 0 1212 7 6 1 5 0 8 0 pipepl 320 700 0 672 4 1 3 4 0 8 0 fdescpl 496 3881 0 3856 7 2 5 5 0 8 0 filepl 152 27144 0 26903 31 20 11 14 0 8 0 lockfpl 104 966 0 963 1 0 1 1 0 8 0 lockfspl 48 419 0 416 1 0 1 1 0 8 0 sessionpl 144 58 0 42 1 0 1 1 0 8 0 pgrppl 48 130 0 114 1 0 1 1 0 8 0 ucredpl 104 5437 0 5424 1 0 1 1 0 8 0 zombiepl 144 3879 0 3879 3 2 1 1 0 8 1 processpl 1136 3924 0 3879 6 1 5 6 0 8 0 procpl 656 7829 0 7765 10 2 8 9 0 8 0 srpgc 96 27 0 27 11 11 0 1 0 8 0 sosppl 168 38 0 38 14 13 1 1 0 8 1 sockpl 664 7742 0 7718 36 32 4 12 0 8 2 mcl64k 65536 8 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 mcl8k 8192 7 0 0 1 0 1 1 0 8 0 mcl4k 4096 5 0 0 1 0 1 1 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 466 0 0 54 1 53 54 0 8 0 mtagpl 96 16 0 0 1 0 1 1 0 8 0 mbufpl 256 693 0 0 29 1 28 28 0 8 0 bufpl 280 13787 0 5481 594 0 594 594 0 8 0 anonpl 24 577621 0 571368 178 119 59 96 0 186 0 amapchunkpl 152 108421 0 107802 98 68 30 49 0 158 0 amappl16 200 13979 0 13838 84 72 12 21 0 8 0 amappl15 192 64 0 63 2 1 1 1 0 8 0 amappl14 184 303 0 289 2 1 1 2 0 8 0 amappl13 176 11 0 11 3 3 0 1 0 8 0 amappl12 168 4999 0 4970 2 0 2 2 0 8 0 amappl11 160 89 0 78 1 0 1 1 0 8 0 amappl10 152 86 0 75 1 0 1 1 0 8 0 amappl9 144 219 0 219 2 2 0 1 0 8 0 amappl8 136 254 0 217 2 0 2 2 0 8 0 amappl7 128 58 0 44 1 0 1 1 0 8 0 amappl6 120 781 0 767 2 1 1 2 0 8 0 amappl5 112 282 0 270 1 0 1 1 0 8 0 amappl4 104 829 0 792 2 0 2 2 0 8 0 amappl3 96 20685 0 20615 3 0 3 3 0 8 0 amappl2 88 4355 0 4288 4 2 2 4 0 8 0 amappl1 80 22191 0 21703 22 10 12 22 0 8 0 amappl 88 32414 0 32234 7 1 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 102 0 10 2 0 2 2 0 8 0 uaddrrnd 24 3911 0 3873 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 3911 0 3873 1 0 1 1 0 8 0 vmmpekpl 168 29421 0 29352 4 0 4 4 0 8 0 vmmpepl 168 252878 0 251101 184 88 96 117 0 357 0 vmsppl 440 3910 0 3873 6 1 5 5 0 8 0 rwobjpl 56 71298 0 61833 146 12 134 136 0 8 0 pdppl 4096 7829 0 7759 275 200 75 83 0 8 5 pvpl 32 49287 0 0 398 0 398 398 0 265 0 pmappl 248 3910 0 3873 4 1 3 3 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 646 0 256 12 0 12 12 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 __mp_lock(ffffffff82e13940) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82e13940) at __mp_lock+0x122 sys/kern/kern_lock.c:147 wakeup_n(ffff80002a26e8c8,1) at wakeup_n+0x58 sys/kern/kern_synch.c:542 sys___thrwakeup(ffff8000ffffcf70,ffff80002a1ea970,ffff80002a1ea8c0) at sys___thrwakeup+0x118 sys/kern/kern_synch.c:776 syscall(ffff80002a1ea970) at syscall+0x8cf mi_syscall sys/sys/syscall_mi.h:180 [inline] syscall(ffff80002a1ea970) at syscall+0x8cf sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x2b0bf6270, count: 7 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 __mp_lock(ffffffff82e13940) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82e13940) at __mp_lock+0x122 sys/kern/kern_lock.c:147 wakeup_n(ffff80002a26e8c8,1) at wakeup_n+0x58 sys/kern/kern_synch.c:542 sys___thrwakeup(ffff8000ffffcf70,ffff80002a1ea970,ffff80002a1ea8c0) at sys___thrwakeup+0x118 sys/kern/kern_synch.c:776 syscall(ffff80002a1ea970) at syscall+0x8cf mi_syscall sys/sys/syscall_mi.h:180 [inline] syscall(ffff80002a1ea970) at syscall+0x8cf sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x2b0bf6270, count: -8