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 65295 57391 0 0 0 1 syz-executor.1 *409008 85913 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+0x40b kerntrap(ffff800021ba0c30) at kerntrap+0xec sys/arch/amd64/amd64/trap.c:287 alltraps_kern_meltdown(6,ffff80002135c000,fffffd8065740238,10,ffff80000005b180,ffff800021ba0e98) at alltraps_kern_meltdown+0x7b 0(b,ffff800021ba0df8,83,ffff800021ba0e98,0,b) at 0 rt_clone(ffff800021ba0f08,fffffd806f6cdda0,0) at rt_clone+0x78 sys/net/route.c:266 rtalloc_mpath(fffffd806f6cdda0,fffffd80620016f4,0) at rtalloc_mpath+0xba rt_match sys/net/route.c:244 [inline] rtalloc_mpath(fffffd806f6cdda0,fffffd80620016f4,0) at rtalloc_mpath+0xba sys/net/route.c:359 ip_output(fffffd8062001600,0,fffffd806f6cdd90,20,0,fffffd806f6cdd20) at ip_output+0x4f2 sys/netinet/ip_output.c:204 rip_output(fffffd80740efe00,fffffd806f6cec00,ffff800021ba1118,ffff80002135c000) at rip_output+0x252 sys/netinet/raw_ip.c:289 rip_usrreq(fffffd806f6cec00,9,fffffd80740efe00,0,0,ffff800020abe290) at rip_usrreq+0x46a sys/netinet/raw_ip.c:538 sosend(fffffd806f6cec00,0,ffff800021ba1338,0,0,80) at sosend+0x645 sys/kern/uipc_socket.c:524 dofilewritev(ffff800020abe290,9,ffff800021ba1338,0,ffff800021ba1420) at dofilewritev+0x1b7 sys/kern/sys_generic.c:364 sys_write(ffff800020abe290,ffff800021ba13d8,ffff800021ba1420) at sys_write+0x83 sys/kern/sys_generic.c:284 end trace frame: 0xffff800021ba1490, 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{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic attempt to execute user address 0x0 in supervisor mode ddb{0}> 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(ffff800021ba0c30) at kerntrap+0xec sys/arch/amd64/amd64/trap.c:287 alltraps_kern_meltdown(6,ffff80002135c000,fffffd8065740238,10,ffff80000005b180,ffff800021ba0e98) at alltraps_kern_meltdown+0x7b 0(b,ffff800021ba0df8,83,ffff800021ba0e98,0,b) at 0 rt_clone(ffff800021ba0f08,fffffd806f6cdda0,0) at rt_clone+0x78 sys/net/route.c:266 rtalloc_mpath(fffffd806f6cdda0,fffffd80620016f4,0) at rtalloc_mpath+0xba rt_match sys/net/route.c:244 [inline] rtalloc_mpath(fffffd806f6cdda0,fffffd80620016f4,0) at rtalloc_mpath+0xba sys/net/route.c:359 ip_output(fffffd8062001600,0,fffffd806f6cdd90,20,0,fffffd806f6cdd20) at ip_output+0x4f2 sys/netinet/ip_output.c:204 rip_output(fffffd80740efe00,fffffd806f6cec00,ffff800021ba1118,ffff80002135c000) at rip_output+0x252 sys/netinet/raw_ip.c:289 rip_usrreq(fffffd806f6cec00,9,fffffd80740efe00,0,0,ffff800020abe290) at rip_usrreq+0x46a sys/netinet/raw_ip.c:538 sosend(fffffd806f6cec00,0,ffff800021ba1338,0,0,80) at sosend+0x645 sys/kern/uipc_socket.c:524 dofilewritev(ffff800020abe290,9,ffff800021ba1338,0,ffff800021ba1420) at dofilewritev+0x1b7 sys/kern/sys_generic.c:364 sys_write(ffff800020abe290,ffff800021ba13d8,ffff800021ba1420) at sys_write+0x83 sys/kern/sys_generic.c:284 syscall(ffff800021ba14a0) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline] syscall(ffff800021ba14a0) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,c,0,3,26df7492010) at Xsyscall+0x128 end of kernel end trace frame: 0x270c4803660, count: -16 ddb{0}> show registers rdi 0xffffffff81800b47 db_enter+0x17 rsi 0x1ee8 __ALIGN_SIZE+0xee8 rbp 0xffff800021ba0aa0 rbx 0xffff800021ba0b50 rdx 0x1ee9 __ALIGN_SIZE+0xee9 rcx 0xffff80002135c000 rax 0xffff80002135c000 r8 0xffffffff8149825f kprintf+0x16f r9 0x1 r10 0x25 r11 0x65a3e4a2082caece r12 0x3000000008 r13 0xffff800021ba0ab0 r14 0x100 r15 0x1 rip 0xffffffff81800b48 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800021ba0a90 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{0}> show proc PROC (syz-executor.0) pid=409008 stat=onproc flags process=0 proc=4000000 pri=78, usrpri=78, nice=20 forw=0xffffffffffffffff, list=0xffff800020abfb40,0xffff800020abea08 process=0xffff800020adc700 user=0xffff800021b9c000, vmspace=0xfffffd807f00a8a0 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 57391 65295 66970 0 7 0 syz-executor.1 57391 110225 66970 0 3 0x4000080 netio syz-executor.1 85913 13318 39192 0 2 0 syz-executor.0 *85913 409008 39192 0 7 0x4000000 syz-executor.0 66970 41192 47132 0 3 0x82 nanosleep syz-executor.1 43082 65690 1 0 3 0x100083 ttyin getty 39192 79164 47132 0 3 0x82 nanosleep syz-executor.0 26281 35565 0 0 3 0x14200 acct acct 68421 52538 0 0 3 0x14200 bored sosplice 47132 130413 87667 0 3 0x82 thrsleep syz-fuzzer 47132 394249 87667 0 3 0x4000082 thrsleep syz-fuzzer 47132 425966 87667 0 3 0x4000082 thrsleep syz-fuzzer 47132 289366 87667 0 3 0x4000082 thrsleep syz-fuzzer 47132 515241 87667 0 3 0x4000082 kqread syz-fuzzer 47132 93764 87667 0 3 0x4000082 thrsleep syz-fuzzer 47132 317894 87667 0 3 0x4000082 thrsleep syz-fuzzer 47132 309443 87667 0 3 0x4000082 thrsleep syz-fuzzer 47132 234663 87667 0 3 0x4000082 thrsleep syz-fuzzer 47132 267897 87667 0 3 0x4000082 thrsleep syz-fuzzer 87667 123688 92501 0 3 0x10008a pause ksh 92501 248758 94181 0 3 0x92 select sshd 94181 321302 1 0 3 0x80 select sshd 43266 296075 47254 74 3 0x100092 bpf pflogd 47254 66383 1 0 3 0x80 netio pflogd 42546 74674 73290 73 3 0x100090 kqread syslogd 73290 473686 1 0 3 0x100082 netio syslogd 42171 290267 0 0 2 0x14200 zerothread 28361 42145 0 0 3 0x14200 aiodoned aiodoned 11064 328170 0 0 3 0x14200 syncer update 5906 80758 0 0 3 0x14200 cleaner cleaner 39862 24746 0 0 3 0x14200 reaper reaper 73443 245698 0 0 3 0x14200 pgdaemon pagedaemon 788 475772 0 0 3 0x14200 bored crynlk 87151 417098 0 0 3 0x14200 bored crypto 31866 398233 0 0 3 0x40014200 acpi0 acpi0 40069 25693 0 0 3 0x40014200 idle1 37341 338705 0 0 3 0x14200 bored softnet 90977 256012 0 0 3 0x14200 bored systqmp 33548 239535 0 0 3 0x14200 bored systq 17964 522743 0 0 3 0x40014200 bored softclock 32450 287784 0 0 3 0x40014200 idle0 81243 29011 0 0 3 0x14200 bored smr 1 48054 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 85913 (syz-executor.0) thread 0xffff800020abe290 (409008) exclusive kernel_lock &kernel_lock r = 1 (0xffffffff82624c28) #0 witness_lock+0x52e sys/kern/subr_witness.c:1163 #1 rt_clone+0x5c sys/net/route.c:266 #2 rtalloc_mpath+0xba rt_match sys/net/route.c:244 [inline] #2 rtalloc_mpath+0xba sys/net/route.c:359 #3 ip_output+0x4f2 sys/netinet/ip_output.c:204 #4 rip_output+0x252 sys/netinet/raw_ip.c:289 #5 rip_usrreq+0x46a sys/netinet/raw_ip.c:538 #6 sosend+0x645 sys/kern/uipc_socket.c:524 #7 dofilewritev+0x1b7 sys/kern/sys_generic.c:364 #8 sys_write+0x83 sys/kern/sys_generic.c:284 #9 syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline] #9 syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555 #10 Xsyscall+0x128 exclusive rwlock netlock r = 0 (0xffffffff8250cdb8) #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 dofilewritev+0x1b7 sys/kern/sys_generic.c:364 #4 sys_write+0x83 sys/kern/sys_generic.c:284 #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 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim Kern Lim devbuf 9604 6646K 10589K 78643K 19753 0 0 pcb 13 10K 12K 78643K 487 0 0 rtable 127 14K 16K 78643K 760 0 0 ifaddr 89 18K 19K 78643K 401 0 0 counters 39 33K 33K 78643K 39 0 0 ioctlops 0 0K 4K 78643K 1572 0 0 iov 0 0K 33K 78643K 741 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1218 76K 77K 78643K 4297 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 24 0 0 VM map 19 9K 9K 78643K 26 0 0 sem 12 0K 1K 78643K 690 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1808 196K 290K 78643K 12765 0 0 file desc 6 17K 25K 78643K 1984 0 0 sigio 0 0K 0K 78643K 30 0 0 proc 56 51K 95K 78643K 1078 0 0 subproc 32 2K 2K 78643K 221 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 136 0 0 in_multi 30 2K 2K 78643K 235 0 0 ether_multi 1 0K 0K 78643K 29 0 0 mrt 0 0K 0K 78643K 25 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 561 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 153 141K 145K 78643K 8525 0 0 UVM aobj 130 4K 4K 78643K 132 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 485 0 0 NDP 20 0K 0K 78643K 121 0 0 temp 208 3564K 3636K 78643K 50188 0 0 kqueue 0 0K 0K 78643K 15 0 0 SYN cache 2 16K 16K 78643K 2 0 0 ddb{0}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle arp 64 37 0 31 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 195 0 195 5 4 1 1 0 8 1 rtentry 112 223 0 177 2 0 2 2 0 8 0 unpcb 120 1184 0 1171 2 1 1 2 0 8 0 syncache 264 18 0 18 7 7 0 1 0 8 0 tcpqe 32 2 0 2 1 1 0 1 0 8 0 tcpcb 544 1182 0 1178 26 25 1 12 0 8 0 inpcb 280 4087 0 4082 27 25 2 9 0 8 1 rttmr 72 10 0 10 7 6 1 1 0 8 1 ip6q 72 2 0 2 1 1 0 1 0 8 0 ip6af 40 6 0 6 1 1 0 1 0 8 0 nd6 48 28 0 26 3 2 1 1 0 8 0 pkpcb 40 23 0 23 6 6 0 1 0 8 0 ppxss 1128 51 0 51 10 10 0 1 0 8 0 pffrag 232 61 0 61 10 9 1 1 0 482 1 pffrnode 88 61 0 61 10 9 1 1 0 8 1 pffrent 40 1195 0 1195 10 9 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 200 0 148 1 0 1 1 0 8 0 pfstkey 112 200 0 148 2 0 2 2 0 8 0 pfstate 328 200 0 148 7 1 6 6 0 8 0 pfrule 1360 21 0 16 2 1 1 2 0 8 0 art_heap8 4096 4 0 0 4 0 4 4 0 8 0 art_heap4 256 896 0 667 25 8 17 17 0 8 0 art_table 32 900 0 667 4 1 3 3 0 8 0 art_node 16 220 0 176 1 0 1 1 0 8 0 sysvmsgpl 40 29 0 8 1 0 1 1 0 8 0 semapl 112 688 0 678 1 0 1 1 0 8 0 shmpl 112 130 0 2 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 4398 0 2996 46 0 46 46 0 8 0 ffsino 272 4398 0 2996 94 0 94 94 0 8 0 nchpl 144 7560 0 7086 61 40 21 61 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 25790 0 25790 2 1 1 1 0 8 1 percpumem 16 30 0 0 1 0 1 1 0 8 0 vcpupl 1984 17 0 0 3 0 3 3 0 8 0 vmpool 552 24 0 7 4 2 2 2 0 8 0 scsiplug 64 3 0 3 2 2 0 1 0 8 0 scxspl 192 24363 0 24363 15 12 3 7 0 8 3 plimitpl 152 160 0 153 1 0 1 1 0 8 0 sigapl 432 2151 0 2137 3 1 2 3 0 8 0 futexpl 56 50786 0 50786 1 0 1 1 0 8 1 knotepl 112 394 0 375 1 0 1 1 0 8 0 kqueuepl 104 709 0 701 7 6 1 4 0 8 0 pipepl 112 2760 0 2741 5 3 2 2 0 8 0 fdescpl 488 2152 0 2137 3 0 3 3 0 8 0 filepl 152 20145 0 20047 28 23 5 13 0 8 1 lockfpl 104 729 0 729 2 1 1 1 0 8 1 lockfspl 48 262 0 262 2 1 1 1 0 8 1 sessionpl 112 31 0 22 1 0 1 1 0 8 0 pgrppl 48 44 0 35 1 0 1 1 0 8 0 ucredpl 96 2064 0 2056 1 0 1 1 0 8 0 zombiepl 144 2137 0 2137 1 0 1 1 0 8 1 processpl 896 2169 0 2137 4 0 4 4 0 8 0 procpl 632 7111 0 7068 7 2 5 5 0 8 1 srpgc 64 18 0 18 7 7 0 1 0 8 0 sosppl 128 71 0 71 10 10 0 1 0 8 0 sockpl 384 5560 0 5542 38 34 4 13 0 8 1 mcl64k 65536 268 0 0 34 4 30 34 0 8 1 mcl16k 16384 23 0 0 3 1 2 3 0 8 0 mcl12k 12288 23 0 0 2 0 2 2 0 8 0 mcl9k 9216 14 0 0 1 0 1 1 0 8 0 mcl8k 8192 25 0 0 3 0 3 3 0 8 0 mcl4k 4096 17 0 0 3 0 3 3 0 8 0 mcl2k2 2112 2 0 0 1 0 1 1 0 8 0 mcl2k 2048 160 0 0 19 0 19 19 0 8 0 mtagpl 80 28 0 0 1 0 1 1 0 8 0 mbufpl 256 739 0 0 46 0 46 46 0 8 0 bufpl 256 12159 0 5101 442 0 442 442 0 8 0 anonpl 16 275420 0 250234 158 42 116 116 0 124 9 amapchunkpl 152 17151 0 16737 51 33 18 21 0 158 0 amappl16 192 11618 0 10415 105 34 71 71 0 8 8 amappl15 184 8 0 8 1 1 0 1 0 8 0 amappl14 176 658 0 647 1 0 1 1 0 8 0 amappl13 168 420 0 420 2 2 0 1 0 8 0 amappl12 160 18 0 15 1 0 1 1 0 8 0 amappl11 152 660 0 652 1 0 1 1 0 8 0 amappl10 144 288 0 280 1 0 1 1 0 8 0 amappl9 136 760 0 757 1 0 1 1 0 8 0 amappl8 128 381 0 332 2 0 2 2 0 8 0 amappl7 120 354 0 343 1 0 1 1 0 8 0 amappl6 112 628 0 617 1 0 1 1 0 8 0 amappl5 104 251 0 240 1 0 1 1 0 8 0 amappl4 96 2662 0 2632 1 0 1 1 0 8 0 amappl3 88 775 0 768 1 0 1 1 0 8 0 amappl2 80 16069 0 15995 3 1 2 3 0 8 0 amappl1 72 58297 0 57867 26 16 10 20 0 8 0 amappl 80 7604 0 7549 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 17 0 17 1 1 0 1 0 8 0 aobjpl 64 131 0 2 3 0 3 3 0 8 0 uaddrrnd 24 2176 0 2137 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2176 0 2137 1 0 1 1 0 8 0 vmmpekpl 168 25676 0 25636 4 1 3 3 0 8 0 vmmpepl 168 283748 0 281286 258 121 137 145 0 357 24 vmsppl 368 2151 0 2137 2 0 2 2 0 8 0 pdppl 4096 4359 0 4305 7 0 7 7 0 8 0 pvpl 32 740270 0 716987 313 86 227 229 0 265 32 pmappl 232 2175 0 2144 3 1 2 2 0 8 0 extentpl 40 41 0 26 1 0 1 1 0 8 0 phpool 112 717 0 42 20 0 20 20 0 8 0