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 * 9500 60319 0 0x14000 0x200 0 softnet db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff8221844b) at panic+0x15c sys/kern/subr_prf.c:207 pageflttrap(ffff80001d31cc50,0) at pageflttrap+0x3eb kerntrap(ffff80001d31cc50) at kerntrap+0xdb sys/arch/amd64/amd64/trap.c:287 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b 0(ffff80000002a080,ffff80000002a080,0,0,ffffffff818713d0,0) 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> ddb> set $lines = 0 ddb> set $maxwidth = 0 ddb> show panic attempt to execute user address 0x0 in supervisor mode ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff8221844b) at panic+0x15c sys/kern/subr_prf.c:207 pageflttrap(ffff80001d31cc50,0) at pageflttrap+0x3eb kerntrap(ffff80001d31cc50) at kerntrap+0xdb sys/arch/amd64/amd64/trap.c:287 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b 0(ffff80000002a080,ffff80000002a080,0,0,ffffffff818713d0,0) at 0 end trace frame: 0x0, count: -6 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d31cac0 rbx 0xffff80001d31cb70 rdx 0x2 rcx 0 rax 0 r8 0xffff80001d31ca80 r9 0x1 r10 0 r11 0xd3d0a61392d0362 r12 0x3000000008 r13 0xffff80001d31cad0 r14 0x100 r15 0x1 rip 0xffffffff812a12c8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d31cab0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (softnet) pid=9500 stat=onproc flags process=14000 proc=200 pri=32, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffffe768,0xffff8000ffffec68 process=0xffff8000ffffcda0 user=0xffff80001d317000, vmspace=0xffffffff825760a0 estcpu=0, cpticks=0, pctcpu=0.51 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 81243 180593 55911 0 2 0 syz-executor.0 81243 406881 55911 0 2 0x4000000 syz-executor.0 81243 432783 55911 0 3 0x4000000 inode syz-executor.0 81243 64526 55911 0 3 0x4000000 uvn_get syz-executor.0 69043 382950 22092 0 2 0 syz-executor.1 69043 329774 22092 0 3 0x4000000 netlock syz-executor.1 69043 44879 22092 0 2 0x4000000 syz-executor.1 55911 462552 44198 0 3 0x82 nanosleep syz-executor.0 22092 316664 44198 0 3 0x82 nanosleep syz-executor.1 44198 281701 93923 0 3 0x82 thrsleep syz-fuzzer 44198 506741 93923 0 3 0x4000082 thrsleep syz-fuzzer 44198 485336 93923 0 3 0x4000082 thrsleep syz-fuzzer 44198 216663 93923 0 3 0x4000082 thrsleep syz-fuzzer 44198 302275 93923 0 3 0x4000082 thrsleep syz-fuzzer 44198 86660 93923 0 3 0x4000082 kqread syz-fuzzer 44198 376136 93923 0 3 0x4000082 thrsleep syz-fuzzer 44198 138965 93923 0 3 0x4000082 thrsleep syz-fuzzer 93923 375226 77181 0 3 0x10008a pause ksh 77181 464345 22313 0 3 0x92 select sshd 30209 55459 1 0 3 0x100083 ttyin getty 22313 89125 1 0 3 0x80 select sshd 34991 256082 86244 73 3 0x100090 kqread syslogd 86244 377510 1 0 3 0x100082 netio syslogd 64024 421979 1 77 3 0x100090 poll dhclient 98487 482660 1 0 3 0x80 poll dhclient 3380 48584 0 0 2 0x14200 zerothread 95604 157656 0 0 3 0x14200 aiodoned aiodoned 13720 223867 0 0 3 0x14200 syncer update 69013 482747 0 0 3 0x14200 cleaner cleaner 83479 388590 0 0 3 0x14200 reaper reaper 35219 378949 0 0 3 0x14200 pgdaemon pagedaemon 43432 429672 0 0 3 0x14200 bored crynlk 6798 95146 0 0 3 0x14200 bored crypto 67835 204037 0 0 3 0x40014200 acpi0 acpi0 *60319 9500 0 0 7 0x14200 softnet 37533 95655 0 0 3 0x14200 bored systqmp 66590 507874 0 0 3 0x14200 bored systq 73294 476538 0 0 3 0x40014200 bored softclock 24976 493541 0 0 3 0x40014200 idle0 14297 984 0 0 3 0x14200 bored smr 1 328329 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb> show all locks No such command ddb> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9465 6394K 7364K 78643K 10829 0 pcb 13 8K 8K 78643K 35 0 rtable 108 3K 4K 78643K 214 0 ifaddr 44 10K 11K 78643K 62 0 counters 19 16K 16K 78643K 19 0 ioctlops 0 0K 2K 78643K 19 0 iov 1 8K 16K 78643K 15 0 mount 1 1K 1K 78643K 1 0 vnodes 1223 77K 77K 78643K 1294 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 1K 78643K 2 0 VM map 2 0K 0K 78643K 2 0 sem 12 0K 0K 78643K 12 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1794 195K 288K 78643K 12646 0 file desc 6 17K 25K 78643K 72 0 proc 47 38K 63K 78643K 358 0 subproc 32 2K 2K 78643K 34 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 in_multi 33 2K 2K 78643K 33 0 ether_multi 1 0K 0K 78643K 1 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 31 148K 148K 78643K 31 0 exec 0 0K 1K 78643K 187 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 118 22K 38K 78643K 1010 0 UVM aobj 2 2K 2K 78643K 2 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 8 0 NDP 6 0K 0K 78643K 13 0 temp 80 3014K 3069K 78643K 3380 0 SYN cache 2 16K 16K 78643K 2 0 ddb> 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 rtpcb 80 19 0 17 1 0 1 1 0 8 0 rtentry 112 45 0 1 2 0 2 2 0 8 0 unpcb 120 53 0 43 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 109 0 109 1 0 1 1 0 8 1 tcpcb 544 24 0 20 1 0 1 1 0 8 0 ipq 40 4 0 4 1 0 1 1 0 8 1 ipqe 40 96 0 96 1 0 1 1 0 8 1 inpcb 280 97 0 89 2 0 2 2 0 8 1 nd6 48 4 0 0 1 0 1 1 0 8 0 ppxss 1128 3 0 3 1 0 1 1 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 213 0 0 14 0 14 14 0 8 0 art_table 32 214 0 0 2 0 2 2 0 8 0 art_node 16 44 0 4 1 0 1 1 0 8 0 sysvmsgpl 40 2 0 0 1 0 1 1 0 8 0 semapl 112 10 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1467 0 65 46 0 46 46 0 8 0 ffsino 240 1467 0 65 83 0 83 83 0 8 0 nchpl 144 1766 0 151 60 0 60 60 0 8 0 uvmvnodes 72 1581 0 0 29 0 29 29 0 8 0 vnodes 208 1581 0 0 84 0 84 84 0 8 0 namei 1024 4296 0 4295 1 0 1 1 0 8 0 scxspl 192 4875 0 4875 1 0 1 1 0 8 1 plimitpl 152 16 0 9 1 0 1 1 0 8 0 sigapl 432 243 0 229 2 0 2 2 0 8 0 futexpl 56 1144 0 1144 1 0 1 1 0 8 1 knotepl 112 61 0 40 1 0 1 1 0 8 0 kqueuepl 104 18 0 14 1 0 1 1 0 8 0 pipepl 112 166 0 147 1 0 1 1 0 8 0 fdescpl 424 244 0 229 2 0 2 2 0 8 0 filepl 120 1378 0 1268 4 0 4 4 0 8 0 lockfpl 104 6 0 4 1 0 1 1 0 8 0 lockfspl 48 4 0 2 1 0 1 1 0 8 0 sessionpl 112 17 0 7 1 0 1 1 0 8 0 pgrppl 48 17 0 7 1 0 1 1 0 8 0 ucredpl 96 53 0 46 1 0 1 1 0 8 0 zombiepl 144 229 0 229 1 0 1 1 0 8 1 processpl 872 258 0 229 4 0 4 4 0 8 0 procpl 632 313 0 272 4 0 4 4 0 8 0 sockpl 384 169 0 149 4 0 4 4 0 8 2 mcl64k 65536 3 0 3 1 0 1 1 0 8 1 mcl8k 8192 2 0 2 1 0 1 1 0 8 1 mcl4k 4096 15 0 15 2 1 1 1 0 8 1 mcl2k2 2112 1 0 1 1 0 1 1 0 8 1 mcl2k 2048 69082 0 69029 20 5 15 18 0 8 7 mtagpl 80 8 0 2 2 1 1 1 0 8 0 mbufpl 256 109871 0 109776 20 3 17 17 0 8 8 bufpl 280 6265 0 1326 353 0 353 353 0 8 0 anonpl 16 42981 0 22805 83 1 82 82 0 107 0 amapchunkpl 152 1418 0 1253 20 0 20 20 0 158 12 amappl16 192 1310 0 202 56 0 56 56 0 8 0 amappl15 184 89 0 81 1 0 1 1 0 8 0 amappl14 176 27 0 23 1 0 1 1 0 8 0 amappl12 160 8 0 7 2 1 1 1 0 8 0 amappl11 152 79 0 64 1 0 1 1 0 8 0 amappl10 144 12 0 9 1 0 1 1 0 8 0 amappl9 136 540 0 537 1 0 1 1 0 8 0 amappl8 128 114 0 89 1 0 1 1 0 8 0 amappl7 120 92 0 81 1 0 1 1 0 8 0 amappl6 112 72 0 64 1 0 1 1 0 8 0 amappl5 104 178 0 168 1 0 1 1 0 8 0 amappl4 96 456 0 426 1 0 1 1 0 8 0 amappl3 88 116 0 107 1 0 1 1 0 8 0 amappl2 80 1183 0 1103 3 1 2 3 0 8 0 amappl1 72 14376 0 13923 27 13 14 20 0 8 5 amappl 80 537 0 487 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 1 0 0 1 0 1 1 0 8 0 uaddrrnd 24 244 0 229 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 244 0 229 1 0 1 1 0 8 0 vmmpekpl 168 5817 0 5793 2 0 2 2 0 8 0 vmmpepl 168 37724 0 35388 138 9 129 129 0 357 27 vmsppl 272 243 0 229 2 0 2 2 0 8 1 pdppl 4096 494 0 458 6 0 6 6 0 8 1 pvpl 32 138375 0 114644 192 0 192 192 0 265 0 pmappl 200 243 0 229 1 0 1 1 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 157 0 11 5 0 5 5 0 8 0