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 263678 67305 0 0 0 0 syz-executor.1 *277475 67305 0 0 0x4000000 1K syz-executor.1 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(ffff800022d691c0) at kerntrap+0xec sys/arch/amd64/amd64/trap.c:287 alltraps_kern_meltdown(6,ffff800021964000,fffffd8062ee4d98,10,ffff80000005b470,ffff800022d69428) at alltraps_kern_meltdown+0x7b 0(b,ffff800022d69388,83,ffff800022d69428,0,b) at 0 rt_clone(ffff800022d69498,fffffd806f6cb198,0) at rt_clone+0x78 sys/net/route.c:266 rtalloc_mpath(fffffd806f6cb198,0,0) at rtalloc_mpath+0xba rt_match sys/net/route.c:244 [inline] rtalloc_mpath(fffffd806f6cb198,0,0) at rtalloc_mpath+0xba sys/net/route.c:359 in_pcbselsrc(ffff800022d69570,fffffd8067994d20,fffffd806f6cb118) at in_pcbselsrc+0x219 sys/netinet/in_pcb.c:934 in_pcbconnect(fffffd806f6cb118,fffffd8067994d00) at in_pcbconnect+0x107 sys/netinet/in_pcb.c:492 udp_usrreq(fffffd807bf44388,4,0,fffffd8067994d00,0,ffff800020acf8d8) at udp_usrreq+0x560 sys_connect(ffff800020acf8d8,ffff800022d696f8,ffff800022d69740) at sys_connect+0x3df sys/kern/uipc_syscalls.c:388 syscall(ffff800022d697c0) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline] syscall(ffff800022d697c0) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555 Xsyscall(0,0,fffffffffffffecf,0,3,eebe8510010) at Xsyscall+0x128 end of kernel end trace frame: 0xeeedac9a590, count: 1 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(ffff800022d691c0) at kerntrap+0xec sys/arch/amd64/amd64/trap.c:287 alltraps_kern_meltdown(6,ffff800021964000,fffffd8062ee4d98,10,ffff80000005b470,ffff800022d69428) at alltraps_kern_meltdown+0x7b 0(b,ffff800022d69388,83,ffff800022d69428,0,b) at 0 rt_clone(ffff800022d69498,fffffd806f6cb198,0) at rt_clone+0x78 sys/net/route.c:266 rtalloc_mpath(fffffd806f6cb198,0,0) at rtalloc_mpath+0xba rt_match sys/net/route.c:244 [inline] rtalloc_mpath(fffffd806f6cb198,0,0) at rtalloc_mpath+0xba sys/net/route.c:359 in_pcbselsrc(ffff800022d69570,fffffd8067994d20,fffffd806f6cb118) at in_pcbselsrc+0x219 sys/netinet/in_pcb.c:934 in_pcbconnect(fffffd806f6cb118,fffffd8067994d00) at in_pcbconnect+0x107 sys/netinet/in_pcb.c:492 udp_usrreq(fffffd807bf44388,4,0,fffffd8067994d00,0,ffff800020acf8d8) at udp_usrreq+0x560 sys_connect(ffff800020acf8d8,ffff800022d696f8,ffff800022d69740) at sys_connect+0x3df sys/kern/uipc_syscalls.c:388 syscall(ffff800022d697c0) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline] syscall(ffff800022d697c0) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555 Xsyscall(0,0,fffffffffffffecf,0,3,eebe8510010) at Xsyscall+0x128 end of kernel end trace frame: 0xeeedac9a590, count: -14 ddb{1}> show registers rdi 0xffffffff81ceddf7 db_enter+0x17 rsi 0x29ee __ALIGN_SIZE+0x19ee rbp 0xffff800022d69030 rbx 0xffff800022d690e0 rdx 0x29ef __ALIGN_SIZE+0x19ef rcx 0xffff800021964000 rax 0xffff800021964000 r8 0xffffffff81931c2f kprintf+0x16f r9 0x1 r10 0x25 r11 0x7857825a79afcb62 r12 0x3000000008 r13 0xffff800022d69040 r14 0x100 r15 0x1 rip 0xffffffff81ceddf8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800022d69020 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor.1) pid=277475 stat=onproc flags process=0 proc=4000000 pri=80, usrpri=80, nice=20 forw=0xffffffffffffffff, list=0xffff800020ace028,0xffff800020acec90 process=0xffff800020a8b890 user=0xffff800022d64000, vmspace=0xfffffd807f00b730 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 88229 52089 67018 0 2 0 syz-executor.0 67305 263678 363 0 7 0 syz-executor.1 *67305 277475 363 0 7 0x4000000 syz-executor.1 67018 336414 36008 0 3 0x82 nanosleep syz-executor.0 363 2354 36008 0 3 0x82 nanosleep syz-executor.1 69903 27100 1 0 3 0x100083 ttyin getty 97990 328440 0 0 3 0x14200 bored sosplice 46309 504283 0 0 3 0x14200 acct acct 36008 179772 43079 0 3 0x82 thrsleep syz-fuzzer 36008 161956 43079 0 3 0x4000082 nanosleep syz-fuzzer 36008 195466 43079 0 3 0x4000082 thrsleep syz-fuzzer 36008 47541 43079 0 3 0x4000082 thrsleep syz-fuzzer 36008 347649 43079 0 3 0x4000082 thrsleep syz-fuzzer 36008 24423 43079 0 3 0x4000082 thrsleep syz-fuzzer 36008 170947 43079 0 3 0x4000082 thrsleep syz-fuzzer 36008 241673 43079 0 3 0x4000082 thrsleep syz-fuzzer 36008 452053 43079 0 3 0x4000082 kqread syz-fuzzer 36008 209114 43079 0 3 0x4000082 nanosleep syz-fuzzer 43079 475937 35384 0 3 0x10008a pause ksh 35384 371999 79126 0 3 0x92 select sshd 79126 413505 1 0 3 0x80 select sshd 76649 131796 65998 74 3 0x100092 bpf pflogd 65998 260532 1 0 3 0x80 netio pflogd 88760 33022 97478 73 3 0x100090 kqread syslogd 97478 402599 1 0 3 0x100082 netio syslogd 74968 432895 1 77 3 0x100090 poll dhclient 94215 179750 1 0 3 0x80 poll dhclient 47086 518575 0 0 2 0x14200 zerothread 53450 342855 0 0 3 0x14200 aiodoned aiodoned 38742 148298 0 0 3 0x14200 syncer update 56642 152932 0 0 3 0x14200 cleaner cleaner 5183 104968 0 0 3 0x14200 reaper reaper 80933 346842 0 0 3 0x14200 pgdaemon pagedaemon 94913 230610 0 0 3 0x14200 bored crynlk 46688 52637 0 0 3 0x14200 bored crypto 90457 47917 0 0 3 0x40014200 acpi0 acpi0 6043 7309 0 0 3 0x40014200 idle1 5776 411484 0 0 3 0x14200 bored softnet 33997 42892 0 0 3 0x14200 bored systqmp 20004 113761 0 0 3 0x14200 bored systq 23376 343303 0 0 3 0x40014200 bored softclock 49118 431074 0 0 3 0x40014200 idle0 13146 418310 0 0 3 0x14200 bored smr 1 272677 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 67305 (syz-executor.1) thread 0xffff800020acf8d8 (277475) exclusive rwlock netlock r = 0 (0xffffffff824e54e8) #0 witness_lock+0x52e sys/kern/subr_witness.c:1163 #1 uvn_io+0x3b2 sys/uvm/uvm_vnode.c:1206 #2 uvn_get+0x226 sys/uvm/uvm_vnode.c:1049 #3 uvm_fault+0x11cc sys/uvm/uvm_fault.c:1023 #4 pageflttrap+0x20b sys/arch/amd64/amd64/trap.c:199 #5 kerntrap+0xec sys/arch/amd64/amd64/trap.c:287 #6 alltraps_kern_meltdown+0x7b #7 copyin+0x4b #8 sys_connect+0x9c sys/kern/uipc_syscalls.c:367 #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 kernel_lock &kernel_lock r = 2 (0xffffffff8265c4c8) #0 witness_lock+0x52e sys/kern/subr_witness.c:1163 #1 syscall+0x400 mi_syscall sys/sys/syscall_mi.h:83 [inline] #1 syscall+0x400 sys/arch/amd64/amd64/trap.c:555 #2 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim Kern Lim devbuf 9599 7212K 8395K 78643K 13030 0 0 pcb 13 10K 12K 78643K 197 0 0 rtable 115 13K 13K 78643K 805 0 0 ifaddr 88 17K 17K 78643K 253 0 0 counters 39 33K 33K 78643K 39 0 0 ioctlops 0 0K 4K 78643K 1526 0 0 iov 0 0K 16K 78643K 215 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1214 76K 77K 78643K 2128 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 27 0 0 VM map 2 1K 1K 78643K 6 0 0 sem 12 0K 0K 78643K 281 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1808 196K 290K 78643K 12765 0 0 file desc 6 17K 25K 78643K 1140 0 0 sigio 0 0K 0K 78643K 20 0 0 proc 61 63K 95K 78643K 815 0 0 subproc 32 2K 2K 78643K 136 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 58 0 0 in_multi 30 2K 2K 78643K 126 0 0 ether_multi 1 0K 0K 78643K 5 0 0 mrt 0 0K 0K 78643K 3 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 78 344K 344K 78643K 78 0 0 exec 0 0K 1K 78643K 379 0 0 pfkey data 0 0K 0K 78643K 1 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 106 22K 30K 78643K 4846 0 0 UVM aobj 50 2K 2K 78643K 51 0 0 memdesc 1 4K 4K 78643K 1 0 0 crypto data 1 1K 1K 78643K 1 0 0 ip6_options 0 0K 0K 78643K 186 0 0 NDP 21 0K 0K 78643K 76 0 0 temp 235 3557K 4180K 78643K 24995 0 0 kqueue 0 0K 0K 78643K 3 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 24 0 19 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 95 0 93 1 0 1 1 0 8 0 rtentry 112 135 0 92 2 0 2 2 0 8 0 unpcb 120 413 0 403 1 0 1 1 0 8 0 syncache 264 14 0 14 5 5 0 1 0 8 0 tcpqe 32 6636 0 6636 3 3 0 2 0 8 0 tcpcb 544 2457 0 2450 16 14 2 12 0 8 1 inpcb 280 3165 0 3155 12 10 2 9 0 8 1 nd6 48 17 0 14 1 0 1 1 0 8 0 pkpcb 40 3 0 3 2 2 0 1 0 8 0 ppxss 1128 27 0 27 3 2 1 1 0 8 1 pffrag 232 17 0 17 5 4 1 1 0 482 1 pffrnode 88 17 0 17 5 4 1 1 0 8 1 pffrent 40 42 0 42 5 4 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 103 0 40 1 0 1 1 0 8 0 pfstkey 112 103 0 40 2 0 2 2 0 8 0 pfstate 328 103 0 40 6 0 6 6 0 8 0 pfrule 1360 21 0 16 2 1 1 2 0 8 0 art_heap8 4096 5 0 4 5 3 2 3 0 8 1 art_heap4 256 589 0 376 17 3 14 14 0 8 0 art_table 32 594 0 380 2 0 2 2 0 8 0 art_node 16 132 0 92 1 0 1 1 0 8 0 sysvmsgpl 40 8 0 6 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 277 0 267 1 0 1 1 0 8 0 shmpl 112 49 0 1 2 0 2 2 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 3123 0 1718 46 0 46 46 0 8 0 ffsino 272 3123 0 1718 95 0 95 95 0 8 0 nchpl 144 4931 0 3324 61 0 61 61 0 8 0 uvmvnodes 72 3796 0 0 70 0 70 70 0 8 0 vnodes 208 3796 0 0 200 0 200 200 0 8 0 namei 1024 15732 0 15732 2 1 1 1 0 8 1 percpumem 16 30 0 0 1 0 1 1 0 8 0 vmpool 552 4 0 4 2 2 0 1 0 8 0 scsiplug 64 2 0 2 2 2 0 1 0 8 0 scxspl 192 16674 0 16674 15 12 3 7 0 8 3 plimitpl 152 114 0 106 1 0 1 1 0 8 0 sigapl 432 1323 0 1307 3 1 2 3 0 8 0 futexpl 56 22431 0 22431 2 1 1 1 0 8 1 knotepl 112 290 0 271 1 0 1 1 0 8 0 kqueuepl 104 408 0 406 4 3 1 4 0 8 0 pipepl 112 716 0 697 5 4 1 2 0 8 0 fdescpl 488 1324 0 1307 3 0 3 3 0 8 0 filepl 152 10709 0 10607 16 11 5 13 0 8 0 lockfpl 104 467 0 466 1 0 1 1 0 8 0 lockfspl 48 153 0 152 1 0 1 1 0 8 0 sessionpl 112 25 0 14 1 0 1 1 0 8 0 pgrppl 48 123 0 112 1 0 1 1 0 8 0 ucredpl 96 1324 0 1315 1 0 1 1 0 8 0 zombiepl 144 1307 0 1307 3 2 1 1 0 8 1 processpl 896 1341 0 1307 4 0 4 4 0 8 0 procpl 632 3768 0 3724 6 1 5 5 0 8 0 srpgc 64 10 0 10 4 4 0 1 0 8 0 sosppl 128 19 0 19 4 4 0 1 0 8 0 sockpl 384 3683 0 3661 22 17 5 14 0 8 2 mcl64k 65536 14 0 0 2 0 2 2 0 8 0 mcl16k 16384 7 0 0 1 0 1 1 0 8 0 mcl12k 12288 17 0 0 2 0 2 2 0 8 0 mcl9k 9216 6 0 0 1 0 1 1 0 8 0 mcl8k 8192 9 0 0 2 0 2 2 0 8 0 mcl4k 4096 17 0 0 3 0 3 3 0 8 0 mcl2k2 2112 4 0 0 1 0 1 1 0 8 0 mcl2k 2048 221 0 0 27 0 27 27 0 8 0 mtagpl 80 32 0 0 1 0 1 1 0 8 0 mbufpl 256 369 0 0 22 0 22 22 0 8 0 bufpl 256 12379 0 5331 441 0 441 441 0 8 0 anonpl 16 158171 0 142922 104 35 69 82 0 124 3 amapchunkpl 152 8851 0 8743 19 9 10 12 0 158 4 amappl16 192 6572 0 5665 75 29 46 58 0 8 0 amappl15 184 509 0 509 1 1 0 1 0 8 0 amappl14 176 367 0 366 2 1 1 1 0 8 0 amappl13 168 168 0 165 1 0 1 1 0 8 0 amappl12 160 15 0 11 1 0 1 1 0 8 0 amappl11 152 144 0 129 1 0 1 1 0 8 0 amappl10 144 10 0 7 1 0 1 1 0 8 0 amappl9 136 839 0 832 1 0 1 1 0 8 0 amappl8 128 378 0 346 2 0 2 2 0 8 0 amappl7 120 74 0 67 1 0 1 1 0 8 0 amappl6 112 156 0 146 1 0 1 1 0 8 0 amappl5 104 186 0 172 1 0 1 1 0 8 0 amappl4 96 1756 0 1720 2 1 1 2 0 8 0 amappl3 88 454 0 448 1 0 1 1 0 8 0 amappl2 80 9571 0 9499 3 1 2 3 0 8 0 amappl1 72 39266 0 38827 26 16 10 20 0 8 0 amappl 80 4117 0 4079 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 50 0 1 1 0 1 1 0 8 0 uaddrrnd 24 1328 0 1307 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1328 0 1307 1 0 1 1 0 8 0 vmmpekpl 168 13777 0 13741 2 0 2 2 0 8 0 vmmpepl 168 171617 0 169499 208 84 124 124 0 357 31 vmsppl 368 1323 0 1307 2 0 2 2 0 8 0 pdppl 4096 2663 0 2622 7 1 6 6 0 8 0 pvpl 32 449245 0 430781 245 71 174 197 0 265 15 pmappl 232 1327 0 1311 3 2 1 2 0 8 0 extentpl 40 41 0 26 1 0 1 1 0 8 0 phpool 112 649 0 25 18 0 18 18 0 8 0