kernel: page fault trap, code=10 Stopped at 0 TID PID UID PRFLAGS PFLAGS CPU COMMAND 284899 5224 0 0x8000000 0 1 syz-executor *245109 89451 0 0x8000000 0 0 syz-executor 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 0xffff8000371ce540 rbp 0 rbx 0 rdx 0x65cc3002 rcx 0 rax 0x8000000065cc4001 r8 0 r9 0 r10 0xcadb0a3be8b4148c r11 0xca137acd7a7260dd r12 0 r13 0 r14 0 r15 0 rip 0 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002a1271d0 ss 0x10 0 ddb{0}> show proc PROC (syz-executor) tid=245109 pid=89451 tcnt=2 stat=onproc flags process=8000000 proc=0 runpri=84, usrpri=84, slppri=17, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff8000371cecd8,0xffff8000371ce7d8 process=0xffff8000371d1b20 user=0xffff80002a122000, vmspace=0xfffffd8069b9e530 estcpu=36, cpticks=1, pctcpu=0.0, user=1, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 772 418684 86321 0 3 0x8000080 nanoslp syz-executor 772 514624 86321 0 2 0xc000000 syz-executor 772 165960 86321 0 3 0xc000080 fsleep syz-executor 772 360542 86321 0 3 0xc000080 fsleep syz-executor 5224 284899 28823 0 7 0x8000000 syz-executor 5224 334963 28823 0 2 0xc000000 syz-executor 5224 324112 28823 0 2 0xc000000 syz-executor 46466 12274 27330 0 2 0x8000000 syz-executor 46466 309692 27330 0 3 0xc000080 fifow syz-executor 46466 473554 27330 0 3 0xc000080 fsleep syz-executor 46466 175298 27330 0 2 0xc000000 syz-executor *89451 245109 29504 0 7 0x8000000 syz-executor 89451 416040 29504 0 3 0xc000080 fsleep syz-executor 22963 481829 17978 0 2 0x8000000 syz-executor 22963 68001 17978 0 3 0xc000080 kqsel syz-executor 22963 416625 17978 0 2 0xc000000 syz-executor 74066 205091 26030 0 2 0x8000000 syz-executor 74066 103842 26030 0 3 0xc000080 fsleep syz-executor 74066 442472 26030 0 3 0xc000080 fsleep syz-executor 74066 384377 26030 0 3 0xc000080 fsleep syz-executor 48059 313412 58807 60928 3 0x8000090 nanoslp syz-executor 48059 342810 58807 60928 3 0xc000090 lockf syz-executor 48059 80726 58807 60928 3 0xc000090 fsleep syz-executor 48059 453188 58807 60928 3 0xc000090 fsleep syz-executor 27330 370377 7053 0 3 0x8000082 nanoslp syz-executor 28823 188201 7053 0 3 0x8000082 nanoslp syz-executor 29504 107684 7053 0 3 0x8000082 nanoslp syz-executor 26030 35004 7053 0 3 0x8000082 nanoslp syz-executor 55981 500124 7053 0 3 0x8000002 biowait syz-executor 86321 435528 7053 0 3 0x8000082 nanoslp syz-executor 17978 346210 7053 0 3 0x8000082 nanoslp syz-executor 58807 57118 7053 0 3 0x8000082 nanoslp syz-executor 91883 328399 0 0 3 0x14200 acct acct 48315 223016 1 0 3 0x18100083 ttyin getty 80134 207110 0 0 3 0x14200 bored sosplice 7053 482657 9631 0 3 0x8000082 kqread syz-executor 9631 523306 86964 0 3 0x810008a sigsusp ksh 86964 443163 64892 0 3 0x18000098 kqread sshd-session 64892 4670 47808 0 3 0x18000092 kqread sshd-session 47808 358276 1 0 3 0x18000088 kqread sshd 91689 22245 70066 74 3 0x19100092 bpf pflogd 70066 416476 1 0 3 0x18000080 sbwait pflogd 41934 12699 66243 73 3 0x19100010 ffs_fsync syslogd 66243 441573 1 0 3 0x18100082 sbwait syslogd 14276 420533 1 0 3 0x18100080 kqread resolvd 4135 162747 49052 77 3 0x18100092 kqread dhcpleased 61765 419980 49052 77 3 0x18100092 kqread dhcpleased 49052 446730 1 0 3 0x18000080 kqread dhcpleased 93859 317407 0 0 3 0x14200 bored smr 57957 234141 0 0 3 0x14200 pgzero zerothread 81710 134857 0 0 3 0x14200 aiodoned aiodoned 26172 375627 0 0 3 0x14200 syncer update 63844 449956 0 0 3 0x14200 cleaner cleaner 65537 46972 0 0 3 0x14200 reaper reaper 89028 93164 0 0 3 0x14200 pgdaemon pagedaemon 57452 462738 0 0 3 0x14200 bored viomb 34710 253337 0 0 3 0x40014200 acpi0 acpi0 70553 178265 0 0 3 0x40014200 idle1 20453 232216 0 0 3 0x14200 bored softnet3 37845 215465 0 0 3 0x14200 bored softnet2 23275 432808 0 0 3 0x14200 bored softnet1 30589 146650 0 0 3 0x14200 bored softnet0 44289 141462 0 0 3 0x14200 bored systqmp 56932 170530 0 0 3 0x14200 bored systq 73387 115851 0 0 3 0x14200 tmoslp softclockmp 59656 38788 0 0 3 0x40014200 tmoslp softclock 68897 374510 0 0 3 0x40014200 idle0 1 265760 0 0 3 0x8000082 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks CPU 0: exclusive mutex &sched_lock r = 0 (0xffffffff83549cf0) #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 Process 55981 (syz-executor) thread 0xffff800029fe6f68 (500124) Process 41934 (syslogd) thread 0xffff8000ffffd1c8 (12699) ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10242 10192K 12384K 166960K 23517 0 pcb 18 18K 19K 166960K 1478 0 rtable 227 15K 16K 166960K 5357 0 pf 47 12K 14K 166960K 480 0 ifaddr 50 17K 18K 166960K 719 0 ifgroup 75 3K 3K 166960K 814 0 sysctl 4 1K 2K 166960K 6 0 counters 72 37K 37K 166960K 462 0 ioctlops 0 0K 4K 166960K 2407 0 iov 0 0K 24K 166960K 662 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1736 109K 110K 166960K 9809 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 13K 166960K 101 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 704 0 dirhash 18 3K 3K 166960K 138 0 ACPI 1697 195K 286K 166960K 12548 0 file desc 17 61K 93K 166960K 7148 0 sigio 0 0K 0K 166960K 85 0 proc 72 91K 152K 166960K 5097 0 subproc 104 6K 7K 166960K 2017 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 1215 0 in_multi 100 7K 7K 166960K 1923 0 ether_multi 1 0K 0K 166960K 50 0 mrt 1 0K 0K 166960K 18 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 259 1155K 1155K 166960K 259 0 exec 0 0K 1K 166960K 3604 0 pfkey data 0 0K 0K 166960K 7 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 264 85K 101K 166960K 61038 0 UVM aobj 131 8K 8K 166960K 141 0 pinsyscall 42 84K 102K 166960K 12025 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 1K 166960K 368 0 NDP 22 1K 1K 166960K 525 0 temp 79 6816K 6928K 166960K 240683 0 kqueue 14 22K 31K 166960K 770 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 1155 0 1151 10 9 1 3 0 8 0 rtentry 112 1910 0 1810 6 3 3 4 0 8 0 unpcb 144 6450 0 6418 51 49 2 8 0 8 0 syncache 336 12 0 12 6 6 0 1 0 8 0 tcpqe 32 3 0 3 3 3 0 1 0 8 0 tcpcb 808 2426 0 2421 49 47 2 8 0 8 1 arp 120 355 0 335 1 0 1 1 0 8 0 ipq 40 1 0 1 1 1 0 1 0 8 0 ipqe 40 2 0 2 1 1 0 1 0 8 0 inpcb 336 9080 0 9069 78 75 3 12 0 8 2 nd6 136 524 0 499 1 0 1 1 0 8 0 pkpcb 40 28 0 28 11 11 0 1 0 8 0 kcovpl 48 155 0 147 1 0 1 1 0 8 0 ppxss 1168 29 0 29 13 13 0 1 0 8 0 pfstscr 40 2 0 2 1 1 0 1 0 8 0 pffrag 232 65 0 54 1 0 1 1 0 482 0 pffrnode 88 62 0 51 1 0 1 1 0 8 0 pffrent 40 428 0 417 1 0 1 1 0 8 0 pfosfp 40 1429 0 1005 5 0 5 5 0 8 0 pfosfpen 112 1429 0 714 21 0 21 21 0 8 0 pftag 88 3 0 0 1 0 1 1 0 8 0 pfqueue 264 2 0 2 1 1 0 1 0 8 0 pfstitem 24 505 0 449 1 0 1 1 0 8 0 pfstkey 128 507 0 451 4 1 3 4 0 8 0 pfstate 376 506 0 450 11 3 8 10 0 8 1 pfrule 1344 43 0 20 2 0 2 2 0 8 0 art_heap8 4096 2 0 1 2 0 2 2 0 8 1 art_heap4 256 7402 0 6957 48 20 28 30 0 8 0 art_table 32 7404 0 6958 4 0 4 4 0 8 0 art_node 16 1896 0 1807 1 0 1 1 0 8 0 sysvmsgpl 40 8 0 1 1 0 1 1 0 8 0 semapl 112 702 0 692 1 0 1 1 0 8 0 shmpl 112 138 0 10 4 0 4 4 0 8 0 dirhash 1024 103 0 81 3 0 3 3 0 8 0 dino2pl 256 11323 0 9514 115 1 114 114 0 8 0 ffsino 272 11323 0 9514 122 1 121 121 0 8 0 nchpl 144 19623 0 18829 68 38 30 67 0 8 0 uvmvnodes 80 8559 0 0 175 0 175 175 0 8 0 vnodes 216 8559 0 0 476 0 476 476 0 8 0 namei 1024 90439 0 90439 9 8 1 2 0 8 1 percpumem 16 245 0 195 1 0 1 1 0 8 0 vcpupl 3904 14 0 3 2 0 2 2 0 8 0 vmpool 696 45 0 34 6 4 2 2 0 8 0 kstatmem 264 422 0 390 6 3 3 3 0 8 0 scsiplug 72 14 0 14 11 11 0 1 0 8 0 scxspl 216 127224 0 127222 31 29 2 8 1 8 1 plimitpl 152 2029 0 2010 1 0 1 1 0 8 0 sigapl 424 7184 0 7133 11 4 7 9 0 8 0 futexpl 64 89471 0 89462 13 12 1 1 0 8 0 knotepl 120 864 0 0 24 0 24 24 0 8 0 kqueuepl 216 2263 0 2250 25 24 1 5 0 8 0 pipepl 320 1677 0 1650 32 29 3 8 0 8 0 fdescpl 496 7137 0 7106 9 4 5 5 0 8 0 filepl 152 59494 0 59217 81 69 12 21 0 8 1 lockfpl 104 3183 0 3178 6 5 1 2 0 8 0 lockfspl 48 1085 0 1081 1 0 1 1 0 8 0 sessionpl 144 171 0 162 1 0 1 1 0 8 0 pgrppl 48 443 0 426 1 0 1 1 0 8 0 ucredpl 104 9819 0 9804 1 0 1 1 0 8 0 zombiepl 144 7133 0 7133 1 0 1 1 0 8 1 processpl 1152 7184 0 7133 7 2 5 6 0 8 0 procpl 648 15806 0 15738 10 2 8 8 0 8 2 srpgc 96 30 0 30 12 12 0 1 0 8 0 sosppl 168 31 0 31 10 10 0 1 0 8 0 sockpl 664 16898 0 16852 127 122 5 20 0 8 1 mcl64k 65536 8 0 0 1 0 1 1 0 8 0 mcl16k 16384 3 0 0 1 0 1 1 0 8 0 mcl12k 12288 4 0 0 1 0 1 1 0 8 0 mcl9k 9216 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 10 0 0 2 0 2 2 0 8 0 mcl4k 4096 8 0 0 1 0 1 1 0 8 0 mcl2k 2048 339 0 0 28 1 27 28 0 8 0 mtagpl 96 157 0 0 3 0 3 3 0 8 0 mbufpl 256 1015 0 0 56 0 56 56 0 8 0 bufpl 280 20691 0 12132 612 0 612 612 0 8 0 anonpl 24 829164 0 820873 97 44 53 72 0 185 2 amapchunkpl 152 197503 0 196692 89 56 33 42 0 158 0 amappl16 200 13938 0 13916 135 127 8 27 0 8 6 amappl15 192 9 0 9 2 2 0 1 0 8 0 amappl14 184 412 0 400 1 0 1 1 0 8 0 amappl13 176 11 0 10 1 0 1 1 0 8 0 amappl12 168 10098 0 10067 3 1 2 2 0 8 0 amappl11 160 54 0 40 1 0 1 1 0 8 0 amappl10 152 41 0 41 1 1 0 1 0 8 0 amappl9 144 160 0 159 2 1 1 1 0 8 0 amappl8 136 26 0 24 1 0 1 1 0 8 0 amappl7 128 401 0 388 1 0 1 1 0 8 0 amappl6 120 1646 0 1644 1 0 1 1 0 8 0 amappl5 112 722 0 709 1 0 1 1 0 8 0 amappl4 104 771 0 751 1 0 1 1 0 8 0 amappl3 96 40043 0 39908 4 0 4 4 0 8 0 amappl2 88 2701 0 2632 2 0 2 2 0 8 0 amappl1 80 37784 0 37204 17 4 13 14 0 8 0 amappl 88 59212 0 59021 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 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 140 0 10 3 0 3 3 0 8 0 uaddrrnd 24 7182 0 7140 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 7182 0 7140 1 0 1 1 0 8 0 vmmpekpl 168 59208 0 59146 4 0 4 4 0 8 0 vmmpepl 168 426248 0 424331 187 95 92 108 0 357 6 vmsppl 440 7181 0 7140 7 2 5 5 0 8 0 rwobjpl 56 115794 0 106126 161 23 138 140 0 8 0 pdppl 4096 14371 0 14291 284 197 87 87 0 8 7 pvpl 32 30908 0 0 247 1 246 246 0 265 0 pmappl 248 7181 0 7140 3 0 3 3 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 821 0 371 14 0 14 14 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 end of kernel end trace frame: 0x7c336b20ed30, 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: 0x7c336b20ed30, count: -3