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 475337 82356 0 0x2 0x4000000 0 syz-fuzzer *458038 19700 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(ffff800020a37370) at kerntrap+0xec sys/arch/amd64/amd64/trap.c:287 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b 0(ffff800000023080,ffff800000023080,0,0,ffff800000023080,ffffffff8164f1f0) 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(ffff800020a37370) at kerntrap+0xec sys/arch/amd64/amd64/trap.c:287 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b 0(ffff800000023080,ffff800000023080,0,0,ffff800000023080,ffffffff8164f1f0) at 0 end trace frame: 0x0, count: -6 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff800020a371e0 rbx 0xffff800020a37290 rdx 0xffff800020a10ed0 rcx 0 rax 0 r8 0xffffffff81bcb87f kprintf+0x16f r9 0x1 r10 0x25 r11 0x240c64fc68b2c7b3 r12 0x3000000008 r13 0xffff800020a371f0 r14 0x100 r15 0x1 rip 0xffffffff810ed3b8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800020a371d0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (softnet) pid=458038 stat=onproc flags process=14000 proc=200 pri=32, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff800020a10c58,0xffff800020a11158 process=0xffff800020a12700 user=0xffff800020a32000, vmspace=0xffffffff8266e400 estcpu=0, cpticks=0, pctcpu=0.12 user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 39923 73332 10398 0 2 0 syz-executor.1 39923 82853 10398 0 2 0x4000000 syz-executor.1 19285 41799 43939 0 2 0 syz-executor.0 19285 461489 43939 0 2 0x4000000 syz-executor.0 10398 436789 82356 0 3 0x82 nanosleep syz-executor.1 43939 67370 82356 0 3 0x82 nanosleep syz-executor.0 82356 25135 1819 0 3 0x82 thrsleep syz-fuzzer 82356 417256 1819 0 3 0x4000082 nanosleep syz-fuzzer 82356 105307 1819 0 3 0x4000082 thrsleep syz-fuzzer 82356 37246 1819 0 3 0x4000082 thrsleep syz-fuzzer 82356 83495 1819 0 3 0x4000082 thrsleep syz-fuzzer 82356 23681 1819 0 3 0x4000082 thrsleep syz-fuzzer 82356 434313 1819 0 3 0x4000082 thrsleep syz-fuzzer 82356 103336 1819 0 3 0x4000082 thrsleep syz-fuzzer 82356 475337 1819 0 7 0x4000002 syz-fuzzer 82356 75135 1819 0 3 0x4000082 kqread syz-fuzzer 1819 447823 48398 0 3 0x10008a pause ksh 48398 167762 54711 0 3 0x92 select sshd 10718 143372 1 0 3 0x100083 ttyin getty 54711 99832 1 0 3 0x80 select sshd 36671 193246 55105 74 3 0x100092 bpf pflogd 55105 18558 1 0 3 0x80 netio pflogd 90311 488759 40641 73 3 0x100090 kqread syslogd 40641 287451 1 0 3 0x100082 netio syslogd 61077 468313 1 77 3 0x100090 poll dhclient 32307 342573 1 0 3 0x80 poll dhclient 81926 297849 0 0 2 0x14200 zerothread 40075 474992 0 0 3 0x14200 aiodoned aiodoned 40966 393828 0 0 3 0x14200 syncer update 44701 492053 0 0 3 0x14200 cleaner cleaner 83069 501466 0 0 3 0x14200 reaper reaper 85085 274102 0 0 3 0x14200 pgdaemon pagedaemon 88311 504129 0 0 3 0x14200 bored crynlk 87110 231650 0 0 3 0x14200 bored crypto 18153 94432 0 0 3 0x40014200 acpi0 acpi0 36240 22802 0 0 3 0x40014200 idle1 *19700 458038 0 0 7 0x14200 softnet 21053 259203 0 0 3 0x14200 bored systqmp 6206 323526 0 0 3 0x14200 bored systq 12349 111177 0 0 3 0x40014200 bored softclock 95052 18416 0 0 3 0x40014200 idle0 26750 84849 0 0 3 0x14200 bored smr 1 257168 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 19700 (softnet) thread 0xffff800020a10ed0 (458038) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff826346d0) #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 9482 6411K 6982K 78643K 11586 0 0 pcb 13 8K 8K 78643K 106 0 0 rtable 108 4K 4K 78643K 507 0 0 ifaddr 48 12K 14K 78643K 351 0 0 counters 39 33K 33K 78643K 39 0 0 ioctlops 0 0K 4K 78643K 1469 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1219 77K 77K 78643K 1663 0 0 UFS quota 1 32K 32K 78643K 1 0 0 UFS mount 5 36K 36K 78643K 5 0 0 shm 2 1K 1K 78643K 2 0 0 VM map 2 1K 1K 78643K 2 0 0 sem 12 0K 0K 78643K 140 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1809 196K 290K 78643K 12766 0 0 file desc 6 17K 25K 78643K 600 0 0 proc 60 63K 95K 78643K 439 0 0 subproc 32 2K 2K 78643K 34 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 10 0 0 in_multi 33 2K 2K 78643K 53 0 0 ether_multi 1 0K 0K 78643K 1 0 0 mrt 0 0K 0K 78643K 38 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 42 185K 185K 78643K 42 0 0 exec 0 0K 1K 78643K 251 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 89 20K 21K 78643K 2218 0 0 UVM aobj 2 2K 2K 78643K 2 0 0 memdesc 1 4K 4K 78643K 1 0 0 crypto data 1 1K 1K 78643K 1 0 0 ip6_options 0 0K 2K 78643K 538 0 0 NDP 7 0K 0K 78643K 80 0 0 temp 115 3554K 3620K 78643K 5642 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 6 0 0 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 75 0 73 1 0 1 1 0 8 0 rtentry 112 64 0 20 2 0 2 2 0 8 0 unpcb 120 603 0 593 1 0 1 1 0 8 0 syncache 264 48 0 48 1 1 0 1 0 8 0 tcpqe 32 32 0 32 1 1 0 1 0 8 0 tcpcb 544 170 0 166 1 0 1 1 0 8 0 inpcb 280 753 0 746 2 1 1 2 0 8 0 rttmr 72 19 0 19 1 0 1 1 0 8 1 nd6 48 4 0 0 1 0 1 1 0 8 0 pkpcb 40 11 0 11 1 1 0 1 0 8 0 ppxss 1128 22 0 22 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 12 0 4 1 0 1 1 0 8 0 pfstkey 112 12 0 4 1 0 1 1 0 8 0 pfstate 328 12 0 4 1 0 1 1 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 212 0 0 14 0 14 14 0 8 0 art_table 32 213 0 0 2 0 2 2 0 8 0 art_node 16 63 0 23 1 0 1 1 0 8 0 semapl 112 138 0 128 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 2747 0 1341 46 0 46 46 0 8 0 ffsino 272 2747 0 1341 94 0 94 94 0 8 0 nchpl 144 4188 0 2571 61 1 60 61 0 8 0 uvmvnodes 72 2981 0 0 55 0 55 55 0 8 0 vnodes 208 2981 0 0 157 0 157 157 0 8 0 namei 1024 10000 0 10000 1 0 1 1 0 8 1 percpumem 16 30 0 0 1 0 1 1 0 8 0 scsiplug 64 24 0 24 1 1 0 1 0 8 0 scxspl 192 9995 0 9995 7 6 1 6 0 8 1 plimitpl 152 15 0 7 1 0 1 1 0 8 0 sigapl 432 798 0 782 3 1 2 3 0 8 0 futexpl 56 12593 0 12593 1 0 1 1 0 8 1 knotepl 112 138 0 119 1 0 1 1 0 8 0 kqueuepl 104 116 0 114 1 0 1 1 0 8 0 pipepl 160 600 0 581 2 1 1 2 0 8 0 fdescpl 488 799 0 782 3 0 3 3 0 8 0 filepl 152 5329 0 5227 5 0 5 5 0 8 1 lockfpl 104 131 0 130 1 0 1 1 0 8 0 lockfspl 48 65 0 64 1 0 1 1 0 8 0 sessionpl 112 18 0 7 1 0 1 1 0 8 0 pgrppl 48 128 0 117 1 0 1 1 0 8 0 ucredpl 96 659 0 650 1 0 1 1 0 8 0 zombiepl 144 782 0 782 1 0 1 1 0 8 1 processpl 896 814 0 782 4 0 4 4 0 8 0 procpl 632 1491 0 1448 4 0 4 4 0 8 0 sockpl 384 1442 0 1423 4 1 3 4 0 8 1 mcl64k 65536 15 0 0 2 0 2 2 0 8 0 mcl12k 12288 17 0 0 2 0 2 2 0 8 0 mcl4k 4096 14 0 0 2 0 2 2 0 8 0 mcl2k 2048 105 0 0 12 0 12 12 0 8 0 mtagpl 80 24 0 0 1 0 1 1 0 8 0 mbufpl 256 292 0 0 18 0 18 18 0 8 0 bufpl 256 6946 0 1310 353 0 353 353 0 8 0 anonpl 16 60229 0 56822 17 2 15 15 0 124 0 amapchunkpl 152 2905 0 2809 6 1 5 6 0 158 0 amappl16 192 2818 0 2686 7 0 7 7 0 8 0 amappl14 176 332 0 323 1 0 1 1 0 8 0 amappl13 168 286 0 284 1 0 1 1 0 8 0 amappl12 160 10 0 9 2 1 1 1 0 8 0 amappl11 152 55 0 39 1 0 1 1 0 8 0 amappl10 144 19 0 11 1 0 1 1 0 8 0 amappl9 136 601 0 597 1 0 1 1 0 8 0 amappl8 128 141 0 124 1 0 1 1 0 8 0 amappl7 120 39 0 35 1 0 1 1 0 8 0 amappl6 112 57 0 50 1 0 1 1 0 8 0 amappl5 104 132 0 116 1 0 1 1 0 8 0 amappl4 96 1049 0 1017 2 1 1 2 0 8 0 amappl3 88 218 0 211 1 0 1 1 0 8 0 amappl2 80 5793 0 5710 3 1 2 3 0 8 0 amappl1 72 23841 0 23386 26 16 10 20 0 8 0 amappl 80 1724 0 1686 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 1 0 0 1 0 1 1 0 8 0 uaddrrnd 24 799 0 782 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 799 0 782 1 0 1 1 0 8 0 vmmpekpl 168 8977 0 8945 2 0 2 2 0 8 0 vmmpepl 168 97002 0 95641 88 27 61 80 0 357 1 vmsppl 368 798 0 782 2 0 2 2 0 8 0 pdppl 4096 1605 0 1564 6 0 6 6 0 8 0 pvpl 32 266365 0 259681 118 21 97 118 0 265 41 pmappl 232 798 0 782 2 1 1 2 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 513 0 3 15 0 15 15 0 8 0