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 118326 67757 0 0 0x4000000 0 syz-executor.0 *103138 3243 0 0x14000 0x200 1K softnet db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff8222f66b) at panic+0x15c sys/kern/subr_prf.c:207 pageflttrap(ffff800020a47830,0) at pageflttrap+0x40b kerntrap(ffff800020a47830) at kerntrap+0xec sys/arch/amd64/amd64/trap.c:287 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b 0(ffff800000023080,ffff800000023080,0,0,ffff800000023080,ffffffff813929f0) 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(ffffffff8222f66b) at panic+0x15c sys/kern/subr_prf.c:207 pageflttrap(ffff800020a47830,0) at pageflttrap+0x40b kerntrap(ffff800020a47830) at kerntrap+0xec sys/arch/amd64/amd64/trap.c:287 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b 0(ffff800000023080,ffff800000023080,0,0,ffff800000023080,ffffffff813929f0) at 0 end trace frame: 0x0, count: -6 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff800020a476a0 rbx 0xffff800020a47750 rdx 0xffff800020a20ed0 rcx 0 rax 0 r8 0xffffffff810121cf kprintf+0x16f r9 0x1 r10 0x25 r11 0x6351e88c06248ef r12 0x3000000008 r13 0xffff800020a476b0 r14 0x100 r15 0x1 rip 0xffffffff81228ff8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800020a47690 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (softnet) pid=103138 stat=onproc flags process=14000 proc=200 pri=32, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff800020a20c58,0xffff800020a21158 process=0xffff800020a22e00 user=0xffff800020a42000, vmspace=0xffffffff826484d8 estcpu=0, cpticks=2, pctcpu=0.56 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 67757 345624 46019 0 2 0 syz-executor.0 67757 118326 46019 0 7 0x4000000 syz-executor.0 67757 290946 46019 0 3 0x4000080 fsleep syz-executor.0 64845 236689 22374 0 4 0x82000 syz-executor.1 64845 151314 22374 0 3 0x4082000 netlock syz-executor.1 64845 16748 22374 0 3 0x4002000 suspend syz-executor.1 64529 286419 0 0 3 0x14200 bored sosplice 22374 180756 81991 0 3 0x82 nanosleep syz-executor.1 46019 255501 81991 0 3 0x82 nanosleep syz-executor.0 81991 92820 174 0 3 0x82 thrsleep syz-fuzzer 81991 453830 174 0 3 0x4000082 thrsleep syz-fuzzer 81991 24476 174 0 3 0x4000082 kqread syz-fuzzer 81991 16108 174 0 3 0x4000082 thrsleep syz-fuzzer 81991 52697 174 0 3 0x4000082 thrsleep syz-fuzzer 81991 467846 174 0 3 0x4000082 thrsleep syz-fuzzer 81991 332214 174 0 3 0x4000082 thrsleep syz-fuzzer 81991 495870 174 0 3 0x4000082 thrsleep syz-fuzzer 81991 451590 174 0 3 0x4000082 thrsleep syz-fuzzer 81991 111742 174 0 3 0x4000082 thrsleep syz-fuzzer 174 190792 22691 0 3 0x10008a pause ksh 22691 290096 23301 0 3 0x92 select sshd 25604 16632 1 0 3 0x100083 ttyin getty 23301 91964 1 0 3 0x80 select sshd 19747 298367 17697 74 3 0x100092 bpf pflogd 17697 300252 1 0 3 0x80 netio pflogd 13261 291645 15622 73 3 0x100090 kqread syslogd 15622 113144 1 0 3 0x100082 netio syslogd 29614 279097 1 77 3 0x100090 poll dhclient 48871 210011 1 0 3 0x80 poll dhclient 7544 421422 0 0 2 0x14200 zerothread 50860 508991 0 0 3 0x14200 aiodoned aiodoned 23047 324072 0 0 3 0x14200 syncer update 65612 258170 0 0 3 0x14200 cleaner cleaner 77968 444925 0 0 3 0x14200 reaper reaper 9244 182231 0 0 3 0x14200 pgdaemon pagedaemon 75011 484177 0 0 3 0x14200 bored crynlk 87533 176804 0 0 3 0x14200 bored crypto 67258 297706 0 0 3 0x40014200 acpi0 acpi0 4157 78729 0 0 3 0x40014200 idle1 * 3243 103138 0 0 7 0x14200 softnet 42675 4135 0 0 3 0x14200 bored systqmp 63420 383820 0 0 3 0x14200 bored systq 30086 137660 0 0 3 0x40014200 bored softclock 91874 3942 0 0 3 0x40014200 idle0 54361 61717 0 0 3 0x14200 bored smr 1 389597 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 67757 (syz-executor.0) thread 0xffff800020ac18c8 (118326) exclusive rwlock netlock r = 0 (0xffffffff8247d1e8) #0 witness_lock+0x52e sys/kern/subr_witness.c:1163 #1 solock+0x5a sys/kern/uipc_socket2.c:282 #2 sosend+0x51b sys/kern/uipc_socket.c:512 #3 sendit+0x52b sys/kern/uipc_syscalls.c:662 #4 sys_sendto+0x80 sys/kern/uipc_syscalls.c:527 #5 syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline] #5 syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555 #6 Xsyscall+0x128 Process 3243 (softnet) thread 0xffff800020a20ed0 (103138) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff82633ca0) #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 devbuf 9533 6675K 7893K 78643K 11796 0 pcb 13 8K 8K 78643K 85 0 rtable 105 4K 4K 78643K 331 0 ifaddr 70 14K 15K 78643K 139 0 counters 39 33K 33K 78643K 39 0 ioctlops 0 0K 4K 78643K 1496 0 iov 0 0K 14K 78643K 86 0 mount 1 1K 1K 78643K 1 0 vnodes 1233 77K 78K 78643K 1532 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 6 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 117 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 196K 290K 78643K 12766 0 file desc 6 17K 25K 78643K 273 0 sigio 0 0K 0K 78643K 12 0 proc 61 63K 95K 78643K 448 0 subproc 32 2K 2K 78643K 34 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 16 0 in_multi 52 2K 3K 78643K 54 0 ether_multi 1 0K 0K 78643K 2 0 mrt 0 0K 0K 78643K 2 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 54 238K 238K 78643K 54 0 exec 0 0K 1K 78643K 218 0 pagedep 1 8K 8K 78643K 1 0 inodedep 1 32K 32K 78643K 1 0 newblk 1 0K 0K 78643K 1 0 VM swap 7 26K 26K 78643K 7 0 UVM amap 138 71K 72K 78643K 1901 0 UVM aobj 30 2K 2K 78643K 33 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 54 0 NDP 11 0K 0K 78643K 29 0 temp 133 3023K 3105K 78643K 6651 0 kqueue 0 0K 0K 78643K 2 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 arp 64 7 0 2 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 35 0 33 1 0 1 1 0 8 0 rtentry 112 46 0 5 2 0 2 2 0 8 0 unpcb 120 210 0 197 2 0 2 2 0 8 1 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 228 0 228 1 1 0 1 0 8 0 tcpcb 544 98 0 94 2 0 2 2 0 8 1 inpcb 280 379 0 357 2 0 2 2 0 8 0 nd6 48 4 0 0 1 0 1 1 0 8 0 ppxss 1128 4 0 4 1 0 1 1 0 8 1 pffrag 232 11 0 11 1 0 1 1 0 482 1 pffrnode 88 11 0 11 1 0 1 1 0 8 1 pffrent 40 497 0 497 1 0 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 29 0 3 1 0 1 1 0 8 0 pfstkey 112 29 0 3 1 0 1 1 0 8 0 pfstate 328 29 0 3 3 0 3 3 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 214 0 4 14 0 14 14 0 8 0 art_table 32 215 0 4 2 0 2 2 0 8 0 art_node 16 45 0 8 1 0 1 1 0 8 0 sysvmsgpl 40 23 0 5 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 115 0 105 1 0 1 1 0 8 0 shmpl 112 31 0 3 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1811 0 398 46 0 46 46 0 8 0 ffsino 272 1811 0 398 95 0 95 95 0 8 0 nchpl 144 2390 0 766 61 0 61 61 0 8 0 uvmvnodes 72 2110 0 0 39 0 39 39 0 8 0 vnodes 208 2110 0 0 112 0 112 112 0 8 0 namei 1024 6884 0 6884 1 0 1 1 0 8 1 percpumem 16 30 0 0 1 0 1 1 0 8 0 vcpupl 1984 6 0 0 1 0 1 1 0 8 0 vmpool 560 6 0 0 1 0 1 1 0 8 0 scxspl 192 7959 0 7959 4 3 1 3 0 8 1 plimitpl 152 43 0 35 1 0 1 1 0 8 0 sigapl 432 472 0 456 3 1 2 3 0 8 0 futexpl 56 6181 0 6180 1 0 1 1 0 8 0 knotepl 112 85 0 66 1 0 1 1 0 8 0 kqueuepl 104 118 0 116 1 0 1 1 0 8 0 pipepl 160 592 0 573 3 1 2 3 0 8 1 fdescpl 488 473 0 456 3 0 3 3 0 8 0 filepl 152 3626 0 3505 7 1 6 7 0 8 1 lockfpl 104 125 0 124 1 0 1 1 0 8 0 lockfspl 48 41 0 40 1 0 1 1 0 8 0 sessionpl 112 18 0 7 1 0 1 1 0 8 0 pgrppl 48 24 0 13 1 0 1 1 0 8 0 ucredpl 96 327 0 318 1 0 1 1 0 8 0 zombiepl 144 456 0 456 1 0 1 1 0 8 1 processpl 896 489 0 456 4 0 4 4 0 8 0 procpl 632 1101 0 1055 5 0 5 5 0 8 1 sosppl 128 3 0 3 2 1 1 1 0 8 1 sockpl 384 628 0 592 7 0 7 7 0 8 3 mcl64k 65536 12 0 0 2 0 2 2 0 8 0 mcl16k 16384 2 0 0 1 0 1 1 0 8 0 mcl12k 12288 6 0 0 1 0 1 1 0 8 0 mcl9k 9216 4 0 0 1 0 1 1 0 8 0 mcl8k 8192 5 0 0 1 0 1 1 0 8 0 mcl4k 4096 8 0 0 1 0 1 1 0 8 0 mcl2k2 2112 3 0 0 1 0 1 1 0 8 0 mcl2k 2048 221 0 0 27 0 27 27 0 8 0 mtagpl 80 9 0 0 1 0 1 1 0 8 0 mbufpl 256 370 0 0 23 0 23 23 0 8 0 bufpl 280 6841 0 1349 393 0 393 393 0 8 0 anonpl 16 65863 0 45179 98 1 97 97 0 125 13 amapchunkpl 152 2591 0 2433 12 1 11 11 0 158 4 amappl16 192 2495 0 1357 67 1 66 67 0 8 8 amappl15 184 58 0 54 1 0 1 1 0 8 0 amappl14 176 30 0 27 1 0 1 1 0 8 0 amappl13 168 125 0 123 1 0 1 1 0 8 0 amappl12 160 7 0 6 2 1 1 1 0 8 0 amappl11 152 181 0 163 1 0 1 1 0 8 0 amappl10 144 16 0 9 1 0 1 1 0 8 0 amappl9 136 610 0 605 1 0 1 1 0 8 0 amappl8 128 129 0 102 1 0 1 1 0 8 0 amappl7 120 107 0 94 1 0 1 1 0 8 0 amappl6 112 173 0 167 1 0 1 1 0 8 0 amappl5 104 132 0 118 1 0 1 1 0 8 0 amappl4 96 850 0 818 1 0 1 1 0 8 0 amappl3 88 135 0 128 1 0 1 1 0 8 0 amappl2 80 2858 0 2773 3 1 2 3 0 8 0 amappl1 72 20408 0 19921 26 16 10 21 0 8 0 amappl 80 1358 0 1304 2 0 2 2 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 32 0 3 1 0 1 1 0 8 0 uaddrrnd 24 479 0 456 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 479 0 456 1 0 1 1 0 8 0 vmmpekpl 168 8313 0 8280 2 0 2 2 0 8 0 vmmpepl 168 68583 0 66115 132 12 120 130 0 357 12 vmsppl 368 478 0 456 3 0 3 3 0 8 0 pdppl 4096 965 0 918 6 0 6 6 0 8 0 pvpl 32 218124 0 193956 225 0 225 225 0 265 30 pmappl 232 478 0 456 2 0 2 2 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 184 0 3 6 0 6 6 0 8 0