kernel: page fault trap, code=10 Stopped at 0 TID PID UID PRFLAGS PFLAGS CPU COMMAND *514661 99044 0 0x8001000 0x80080 1 syz-executor.4 505851 644 0 0x14000 0x40000200 0 softclock 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 0x21b31001 rsi 0xffff80002b2d34c0 rbp 0 rbx 0 rdx 0x66378002 rcx 0 rax 0x800000005ecf6001 r8 0 r9 0x1 r10 0x52d3e50c4e7485e9 r11 0x98a19814fb136e1 r12 0 r13 0 r14 0 r15 0 rip 0 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff8000307039b0 ss 0x10 0 ddb{1}> show proc PROC (syz-executor.4) tid=514661 pid=99044 tcnt=2 stat=onproc flags process=8001000 proc=80080 runpri=32, usrpri=77, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0xffff80002b2d39e0 scnt=1 ecnt=0 forw=0xffffffffffffffff, list=0xffff8000337567e0,0xffff80002b2d39f0 process=0xffff80002a29d670 user=0xffff8000306fe000, vmspace=0xfffffd806ef8aa58 estcpu=27, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 74024 342189 95548 0 2 0x8000000 syz-executor.3 66652 334668 8091 0 3 0x8000080 fsleep syz-executor.0 66652 71361 8091 0 3 0xc000080 lockf syz-executor.0 37113 229094 95732 0 3 0x8000080 fsleep syz-executor.5 37113 385768 95732 0 3 0xc000080 lockf syz-executor.5 83011 404872 1 0 3 0x8000080 fsleep syz-executor.1 83011 161134 1 0 3 0xc000080 netcon syz-executor.1 13605 208735 17866 0 3 0x8000080 fsleep syz-executor.7 13605 405542 17866 0 3 0xc000080 netcon syz-executor.7 50607 416798 6444 0 2 0x8081080 syz-executor.2 50607 365467 6444 0 3 0xc003000 suspend syz-executor.2 *99044 514661 96791 0 7 0x8081080 syz-executor.4 99044 132229 96791 0 3 0xc003000 suspend syz-executor.4 17753 47337 3330 0 3 0x8000082 wait syz-executor.6 54853 178052 1 0 3 0x18100083 ttyin getty 6444 510368 3330 0 2 0x8000002 syz-executor.2 96791 263037 3330 0 3 0x8000082 wait syz-executor.4 95732 413369 3330 0 2 0x8000002 syz-executor.5 8091 81020 3330 0 2 0x8000482 syz-executor.0 87414 241074 1 0 3 0x8000080 fsleep syz-executor.5 87414 491405 1 0 3 0xc000080 netcon syz-executor.5 20266 377167 1 0 3 0x8000080 fsleep syz-executor.2 20266 2359 1 0 3 0xc000080 kqsel syz-executor.2 17866 328406 3330 0 2 0x8000482 syz-executor.7 6655 162159 1 0 3 0x8000080 fsleep syz-executor.7 6655 258497 1 0 3 0xc000080 netcon syz-executor.7 95548 242753 3330 0 2 0x8000002 syz-executor.3 3737 320315 0 0 3 0x14200 bored sosplice 3330 477975 7239 0 3 0x1a000082 thrsleep syz-fuzzer 3330 170211 7239 0 3 0x1e000082 thrsleep syz-fuzzer 3330 365835 7239 0 3 0x1e000082 kqread syz-fuzzer 3330 356258 7239 0 3 0x1e000082 wait syz-fuzzer 3330 288932 7239 0 3 0x1e000082 thrsleep syz-fuzzer 3330 217839 7239 0 3 0x1e000082 wait syz-fuzzer 3330 349292 7239 0 3 0x1e000082 thrsleep syz-fuzzer 3330 516891 7239 0 3 0x1e000082 wait syz-fuzzer 3330 496305 7239 0 3 0x1e000082 wait syz-fuzzer 3330 311581 7239 0 3 0x1e000082 thrsleep syz-fuzzer 3330 206596 7239 0 3 0x1e000082 wait syz-fuzzer 3330 322532 7239 0 3 0x1e000082 thrsleep syz-fuzzer 3330 107696 7239 0 3 0x1e000082 thrsleep syz-fuzzer 3330 19625 7239 0 3 0x1e000082 wait syz-fuzzer 3330 367865 7239 0 3 0x1e000082 thrsleep syz-fuzzer 3330 321158 7239 0 3 0x1e000082 wait syz-fuzzer 7239 230811 95064 0 3 0x810008a sigsusp ksh 95064 275788 80498 0 3 0x1800009a kqread sshd 80498 449029 1 0 3 0x18000088 kqread sshd 86437 265930 94304 73 3 0x19100090 kqread syslogd 94304 327672 1 0 3 0x18100082 sbwait syslogd 7888 378587 1 0 3 0x18100080 kqread resolvd 90700 144105 32452 77 3 0x18100092 kqread dhcpleased 40586 264526 32452 77 3 0x18100092 kqread dhcpleased 32452 289352 1 0 3 0x18000080 kqread dhcpleased 1381 132996 0 0 3 0x14200 bored smr 18389 282984 0 0 3 0x14200 pgzero zerothread 31793 11579 0 0 3 0x14200 aiodoned aiodoned 17928 471834 0 0 3 0x14200 syncer update 99230 363189 0 0 3 0x14200 cleaner cleaner 62288 150480 0 0 3 0x14200 reaper reaper 29299 183564 0 0 3 0x14200 pgdaemon pagedaemon 35467 485662 0 0 3 0x14200 bored viomb 60113 439808 0 0 3 0x40014200 acpi0 acpi0 74315 97672 0 0 3 0x40014200 idle1 80570 399867 0 0 3 0x14200 bored softnet3 67028 410671 0 0 3 0x14200 bored softnet2 4212 417412 0 0 3 0x14200 bored softnet1 74201 506814 0 0 3 0x14200 bored softnet0 52908 132235 0 0 3 0x14200 bored systqmp 56124 37508 0 0 3 0x14200 bored systq 27748 259664 0 0 3 0x14200 tmoslp softclockmp 644 505851 0 0 7 0x40014200 softclock 59489 198820 0 0 3 0x40014200 idle0 1 308383 0 0 3 0x8080082 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks CPU 1: exclusive sched_lock &sched_lock r = 0 (0xffffffff82e24090) #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 msleep+0xeb sys/kern/kern_synch.c:249 #3 reaper+0xdb sys/kern/kern_exit.c:446 #4 proc_trampoline+0x10 Process 644 (softclock) thread 0xffff8000ffffe290 (505851) ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10216 6455K 7169K 166960K 19021 0 pcb 17 12K 12K 166960K 703 0 rtable 184 8K 9K 166960K 2775 0 pf 43 11K 11K 166960K 310 0 ifaddr 44 16K 17K 166960K 393 0 ifgroup 78 3K 3K 166960K 510 0 sysctl 4 1K 2K 166960K 11 0 counters 76 37K 38K 166960K 330 0 ioctlops 0 0K 4K 166960K 1738 0 iov 0 0K 28K 166960K 243 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1473 93K 93K 166960K 5889 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 15 0 VM map 2 1K 1K 166960K 2 0 sem 19 28K 28K 166960K 374 0 dirhash 12 2K 2K 166960K 120 0 ACPI 1697 195K 286K 166960K 12548 0 file desc 20 73K 105K 166960K 4898 0 sigio 0 0K 0K 166960K 80 0 proc 60 79K 152K 166960K 2637 0 subproc 143 8K 9K 166960K 1004 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 643 0 in_multi 80 6K 7K 166960K 941 0 ether_multi 1 0K 0K 166960K 45 0 mrt 1 0K 0K 166960K 15 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 121 546K 546K 166960K 121 0 exec 0 0K 1K 166960K 1787 0 pfkey data 0 0K 0K 166960K 6 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 323 142K 161K 166960K 42323 0 UVM aobj 131 8K 8K 166960K 144 0 pinsyscall 40 80K 100K 166960K 7893 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 390 0 NDP 17 0K 2K 166960K 292 0 temp 88 6808K 7304K 166960K 198182 0 kqueue 12 18K 28K 166960K 777 0 SYN cache 2 16K 16K 166960K 2 0 ddb{1}> 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 641 0 637 3 2 1 3 0 8 0 rtentry 112 965 0 887 5 2 3 4 0 8 0 unpcb 144 3506 0 3493 18 13 5 6 0 8 4 syncache 336 12 0 12 6 6 0 1 0 8 0 tcpqe 32 86 0 86 2 2 0 1 0 8 0 tcpcb 808 1414 0 1401 21 19 2 6 0 8 0 arp 120 181 0 166 1 0 1 1 0 8 0 inpcb 384 4770 0 4750 36 33 3 11 0 8 0 nd6 136 256 0 237 2 1 1 2 0 8 0 pkpcb 40 33 0 33 16 16 0 1 0 8 0 kcovpl 48 77 0 66 1 0 1 1 0 8 0 ppxss 1168 41 0 41 15 15 0 1 0 8 0 pffrag 232 41 0 38 2 1 1 1 0 482 0 pffrnode 88 37 0 34 2 1 1 1 0 8 0 pffrent 40 154 0 151 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 375 0 321 1 0 1 1 0 8 0 pfstkey 128 375 0 319 3 1 2 2 0 8 0 pfstate 376 375 0 321 9 3 6 6 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 3557 0 3206 46 22 24 29 0 8 0 art_table 32 3558 0 3206 6 2 4 4 0 8 1 art_node 16 950 0 881 1 0 1 1 0 8 0 sysvmsgpl 40 22 0 13 1 0 1 1 0 8 0 semapl 112 366 0 349 1 0 1 1 0 8 0 shmpl 112 141 0 13 4 0 4 4 0 8 0 dirhash 1024 89 0 72 3 0 3 3 0 8 0 dino2pl 256 8897 0 7354 97 0 97 97 0 8 0 ffsino 272 8897 0 7354 104 0 104 104 0 8 0 nchpl 144 15776 0 15162 67 39 28 67 0 8 0 uvmvnodes 80 8951 0 0 183 0 183 183 0 8 0 vnodes 216 8951 0 0 498 0 498 498 0 8 0 namei 1024 59932 0 59932 9 8 1 2 0 8 1 percpumem 16 179 0 127 1 0 1 1 0 8 0 vcpupl 3904 10 0 3 1 0 1 1 0 8 0 vmpool 696 26 0 19 1 0 1 1 0 8 0 kstatmem 264 288 0 254 7 4 3 3 0 8 0 scsiplug 72 16 0 16 9 9 0 1 0 8 0 scxspl 216 107554 0 107554 30 29 1 8 1 8 1 plimitpl 152 890 0 870 1 0 1 1 0 8 0 sigapl 424 5106 0 5056 9 2 7 9 0 8 0 futexpl 64 89067 0 89058 13 12 1 1 0 8 0 knotepl 120 1126 0 0 25 0 25 25 0 8 0 kqueuepl 216 1947 0 1937 19 18 1 7 0 8 0 pipepl 320 892 0 860 4 0 4 4 0 8 1 fdescpl 496 5061 0 5030 8 3 5 5 0 8 0 filepl 152 34050 0 33740 35 18 17 18 0 8 4 lockfpl 104 1621 0 1610 1 0 1 1 0 8 0 lockfspl 48 710 0 702 1 0 1 1 0 8 0 sessionpl 144 96 0 77 1 0 1 1 0 8 0 pgrppl 48 172 0 153 1 0 1 1 0 8 0 ucredpl 104 5565 0 5554 1 0 1 1 0 8 0 zombiepl 144 5058 0 5056 1 0 1 1 0 8 0 processpl 1144 5106 0 5056 6 1 5 6 0 8 0 procpl 656 9830 0 9756 9 1 8 9 0 8 0 srpgc 96 50 0 50 10 10 0 1 0 8 0 sosppl 168 14 0 14 8 8 0 1 0 8 0 sockpl 664 8992 0 8955 63 52 11 15 0 8 7 mcl64k 65536 14 0 0 2 0 2 2 0 8 0 mcl16k 16384 9 0 0 2 0 2 2 0 8 0 mcl12k 12288 7 0 0 1 0 1 1 0 8 0 mcl9k 9216 6 0 0 1 0 1 1 0 8 0 mcl8k 8192 15 0 0 2 0 2 2 0 8 0 mcl4k 4096 11 0 0 2 0 2 2 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 462 0 0 46 4 42 46 0 8 0 mtagpl 96 22 0 0 1 0 1 1 0 8 0 mbufpl 256 841 0 0 30 0 30 30 0 8 0 bufpl 280 19936 0 10991 640 0 640 640 0 8 0 anonpl 24 777331 0 770447 147 78 69 101 0 186 0 amapchunkpl 152 141177 0 140400 92 55 37 50 0 158 3 amappl16 200 16152 0 15981 97 75 22 25 0 8 5 amappl15 192 44 0 43 1 0 1 1 0 8 0 amappl14 184 429 0 416 2 1 1 2 0 8 0 amappl13 176 17 0 16 1 0 1 1 0 8 0 amappl12 168 6723 0 6690 2 0 2 2 0 8 0 amappl11 160 138 0 117 1 0 1 1 0 8 0 amappl10 152 125 0 122 1 0 1 1 0 8 0 amappl9 144 293 0 293 2 2 0 1 0 8 0 amappl8 136 430 0 397 2 0 2 2 0 8 0 amappl7 128 81 0 66 1 0 1 1 0 8 0 amappl6 120 1168 0 1152 2 1 1 2 0 8 0 amappl5 112 511 0 499 1 0 1 1 0 8 0 amappl4 104 1076 0 1040 3 1 2 3 0 8 0 amappl3 96 25255 0 25146 4 1 3 4 0 8 0 amappl2 88 5763 0 5684 4 2 2 4 0 8 0 amappl1 80 28715 0 28206 23 10 13 22 0 8 0 amappl 88 40939 0 40708 8 2 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 143 0 13 3 0 3 3 0 8 0 uaddrrnd 24 5087 0 5049 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 5087 0 5049 1 0 1 1 0 8 0 vmmpekpl 168 38614 0 38558 4 0 4 4 0 8 0 vmmpepl 168 333661 0 331544 212 105 107 122 0 357 5 vmsppl 440 5086 0 5049 5 0 5 5 0 8 0 rwobjpl 56 87957 0 77655 159 10 149 149 0 8 0 pdppl 4096 10181 0 10105 272 193 79 89 0 8 3 pvpl 32 49167 0 0 398 1 397 397 0 265 0 pmappl 248 5086 0 5049 5 2 3 3 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 661 0 269 12 0 12 12 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1e: addq $0x8,%rsp x86_ipi_db(ffffffff82d15ff0) 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_cmp4(1,0) at __sanitizer_cov_trace_const_cmp4+0x2e kd_curproc sys/dev/kcov.c:589 [inline] __sanitizer_cov_trace_const_cmp4(1,0) at __sanitizer_cov_trace_const_cmp4+0x2e sys/dev/kcov.c:235 witness_checkorder(ffffffff82e5b8c0,9,0) at witness_checkorder+0x51 sys/kern/subr_witness.c:779 __mp_lock(ffffffff82e5b6b8) at __mp_lock+0xa2 read_rflags machine/cpufunc.h:193 [inline] __mp_lock(ffffffff82e5b6b8) at __mp_lock+0xa2 intr_disable machine/cpufunc.h:214 [inline] __mp_lock(ffffffff82e5b6b8) at __mp_lock+0xa2 sys/kern/kern_lock.c:142 __mp_acquire_count(ffffffff82e5b6b8,1) at __mp_acquire_count+0x48 sys/kern/kern_lock.c:227 msleep(ffffffff82e4af20,ffffffff82d197a0,0,ffffffff8295fd73,0) at msleep+0x168 softclock_thread(ffff8000ffffe290) at softclock_thread+0xcf sys/kern/kern_timeout.c:810 end trace frame: 0x0, count: 6 ddb{0}> trace x86_ipi_db(ffffffff82d15ff0) 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_cmp4(1,0) at __sanitizer_cov_trace_const_cmp4+0x2e kd_curproc sys/dev/kcov.c:589 [inline] __sanitizer_cov_trace_const_cmp4(1,0) at __sanitizer_cov_trace_const_cmp4+0x2e sys/dev/kcov.c:235 witness_checkorder(ffffffff82e5b8c0,9,0) at witness_checkorder+0x51 sys/kern/subr_witness.c:779 __mp_lock(ffffffff82e5b6b8) at __mp_lock+0xa2 read_rflags machine/cpufunc.h:193 [inline] __mp_lock(ffffffff82e5b6b8) at __mp_lock+0xa2 intr_disable machine/cpufunc.h:214 [inline] __mp_lock(ffffffff82e5b6b8) at __mp_lock+0xa2 sys/kern/kern_lock.c:142 __mp_acquire_count(ffffffff82e5b6b8,1) at __mp_acquire_count+0x48 sys/kern/kern_lock.c:227 msleep(ffffffff82e4af20,ffffffff82d197a0,0,ffffffff8295fd73,0) at msleep+0x168 softclock_thread(ffff8000ffffe290) at softclock_thread+0xcf sys/kern/kern_timeout.c:810 end trace frame: 0x0, count: -9 ddb{0}> machine ddbcpu 1 Stopped at 0end trace frame: 0x0, count: 14 ddb{1}> trace end trace frame: 0x0, count: -1