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 * 39867 4782 0 0 0x4000000 0 syz-executor.0 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+0x3eb kerntrap(ffff8000148985b0) at kerntrap+0xdb sys/arch/amd64/amd64/trap.c:287 alltraps_kern_meltdown(6,ffff800015510000,fffffd8036d628c0,10,ffff800000bf3010,ffff800014898818) at alltraps_kern_meltdown+0x7b 0(b,ffff800014898778,83,ffff800014898818,0,b) at 0 rt_match(fffffd8039c262b0,fffffd803c1031f8,1,0) at rt_match+0xbe rt_clone sys/net/route.c:266 [inline] rt_match(fffffd8039c262b0,fffffd803c1031f8,1,0) at rt_match+0xbe sys/net/route.c:242 ip_output(fffffd803c103100,0,fffffd8039c262a0,20,0,fffffd8039c26230) at ip_output+0x4d2 sys/netinet/ip_output.c:204 rip_output(fffffd803c103100,fffffd8039c27480,ffff800014898a28,ffff800015510000) at rip_output+0x22b sys/netinet/raw_ip.c:289 rip_usrreq(fffffd8039c27480,9,fffffd803c103100,0,0,ffff8000ffff9640) at rip_usrreq+0x46a sys/netinet/raw_ip.c:538 sosend(fffffd8039c27480,0,ffff800014898c38,0,0,0) at sosend+0x63d sys/kern/uipc_socket.c:524 dofilewritev(ffff8000ffff9640,3,ffff800014898c38,0,ffff800014898d20) at dofilewritev+0x1ac sys/kern/sys_generic.c:364 sys_write(ffff8000ffff9640,ffff800014898cd8,ffff800014898d20) at sys_write+0x83 sys/kern/sys_generic.c:284 syscall(ffff800014898da0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 end trace frame: 0xffff800014898e20, count: 0 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() at panic+0x15c sys/kern/subr_prf.c:207 pageflttrap() at pageflttrap+0x3eb kerntrap(ffff8000148985b0) at kerntrap+0xdb sys/arch/amd64/amd64/trap.c:287 alltraps_kern_meltdown(6,ffff800015510000,fffffd8036d628c0,10,ffff800000bf3010,ffff800014898818) at alltraps_kern_meltdown+0x7b 0(b,ffff800014898778,83,ffff800014898818,0,b) at 0 rt_match(fffffd8039c262b0,fffffd803c1031f8,1,0) at rt_match+0xbe rt_clone sys/net/route.c:266 [inline] rt_match(fffffd8039c262b0,fffffd803c1031f8,1,0) at rt_match+0xbe sys/net/route.c:242 ip_output(fffffd803c103100,0,fffffd8039c262a0,20,0,fffffd8039c26230) at ip_output+0x4d2 sys/netinet/ip_output.c:204 rip_output(fffffd803c103100,fffffd8039c27480,ffff800014898a28,ffff800015510000) at rip_output+0x22b sys/netinet/raw_ip.c:289 rip_usrreq(fffffd8039c27480,9,fffffd803c103100,0,0,ffff8000ffff9640) at rip_usrreq+0x46a sys/netinet/raw_ip.c:538 sosend(fffffd8039c27480,0,ffff800014898c38,0,0,0) at sosend+0x63d sys/kern/uipc_socket.c:524 dofilewritev(ffff8000ffff9640,3,ffff800014898c38,0,ffff800014898d20) at dofilewritev+0x1ac sys/kern/sys_generic.c:364 sys_write(ffff8000ffff9640,ffff800014898cd8,ffff800014898d20) at sys_write+0x83 sys/kern/sys_generic.c:284 syscall(ffff800014898da0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,c,0,3,648592f9010) at Xsyscall+0x128 end of kernel end trace frame: 0x64ab006b990, count: -15 ddb> show registers rdi 0xffffffff8140d3f7 db_enter+0x17 rsi 0x1fe5 __ALIGN_SIZE+0xfe5 rbp 0xffff800014898420 rbx 0xffff8000148984d0 rdx 0x1fe6 __ALIGN_SIZE+0xfe6 rcx 0xffff800015510000 rax 0xffff800015510000 r8 0xffff8000148983e0 r9 0x1 r10 0xffff800000c79980 r11 0xeb7c6a728c85ab17 r12 0x3000000008 r13 0xffff800014898430 r14 0x100 r15 0x1 rip 0xffffffff8140d3f8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800014898410 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (syz-executor.0) pid=39867 stat=onproc flags process=0 proc=4000000 pri=80, usrpri=80, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff8280,0xffffffff8255eb80 process=0xffff8000148a2378 user=0xffff800014893000, vmspace=0xfffffd803f013550 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 4782 155423 79340 0 2 0 syz-executor.0 * 4782 39867 79340 0 7 0x4000000 syz-executor.0 74907 472880 74760 0 3 0x80 nanosleep syz-executor.1 74907 315546 74760 0 3 0x4000080 kqread syz-executor.1 74760 137056 98154 0 3 0x82 nanosleep syz-executor.1 56106 456737 0 0 3 0x14200 acct acct 79340 291062 98154 0 3 0x82 nanosleep syz-executor.0 93407 217848 1 0 3 0x100083 ttyin getty 47571 295216 0 0 3 0x14200 bored sosplice 98154 195167 98274 0 3 0x82 thrsleep syz-fuzzer 98154 463331 98274 0 3 0x4000082 thrsleep syz-fuzzer 98154 214415 98274 0 3 0x4000082 thrsleep syz-fuzzer 98154 265325 98274 0 3 0x4000082 thrsleep syz-fuzzer 98154 68627 98274 0 3 0x4000082 thrsleep syz-fuzzer 98154 69975 98274 0 3 0x4000082 thrsleep syz-fuzzer 98154 208549 98274 0 3 0x4000082 thrsleep syz-fuzzer 98154 383977 98274 0 3 0x4000082 kqread syz-fuzzer 98154 405048 98274 0 3 0x4000082 thrsleep syz-fuzzer 98274 182225 72743 0 3 0x10008a pause ksh 72743 259711 64464 0 3 0x92 select sshd 64464 252460 1 0 3 0x80 select sshd 97643 83721 12239 73 3 0x100090 kqread syslogd 12239 157009 1 0 3 0x100082 netio syslogd 54384 426378 0 0 2 0x14200 zerothread 72923 522043 0 0 3 0x14200 aiodoned aiodoned 43339 98235 0 0 3 0x14200 syncer update 64850 24589 0 0 3 0x14200 cleaner cleaner 35155 72479 0 0 3 0x14200 reaper reaper 70257 49413 0 0 3 0x14200 pgdaemon pagedaemon 21951 62561 0 0 3 0x14200 bored crynlk 93798 449258 0 0 3 0x14200 bored crypto 33934 208032 0 0 3 0x40014200 acpi0 acpi0 99228 124239 0 0 3 0x14200 bored softnet 2415 368542 0 0 3 0x14200 bored systqmp 88583 81496 0 0 3 0x14200 bored systq 93998 486580 0 0 3 0x40014200 bored softclock 95991 113106 0 0 3 0x40014200 idle0 1414 96889 0 0 3 0x14200 bored smr 1 117161 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 Kern Lim devbuf 9638 7046K 15175K 78643K 51818 0 0 pcb 13 13K 14K 78643K 5119 0 0 rtable 201 18K 20K 78643K 5466 0 0 ifaddr 145 39K 46K 78643K 3002 0 0 counters 19 16K 16K 78643K 19 0 0 ioctlops 0 0K 2K 78643K 1323 0 0 iov 0 0K 32K 78643K 4979 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1215 76K 77K 78643K 17489 0 0 UFS quota 1 32K 32K 78643K 1 0 0 UFS mount 5 36K 36K 78643K 5 0 0 shm 2 1K 9K 78643K 262 0 0 VM map 155 38K 38K 78643K 237 0 0 sem 12 1K 1K 78643K 3333 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1793 195K 288K 78643K 12645 0 0 file desc 6 17K 25K 78643K 18259 0 0 sigio 0 0K 0K 78643K 370 0 0 proc 45 30K 62K 78643K 6190 0 0 subproc 32 2K 2K 78643K 1733 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 2534 0 0 in_multi 47 2K 4K 78643K 2008 0 0 ether_multi 1 0K 0K 78643K 160 0 0 mrt 1 0K 0K 78643K 92 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 132 583K 583K 78643K 132 0 0 exec 0 0K 1K 78643K 3567 0 0 pfkey data 0 0K 4K 78643K 4 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 377 1134K 1134K 78643K 47215 0 0 UVM aobj 130 6K 7K 78643K 180 0 0 memdesc 1 4K 4K 78643K 1 0 0 crypto data 1 1K 1K 78643K 1 0 0 ip6_options 0 0K 1K 78643K 4419 0 0 NDP 27 0K 1K 78643K 956 0 0 temp 276 3548K 4186K 78643K 463635 0 0 kqueue 0 0K 0K 78643K 323 0 0 SYN cache 2 16K 16K 78643K 2 0 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle arp 64 284 0 280 1 0 1 1 0 8 0 rtpcb 80 1897 0 1897 29 28 1 1 0 8 1 rtentry 112 1796 0 1717 5 2 3 3 0 8 0 unpcb 120 15325 0 15302 43 42 1 2 0 8 0 syncache 264 150 0 150 48 47 1 1 0 8 1 sackhl 24 1 0 1 1 1 0 1 0 8 0 tcpqe 32 214 0 214 29 28 1 1 0 8 1 tcpcb 544 39182 0 39177 124 120 4 15 0 8 3 ipq 40 225 0 225 66 66 0 1 0 8 0 ipqe 40 5902 0 5902 66 66 0 1 0 8 0 inpcb 280 56451 0 56445 135 131 4 13 0 8 3 rttmr 72 32 0 31 7 6 1 1 0 8 0 ip6q 72 9 0 9 6 6 0 1 0 8 0 ip6af 40 20 0 20 5 5 0 1 0 8 0 nd6 48 260 0 260 11 10 1 1 0 8 1 pkpcb 40 63 0 63 23 23 0 1 0 8 0 swfcl 56 8 0 0 1 0 1 1 0 8 0 ppxss 1128 416 0 416 68 67 1 1 0 8 1 art_heap8 4096 30 0 26 20 16 4 6 0 8 0 art_heap4 256 7509 0 7264 93 72 21 23 0 8 2 art_table 32 7539 0 7290 7 4 3 3 0 8 0 art_node 16 1782 0 1740 1 0 1 1 0 8 0 sysvmsgpl 40 44 0 27 1 0 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 3329 0 3319 1 0 1 1 0 8 0 shmpl 112 178 0 50 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 29792 0 28276 50 0 50 50 0 8 0 ffsino 240 29792 0 28276 90 0 90 90 0 8 0 nchpl 144 56762 0 56219 61 40 21 60 0 8 0 uvmvnodes 72 10806 0 0 197 0 197 197 0 8 0 vnodes 208 10806 0 0 569 0 569 569 0 8 0 namei 1024 207757 0 207757 12 11 1 1 0 8 1 vcpupl 1984 154 0 1 20 0 20 20 0 8 0 vmpool 520 235 0 82 13 2 11 11 0 8 0 scsiplug 64 11 0 11 7 7 0 1 0 8 0 scxspl 192 240336 0 240336 82 81 1 7 0 8 1 plimitpl 152 1663 0 1657 1 0 1 1 0 8 0 sigapl 432 18136 0 18124 2 0 2 2 0 8 0 futexpl 56 672305 0 672305 13 12 1 1 0 8 1 knotepl 112 7514 0 7493 37 36 1 3 0 8 0 kqueuepl 104 15896 0 15893 33 32 1 4 0 8 0 pipepl 112 11984 0 11965 26 25 1 2 0 8 0 fdescpl 424 18137 0 18124 2 0 2 2 0 8 0 filepl 120 194969 0 194879 138 133 5 11 0 8 2 lockfpl 104 7771 0 7771 16 15 1 1 0 8 1 lockfspl 48 2465 0 2465 16 15 1 1 0 8 1 sessionpl 112 120 0 112 1 0 1 1 0 8 0 pgrppl 48 364 0 356 1 0 1 1 0 8 0 ucredpl 96 21150 0 21139 1 0 1 1 0 8 0 zombiepl 144 18135 0 18135 3 2 1 1 0 8 1 processpl 864 18164 0 18135 4 0 4 4 0 8 0 procpl 632 40781 0 40742 9 5 4 5 0 8 0 sosppl 128 383 0 383 69 69 0 1 0 8 0 sockpl 384 74446 0 74412 230 223 7 22 0 8 3 mcl64k 65536 5621 0 5621 417 416 1 128 0 8 1 mcl16k 16384 295 0 295 70 69 1 1 0 8 1 mcl12k 12288 648 0 648 43 42 1 1 0 8 1 mcl9k 9216 357 0 357 67 66 1 1 0 8 1 mcl8k 8192 1137 0 1137 32 31 1 1 0 8 1 mcl4k 4096 2209 0 2209 18 17 1 1 0 8 1 mcl2k2 2112 212 0 212 72 71 1 1 0 8 1 mcl2k 2048 110007 0 109960 28 21 7 18 0 8 0 mtagpl 80 806 0 806 11 10 1 1 0 8 1 mbufpl 256 359174 0 359089 689 677 12 70 0 8 0 bufpl 256 116344 0 105538 676 0 676 676 0 8 0 anonpl 16 2332660 0 2308682 563 461 102 123 0 62 0 amapchunkpl 152 100546 0 100351 337 328 9 22 0 158 0 amappl16 192 119223 0 117794 712 636 76 91 0 8 3 amappl15 184 2857 0 2856 17 16 1 1 0 8 0 amappl14 176 3724 0 3719 1 0 1 1 0 8 0 amappl13 168 2190 0 2189 1 0 1 1 0 8 0 amappl12 160 1749 0 1749 18 18 0 1 0 8 0 amappl11 152 2720 0 2715 1 0 1 1 0 8 0 amappl10 144 2566 0 2562 1 0 1 1 0 8 0 amappl9 136 4511 0 4507 1 0 1 1 0 8 0 amappl8 128 4207 0 4118 4 1 3 3 0 8 0 amappl7 120 2993 0 2983 1 0 1 1 0 8 0 amappl6 112 2495 0 2481 1 0 1 1 0 8 0 amappl5 104 2986 0 2980 1 0 1 1 0 8 0 amappl4 96 18228 0 18190 1 0 1 1 0 8 0 amappl3 88 3556 0 3548 1 0 1 1 0 8 0 amappl2 80 142399 0 142306 3 1 2 3 0 8 0 amappl1 72 342443 0 342054 26 17 9 20 0 8 0 amappl 80 42867 0 42744 4 1 3 3 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 17 0 17 1 1 0 1 0 8 0 aobjpl 64 179 0 50 3 0 3 3 0 8 0 uaddrrnd 24 18372 0 18124 2 0 2 2 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 18372 0 18124 2 0 2 2 0 8 0 vmmpekpl 168 108795 0 108749 3 0 3 3 0 8 0 vmmpepl 168 2232484 0 2229392 1158 988 170 185 0 357 32 vmsppl 272 18136 0 18124 3 2 1 2 0 8 0 pdppl 4096 36750 0 36565 40 16 24 24 0 8 0 pvpl 32 6354954 0 6332386 1460 1263 197 364 0 265 0 pmappl 200 18371 0 18206 10 1 9 9 0 8 0 extentpl 40 41 0 26 1 0 1 1 0 8 0 phpool 112 2317 0 1470 32 7 25 28 0 8 0