kernel: page fault trap, code=10 Stopped at 0 TID PID UID PRFLAGS PFLAGS CPU COMMAND 226788 64265 0 0 0x1 0 syz-executor.3 *299320 60261 0 0x14000 0x600 1 acct 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{1}> ddb{1}> set $lines = 0 ddb{1}> set $maxwidth = 0 ddb{1}> show panic *cpu1: attempt to execute user address 0x0 in supervisor mode ddb{1}> trace end trace frame: 0x0, count: -1 ddb{1}> show registers rdi 0x14c5f001 rsi 0xffff80002128f2b0 rbp 0 rbx 0 rdx 0 rcx 0 rax 0x800000007f7cb000 r8 0xffffffffffffffff r9 0x1 r10 0x79a25f23dc84c7a4 r11 0xcaf1fd2748581572 r12 0 r13 0 r14 0 r15 0 rip 0 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002c9cd700 ss 0x10 0 ddb{1}> show proc PROC (acct) tid=299320 pid=60261 tcnt=1 stat=onproc flags process=14000 proc=600 runpri=40, usrpri=50, slppri=40, nice=20 wchan=0x0, wmesg=, ps_single=0x0 forw=0xffffffffffffffff, list=0xffff80002128fd50,0xffff80002128e578 process=0xffff80002e438020 user=0xffff80002c9c8000, vmspace=0xffffffff82cd6528 estcpu=0, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 2669 431471 28787 0 3 0x80 nanoslp syz-executor.1 2669 422328 28787 0 3 0x4000080 netcon syz-executor.1 2669 163471 28787 0 3 0x4000080 fsleep syz-executor.1 31097 410441 39416 0 3 0x80 nanoslp syz-executor.2 31097 254197 39416 0 3 0x4000080 kqread syz-executor.2 31097 139176 39416 0 3 0x4000080 fsleep syz-executor.2 64265 226788 98061 0 7 0x1 syz-executor.3 64265 472967 98061 0 3 0x4000080 netio syz-executor.3 64265 88457 98061 0 3 0x4000080 fsleep syz-executor.3 *60261 299320 0 0 7 0x14600 acct 39416 162724 99856 0 3 0x82 nanoslp syz-executor.2 7645 433235 99856 0 3 0x82 piperd syz-executor.4 39128 509496 0 0 3 0x14280 nfsidl nfsio 75664 171208 0 0 3 0x14280 nfsidl nfsio 62274 300458 0 0 3 0x14280 nfsidl nfsio 11987 385585 0 0 3 0x14280 nfsidl nfsio 53877 343496 0 0 3 0x14280 nfsidl nfsio 52717 174305 0 0 3 0x14280 nfsidl nfsio 83581 441845 0 0 3 0x14280 nfsidl nfsio 20379 1907 0 0 3 0x14280 nfsidl nfsio 35668 489685 0 0 3 0x14280 nfsidl nfsio 12019 267731 0 0 3 0x14280 nfsidl nfsio 56698 166378 0 0 3 0x14280 nfsidl nfsio 89752 341107 0 0 3 0x14280 nfsidl nfsio 66085 142127 0 0 3 0x14280 nfsidl nfsio 11118 281834 0 0 3 0x14280 nfsidl nfsio 32338 198395 0 0 3 0x14280 nfsidl nfsio 53760 165409 0 0 3 0x14280 nfsidl nfsio 26612 367251 0 0 3 0x14280 nfsidl nfsio 28313 412398 0 0 3 0x14280 nfsidl nfsio 62168 45146 0 0 3 0x14280 nfsidl nfsio 72510 102035 0 0 3 0x14280 nfsidl nfsio 88315 143843 99856 0 3 0x82 piperd syz-executor.6 8565 95240 0 0 3 0x14200 bored sosplice 13368 108252 99856 0 3 0x82 piperd syz-executor.7 89409 280044 99856 0 3 0x82 piperd syz-executor.5 98061 161657 99856 0 3 0x82 nanoslp syz-executor.3 28787 380550 99856 0 3 0x82 nanoslp syz-executor.1 68132 454218 99856 0 3 0x82 piperd syz-executor.0 99856 330371 1900 0 3 0x2000082 wait syz-fuzzer 99856 341044 1900 0 3 0x6000082 thrsleep syz-fuzzer 99856 233870 1900 0 3 0x6000082 wait syz-fuzzer 99856 110194 1900 0 3 0x6000082 wait syz-fuzzer 99856 31954 1900 0 3 0x6000082 thrsleep syz-fuzzer 99856 201921 1900 0 3 0x6000082 thrsleep syz-fuzzer 99856 176586 1900 0 3 0x6000082 kqread syz-fuzzer 99856 155373 1900 0 3 0x6000082 thrsleep syz-fuzzer 99856 267163 1900 0 3 0x6000082 wait syz-fuzzer 99856 309646 1900 0 3 0x6000082 thrsleep syz-fuzzer 99856 314788 1900 0 3 0x6000082 wait syz-fuzzer 99856 249368 1900 0 3 0x6000082 thrsleep syz-fuzzer 99856 217561 1900 0 3 0x6000082 wait syz-fuzzer 99856 33085 1900 0 3 0x6000082 thrsleep syz-fuzzer 99856 103177 1900 0 3 0x6000082 wait syz-fuzzer 99856 439814 1900 0 3 0x6000082 wait syz-fuzzer 1900 133869 44078 0 3 0x10008a sigsusp ksh 44078 154218 85279 0 3 0x9a kqread sshd 46215 90572 1 0 3 0x100083 ttyin getty 85279 350091 1 0 3 0x88 kqread sshd 22466 55587 97658 74 3 0x1100092 bpf pflogd 97658 145302 1 0 3 0x80 netio pflogd 16656 18390 41491 73 3 0x1100090 kqread syslogd 41491 368803 1 0 3 0x100082 netio syslogd 32005 64805 1 0 3 0x100080 kqread resolvd 47122 325408 30085 77 3 0x100092 kqread dhcpleased 76572 483659 30085 77 3 0x100092 kqread dhcpleased 30085 29808 1 0 3 0x80 kqread dhcpleased 11269 67149 0 0 3 0x14200 bored smr 93867 102045 0 0 3 0x14200 pgzero zerothread 86611 23147 0 0 3 0x14200 aiodoned aiodoned 49817 171093 0 0 3 0x14200 syncer update 96789 339543 0 0 3 0x14200 cleaner cleaner 67055 519082 0 0 3 0x14200 reaper reaper 70007 518687 0 0 3 0x14200 pgdaemon pagedaemon 16180 187371 0 0 3 0x14200 bored viomb 99356 279723 0 0 3 0x40014200 acpi0 acpi0 17804 492992 0 0 3 0x40014200 idle1 31382 270513 0 0 3 0x14200 bored softnet3 7416 509577 0 0 3 0x14200 bored softnet2 45010 197438 0 0 3 0x14200 bored softnet1 42105 278715 0 0 3 0x14200 bored softnet0 23100 401348 0 0 3 0x14200 bored systqmp 8721 88006 0 0 3 0x14200 bored systq 30187 498244 0 0 3 0x14200 tmoslp softclockmp 57998 65298 0 0 3 0x40014200 tmoslp softclock 7438 281028 0 0 3 0x40014200 idle0 1 449828 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks CPU 1: exclusive sched_lock &sched_lock r = 0 (0xffffffff82ce4410) #0 witness_lock+0x447 #1 sleep_finish+0x142 sys/kern/kern_synch.c:398 #2 sys_nanosleep+0x1f5 sys/kern/kern_time.c:297 #3 syscall+0x606 mi_syscall sys/sys/syscall_mi.h:110 [inline] #3 syscall+0x606 sys/arch/amd64/amd64/trap.c:623 #4 Xsyscall+0x128 Process 64265 (syz-executor.3) thread 0xffff80002128e568 (226788) exclusive rrwlock inode r = 0 (0xfffffd806e19a2c8) #0 witness_lock+0x447 #1 rw_enter+0x3c8 sys/kern/kern_rwlock.c:309 #2 rrw_enter+0x8c sys/kern/kern_rwlock.c:464 #3 VOP_LOCK+0x8b sys/kern/vfs_vops.c:518 #4 vn_lock+0x84 sys/kern/vfs_vnops.c:564 #5 vget+0x200 sys/kern/vfs_subr.c:676 #6 ktrwriteraw+0x13d sys/kern/kern_ktrace.c:661 #7 ktrstruct+0x15c ktrwrite2 sys/kern/kern_ktrace.c:627 [inline] #7 ktrstruct+0x15c sys/kern/kern_ktrace.c:308 #8 sys_nanosleep+0xe0 sys/kern/kern_time.c:288 #9 syscall+0x606 mi_syscall sys/sys/syscall_mi.h:110 [inline] #9 syscall+0x606 sys/arch/amd64/amd64/trap.c:623 #10 Xsyscall+0x128 exclusive kernel_lock &kernel_lock r = 0 (0xffffffff82ccc350) #0 witness_lock+0x447 #1 ktrstruct+0xda sys/kern/kern_ktrace.c:307 #2 sys_nanosleep+0xe0 sys/kern/kern_time.c:288 #3 syscall+0x606 mi_syscall sys/sys/syscall_mi.h:110 [inline] #3 syscall+0x606 sys/arch/amd64/amd64/trap.c:623 #4 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10223 6573K 7596K 78643K 48852 0 pcb 16 18K 21K 78643K 8343 0 rtable 243 7K 7K 78643K 564 0 pf 32 9K 10K 78643K 139 0 ifaddr 45 15K 16K 78643K 104 0 ifgroup 55 2K 2K 78643K 211 0 sysctl 3 0K 0K 78643K 3 0 counters 60 35K 36K 78643K 142 0 ioctlops 0 0K 4K 78643K 1684 0 iov 0 0K 16K 78643K 573 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1544 97K 97K 78643K 8652 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 82 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 628 0 dirhash 12 2K 2K 78643K 36 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 13 45K 89K 78643K 7744 0 sigio 0 0K 0K 78643K 45 0 proc 69 91K 115K 78643K 795 0 subproc 104 6K 6K 78643K 156 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 251 0 in_multi 99 7K 7K 78643K 181 0 ether_multi 1 0K 0K 78643K 4 0 mrt 1 0K 0K 78643K 4 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 223 996K 996K 78643K 223 0 exec 0 0K 1K 78643K 827 0 tdb 3 0K 0K 78643K 3 0 pagedep 1 8K 8K 78643K 1 0 inodedep 1 32K 32K 78643K 1 0 newblk 1 0K 0K 78643K 1 0 VM swap 8 62K 64K 78643K 10 0 UVM amap 377 89K 105K 78643K 76750 0 UVM aobj 131 4K 4K 78643K 132 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 6 1K 2K 78643K 8644 0 NDP 12 0K 2K 78643K 77 0 temp 80 5920K 6048K 78643K 38634 0 kqueue 13 20K 26K 78643K 312 0 SYN cache 2 16K 16K 78643K 2 0 ddb{1}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle plcache 128 22 0 0 1 0 1 1 0 8 0 rtpcb 120 217 0 214 4 3 1 3 0 8 0 rtentry 112 171 0 58 4 0 4 4 0 8 0 unpcb 144 2968 0 2952 52 46 6 6 0 8 5 syncache 304 57 0 57 12 11 1 1 0 8 1 tcpqe 32 535 0 535 10 10 0 1 0 8 0 tcpcb 808 1656 0 1632 59 50 9 12 0 8 6 arp 120 27 0 9 1 0 1 1 0 8 0 inpcb 368 17313 0 17283 138 125 13 23 0 8 8 nd6 136 41 0 14 1 0 1 1 0 8 0 pkpcb 40 2 0 2 1 1 0 1 0 8 0 kcovpl 48 12 0 4 1 0 1 1 0 8 0 ppxss 1256 11 0 11 4 4 0 1 0 8 0 pffrag 232 41 0 40 3 2 1 1 0 482 0 pffrnode 88 41 0 40 3 2 1 1 0 8 0 pffrent 40 86 0 85 3 2 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 109 0 95 1 0 1 1 0 8 0 pfstkey 128 109 0 95 1 0 1 1 0 8 0 pfstate 376 109 0 95 4 1 3 3 0 8 0 pfrule 1344 21 0 16 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 655 0 191 31 1 30 30 0 8 0 art_table 32 656 0 191 4 0 4 4 0 8 0 art_node 16 160 0 57 1 0 1 1 0 8 0 sysvmsgpl 40 9 0 0 1 0 1 1 0 8 0 semapl 112 626 0 616 1 0 1 1 0 8 0 shmpl 112 129 0 1 4 0 4 4 0 8 0 dirhash 1024 33 0 16 3 0 3 3 0 8 0 dino2pl 256 10281 0 8818 92 0 92 92 0 8 0 ffsino 272 10281 0 8818 98 0 98 98 0 8 0 nchpl 144 19769 0 18118 63 0 63 63 0 8 0 uvmvnodes 80 5926 0 0 121 0 121 121 0 8 0 vnodes 216 5926 0 0 330 0 330 330 0 8 0 namei 1024 62713 0 62713 5 4 1 2 0 8 1 percpumem 16 84 0 41 1 0 1 1 0 8 0 vcpupl 2048 40 0 1 5 0 5 5 0 8 0 vmpool 696 47 0 8 4 0 4 4 0 8 0 kstatmem 264 106 0 82 2 0 2 2 0 8 0 scxspl 216 57673 0 57673 21 20 1 8 1 8 1 plimitpl 152 320 0 304 1 0 1 1 0 8 0 sigapl 424 8101 0 8035 9 1 8 8 0 8 0 futexpl 64 65576 0 65573 2 1 1 1 0 8 0 knotepl 120 391 0 0 12 0 12 12 0 8 0 kqueuepl 216 722 0 712 15 14 1 5 0 8 0 pipepl 320 1101 0 1071 40 37 3 8 0 8 0 fdescpl 496 8040 0 8014 5 1 4 5 0 8 0 filepl 152 49538 0 49286 84 67 17 22 0 8 6 lockfpl 104 8629 0 8627 9 8 1 2 0 8 0 lockfspl 48 4085 0 4083 1 0 1 1 0 8 0 sessionpl 144 28 0 11 1 0 1 1 0 8 0 pgrppl 48 239 0 222 1 0 1 1 0 8 0 ucredpl 104 2500 0 2485 1 0 1 1 0 8 0 zombiepl 144 8035 0 8035 3 2 1 1 0 8 1 processpl 1072 8101 0 8035 5 0 5 5 0 8 0 procpl 680 21032 0 20945 13 3 10 10 0 8 1 sosppl 168 24 0 22 3 2 1 1 0 8 0 sockpl 488 20531 0 20482 279 262 17 34 0 8 8 mcl64k 65536 16 0 0 2 0 2 2 0 8 0 mcl16k 16384 14 0 0 2 0 2 2 0 8 0 mcl12k 12288 16 0 0 2 0 2 2 0 8 0 mcl9k 9216 11 0 0 1 0 1 1 0 8 0 mcl8k 8192 28 0 0 3 0 3 3 0 8 0 mcl4k 4096 33 0 0 4 1 3 3 0 8 0 mcl2k2 2112 5 0 0 1 0 1 1 0 8 0 mcl2k 2048 422 0 0 51 2 49 51 0 8 0 mtagpl 96 1676 0 0 41 0 41 41 0 8 0 mbufpl 256 2527 0 0 153 0 153 153 0 8 0 bufpl 288 13600 0 7279 452 0 452 452 0 8 0 anonpl 24 828992 0 813989 160 47 113 118 0 186 11 amapchunkpl 152 243698 0 242862 86 43 43 50 0 158 4 amappl16 200 17118 0 16594 98 64 34 41 0 8 5 amappl15 192 13 0 13 2 2 0 1 0 8 0 amappl14 184 172 0 158 2 1 1 2 0 8 0 amappl13 176 10 0 10 1 1 0 1 0 8 0 amappl12 168 8809 0 8778 4 2 2 3 0 8 0 amappl11 160 68 0 53 1 0 1 1 0 8 0 amappl10 152 45 0 33 1 0 1 1 0 8 0 amappl9 144 323 0 323 12 12 0 1 0 8 0 amappl8 136 379 0 283 4 0 4 4 0 8 0 amappl7 128 219 0 193 2 0 2 2 0 8 0 amappl6 120 368 0 360 1 0 1 1 0 8 0 amappl5 112 216 0 205 1 0 1 1 0 8 0 amappl4 104 659 0 629 2 1 1 2 0 8 0 amappl3 96 47481 0 47399 5 2 3 3 0 8 0 amappl2 88 9450 0 9376 3 1 2 3 0 8 0 amappl1 80 35602 0 35062 23 10 13 22 0 8 0 amappl 88 76052 0 75835 9 3 6 7 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 131 0 1 3 0 3 3 0 8 0 uaddrrnd 24 8087 0 8022 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 8087 0 8022 1 0 1 1 0 8 0 vmmpekpl 168 54901 0 54817 4 0 4 4 0 8 0 vmmpepl 168 473742 0 471374 217 100 117 131 0 357 0 vmsppl 464 8086 0 8022 10 1 9 9 0 8 0 rwobjpl 56 121939 0 114248 125 14 111 114 0 8 0 pdppl 4096 16181 0 16083 362 254 108 109 0 8 10 pvpl 32 2173502 0 2152649 471 270 201 339 0 265 21 pmappl 248 8086 0 8022 5 0 5 5 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 1481 0 446 30 0 30 30 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1e: addq $0x8,%rsp x86_ipi_db(ffffffff82c4aff0) 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(ffffffff82ccc148) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82ccc148) at __mp_lock+0x122 sys/kern/kern_lock.c:147 ktrstruct(ffff80002128e568,ffffffff828482e8,ffff80002e49b810,10) at ktrstruct+0xda sys/kern/kern_ktrace.c:307 sys_nanosleep(ffff80002128e568,ffff80002e49b880,ffff80002e49b8d0) at sys_nanosleep+0xe0 sys/kern/kern_time.c:288 syscall(ffff80002e49b950) at syscall+0x606 mi_syscall sys/sys/syscall_mi.h:110 [inline] syscall(ffff80002e49b950) at syscall+0x606 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x716ea13c8fe0, count: 7 ddb{0}> trace x86_ipi_db(ffffffff82c4aff0) 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(ffffffff82ccc148) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82ccc148) at __mp_lock+0x122 sys/kern/kern_lock.c:147 ktrstruct(ffff80002128e568,ffffffff828482e8,ffff80002e49b810,10) at ktrstruct+0xda sys/kern/kern_ktrace.c:307 sys_nanosleep(ffff80002128e568,ffff80002e49b880,ffff80002e49b8d0) at sys_nanosleep+0xe0 sys/kern/kern_time.c:288 syscall(ffff80002e49b950) at syscall+0x606 mi_syscall sys/sys/syscall_mi.h:110 [inline] syscall(ffff80002e49b950) at syscall+0x606 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x716ea13c8fe0, count: -8 ddb{0}> machine ddbcpu 1 Stopped at 0end trace frame: 0x0, count: 14 ddb{1}> trace end trace frame: 0x0, count: -1