kernel: page fault trap, code=0 Stopped at 0 TID PID UID PRFLAGS PFLAGS CPU COMMAND *133601 69434 0 0 0x4000000 0K syz-executor.1 0(ffff800000dce800,b,fffffd80661f9b00,ffffffff,1220,0) at 0 rtrequest(b,ffff800021264408,83,ffff8000212644a8,0) at rtrequest+0xa26 sys/net/route.c:968 rt_clone(ffff800021264518,fffffd806f67d808,0) at rt_clone+0x78 sys/net/route.c:258 rtalloc_mpath(fffffd806f67d808,0,0) at rtalloc_mpath+0xbc rt_match sys/net/route.c:236 [inline] rtalloc_mpath(fffffd806f67d808,0,0) at rtalloc_mpath+0xbc sys/net/route.c:351 in_pcbselsrc(ffff8000212645f8,fffffd8074353220,fffffd806f67d780) at in_pcbselsrc+0x25d sys/netinet/in_pcb.c:980 in_pcbconnect(fffffd806f67d780,fffffd8074353200) at in_pcbconnect+0xf7 sys/netinet/in_pcb.c:510 udp_usrreq(fffffd80082ea018,4,0,fffffd8074353200,0,ffff8000ffff57a8) at udp_usrreq+0x585 sys_connect(ffff8000ffff57a8,ffff800021264778,ffff8000212647c0) at sys_connect+0x203 sys/kern/uipc_syscalls.c:422 syscall(ffff800021264840) at syscall+0x4c3 mi_syscall sys/sys/syscall_mi.h:101 [inline] syscall(ffff800021264840) at syscall+0x4c3 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xf56f16fa8f0, count: 6 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 *cpu0: attempt to execute user address 0x0 in supervisor mode ddb{0}> trace 0(ffff800000dce800,b,fffffd80661f9b00,ffffffff,1220,0) at 0 rtrequest(b,ffff800021264408,83,ffff8000212644a8,0) at rtrequest+0xa26 sys/net/route.c:968 rt_clone(ffff800021264518,fffffd806f67d808,0) at rt_clone+0x78 sys/net/route.c:258 rtalloc_mpath(fffffd806f67d808,0,0) at rtalloc_mpath+0xbc rt_match sys/net/route.c:236 [inline] rtalloc_mpath(fffffd806f67d808,0,0) at rtalloc_mpath+0xbc sys/net/route.c:351 in_pcbselsrc(ffff8000212645f8,fffffd8074353220,fffffd806f67d780) at in_pcbselsrc+0x25d sys/netinet/in_pcb.c:980 in_pcbconnect(fffffd806f67d780,fffffd8074353200) at in_pcbconnect+0xf7 sys/netinet/in_pcb.c:510 udp_usrreq(fffffd80082ea018,4,0,fffffd8074353200,0,ffff8000ffff57a8) at udp_usrreq+0x585 sys_connect(ffff8000ffff57a8,ffff800021264778,ffff8000212647c0) at sys_connect+0x203 sys/kern/uipc_syscalls.c:422 syscall(ffff800021264840) at syscall+0x4c3 mi_syscall sys/sys/syscall_mi.h:101 [inline] syscall(ffff800021264840) at syscall+0x4c3 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xf56f16fa8f0, count: -9 ddb{0}> show registers rdi 0xffff800000dce800 rsi 0xb rbp 0xffff8000212643f0 rbx 0xffff8000212644a8 rdx 0xfffffd80661f9b00 rcx 0x317 rax 0xffffffff82564f42 rtrequest+0xa02 r8 0x100 r9 0xfffffd80661f9b00 r10 0xfd90233a19df38bf r11 0 r12 0xfffffd80661f9b00 r13 0xffff800021264408 r14 0xfffffd80661f9b00 r15 0xffff800000d843c0 rip 0 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff8000212642f8 ss 0x10 0 ddb{0}> show proc PROC (syz-executor.1) pid=133601 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff8000fffecfd0,0xffffffff82b78120 process=0xffff8000ffff2158 user=0xffff80002125f000, vmspace=0xfffffd806e555bb0 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 69434 373598 88005 0 2 0 syz-executor.1 *69434 133601 88005 0 7 0x4000000 syz-executor.1 78545 508686 18051 0 2 0x480 syz-executor.4 78545 506135 18051 0 3 0x4000080 fsleep syz-executor.4 98804 310964 65477 0 2 0x480 syz-executor.7 98804 44593 65477 0 3 0x4000080 fsleep syz-executor.7 98804 281721 65477 0 3 0x4000080 fsleep syz-executor.7 98804 80311 65477 0 3 0x4000080 fsleep syz-executor.7 17488 332337 87748 0 2 0x480 syz-executor.5 17488 48805 87748 0 3 0x4000080 netio syz-executor.5 27076 246657 84121 0 2 0x482 syz-executor.3 3528 415981 0 0 3 0x14200 acct acct 45660 230503 84121 0 3 0x82 nanoslp syz-executor.0 73695 335206 1 0 3 0x100083 ttyin getty 87748 27844 84121 0 2 0x482 syz-executor.5 43828 264613 84121 0 2 0x2 syz-executor.6 32884 52946 84121 0 2 0x482 syz-executor.2 18051 71100 84121 0 2 0x482 syz-executor.4 65477 350176 84121 0 2 0x482 syz-executor.7 88005 285951 84121 0 3 0x82 nanoslp syz-executor.1 12208 496793 0 0 3 0x14280 nfsidl nfsio 31892 220533 0 0 3 0x14280 nfsidl nfsio 14311 401185 0 0 3 0x14280 nfsidl nfsio 96035 116843 0 0 3 0x14280 nfsidl nfsio 91859 20959 0 0 3 0x14280 nfsidl nfsio 79594 54502 0 0 3 0x14280 nfsidl nfsio 32310 327741 0 0 3 0x14280 nfsidl nfsio 31487 320575 0 0 3 0x14280 nfsidl nfsio 66569 363282 0 0 3 0x14280 nfsidl nfsio 53169 84875 0 0 3 0x14280 nfsidl nfsio 30697 132006 0 0 3 0x14280 nfsidl nfsio 49793 27455 0 0 3 0x14280 nfsidl nfsio 44578 1270 0 0 3 0x14280 nfsidl nfsio 14748 149247 0 0 3 0x14280 nfsidl nfsio 7603 518507 0 0 3 0x14280 nfsidl nfsio 91214 132640 0 0 3 0x14280 nfsidl nfsio 20012 331316 0 0 3 0x14280 nfsidl nfsio 51682 381070 0 0 3 0x14280 nfsidl nfsio 32965 396420 0 0 3 0x14280 nfsidl nfsio 75150 244819 0 0 3 0x14280 nfsidl nfsio 51941 43795 0 0 3 0x14200 bored sosplice 84121 137398 32911 0 3 0x82 thrsleep syz-fuzzer 84121 274506 32911 0 3 0x4000082 nanoslp syz-fuzzer 84121 38903 32911 0 3 0x4000082 thrsleep syz-fuzzer 84121 293447 32911 0 3 0x4000082 wait syz-fuzzer 84121 483871 32911 0 3 0x4000082 wait syz-fuzzer 84121 412181 32911 0 3 0x4000082 thrsleep syz-fuzzer 84121 89467 32911 0 3 0x4000082 wait syz-fuzzer 84121 160445 32911 0 3 0x4000082 thrsleep syz-fuzzer 84121 71740 32911 0 3 0x4000082 thrsleep syz-fuzzer 84121 54093 32911 0 3 0x4000082 wait syz-fuzzer 84121 484195 32911 0 3 0x4000082 wait syz-fuzzer 84121 277753 32911 0 3 0x4000082 wait syz-fuzzer 84121 447661 32911 0 3 0x4000082 kqread syz-fuzzer 84121 435554 32911 0 3 0x4000082 wait syz-fuzzer 84121 374344 32911 0 3 0x4000082 thrsleep syz-fuzzer 84121 26428 32911 0 3 0x4000082 nanoslp syz-fuzzer 84121 486014 32911 0 3 0x4000082 wait syz-fuzzer 32911 330253 33643 0 3 0x10008a sigsusp ksh 33643 463421 84365 0 3 0x9a kqread sshd 84365 164052 1 0 3 0x88 kqread sshd 64489 120245 85908 74 3 0x1100092 bpf pflogd 85908 42108 1 0 3 0x80 netio pflogd 12149 287484 93932 73 3 0x1100090 kqread syslogd 93932 339972 1 0 3 0x100082 netio syslogd 51051 230717 1 0 3 0x100080 kqread resolvd 84794 133714 0 0 3 0x14200 bored smr 95162 60238 0 0 2 0x14200 zerothread 81008 30737 0 0 3 0x14200 aiodoned aiodoned 19743 238114 0 0 3 0x14200 syncer update 16194 442287 0 0 3 0x14200 cleaner cleaner 21658 67868 0 0 3 0x14200 reaper reaper 95778 381632 0 0 3 0x14200 pgdaemon pagedaemon 87000 268313 0 0 3 0x14200 bored viomb 27039 209484 0 0 3 0x40014200 acpi0 acpi0 53520 367522 0 0 7 0x40014200 idle1 82868 54495 0 0 3 0x14200 bored softnet 85758 496586 0 0 3 0x14200 bored softnet 73855 344344 0 0 3 0x14200 bored softnet 85255 395132 0 0 3 0x14200 bored softnet 4739 192519 0 0 3 0x14200 bored systqmp 85555 475390 0 0 3 0x14200 bored systq 30930 437230 0 0 2 0x40014200 softclock 10913 234800 0 0 3 0x40014200 idle0 1 34747 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10257 6605K 7805K 78643K 133565 0 pcb 13 22K 26K 78643K 11612 0 rtable 226 18K 20K 78643K 13341 0 ifaddr 120 32K 39K 78643K 5109 0 sysctl 3 1K 5K 78643K 22 0 counters 56 35K 36K 78643K 2274 0 ioctlops 0 0K 6K 78643K 17122 0 iov 0 0K 32K 78643K 8880 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1763 110K 110K 78643K 59040 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 17K 78643K 760 0 VM map 2 1K 1K 78643K 2 0 sem 16 1K 1K 78643K 20 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 14 49K 85K 78643K 73898 0 sigio 0 0K 0K 78643K 1026 0 proc 68 67K 128K 78643K 11592 0 subproc 104 6K 10K 78643K 3595 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 17840 0 in_multi 74 5K 7K 78643K 4491 0 ether_multi 1 0K 0K 78643K 352 0 mrt 2 0K 0K 78643K 350 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 331 1473K 1473K 78643K 331 0 exec 0 0K 2K 78643K 15141 0 pfkey data 0 0K 0K 78643K 50 0 tdb 3 0K 0K 78643K 3 0 pagedep 1 8K 8K 78643K 1 0 inodedep 1 32K 32K 78643K 1 0 newblk 1 0K 0K 78643K 1 0 VM swap 8 62K 62K 78643K 8 0 UVM amap 1048 3235K 3250K 78643K 405569 0 UVM aobj 131 4K 4K 78643K 136 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 5868 0 NDP 22 0K 1K 78643K 1623 0 temp 162 4727K 70263K 78643K 824598 0 kqueue 7 11K 28K 78643K 5951 0 SYN cache 2 16K 16K 78643K 2 0 ddb{0}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle plcache 128 22 0 0 1 0 1 1 0 8 0 rtpcb 120 4285 0 4284 38 37 1 4 0 8 0 rtentry 112 4432 0 4345 7 3 4 4 0 8 0 unpcb 144 53646 0 53636 470 465 5 10 0 8 4 syncache 296 136 0 136 39 39 0 1 0 8 0 tcpqe 32 358 50 358 9 9 0 3 0 8 0 tcpcb 768 32069 0 32048 1000 991 9 35 0 8 6 arp 120 729 0 709 1 0 1 1 0 8 0 inpcb 320 90000 0 89995 941 934 7 20 0 8 6 nd6 48 978 0 960 1 0 1 1 0 8 0 pkpcb 40 643 0 643 45 44 1 2 0 8 1 kcovpl 48 270 0 262 1 0 1 1 0 8 0 ppxss 1256 648 0 648 86 86 0 1 0 8 0 pffrag 232 400 0 398 26 25 1 1 0 482 0 pffrnode 88 400 0 398 26 25 1 1 0 8 0 pffrent 40 1578 0 1576 30 29 1 1 0 8 0 pfosfp 40 1428 0 1005 5 0 5 5 0 8 0 pfosfpen 112 1428 0 714 21 0 21 21 0 8 0 pfrke_plain 168 12 0 12 2 2 0 1 0 8 0 pfrktable 1344 51 0 51 2 2 0 1 0 8 0 pfanchor 1280 6 0 6 2 2 0 1 0 8 0 pftag 88 5 0 3 1 0 1 1 0 8 0 pfqueue 264 3 0 1 1 0 1 1 0 8 0 pfstitem 24 2390 0 2332 2 1 1 2 0 8 0 pfstkey 120 2390 0 2332 14 12 2 7 0 8 0 pfstate 336 2390 0 2332 52 46 6 18 0 8 0 pfrule 1360 38 0 28 2 1 1 2 0 8 0 rttmr 136 71 0 71 22 22 0 1 0 8 0 art_heap8 4096 10 0 9 5 4 1 3 0 8 0 art_heap4 256 18754 0 18391 123 99 24 32 0 8 0 art_table 32 18764 0 18400 5 0 5 5 0 8 0 art_node 16 4243 0 4173 1 0 1 1 0 8 0 sysvmsgpl 40 6 0 0 1 0 1 1 0 8 0 semupl 112 4 0 4 1 1 0 1 0 8 0 semapl 112 14 0 0 1 0 1 1 0 8 0 shmpl 112 133 0 5 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 96506 0 94704 113 0 113 113 0 8 0 ffsino 272 96506 0 94704 121 0 121 121 0 8 0 nchpl 144 189684 0 188021 63 0 63 63 0 8 0 rtmask 32 27 0 27 9 9 0 1 0 8 0 uvmvnodes 80 19922 0 0 407 0 407 407 0 8 0 vnodes 216 19922 0 0 1107 0 1107 1107 0 8 0 namei 1024 763641 0 763640 24 23 1 2 0 8 0 percpumem 16 1149 0 1109 1 0 1 1 0 8 0 vcpupl 2048 513 0 1 64 0 64 64 0 8 0 vmpool 568 1449 0 937 52 15 37 37 0 8 0 pfiaddrpl 120 15 0 15 2 2 0 1 0 8 0 kstatmem 264 1920 0 1880 3 0 3 3 0 8 0 scsiplug 72 80 0 80 25 25 0 1 0 8 0 scxspl 216 573206 0 573206 62 61 1 8 0 8 1 plimitpl 152 10544 0 10530 1 0 1 1 0 8 0 sigapl 424 73781 0 73715 11 3 8 8 0 8 0 futexpl 64 773913 0 773909 15 14 1 1 0 8 0 knotepl 120 3110 0 0 17 1 16 17 0 8 1 kqueuepl 216 14735 0 14728 235 232 3 8 0 8 2 pipepl 320 18501 0 18473 417 411 6 14 0 8 3 fdescpl 496 73673 0 73649 5 0 5 5 0 8 0 filepl 152 581118 0 580885 783 767 16 28 0 8 5 lockfpl 104 19431 0 19430 29 28 1 2 0 8 0 lockfspl 48 5370 0 5369 1 0 1 1 0 8 0 sessionpl 144 299 0 283 1 0 1 1 0 8 0 pgrppl 48 719 0 703 1 0 1 1 0 8 0 ucredpl 104 59701 0 59690 1 0 1 1 0 8 0 zombiepl 144 73718 0 73715 8 7 1 1 0 8 0 processpl 1064 73781 0 73715 6 1 5 5 0 8 0 procpl 672 188796 0 188708 53 44 9 10 0 8 0 srpgc 96 443 0 443 110 109 1 1 0 8 1 sosppl 168 658 0 658 97 96 1 1 0 8 1 sockpl 488 148720 0 148704 2566 2555 11 36 0 8 8 mcl64k 65536 25 0 0 4 1 3 3 0 8 0 mcl16k 16384 25 0 0 3 0 3 3 0 8 0 mcl12k 12288 41 0 0 2 0 2 2 0 8 0 mcl9k 9216 23 0 0 2 0 2 2 0 8 0 mcl8k 8192 26 0 0 3 1 2 3 0 8 0 mcl4k 4096 34 0 0 3 0 3 3 0 8 0 mcl2k2 2112 7 0 0 1 0 1 1 0 8 0 mcl2k 2048 1097 0 0 57 31 26 56 0 8 0 mtagpl 96 2400 0 0 37 24 13 37 0 8 0 mbufpl 256 10610 0 0 601 0 601 601 0 8 0 bufpl 288 123878 0 115238 618 0 618 618 0 8 0 anonpl 24 14224162 0 14195766 1120 909 211 256 0 186 14 amapchunkpl 152 1197095 0 1196139 348 303 45 68 0 158 0 amappl16 200 215989 0 214609 596 512 84 98 0 8 6 amappl15 192 12117 0 12109 1 0 1 1 0 8 0 amappl14 184 7662 0 7655 1 0 1 1 0 8 0 amappl13 176 9145 0 9141 1 0 1 1 0 8 0 amappl12 168 6910 0 6900 1 0 1 1 0 8 0 amappl11 160 8061 0 8044 2 0 2 2 0 8 0 amappl10 152 11082 0 11069 1 0 1 1 0 8 0 amappl9 144 14941 0 14938 1 0 1 1 0 8 0 amappl8 136 13741 0 13420 13 1 12 12 0 8 0 amappl7 128 9079 0 9054 7 6 1 2 0 8 0 amappl6 120 16470 0 16441 4 2 2 2 0 8 0 amappl5 112 69703 0 69689 1 0 1 1 0 8 0 amappl4 104 21305 0 21259 3 1 2 2 0 8 0 amappl3 96 220827 0 220782 2 0 2 2 0 8 0 amappl2 88 16119 0 16079 14 12 2 2 0 8 0 amappl1 80 1789858 0 1789257 25 10 15 20 0 8 0 amappl 88 398335 0 397939 11 1 10 10 0 92 0 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma1024 1024 1 0 0 1 0 1 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 72 135 0 5 3 0 3 3 0 8 0 uaddrrnd 24 75122 0 74586 6 2 4 4 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 75122 0 74586 6 2 4 4 0 8 0 vmmpekpl 168 480189 0 480059 7 0 7 7 0 8 0 vmmpepl 168 7250388 0 7245971 1368 1136 232 269 0 357 5 vmsppl 368 75121 0 74586 56 6 50 50 0 8 0 rwobjpl 56 1713687 0 1690804 412 88 324 324 0 8 0 pdppl 4096 150251 0 149684 2984 2409 575 575 0 8 8 pvpl 32 28044440 0 28023801 1452 1223 229 323 0 265 17 pmappl 248 75121 0 74586 37 3 34 34 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 4925 0 2709 65 1 64 64 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace 0(ffff800000dce800,b,fffffd80661f9b00,ffffffff,1220,0) at 0 rtrequest(b,ffff800021264408,83,ffff8000212644a8,0) at rtrequest+0xa26 sys/net/route.c:968 rt_clone(ffff800021264518,fffffd806f67d808,0) at rt_clone+0x78 sys/net/route.c:258 rtalloc_mpath(fffffd806f67d808,0,0) at rtalloc_mpath+0xbc rt_match sys/net/route.c:236 [inline] rtalloc_mpath(fffffd806f67d808,0,0) at rtalloc_mpath+0xbc sys/net/route.c:351 in_pcbselsrc(ffff8000212645f8,fffffd8074353220,fffffd806f67d780) at in_pcbselsrc+0x25d sys/netinet/in_pcb.c:980 in_pcbconnect(fffffd806f67d780,fffffd8074353200) at in_pcbconnect+0xf7 sys/netinet/in_pcb.c:510 udp_usrreq(fffffd80082ea018,4,0,fffffd8074353200,0,ffff8000ffff57a8) at udp_usrreq+0x585 sys_connect(ffff8000ffff57a8,ffff800021264778,ffff8000212647c0) at sys_connect+0x203 sys/kern/uipc_syscalls.c:422 syscall(ffff800021264840) at syscall+0x4c3 mi_syscall sys/sys/syscall_mi.h:101 [inline] syscall(ffff800021264840) at syscall+0x4c3 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xf56f16fa8f0, count: -9 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp x86_ipi_db(ffff800020dd8ff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 acpicpu_idle() at acpicpu_idle+0x312 sys/dev/acpi/acpicpu.c:1206 sched_idle(ffff800020dd8ff0) at sched_idle+0x417 sys/kern/kern_sched.c:178 end trace frame: 0x0, count: 10 ddb{1}> trace x86_ipi_db(ffff800020dd8ff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 acpicpu_idle() at acpicpu_idle+0x312 sys/dev/acpi/acpicpu.c:1206 sched_idle(ffff800020dd8ff0) at sched_idle+0x417 sys/kern/kern_sched.c:178 end trace frame: 0x0, count: -5