login: panic: attempt to execute user address 0x0 in supervisor mode Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 72594 64597 0 0x2 0x4000000 0 syz-fuzzer * 45102 55868 0 0x14000 0x200 1K softnet db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic() at panic+0x15c sys/kern/subr_prf.c:207 pageflttrap() at pageflttrap+0x40b kerntrap(ffff800020a374c0) at kerntrap+0xec sys/arch/amd64/amd64/trap.c:287 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b 0(ffff800000023080,ffff800000023080,0,0,ffff800000023080,ffffffff816d0a90) at 0 end trace frame: 0x0, count: 9 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 attempt to execute user address 0x0 in supervisor mode ddb{1}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic() at panic+0x15c sys/kern/subr_prf.c:207 pageflttrap() at pageflttrap+0x40b kerntrap(ffff800020a374c0) at kerntrap+0xec sys/arch/amd64/amd64/trap.c:287 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b 0(ffff800000023080,ffff800000023080,0,0,ffff800000023080,ffffffff816d0a90) at 0 end trace frame: 0x0, count: -6 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff800020a37330 rbx 0xffff800020a373e0 rdx 0xffff800020a10000 rcx 0 rax 0 r8 0xffffffff81df7dcf kprintf+0x16f r9 0x1 r10 0x25 r11 0x26283b9394ea68be r12 0x3000000008 r13 0xffff800020a37340 r14 0x100 r15 0x1 rip 0xffffffff82061b48 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800020a37320 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (softnet) pid=45102 stat=onproc flags process=14000 proc=200 pri=32, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff800020a10288,0xffff800020a10520 process=0xffff800020a135c0 user=0xffff800020a32000, vmspace=0xffffffff82653760 estcpu=0, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 87934 286313 47390 0 2 0 syz-executor.0 87934 309105 47390 0 2 0x4000000 syz-executor.0 31226 169735 36488 0 2 0 syz-executor.1 31226 421974 36488 0 2 0x4000000 syz-executor.1 10858 158705 0 0 3 0x14200 bored sosplice 36488 239159 64597 0 3 0x82 nanosleep syz-executor.1 47390 269856 64597 0 3 0x82 nanosleep syz-executor.0 64597 449398 42373 0 3 0x82 thrsleep syz-fuzzer 64597 462422 42373 0 3 0x4000082 nanosleep syz-fuzzer 64597 309797 42373 0 3 0x4000082 thrsleep syz-fuzzer 64597 503041 42373 0 3 0x4000082 kqread syz-fuzzer 64597 324980 42373 0 3 0x4000082 thrsleep syz-fuzzer 64597 72594 42373 0 7 0x4000002 syz-fuzzer 64597 38904 42373 0 3 0x4000082 thrsleep syz-fuzzer 64597 431598 42373 0 3 0x4000082 thrsleep syz-fuzzer 64597 188840 42373 0 3 0x4000082 thrsleep syz-fuzzer 64597 329784 42373 0 3 0x4000082 thrsleep syz-fuzzer 42373 288785 52997 0 3 0x10008a pause ksh 52997 64240 7637 0 3 0x92 select sshd 61498 34378 1 0 3 0x100083 ttyin getty 7637 285094 1 0 3 0x80 select sshd 77932 146290 36297 74 3 0x100092 bpf pflogd 36297 183862 1 0 3 0x80 netio pflogd 5219 280839 65703 73 3 0x100090 kqread syslogd 65703 356758 1 0 3 0x100082 netio syslogd 33260 406144 1 77 3 0x100090 poll dhclient 4649 470225 1 0 3 0x80 poll dhclient 89070 125303 0 0 2 0x14200 zerothread 31112 322048 0 0 3 0x14200 aiodoned aiodoned 92382 108071 0 0 3 0x14200 syncer update 25913 364332 0 0 3 0x14200 cleaner cleaner 37975 327123 0 0 3 0x14200 reaper reaper 66726 395060 0 0 3 0x14200 pgdaemon pagedaemon 77388 372794 0 0 3 0x14200 bored crynlk 5714 342999 0 0 3 0x14200 bored crypto 76213 205093 0 0 3 0x40014200 acpi0 acpi0 13600 58168 0 0 3 0x40014200 idle1 *55868 45102 0 0 7 0x14200 softnet 52590 62306 0 0 3 0x14200 bored systqmp 53064 332448 0 0 3 0x14200 bored systq 7801 393380 0 0 3 0x40014200 bored softclock 78614 523006 0 0 3 0x40014200 idle0 16462 261061 0 0 3 0x14200 bored smr 1 398837 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 55868 (softnet) thread 0xffff800020a10000 (45102) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff82649cc8) #0 witness_lock+0x52e sys/kern/subr_witness.c:1163 #1 pageflttrap+0x6f sys/arch/amd64/amd64/trap.c:162 #2 kerntrap+0xec sys/arch/amd64/amd64/trap.c:287 #3 alltraps_kern_meltdown+0x7b shared rwlock softnet r = 0 (0xffff8000000230e0) #0 witness_lock+0x52e sys/kern/subr_witness.c:1163 #1 taskq_thread+0x8f sys/kern/kern_task.c:367 #2 proc_trampoline+0x1c ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim Kern Lim devbuf 9520 6418K 8671K 78643K 14341 0 0 pcb 13 8K 8K 78643K 184 0 0 rtable 91 4K 4K 78643K 915 0 0 ifaddr 62 13K 18K 78643K 465 0 0 counters 39 33K 33K 78643K 39 0 0 ioctlops 0 0K 4K 78643K 1476 0 0 iov 0 0K 74K 78643K 657 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1230 77K 78K 78643K 3049 0 0 UFS quota 1 32K 32K 78643K 1 0 0 UFS mount 5 36K 36K 78643K 5 0 0 shm 2 1K 5K 78643K 49 0 0 VM map 2 1K 1K 78643K 2 0 0 sem 12 0K 0K 78643K 604 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1809 196K 290K 78643K 12766 0 0 file desc 6 17K 25K 78643K 1955 0 0 proc 60 63K 95K 78643K 893 0 0 subproc 32 2K 2K 78643K 68 0 0 NFS srvsock 1 0K 0K 78643K 1 0 0 NFS daemon 1 16K 16K 78643K 1 0 0 ip_moptions 0 0K 0K 78643K 492 0 0 in_multi 64 3K 3K 78643K 164 0 0 ether_multi 1 0K 0K 78643K 17 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 66 291K 291K 78643K 66 0 0 exec 0 0K 1K 78643K 307 0 0 pagedep 1 8K 8K 78643K 1 0 0 inodedep 1 32K 32K 78643K 1 0 0 newblk 1 0K 0K 78643K 1 0 0 VM swap 7 26K 26K 78643K 7 0 0 UVM amap 102 21K 39K 78643K 5926 0 0 UVM aobj 130 4K 4K 78643K 130 0 0 memdesc 1 4K 4K 78643K 1 0 0 crypto data 1 1K 1K 78643K 1 0 0 ip6_options 0 0K 0K 78643K 182 0 0 NDP 11 0K 0K 78643K 102 0 0 temp 131 3579K 3646K 78643K 31472 0 0 SYN cache 2 16K 16K 78643K 2 0 0 ddb{1}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle arp 64 8 0 4 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 96 162 0 160 1 0 1 1 0 8 0 rtentry 112 55 0 21 2 0 2 2 0 8 0 unpcb 120 1567 0 1546 1 0 1 1 0 8 0 syncache 280 20 0 20 3 3 0 1 0 8 0 tcpqe 32 8 0 8 1 1 0 1 0 8 0 tcpcb 640 846 0 842 2 1 1 2 0 8 0 inpcb 280 1887 0 1880 4 3 1 2 0 8 0 ip6q 72 4 0 4 1 1 0 1 0 8 0 ip6af 40 12 0 12 1 1 0 1 0 8 0 nd6 48 6 0 4 1 0 1 1 0 8 0 pkpcb 40 3 0 3 1 1 0 1 0 8 0 ppxss 1128 39 0 39 4 3 1 1 0 8 1 pffrag 232 59 0 59 3 2 1 1 0 482 1 pffrnode 88 59 0 59 3 2 1 1 0 8 1 pffrent 40 2440 0 2440 3 2 1 1 0 8 1 pfosfp 40 846 0 423 5 0 5 5 0 8 0 pfosfpen 112 1428 0 714 21 0 21 21 0 8 0 pfstitem 24 55 0 46 1 0 1 1 0 8 0 pfstkey 112 55 0 46 2 1 1 2 0 8 0 pfstate 328 55 0 46 4 3 1 4 0 8 0 pfrule 1360 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 259 0 86 14 1 13 14 0 8 0 art_table 32 260 0 86 2 0 2 2 0 8 0 art_node 16 54 0 23 1 0 1 1 0 8 0 semupl 112 4 0 4 1 1 0 1 0 8 0 semapl 112 597 0 587 1 0 1 1 0 8 0 shmpl 112 128 0 0 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 5195 0 3779 46 0 46 46 0 8 0 ffsino 272 5195 0 3779 95 0 95 95 0 8 0 nchpl 144 8039 0 6432 60 0 60 60 0 8 0 uvmvnodes 72 5926 0 0 108 0 108 108 0 8 0 vnodes 208 5926 0 0 312 0 312 312 0 8 0 namei 1024 23467 0 23467 1 0 1 1 0 8 1 percpumem 16 30 0 0 1 0 1 1 0 8 0 scsiplug 64 4 0 4 1 1 0 1 0 8 0 scxspl 208 25551 0 25551 6 5 1 5 0 8 1 plimitpl 152 126 0 118 1 0 1 1 0 8 0 sigapl 432 2148 0 2132 3 1 2 3 0 8 0 futexpl 56 37962 0 37962 1 0 1 1 0 8 1 knotepl 112 290 0 271 1 0 1 1 0 8 0 kqueuepl 104 300 0 298 1 0 1 1 0 8 0 pipepl 160 910 0 891 3 1 2 2 0 8 1 fdescpl 488 2149 0 2132 3 0 3 3 0 8 0 filepl 152 14086 0 13984 10 5 5 6 0 8 1 lockfpl 104 989 0 988 1 0 1 1 0 8 0 lockfspl 48 355 0 354 1 0 1 1 0 8 0 sessionpl 128 20 0 9 1 0 1 1 0 8 0 pgrppl 48 116 0 105 1 0 1 1 0 8 0 ucredpl 96 2835 0 2826 1 0 1 1 0 8 0 zombiepl 144 2132 0 2132 1 0 1 1 0 8 1 processpl 928 2165 0 2132 5 0 5 5 0 8 0 procpl 648 4934 0 4890 8 3 5 5 0 8 1 srpgc 80 4 0 4 1 1 0 1 0 8 0 sosppl 144 8 0 8 1 1 0 1 0 8 0 sockpl 384 3619 0 3589 10 6 4 5 0 8 0 mcl64k 65536 19 0 0 3 0 3 3 0 8 0 mcl16k 16384 5 0 0 1 0 1 1 0 8 0 mcl12k 12288 12 0 0 2 0 2 2 0 8 0 mcl9k 9216 17 0 0 2 0 2 2 0 8 0 mcl8k 8192 17 0 0 3 1 2 3 0 8 0 mcl4k 4096 17 0 0 3 0 3 3 0 8 0 mcl2k 2048 204 0 0 17 0 17 17 0 8 0 mtagpl 80 90 0 0 2 0 2 2 0 8 0 mbufpl 256 379 0 0 18 0 18 18 0 8 0 bufpl 280 11976 0 4918 505 0 505 505 0 8 0 anonpl 16 276879 0 272147 59 24 35 46 0 124 7 amapchunkpl 152 13081 0 12983 21 7 14 14 0 158 8 amappl16 192 12070 0 11866 36 23 13 22 0 8 2 amappl15 184 2 0 2 1 1 0 1 0 8 0 amappl14 176 64 0 56 1 0 1 1 0 8 0 amappl13 168 684 0 683 1 0 1 1 0 8 0 amappl12 160 13 0 11 1 0 1 1 0 8 0 amappl11 152 54 0 39 1 0 1 1 0 8 0 amappl10 144 295 0 290 1 0 1 1 0 8 0 amappl9 136 1559 0 1554 1 0 1 1 0 8 0 amappl8 128 1119 0 1089 1 0 1 1 0 8 0 amappl7 120 320 0 313 1 0 1 1 0 8 0 amappl6 112 60 0 52 1 0 1 1 0 8 0 amappl5 104 145 0 130 1 0 1 1 0 8 0 amappl4 96 2431 0 2400 1 0 1 1 0 8 0 amappl3 88 207 0 201 1 0 1 1 0 8 0 amappl2 80 17029 0 16950 3 1 2 3 0 8 0 amappl1 72 47982 0 47534 25 15 10 20 0 8 0 amappl 80 5258 0 5219 1 0 1 1 0 84 0 dma4096 4096 1 0 1 1 1 0 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 64 129 0 0 3 0 3 3 0 8 0 uaddrrnd 24 2149 0 2132 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2149 0 2132 1 0 1 1 0 8 0 vmmpekpl 168 15112 0 15077 2 0 2 2 0 8 0 vmmpepl 168 255521 0 254084 116 49 67 80 0 357 3 vmsppl 368 2148 0 2132 2 0 2 2 0 8 0 pdppl 4096 4305 0 4264 6 0 6 6 0 8 0 pvpl 32 839212 0 831127 180 74 106 126 0 265 28 pmappl 232 2148 0 2132 2 1 1 2 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 171 0 5 5 0 5 5 0 8 0