uvm_fault(0xfffff5006d1aba20, 0x0, 0, 1) -> e kernel: page fault trap, code=0 Stopped at rtable_exists+0x11d: cmpq $0,0(%rax,%rcx,8) TID PID UID PRFLAGS PFLAGS CPU COMMAND * 55515 81396 0 0 0x4000000 0 syz-executor rtable_exists(0) at rtable_exists+0x11d sys/net/rtable.c:278 rtrequest_delete(ffff8000300aee98,4,ffff8000015ef000,ffff8000300aef48,0) at rtrequest_delete+0xea sys/net/route.c:902 rt_ifa_del(ffff800001613300,800100,ffff800001613368,0) at rt_ifa_del+0x3a1 sys/net/route.c:1342 in_ioctl_change_ifaddr(8040691a,ffff8000300af140,ffff8000015ef000) at in_ioctl_change_ifaddr+0x681 in_remove_prefix sys/netinet/in.c:810 [inline] in_ioctl_change_ifaddr(8040691a,ffff8000300af140,ffff8000015ef000) at in_ioctl_change_ifaddr+0x681 in_ifscrub sys/netinet/in.c:636 [inline] in_ioctl_change_ifaddr(8040691a,ffff8000300af140,ffff8000015ef000) at in_ioctl_change_ifaddr+0x681 sys/netinet/in.c:505 ifioctl(ffff80000162ef50,8040691a,ffff8000300af140,ffff8000300b1240) at ifioctl+0x16c4 pru_control sys/sys/protosw.h:353 [inline] ifioctl(ffff80000162ef50,8040691a,ffff8000300af140,ffff8000300b1240) at ifioctl+0x16c4 sys/net/if.c:2554 sys_ioctl(ffff8000300b1240,ffff8000300af310,ffff8000300af260) at sys_ioctl+0x660 sys/kern/sys_generic.c:-1 syscall(ffff8000300af310) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff8000300af310) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x3dc7d295d90, count: 7 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(0xfffff5006d1aba20, 0x0, 0, 1) -> e ddb> show kasan No such command ddb> trace rtable_exists(0) at rtable_exists+0x11d sys/net/rtable.c:278 rtrequest_delete(ffff8000300aee98,4,ffff8000015ef000,ffff8000300aef48,0) at rtrequest_delete+0xea sys/net/route.c:902 rt_ifa_del(ffff800001613300,800100,ffff800001613368,0) at rt_ifa_del+0x3a1 sys/net/route.c:1342 in_ioctl_change_ifaddr(8040691a,ffff8000300af140,ffff8000015ef000) at in_ioctl_change_ifaddr+0x681 in_remove_prefix sys/netinet/in.c:810 [inline] in_ioctl_change_ifaddr(8040691a,ffff8000300af140,ffff8000015ef000) at in_ioctl_change_ifaddr+0x681 in_ifscrub sys/netinet/in.c:636 [inline] in_ioctl_change_ifaddr(8040691a,ffff8000300af140,ffff8000015ef000) at in_ioctl_change_ifaddr+0x681 sys/netinet/in.c:505 ifioctl(ffff80000162ef50,8040691a,ffff8000300af140,ffff8000300b1240) at ifioctl+0x16c4 pru_control sys/sys/protosw.h:353 [inline] ifioctl(ffff80000162ef50,8040691a,ffff8000300af140,ffff8000300b1240) at ifioctl+0x16c4 sys/net/if.c:2554 sys_ioctl(ffff8000300b1240,ffff8000300af310,ffff8000300af260) at sys_ioctl+0x660 sys/kern/sys_generic.c:-1 syscall(ffff8000300af310) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff8000300af310) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x3dc7d295d90, count: -8 ddb> show registers rdi 0x6a82da38 rsi 0 rbp 0xffff8000300aedd0 rbx 0x1 rdx 0 rcx 0 rax 0 r8 0 r9 0x8080808080808080 r10 0xa3d71afebfafa2f7 r11 0x7f733dd6d6f0774b r12 0xffff800000061a80 r13 0xffff800000c57be0 r14 0 r15 0x6a82da38 rip 0xffffffff82cb231d rtable_exists+0x11d cs 0x8 rflags 0x10202 __ALIGN_SIZE+0xf202 rsp 0xffff8000300aed80 ss 0x10 rtable_exists+0x11d: cmpq $0,0(%rax,%rcx,8) ddb> show proc PROC (syz-executor) tid=55515 pid=81396 tcnt=4 stat=onproc flags process=0 proc=4000000 runpri=32, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff8000300b0a78,0xffff8000300b0fb8 process=0xffff800045ff8918 user=0xffff8000300aa000, vmspace=0xfffff5006d1aba20 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S PRLAGS PFLAGS WAIT COMMAND 58941 44771 36433 0 2 0 0 syz-executor 58941 324621 36433 0 3 0 0x4000080 fsleep syz-executor 86568 389486 53621 0 2 0 0 syz-executor 86568 380464 53621 0 3 0 0x4000080 fsleep syz-executor 86568 153929 53621 0 3 0 0x4000080 fsleep syz-executor 99781 205122 40488 0 2 0 0 syz-executor 99781 111295 40488 0 3 0 0x4000080 bell syz-executor 99781 320583 40488 0 2 0 0x4000000 syz-executor 81396 52675 24083 0 2 0 0 syz-executor *81396 55515 24083 0 7 0 0x4000000 syz-executor 81396 111141 24083 0 3 0 0x4000080 fsleep syz-executor 81396 327486 24083 0 3 0 0x4000080 fsleep syz-executor 6987 313919 69100 0 2 0 0 syz-executor 6987 101347 69100 0 3 0 0x4000080 fsleep syz-executor 98780 126070 31109 0 2 0 0 syz-executor 98780 158992 31109 0 3 0 0x4000080 fsleep syz-executor 98780 456079 31109 0 3 0 0x4000080 fsleep syz-executor 39550 91743 72564 0 2 0 0 syz-executor 39550 491844 72564 0 3 0 0x4000080 fsleep syz-executor 39550 4912 72564 0 2 0 0x4000000 syz-executor 22790 425656 54897 0 2 0 0 syz-executor 22790 476660 54897 0 3 0 0x4000080 ttyin syz-executor 22790 176041 54897 0 3 0 0x4000080 fsleep syz-executor 24083 272348 74859 0 3 0x2 0x80 nanoslp syz-executor 36433 104168 74859 0 3 0x2 0x80 nanoslp syz-executor 40488 486016 74859 0 3 0x2 0x80 nanoslp syz-executor 53621 482728 74859 0 3 0x2 0x80 nanoslp syz-executor 31109 161308 74859 0 3 0x2 0x80 nanoslp syz-executor 69100 171954 74859 0 3 0x2 0x80 nanoslp syz-executor 72564 260490 74859 0 3 0x2 0x80 nanoslp syz-executor 54897 309013 74859 0 3 0x2 0x80 nanoslp syz-executor 74859 104735 9148 0 3 0x2 0x80 kqread syz-executor 9148 372334 33974 0 3 0x100002 0x88 sigsusp ksh 33974 510668 22163 0 3 0x10 0x88 kqread sshd-session 22163 193084 68477 0 3 0x12 0x80 kqread sshd-session 38014 510441 1 0 3 0x100003 0x80 ttyin getty 68477 160216 1 0 3 0 0x88 kqread sshd 35238 296932 38258 73 3 0x1100010 0x80 kqread syslogd 38258 137426 1 0 3 0x100002 0x80 sbwait syslogd 12009 373784 1 0 3 0x100000 0x80 kqread resolvd 43707 377622 34482 77 3 0x100012 0x80 kqread dhcpleased 778 380098 34482 77 3 0x100012 0x80 kqread dhcpleased 34482 133917 1 0 3 0 0x80 kqread dhcpleased 82910 490840 0 0 3 0x14000 0x200 bored smr 73148 215227 0 0 2 0x14000 0x200 zerothread 20969 33440 0 0 3 0x14000 0x200 aiodoned aiodoned 92796 370136 0 0 3 0x14000 0x200 syncer update 52575 481994 0 0 3 0x14000 0x200 cleaner cleaner 90909 81048 0 0 3 0x14000 0x200 reaper reaper 80857 350851 0 0 3 0x14000 0x200 pgdaemon pagedaemon 75790 425219 0 0 3 0x14000 0x200 bored viomb 44284 315393 0 0 3 0x14000 0x40000200 acpi0 acpi0 59305 29124 0 0 3 0x14000 0x200 bored softnet0 43078 84031 0 0 3 0x14000 0x200 bored systqmp 137 320882 0 0 3 0x14000 0x200 bored systq 63517 85208 0 0 3 0x14000 0x40000200 tmoslp softclock 72801 474057 0 0 3 0x14000 0x40000200 idle0 1 416236 0 0 3 0x2 0x80 wait init 0 0 -1 0 3 0x10010000 0x200 scheduler swapper ddb> show all locks No such command ddb> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 11040 12232K 12301K 166960K 12381 0 pcb 17 14K 15K 166960K 73 0 rtable 193 6K 6K 166960K 412 0 pf 30 13K 15K 166960K 67 0 ifaddr 36 6K 7K 166960K 66 0 ifgroup 46 2K 2K 166960K 92 0 sysctl 1 1K 9K 166960K 5 0 counters 32 17K 18K 166960K 53 0 ioctlops 0 0K 4K 166960K 79 0 iov 1 4K 16K 166960K 18 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1297 82K 82K 166960K 1569 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 4 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 17 0 dirhash 12 2K 2K 166960K 15 0 ACPI 1734 201K 291K 166960K 11964 0 file desc 18 65K 97K 166960K 349 0 sigio 0 0K 0K 166960K 9 0 proc 62 67K 124K 166960K 526 0 subproc 72 4K 4K 166960K 75 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 78 5K 6K 166960K 115 0 ether_multi 1 0K 0K 166960K 1 0 mrt 1 0K 0K 166960K 18 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 79 360K 360K 166960K 79 0 exec 0 0K 1K 166960K 426 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 235 151K 165K 166960K 4963 0 UVM aobj 6 2K 2K 166960K 6 0 pinsyscall 39 78K 96K 166960K 1459 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 1 0K 0K 166960K 11 0 NDP 10 0K 1K 166960K 40 0 temp 39 9111K 9175K 166960K 22777 0 kqueue 13 20K 29K 166960K 85 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 52 0 49 1 0 1 1 0 8 0 rtentry 136 125 0 42 4 0 4 4 0 8 0 unpcb 144 144 0 129 1 0 1 1 0 8 0 syncache 336 5 0 5 2 1 1 1 0 8 1 tcpcb 736 126 0 121 4 0 4 4 0 8 3 arp 96 19 0 3 1 0 1 1 0 8 0 ipq 40 3 0 0 1 0 1 1 0 8 0 ipqe 40 3 0 0 1 0 1 1 0 8 0 inpcb 328 415 0 401 10 1 9 9 0 8 7 nd6 112 27 0 7 1 0 1 1 0 8 0 pkpcb 40 4 0 4 1 0 1 1 0 8 1 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1072 14 0 14 1 0 1 1 0 8 1 pppxif 1416 5 0 5 1 0 1 1 0 8 1 pfstscr 40 4 0 4 1 0 1 1 0 8 1 pfrktable 1344 1 0 1 1 0 1 1 0 8 1 pfstkey 128 4 0 4 1 0 1 1 0 8 1 pfstate 384 2 0 2 1 0 1 1 0 8 1 pfrule 1360 3 0 3 1 0 1 1 0 8 1 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 542 0 172 27 0 27 27 0 8 1 art_table 40 543 0 172 5 0 5 5 0 8 0 art_node 32 124 0 50 1 0 1 1 0 8 0 sysvmsgpl 40 3 0 3 1 0 1 1 0 8 1 semapl 72 14 0 4 1 0 1 1 0 8 0 shmpl 112 3 0 0 1 0 1 1 0 8 0 dirhash 1024 19 0 2 3 0 3 3 0 8 0 dino2pl 256 2009 0 556 92 0 92 92 0 8 0 ffsino 256 2009 0 556 92 0 92 92 0 8 0 nchpl 144 2525 0 833 64 0 64 64 0 8 0 rtmask 32 2 0 2 1 0 1 1 0 8 1 vnodes 216 2185 0 0 122 0 122 122 0 8 0 namei 1024 7771 0 7771 4 2 2 2 0 8 2 kstatmem 264 49 0 28 2 0 2 2 0 8 0 scxspl 216 10928 0 10928 10 2 8 8 1 8 8 plimitpl 152 69 0 52 1 0 1 1 0 8 0 sigapl 424 648 0 605 6 1 5 6 0 8 0 knotepl 120 11535 0 11488 9 0 9 9 0 8 6 kqueuepl 184 124 0 115 3 0 3 3 0 8 2 pipepl 304 166 0 139 5 0 5 5 0 8 2 fdescpl 448 634 0 604 5 1 4 5 0 8 0 filepl 120 3249 0 3030 12 0 12 12 0 8 3 lockfpl 104 54 0 52 1 0 1 1 0 8 0 lockfspl 48 28 0 26 1 0 1 1 0 8 0 sessionpl 144 68 0 60 1 0 1 1 0 8 0 pgrppl 48 77 0 61 1 0 1 1 0 8 0 ucredpl 104 497 0 486 1 0 1 1 0 8 0 zombiepl 144 777 0 777 2 1 1 1 0 8 1 processpl 1152 648 0 605 4 0 4 4 0 8 0 procpl 664 1061 0 1003 6 0 6 6 0 8 1 sockpl 552 621 0 589 9 0 9 9 0 8 6 mcl64k 65536 18 0 18 1 0 1 1 0 8 1 mcl16k 16384 3 0 3 1 0 1 1 0 8 1 mcl12k 12288 2 0 2 1 0 1 1 0 8 1 mcl9k128 9344 2 0 2 1 0 1 1 0 8 1 mcl8k 8192 9 0 9 2 1 1 1 0 8 1 mcl4k 4096 2819 0 2764 16 7 9 15 0 8 1 mcl2k 2048 333 0 332 4 1 3 3 0 8 2 mextrefs 64 186 0 186 2 1 1 1 0 8 1 mtagpl 96 6 0 6 2 1 1 1 0 8 1 mbufpl 256 6866 0 6696 13 0 13 13 0 8 1 bufpl 272 4089 0 102 266 0 266 266 0 8 0 anonpl 24 109532 0 106230 65 0 65 65 0 187 29 amapchunkpl 152 14943 0 14425 31 0 31 31 0 158 11 amappl16 200 1877 0 1849 30 16 14 26 0 8 8 amappl15 192 96 0 96 1 1 0 1 0 8 0 amappl14 184 409 0 408 1 0 1 1 0 8 0 amappl13 176 117 0 107 1 0 1 1 0 8 0 amappl12 168 902 0 873 2 0 2 2 0 8 0 amappl11 160 2 0 2 1 1 0 1 0 8 0 amappl10 152 76 0 66 1 0 1 1 0 8 0 amappl9 144 297 0 296 1 0 1 1 0 8 0 amappl8 136 93 0 92 1 0 1 1 0 8 0 amappl7 128 168 0 157 1 0 1 1 0 8 0 amappl6 120 147 0 145 1 0 1 1 0 8 0 amappl5 112 91 0 83 1 0 1 1 0 8 0 amappl4 104 265 0 246 1 0 1 1 0 8 0 amappl3 96 2630 0 2530 3 0 3 3 0 8 0 amappl2 88 770 0 697 2 0 2 2 0 8 0 amappl1 80 10913 0 10365 13 0 13 13 0 8 1 amappl 88 4230 0 4058 5 0 5 5 0 92 0 uvmvnodes 80 103 0 0 3 0 3 3 0 8 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 254 0 254 2 1 1 1 0 8 1 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 5 0 0 1 0 1 1 0 8 0 uaddrrnd 24 634 0 604 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 634 0 604 1 0 1 1 0 8 0 vmmpekpl 168 7238 0 7208 2 0 2 2 0 8 0 vmmpepl 168 48724 0 46887 100 0 100 100 0 357 20 vmsppl 368 633 0 604 4 1 3 4 0 8 0 rwobjpl 40 16550 0 15584 16 1 15 15 0 8 2 pdppl 4096 1274 0 1208 100 34 66 82 0 8 0 pvpl 32 294141 0 285079 146 0 146 146 0 265 53 pmappl 216 633 0 604 3 0 3 3 0 8 0 extentpl 40 46 0 28 1 0 1 1 0 8 0 phpool 112 641 0 50 17 0 17 17 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace rtable_exists(0) at rtable_exists+0x11d sys/net/rtable.c:278 rtrequest_delete(ffff8000300aee98,4,ffff8000015ef000,ffff8000300aef48,0) at rtrequest_delete+0xea sys/net/route.c:902 rt_ifa_del(ffff800001613300,800100,ffff800001613368,0) at rt_ifa_del+0x3a1 sys/net/route.c:1342 in_ioctl_change_ifaddr(8040691a,ffff8000300af140,ffff8000015ef000) at in_ioctl_change_ifaddr+0x681 in_remove_prefix sys/netinet/in.c:810 [inline] in_ioctl_change_ifaddr(8040691a,ffff8000300af140,ffff8000015ef000) at in_ioctl_change_ifaddr+0x681 in_ifscrub sys/netinet/in.c:636 [inline] in_ioctl_change_ifaddr(8040691a,ffff8000300af140,ffff8000015ef000) at in_ioctl_change_ifaddr+0x681 sys/netinet/in.c:505 ifioctl(ffff80000162ef50,8040691a,ffff8000300af140,ffff8000300b1240) at ifioctl+0x16c4 pru_control sys/sys/protosw.h:353 [inline] ifioctl(ffff80000162ef50,8040691a,ffff8000300af140,ffff8000300b1240) at ifioctl+0x16c4 sys/net/if.c:2554 sys_ioctl(ffff8000300b1240,ffff8000300af310,ffff8000300af260) at sys_ioctl+0x660 sys/kern/sys_generic.c:-1 syscall(ffff8000300af310) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff8000300af310) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x3dc7d295d90, count: -8 ddb> machine ddbcpu 1 No such command ddb> trace rtable_exists(0) at rtable_exists+0x11d sys/net/rtable.c:278 rtrequest_delete(ffff8000300aee98,4,ffff8000015ef000,ffff8000300aef48,0) at rtrequest_delete+0xea sys/net/route.c:902 rt_ifa_del(ffff800001613300,800100,ffff800001613368,0) at rt_ifa_del+0x3a1 sys/net/route.c:1342 in_ioctl_change_ifaddr(8040691a,ffff8000300af140,ffff8000015ef000) at in_ioctl_change_ifaddr+0x681 in_remove_prefix sys/netinet/in.c:810 [inline] in_ioctl_change_ifaddr(8040691a,ffff8000300af140,ffff8000015ef000) at in_ioctl_change_ifaddr+0x681 in_ifscrub sys/netinet/in.c:636 [inline] in_ioctl_change_ifaddr(8040691a,ffff8000300af140,ffff8000015ef000) at in_ioctl_change_ifaddr+0x681 sys/netinet/in.c:505 ifioctl(ffff80000162ef50,8040691a,ffff8000300af140,ffff8000300b1240) at ifioctl+0x16c4 pru_control sys/sys/protosw.h:353 [inline] ifioctl(ffff80000162ef50,8040691a,ffff8000300af140,ffff8000300b1240) at ifioctl+0x16c4 sys/net/if.c:2554 sys_ioctl(ffff8000300b1240,ffff8000300af310,ffff8000300af260) at sys_ioctl+0x660 sys/kern/sys_generic.c:-1 syscall(ffff8000300af310) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff8000300af310) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x3dc7d295d90, count: -8