uvm_fault(0xfffff5006d1915d0, 0x7fff00000070, 0, 1) -> e kernel: page fault trap, code=0 Stopped at rtable_clearsource+0x15a: movq 0(%rax,%r14,8),%rax TID PID UID PRFLAGS PFLAGS CPU COMMAND *307140 47632 0 0x2 0 0 ifconfig rtable_clearsource(0,ffff800001655468) at rtable_clearsource+0x15a rtable_get sys/net/rtable.c:260 [inline] rtable_clearsource(0,ffff800001655468) at rtable_clearsource+0x15a rtable_getsource sys/net/rtable.c:410 [inline] rtable_clearsource(0,ffff800001655468) at rtable_clearsource+0x15a sys/net/rtable.c:422 rt_ifa_del(ffff800001655400,800100,ffff800001655468,0) at rt_ifa_del+0x37b sys/net/route.c:1342 in_ioctl_change_ifaddr(8040691a,ffff8000359336e0,ffff8000015ea000) at in_ioctl_change_ifaddr+0x681 in_remove_prefix sys/netinet/in.c:810 [inline] in_ioctl_change_ifaddr(8040691a,ffff8000359336e0,ffff8000015ea000) at in_ioctl_change_ifaddr+0x681 in_ifscrub sys/netinet/in.c:636 [inline] in_ioctl_change_ifaddr(8040691a,ffff8000359336e0,ffff8000015ea000) at in_ioctl_change_ifaddr+0x681 sys/netinet/in.c:505 ifioctl(ffff800001600238,8040691a,ffff8000359336e0,ffff80002a75afa8) at ifioctl+0x16c4 pru_control sys/sys/protosw.h:353 [inline] ifioctl(ffff800001600238,8040691a,ffff8000359336e0,ffff80002a75afa8) at ifioctl+0x16c4 sys/net/if.c:2554 sys_ioctl(ffff80002a75afa8,ffff8000359338b0,ffff800035933800) at sys_ioctl+0x660 sys/kern/sys_generic.c:-1 syscall(ffff8000359338b0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff8000359338b0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:791 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x743c4bec14d0, count: 8 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 *cpu0: uvm_fault(0xfffff5006d1915d0, 0x7fff00000070, 0, 1) -> e ddb> show kasan No such command ddb> trace rtable_clearsource(0,ffff800001655468) at rtable_clearsource+0x15a rtable_get sys/net/rtable.c:260 [inline] rtable_clearsource(0,ffff800001655468) at rtable_clearsource+0x15a rtable_getsource sys/net/rtable.c:410 [inline] rtable_clearsource(0,ffff800001655468) at rtable_clearsource+0x15a sys/net/rtable.c:422 rt_ifa_del(ffff800001655400,800100,ffff800001655468,0) at rt_ifa_del+0x37b sys/net/route.c:1342 in_ioctl_change_ifaddr(8040691a,ffff8000359336e0,ffff8000015ea000) at in_ioctl_change_ifaddr+0x681 in_remove_prefix sys/netinet/in.c:810 [inline] in_ioctl_change_ifaddr(8040691a,ffff8000359336e0,ffff8000015ea000) at in_ioctl_change_ifaddr+0x681 in_ifscrub sys/netinet/in.c:636 [inline] in_ioctl_change_ifaddr(8040691a,ffff8000359336e0,ffff8000015ea000) at in_ioctl_change_ifaddr+0x681 sys/netinet/in.c:505 ifioctl(ffff800001600238,8040691a,ffff8000359336e0,ffff80002a75afa8) at ifioctl+0x16c4 pru_control sys/sys/protosw.h:353 [inline] ifioctl(ffff800001600238,8040691a,ffff8000359336e0,ffff80002a75afa8) at ifioctl+0x16c4 sys/net/if.c:2554 sys_ioctl(ffff80002a75afa8,ffff8000359338b0,ffff800035933800) at sys_ioctl+0x660 sys/kern/sys_generic.c:-1 syscall(ffff8000359338b0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff8000359338b0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:791 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x743c4bec14d0, count: -7 ddb> show registers rdi 0x64 rsi 0 rbp 0xffff800035933400 rbx 0xfffffffe rdx 0 rcx 0x1 rax 0x7fff00000070 r8 0xa0 r9 0x8080808080808080 r10 0xa67e3da3a2b362a0 r11 0xbc99e4a9f7640a46 r12 0x64 r13 0xffff800000c57e30 r14 0 r15 0xffff800001655468 rip 0xffffffff81c6d79a rtable_clearsource+0x15a cs 0x8 rflags 0x10202 __ALIGN_SIZE+0xf202 rsp 0xffff8000359333b0 ss 0x10 rtable_clearsource+0x15a: movq 0(%rax,%r14,8),%rax ddb> show proc PROC (ifconfig) tid=307140 pid=47632 tcnt=1 stat=onproc flags process=2 proc=0 runpri=74, usrpri=74, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a75bca0,0xffffffff83a47410 process=0xffff8000358f4920 user=0xffff80003592e000, vmspace=0xfffff5006d1915d0 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S PRLAGS PFLAGS WAIT COMMAND *47632 307140 95003 0 7 0x2 0 ifconfig 95003 512241 70068 0 3 0x100002 0x88 sigsusp sh 47854 479001 87687 0 2 0x40 0 syz-executor 79757 455329 58692 0 2 0 0 syz-executor 70068 84183 80794 0 3 0x2 0x80 wait syz-executor 95260 176828 45257 0 2 0 0 syz-executor 49165 447399 55685 0 2 0 0 syz-executor 49165 2319 55685 0 2 0 0x4000000 syz-executor 30536 507098 43138 0 2 0 0 syz-executor 30536 148256 43138 0 3 0 0x4000080 ttyin syz-executor 30536 27855 43138 0 2 0 0x4000000 syz-executor 68740 373 6848 0 2 0 0 syz-executor 68740 123858 6848 0 3 0 0x4000080 fsleep syz-executor 87687 521898 80794 0 3 0x82 0 ppwait syz-executor 52253 328942 0 0 3 0x14000 0x280 nfsidl nfsio 3875 387612 0 0 3 0x14000 0x280 nfsidl nfsio 83076 297729 0 0 3 0x14000 0x280 nfsidl nfsio 84007 129205 0 0 3 0x14000 0x280 nfsidl nfsio 46805 135359 0 0 3 0x14000 0x280 nfsidl nfsio 93438 220450 0 0 3 0x14000 0x280 nfsidl nfsio 3703 342205 0 0 3 0x14000 0x280 nfsidl nfsio 53550 440063 0 0 3 0x14000 0x280 nfsidl nfsio 59197 227632 0 0 3 0x14000 0x280 nfsidl nfsio 27016 41841 0 0 3 0x14000 0x280 nfsidl nfsio 40434 183688 0 0 3 0x14000 0x280 nfsidl nfsio 22579 145512 0 0 3 0x14000 0x280 nfsidl nfsio 69024 185703 0 0 3 0x14000 0x280 nfsidl nfsio 24756 346333 0 0 3 0x14000 0x280 nfsidl nfsio 30770 247567 0 0 3 0x14000 0x280 nfsidl nfsio 51251 78634 0 0 3 0x14000 0x280 nfsidl nfsio 92683 165517 0 0 3 0x14000 0x280 nfsidl nfsio 97127 143610 0 0 3 0x14000 0x280 nfsidl nfsio 9611 107675 0 0 3 0x14000 0x280 nfsidl nfsio 39832 330173 0 0 3 0x14000 0x280 nfsidl nfsio 58692 109056 80794 0 3 0x2 0x80 nanoslp syz-executor 55685 114551 80794 0 3 0x2 0x80 nanoslp syz-executor 6848 482311 80794 0 3 0x2 0x80 nanoslp syz-executor 43138 521504 80794 0 3 0x2 0x80 nanoslp syz-executor 45257 442759 80794 0 2 0x2 0 syz-executor 21522 505347 80794 0 2 0x2 0 syz-executor 80794 387813 22196 0 3 0x2 0x80 kqread syz-executor 22196 223528 32693 0 3 0x100002 0x88 sigsusp ksh 32693 520534 33992 0 3 0x10 0x88 kqread sshd-session 33992 130077 77010 0 3 0x12 0x80 kqread sshd-session 7390 148496 1 0 3 0x100003 0x80 ttyin getty 77010 491977 1 0 3 0 0x88 kqread sshd 26897 309179 67593 73 3 0x1100010 0x80 kqread syslogd 67593 445444 1 0 3 0x100002 0x80 sbwait syslogd 91086 130300 1 0 3 0x100000 0x80 kqread resolvd 10417 485061 63679 77 3 0x100012 0x80 kqread dhcpleased 29584 478479 63679 77 3 0x100012 0x80 kqread dhcpleased 63679 432072 1 0 3 0 0x80 kqread dhcpleased 30026 18462 0 0 3 0x14000 0x200 bored smr 56406 181025 0 0 2 0x14000 0x200 zerothread 16501 346654 0 0 3 0x14000 0x200 aiodoned aiodoned 63339 177321 0 0 3 0x14000 0x200 syncer update 99262 116607 0 0 3 0x14000 0x200 cleaner cleaner 62080 216041 0 0 3 0x14000 0x200 reaper reaper 38369 89483 0 0 3 0x14000 0x200 pgdaemon pagedaemon 3406 40917 0 0 3 0x14000 0x200 bored viomb 11150 59043 0 0 3 0x14000 0x40000200 acpi0 acpi0 91505 109613 0 0 3 0x14000 0x200 bored softnet0 98625 352494 0 0 3 0x14000 0x200 bored systqmp 19650 506641 0 0 3 0x14000 0x200 bored systq 98677 274990 0 0 3 0x14000 0x40000200 tmoslp softclock 77255 40378 0 0 3 0x14000 0x40000200 idle0 1 62856 0 0 3 0x2 0x80 wait init 0 0 -1 0 3 0x10000 0x200 scheduler swapper ddb> show all locks No such command ddb> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 11071 12244K 12429K 166960K 12689 0 pcb 17 14K 15K 166960K 86 0 rtable 211 7K 7K 166960K 681 0 pf 31 13K 17K 166960K 73 0 ifaddr 38 6K 7K 166960K 91 0 ifgroup 50 2K 2K 166960K 115 0 sysctl 4 1K 9K 166960K 8 0 counters 33 17K 17K 166960K 52 0 ioctlops 0 0K 4K 166960K 88 0 iov 0 0K 16K 166960K 19 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1323 83K 83K 166960K 1893 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 8 0 VM map 2 1K 1K 166960K 2 0 sem 16 3K 4K 166960K 28 0 dirhash 12 2K 2K 166960K 18 0 ACPI 1734 201K 291K 166960K 11964 0 file desc 18 65K 224K 166960K 641 0 sigio 0 0K 0K 166960K 2 0 proc 67 67K 116K 166960K 814 0 subproc 72 4K 4K 166960K 171 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 34 0 in_multi 77 5K 6K 166960K 205 0 ether_multi 1 0K 0K 166960K 1 0 mrt 0 0K 0K 166960K 16 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 241 1076K 1076K 166960K 241 0 exec 0 0K 1K 166960K 624 0 fusefs mount 1 32K 32K 166960K 1 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 189 142K 157K 166960K 6644 0 UVM aobj 15 2K 2K 166960K 15 0 pinsyscall 39 78K 94K 166960K 1982 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 15 0 NDP 11 0K 1K 166960K 62 0 temp 41 9111K 9175K 166960K 14092 0 kqueue 13 20K 28K 166960K 89 0 SYN cache 2 16K 16K 166960K 2 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle rtpcb 120 111 0 108 2 0 2 2 0 8 1 rtentry 136 226 0 134 4 0 4 4 0 8 0 unpcb 144 197 0 182 2 0 2 2 0 8 1 syncache 336 7 0 7 1 0 1 1 0 8 1 tcpqe 32 2 0 2 1 0 1 1 0 8 1 tcpcb 736 70 0 64 1 0 1 1 0 8 0 arp 96 39 0 25 1 0 1 1 0 8 0 ipq 40 5 0 0 1 0 1 1 0 8 0 ipqe 40 6 0 1 1 0 1 1 0 8 0 inpcb 328 452 0 441 7 0 7 7 0 8 5 nd6 112 57 0 37 1 0 1 1 0 8 0 pkpcb 40 1 0 1 1 0 1 1 0 8 1 kcovpl 48 19 0 11 1 0 1 1 0 8 0 ppxss 1072 5 0 5 1 0 1 1 0 8 1 pfstscr 40 2 0 0 1 0 1 1 0 8 0 pfstitem 24 2 0 0 1 0 1 1 0 8 0 pfstkey 128 2 0 0 1 0 1 1 0 8 0 pfstate 384 1 0 0 1 0 1 1 0 8 0 pfrule 1360 3 0 2 1 0 1 1 0 8 0 rttmr 136 1 0 1 1 0 1 1 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 892 0 526 32 0 32 32 0 8 5 art_table 40 893 0 526 6 0 6 6 0 8 0 art_node 32 226 0 143 1 0 1 1 0 8 0 sysvmsgpl 40 2 0 1 1 0 1 1 0 8 0 semupl 112 1 0 1 1 0 1 1 0 8 1 semapl 72 24 0 10 1 0 1 1 0 8 0 shmpl 112 12 0 0 1 0 1 1 0 8 0 dirhash 1024 21 0 4 3 0 3 3 0 8 0 dino2pl 256 2321 0 844 93 0 93 93 0 8 0 ffsino 256 2321 0 844 93 0 93 93 0 8 0 nchpl 144 2993 0 1266 65 0 65 65 0 8 0 rtmask 32 2 0 2 1 0 1 1 0 8 1 vnodes 216 2686 0 0 150 0 150 150 0 8 0 namei 1024 10930 0 10929 2 0 2 2 0 8 1 acpiwqpl 32 1 0 1 1 0 1 1 1 8 1 kstatmem 264 57 0 34 2 0 2 2 0 8 0 scsiplug 72 4 0 4 1 0 1 1 0 8 1 scxspl 216 12688 0 12685 4 0 4 4 1 8 3 plimitpl 152 256 0 240 1 0 1 1 0 8 0 sigapl 424 921 0 858 8 0 8 8 0 8 0 knotepl 120 14606 0 14559 11 1 10 11 0 8 8 kqueuepl 184 111 0 102 1 0 1 1 0 8 0 pipepl 304 169 0 142 3 0 3 3 0 8 0 fdescpl 448 888 0 858 5 0 5 5 0 8 1 filepl 120 4934 0 4726 11 0 11 11 0 8 4 lockfpl 104 222 0 220 1 0 1 1 0 8 0 lockfspl 48 101 0 99 1 0 1 1 0 8 0 sessionpl 144 47 0 39 1 0 1 1 0 8 0 pgrppl 48 72 0 56 1 0 1 1 0 8 0 ucredpl 104 1007 0 994 1 0 1 1 0 8 0 zombiepl 144 858 0 858 1 0 1 1 0 8 1 processpl 1152 921 0 858 5 0 5 5 0 8 0 procpl 664 1436 0 1369 7 0 7 7 0 8 1 sockpl 552 769 0 740 8 0 8 8 0 8 5 mcl64k 65536 30 0 28 1 0 1 1 0 8 0 mcl9k128 9344 5 0 5 1 0 1 1 0 8 1 mcl8k 8192 13 0 13 1 0 1 1 0 8 1 mcl4k 4096 3017 0 2967 13 0 13 13 0 8 6 mcl2k 2048 555 0 553 3 0 3 3 0 8 2 mextrefs 64 249 0 248 1 0 1 1 0 8 0 mtagpl 96 8 0 6 1 0 1 1 0 8 0 mbufpl 256 9911 0 9742 75 55 20 75 0 8 7 bufpl 272 4617 0 104 301 0 301 301 0 8 0 anonpl 24 148745 0 145779 56 0 56 56 0 187 24 amapchunkpl 152 20626 0 20251 35 0 35 35 0 158 19 amappl16 200 2715 0 2694 16 5 11 14 0 8 8 amappl15 192 6 0 6 1 0 1 1 0 8 1 amappl14 184 533 0 531 1 0 1 1 0 8 0 amappl13 176 165 0 155 1 0 1 1 0 8 0 amappl12 168 1160 0 1133 2 0 2 2 0 8 0 amappl11 160 4 0 4 1 0 1 1 0 8 1 amappl10 152 81 0 71 1 0 1 1 0 8 0 amappl9 144 271 0 271 1 0 1 1 0 8 1 amappl8 136 134 0 132 1 0 1 1 0 8 0 amappl7 128 156 0 145 1 0 1 1 0 8 0 amappl6 120 253 0 249 1 0 1 1 0 8 0 amappl5 112 97 0 89 1 0 1 1 0 8 0 amappl4 104 290 0 273 1 0 1 1 0 8 0 amappl3 96 3634 0 3560 3 0 3 3 0 8 0 amappl2 88 967 0 898 2 0 2 2 0 8 0 amappl1 80 12773 0 12225 13 0 13 13 0 8 1 amappl 88 5752 0 5624 5 0 5 5 0 92 1 uvmvnodes 80 103 0 0 3 0 3 3 0 8 0 dma4096 4096 1 0 1 1 0 1 1 0 8 1 dma1024 1024 1 0 0 1 0 1 1 0 8 0 dma256 256 6 0 6 1 0 1 1 0 8 1 dma128 128 254 0 254 1 0 1 1 0 8 1 dma64 64 6 0 6 1 0 1 1 0 8 1 dma32 32 7 0 7 1 0 1 1 0 8 1 dma16 16 19 0 18 1 0 1 1 0 8 0 aobjpl 72 14 0 0 1 0 1 1 0 8 0 uaddrrnd 24 888 0 858 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 888 0 858 1 0 1 1 0 8 0 vmmpekpl 168 8466 0 8416 3 0 3 3 0 8 0 vmmpepl 168 64449 0 62753 90 0 90 90 0 357 13 vmsppl 368 887 0 858 4 0 4 4 0 8 1 rwobjpl 40 20358 0 19434 13 0 13 13 0 8 0 pdppl 4096 1782 0 1716 106 38 68 80 0 8 2 pvpl 32 401764 0 393770 129 0 129 129 0 265 40 pmappl 216 887 0 858 3 0 3 3 0 8 1 extentpl 40 46 0 28 1 0 1 1 0 8 0 phpool 112 739 0 93 19 0 19 19 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace rtable_clearsource(0,ffff800001655468) at rtable_clearsource+0x15a rtable_get sys/net/rtable.c:260 [inline] rtable_clearsource(0,ffff800001655468) at rtable_clearsource+0x15a rtable_getsource sys/net/rtable.c:410 [inline] rtable_clearsource(0,ffff800001655468) at rtable_clearsource+0x15a sys/net/rtable.c:422 rt_ifa_del(ffff800001655400,800100,ffff800001655468,0) at rt_ifa_del+0x37b sys/net/route.c:1342 in_ioctl_change_ifaddr(8040691a,ffff8000359336e0,ffff8000015ea000) at in_ioctl_change_ifaddr+0x681 in_remove_prefix sys/netinet/in.c:810 [inline] in_ioctl_change_ifaddr(8040691a,ffff8000359336e0,ffff8000015ea000) at in_ioctl_change_ifaddr+0x681 in_ifscrub sys/netinet/in.c:636 [inline] in_ioctl_change_ifaddr(8040691a,ffff8000359336e0,ffff8000015ea000) at in_ioctl_change_ifaddr+0x681 sys/netinet/in.c:505 ifioctl(ffff800001600238,8040691a,ffff8000359336e0,ffff80002a75afa8) at ifioctl+0x16c4 pru_control sys/sys/protosw.h:353 [inline] ifioctl(ffff800001600238,8040691a,ffff8000359336e0,ffff80002a75afa8) at ifioctl+0x16c4 sys/net/if.c:2554 sys_ioctl(ffff80002a75afa8,ffff8000359338b0,ffff800035933800) at sys_ioctl+0x660 sys/kern/sys_generic.c:-1 syscall(ffff8000359338b0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff8000359338b0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:791 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x743c4bec14d0, count: -7 ddb> machine ddbcpu 1 No such command ddb> trace rtable_clearsource(0,ffff800001655468) at rtable_clearsource+0x15a rtable_get sys/net/rtable.c:260 [inline] rtable_clearsource(0,ffff800001655468) at rtable_clearsource+0x15a rtable_getsource sys/net/rtable.c:410 [inline] rtable_clearsource(0,ffff800001655468) at rtable_clearsource+0x15a sys/net/rtable.c:422 rt_ifa_del(ffff800001655400,800100,ffff800001655468,0) at rt_ifa_del+0x37b sys/net/route.c:1342 in_ioctl_change_ifaddr(8040691a,ffff8000359336e0,ffff8000015ea000) at in_ioctl_change_ifaddr+0x681 in_remove_prefix sys/netinet/in.c:810 [inline] in_ioctl_change_ifaddr(8040691a,ffff8000359336e0,ffff8000015ea000) at in_ioctl_change_ifaddr+0x681 in_ifscrub sys/netinet/in.c:636 [inline] in_ioctl_change_ifaddr(8040691a,ffff8000359336e0,ffff8000015ea000) at in_ioctl_change_ifaddr+0x681 sys/netinet/in.c:505 ifioctl(ffff800001600238,8040691a,ffff8000359336e0,ffff80002a75afa8) at ifioctl+0x16c4 pru_control sys/sys/protosw.h:353 [inline] ifioctl(ffff800001600238,8040691a,ffff8000359336e0,ffff80002a75afa8) at ifioctl+0x16c4 sys/net/if.c:2554 sys_ioctl(ffff80002a75afa8,ffff8000359338b0,ffff800035933800) at sys_ioctl+0x660 sys/kern/sys_generic.c:-1 syscall(ffff8000359338b0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff8000359338b0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:791 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x743c4bec14d0, count: -7