panic: kernel diagnostic assertion "map->limit == rtmap_limit" failed: file "/syzkaller/managers/multicore/kernel/sys/net/rtable.c", line 132 Stopped at db_enter+0x25: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 270135 28476 0 0 0 0 syz-executor *136502 28476 0 0 0x4000000 1K syz-executor db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff8336fbc1) at panic+0x1e5 sys/kern/subr_prf.c:198 __assert(ffffffff833af890,ffffffff833ad1c4,84,ffffffff8340817e) at __assert+0x29 sys/kern/subr_prf.c:-1 rtmap_grow(21,21) at rtmap_grow+0x24f rtable_add(20) at rtable_add+0x2d9 rtable_alloc sys/net/rtable.c:370 [inline] rtable_add(20) at rtable_add+0x2d9 sys/net/rtable.c:223 if_createrdomain(20,ffff80000146e000) at if_createrdomain+0x40 sys/net/if.c:1952 ifioctl(ffff8000015fb2f0,8020699f,ffff8000368318d0,ffff800035c27250) at ifioctl+0x1c66 sys/net/if.c:2301 sys_ioctl(ffff800035c27250,ffff800036831ab0,ffff800036831a00) at sys_ioctl+0x674 sys/kern/sys_generic.c:-1 syscall(ffff800036831ab0) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff800036831ab0) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x3520dcfeea0, count: 5 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 *cpu1: kernel diagnostic assertion "map->limit == rtmap_limit" failed: file "/syzkaller/managers/multicore/kernel/sys/net/rtable.c", line 132 ddb{1}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff8336fbc1) at panic+0x1e5 sys/kern/subr_prf.c:198 __assert(ffffffff833af890,ffffffff833ad1c4,84,ffffffff8340817e) at __assert+0x29 sys/kern/subr_prf.c:-1 rtmap_grow(21,21) at rtmap_grow+0x24f rtable_add(20) at rtable_add+0x2d9 rtable_alloc sys/net/rtable.c:370 [inline] rtable_add(20) at rtable_add+0x2d9 sys/net/rtable.c:223 if_createrdomain(20,ffff80000146e000) at if_createrdomain+0x40 sys/net/if.c:1952 ifioctl(ffff8000015fb2f0,8020699f,ffff8000368318d0,ffff800035c27250) at ifioctl+0x1c66 sys/net/if.c:2301 sys_ioctl(ffff800035c27250,ffff800036831ab0,ffff800036831a00) at sys_ioctl+0x674 sys/kern/sys_generic.c:-1 syscall(ffff800036831ab0) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff800036831ab0) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x3520dcfeea0, count: -10 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff8000368315e0 rbx 0xffff8000299eeddf rdx 0 rcx 0xffff800035c27250 rax 0xffff8000299edff0 r8 0x101010101010101 r9 0x8080808080808080 r10 0xe271f13707006aee r11 0x6b48c06997ada324 r12 0xffff8000299eebe0 r13 0 r14 0 r15 0x1 rip 0xffffffff811a29e5 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff8000368315d0 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor) tid=136502 pid=28476 tcnt=3 stat=onproc flags process=0 proc=4000000 runpri=50, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff800035c274e8,0xffff800035c26a98 process=0xffff800035c2b510 user=0xffff80003682c000, vmspace=0xfffffd8075ee9030 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 4486 122551 10007 0 2 0 syz-executor 4486 219855 10007 0 2 0x4000000 syz-executor 98458 9052 11824 0 2 0 syz-executor 98458 501297 11824 0 3 0x4000080 fsleep syz-executor 28476 270135 72488 0 7 0 syz-executor 28476 197863 72488 0 2 0x4000000 syz-executor *28476 136502 72488 0 7 0x4000000 syz-executor 2396 128594 70251 0 2 0 syz-executor 2396 50746 70251 0 3 0x4000080 fsleep syz-executor 99361 464949 58176 0 2 0 syz-executor 99361 77090 58176 0 3 0x4000080 fsleep syz-executor 88470 427169 59645 0 2 0 syz-executor 88470 521982 59645 0 2 0x4000001 syz-executor 27899 179917 10020 0 2 0 syz-executor 27899 363437 10020 0 3 0x4000080 pipewr syz-executor 99780 20865 26353 0 2 0x1 syz-executor 99780 39650 26353 0 3 0x4000080 fsleep syz-executor 99780 421497 26353 0 3 0x4000080 fsleep syz-executor 10007 227751 13238 0 3 0x82 nanoslp syz-executor 25789 452492 0 0 3 0x14200 bored sosplice 59645 300591 13238 0 3 0x82 nanoslp syz-executor 72488 179564 13238 0 3 0x82 nanoslp syz-executor 70251 410656 13238 0 3 0x82 nanoslp syz-executor 11824 56379 13238 0 3 0x82 nanoslp syz-executor 10020 428095 13238 0 3 0x82 nanoslp syz-executor 26353 15086 13238 0 3 0x82 nanoslp syz-executor 58176 317610 13238 0 3 0x82 nanoslp syz-executor 13238 448798 30349 0 3 0x82 kqread syz-executor 30349 372358 7446 0 3 0x10008a sigsusp ksh 7446 212826 30148 0 3 0x98 kqread sshd-session 30148 126079 5259 0 3 0x92 kqread sshd-session 81273 193328 1 0 3 0x100083 ttyin getty 5259 121063 1 0 3 0x88 kqread sshd 55935 150753 15268 74 3 0x1100092 bpf pflogd 15268 32947 1 0 3 0x80 sbwait pflogd 67278 500592 85343 73 3 0x1100090 kqread syslogd 85343 481157 1 0 3 0x100082 sbwait syslogd 69680 494072 1 0 3 0x100080 kqread resolvd 19825 222956 44059 77 3 0x100092 kqread dhcpleased 3346 179640 44059 77 3 0x100092 kqread dhcpleased 44059 7505 1 0 3 0x80 kqread dhcpleased 40117 54451 0 0 3 0x14200 bored smr 9861 190759 0 0 2 0x14200 zerothread 11815 88898 0 0 3 0x14200 aiodoned aiodoned 60005 451570 0 0 3 0x14200 syncer update 37067 471088 0 0 3 0x14200 cleaner cleaner 60055 104892 0 0 3 0x14200 reaper reaper 72774 103574 0 0 3 0x14200 pgdaemon pagedaemon 17708 119864 0 0 3 0x14200 bored viomb 57814 244086 0 0 3 0x40014200 acpi0 acpi0 94864 15799 0 0 3 0x40014200 idle1 68420 497164 0 0 3 0x14200 bored softnet7 29639 99472 0 0 3 0x14200 bored softnet6 84047 295105 0 0 3 0x14200 bored softnet5 25610 190016 0 0 3 0x14200 bored softnet4 3068 246972 0 0 3 0x14200 bored softnet3 22670 429257 0 0 3 0x14200 bored softnet2 69398 338959 0 0 3 0x14200 bored softnet1 80676 303774 0 0 3 0x14200 bored softnet0 85644 281824 0 0 3 0x14200 bored systqmp 5732 269516 0 0 3 0x14200 bored systq 52678 243960 0 0 3 0x14200 tmoslp softclockmp 34945 370370 0 0 3 0x40014200 tmoslp softclock 33526 467431 0 0 3 0x40014200 idle0 1 171395 0 0 3 0x82 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb{1}> show all locks Process 4486 (syz-executor) thread 0xffff800035c27cb0 (219855) exclusive rwlock vmmaplk r = 0 (0xfffffd8075ee9500) #0 witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5f1 sys/kern/subr_witness.c:1160 #1 rw_do_enter_write+0x419 sys/kern/kern_rwlock.c:320 #2 vm_map_lock_ln+0x12e sys/uvm/uvm_map.c:5168 #3 uvmfault_lookup+0xe8 sys/uvm/uvm_fault.c:1918 #4 uvm_fault_check+0x895 uvmfault_amapcopy sys/uvm/uvm_fault.c:235 [inline] #4 uvm_fault_check+0x895 sys/uvm/uvm_fault.c:784 #5 uvm_fault+0x106 sys/uvm/uvm_fault.c:677 #6 upageflttrap+0xa9 sys/arch/amd64/amd64/trap.c:192 #7 usertrap+0x3c6 sys/arch/amd64/amd64/trap.c:605 #8 recall_trap+0x8 Process 28476 (syz-executor) thread 0xffff800035c27250 (136502) exclusive kernel_lock &kernel_lock r = 1 (0xffffffff83959e10) #0 witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5f1 sys/kern/subr_witness.c:1160 #1 __mp_acquire_count+0x58 sys/kern/kern_lock.c:-1 #2 malloc+0xe3 sys/kern/kern_malloc.c:174 #3 rtmap_grow+0xb2 sys/net/rtable.c:127 #4 rtable_add+0x2d9 rtable_alloc sys/net/rtable.c:370 [inline] #4 rtable_add+0x2d9 sys/net/rtable.c:223 #5 if_createrdomain+0x40 sys/net/if.c:1952 #6 ifioctl+0x1c66 sys/net/if.c:2301 #7 sys_ioctl+0x674 sys/kern/sys_generic.c:-1 #8 syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] #8 syscall+0xbd4 sys/arch/amd64/amd64/trap.c:748 #9 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10261 11215K 11454K 166960K 12889 0 pcb 17 15K 17K 166960K 287 0 rtable 182 10K 10K 166960K 450 0 pf 34 17K 67486K 166960K 163 0 ifaddr 34 5K 7K 166960K 90 0 ifgroup 51 2K 2K 166960K 144 0 sysctl 4 1K 9K 166960K 41 0 counters 66 36K 37K 166960K 156 0 ioctlops 0 0K 4K 166960K 1743 0 iov 0 0K 18K 166960K 100 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1423 90K 90K 166960K 2466 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 15 0 VM map 2 1K 1K 166960K 2 0 sem 25 5K 5K 166960K 115 0 dirhash 12 2K 2K 166960K 33 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 236K 166960K 1259 0 sigio 0 0K 0K 166960K 93 0 proc 75 131K 180K 166960K 680 0 subproc 72 4K 4K 166960K 81 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 171 0 in_multi 69 4K 7K 166960K 151 0 ether_multi 1 0K 0K 166960K 12 0 mrt 1 0K 0K 166960K 6 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 247 1102K 1102K 166960K 247 0 exec 0 0K 1K 166960K 613 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 5 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 242 168K 189K 166960K 13325 0 UVM aobj 14 2K 2K 166960K 15 0 pinsyscall 43 86K 102K 166960K 2365 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 81 0 NDP 11 0K 1K 166960K 64 0 temp 72 8649K 8774K 166960K 72287 0 kqueue 16 24K 30K 166960K 239 0 SYN cache 2 16K 16K 166960K 2 0 ddb{1}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle plcache 128 26 0 0 1 0 1 1 0 8 0 rtpcb 120 240 0 237 5 2 3 3 0 8 2 rtentry 176 128 0 64 5 0 5 5 0 8 0 unpcb 144 968 0 948 7 5 2 4 0 8 1 syncache 336 7 0 7 3 2 1 1 0 8 1 tcpqe 32 2 0 2 2 1 1 1 0 8 1 tcpcb 736 384 0 378 11 4 7 7 0 8 6 arp 128 13 0 6 1 0 1 1 0 8 0 inpcb 328 1540 0 1529 28 18 10 13 0 8 8 nd6 144 21 0 9 1 0 1 1 0 8 0 pkpcb 40 11 0 11 3 2 1 1 0 8 1 kcovpl 48 9 0 1 1 0 1 1 0 8 0 ppxss 1192 36 0 36 4 3 1 1 0 8 1 pfstscr 40 2 0 2 2 2 0 1 0 8 0 pffrag 232 7 0 1 1 0 1 1 0 482 0 pffrnode 88 7 0 1 1 0 1 1 0 8 0 pffrent 40 11 0 5 1 0 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 pfrktable 1344 13 0 13 3 3 0 1 0 8 0 pfanchor 1288 5 0 2 1 0 1 1 0 8 0 pfstitem 24 97 0 32 1 0 1 1 0 8 0 pfstkey 128 101 0 36 3 0 3 3 0 8 0 pfstate 384 98 0 34 8 0 8 8 0 8 0 pfrule 1344 27 0 22 2 1 1 2 0 8 0 rttmr 136 1 0 1 1 1 0 1 0 8 0 art_heap8 4096 3 0 0 3 0 3 3 0 8 0 art_heap4 256 599 0 284 31 9 22 28 0 8 0 art_table 40 602 0 284 5 0 5 5 0 8 0 art_node 32 127 0 71 1 0 1 1 0 8 0 sysvmsgpl 40 19 0 14 2 1 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 107 0 84 1 0 1 1 0 8 0 shmpl 112 12 0 1 1 0 1 1 0 8 0 dirhash 1024 31 0 14 3 0 3 3 0 8 0 dino2pl 256 3693 0 2192 95 0 95 95 0 8 0 ffsino 296 3693 0 2192 117 0 117 117 0 8 0 nchpl 144 5499 0 3809 64 0 64 64 0 8 0 rtmask 32 6 0 6 3 2 1 1 0 8 1 uvmvnodes 80 4456 0 0 91 0 91 91 0 8 0 vnodes 216 4456 0 0 248 0 248 248 0 8 0 namei 1024 20283 0 20283 3 2 1 2 0 8 1 percpumem 16 93 0 45 1 0 1 1 0 8 0 pfiaddrpl 120 4 0 4 2 2 0 1 0 8 0 kstatmem 264 96 0 70 3 1 2 3 0 8 0 scsiplug 72 6 0 6 3 2 1 1 0 8 1 scxspl 216 28335 0 28335 11 9 2 8 1 8 2 plimitpl 152 445 0 427 1 0 1 1 0 8 0 sigapl 424 1551 0 1496 7 0 7 7 0 8 0 knotepl 120 777 0 0 23 0 23 23 0 8 0 kqueuepl 224 556 0 544 10 8 2 5 0 8 0 pipepl 344 238 0 210 6 3 3 6 0 8 0 fdescpl 528 1527 0 1495 3 0 3 3 0 8 0 filepl 160 10773 0 10536 26 10 16 17 0 8 5 lockfpl 104 766 0 760 1 0 1 1 0 8 0 lockfspl 48 304 0 298 1 0 1 1 0 8 0 sessionpl 144 25 0 16 1 0 1 1 0 8 0 pgrppl 48 112 0 95 1 0 1 1 0 8 0 ucredpl 104 1586 0 1572 1 0 1 1 0 8 0 zombiepl 144 2234 0 2234 1 0 1 1 0 8 1 processpl 1232 1551 0 1496 5 0 5 5 0 8 0 procpl 664 3640 0 3575 7 0 7 7 0 8 0 sosppl 168 7 0 7 3 2 1 1 0 8 1 sockpl 752 2790 0 2756 44 30 14 18 0 8 8 mcl64k 65536 4 0 0 1 0 1 1 0 8 0 mcl16k 16384 4 0 0 1 0 1 1 0 8 0 mcl12k 12288 1 0 0 1 0 1 1 0 8 0 mcl9k 9216 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 4 0 0 1 0 1 1 0 8 0 mcl4k 4096 117 0 0 15 0 15 15 0 8 0 mcl2k 2048 69 0 0 9 0 9 9 0 8 0 mtagpl 96 10 0 0 1 0 1 1 0 8 0 mbufpl 256 1189 0 0 74 0 74 74 0 8 0 bufpl 280 12048 0 5905 440 0 440 440 0 8 0 anonpl 32 11581 0 0 94 0 94 94 0 246 0 amapchunkpl 152 45557 0 45049 40 14 26 30 0 158 5 amappl16 200 4813 0 4774 46 33 13 27 0 8 8 amappl15 192 40 0 40 3 2 1 1 0 8 1 amappl14 184 116 0 104 1 0 1 1 0 8 0 amappl13 176 9 0 9 1 1 0 1 0 8 0 amappl12 168 2181 0 2149 3 1 2 2 0 8 0 amappl11 160 49 0 35 1 0 1 1 0 8 0 amappl10 152 7 0 7 1 1 0 1 0 8 0 amappl9 144 295 0 294 1 0 1 1 0 8 0 amappl8 136 31 0 28 1 0 1 1 0 8 0 amappl7 128 183 0 171 1 0 1 1 0 8 0 amappl6 120 192 0 188 1 0 1 1 0 8 0 amappl5 112 133 0 123 1 0 1 1 0 8 0 amappl4 104 324 0 304 1 0 1 1 0 8 0 amappl3 96 9029 0 8911 4 0 4 4 0 8 0 amappl2 88 673 0 610 2 0 2 2 0 8 0 amappl1 80 13475 0 12863 18 3 15 17 0 8 0 amappl 88 12447 0 12278 6 1 5 5 0 92 0 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma1024 1024 2 0 1 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 2 0 1 0 8 0 dma64 64 7 0 7 2 2 0 1 0 8 0 dma32 32 8 0 8 2 2 0 1 0 8 0 dma16 16 18 0 17 1 0 1 1 0 8 0 aobjpl 72 14 0 1 1 0 1 1 0 8 0 uaddrrnd 24 1527 0 1495 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1527 0 1495 1 0 1 1 0 8 0 vmmpekpl 168 14257 0 14217 3 0 3 3 0 8 0 vmmpepl 168 101542 0 99486 126 14 112 112 0 357 16 vmsppl 488 1526 0 1495 7 2 5 5 0 8 0 rwobjpl 80 32582 0 27159 112 0 112 112 0 8 0 pdppl 4096 3062 0 2990 114 40 74 86 0 8 2 pvpl 32 17763 0 0 143 0 143 143 0 265 0 pmappl 256 1526 0 1495 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 370 0 59 9 0 9 9 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff83810ff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:394 x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 __mp_lock(ffffffff83959c08) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff83959c08) at __mp_lock+0x192 sys/kern/kern_lock.c:165 softintr_dispatch(0) at softintr_dispatch+0x125 sys/kern/kern_softintr.c:83 dosoftint(0) at dosoftint+0x54 sys/arch/amd64/amd64/intr.c:847 Xsoftclock() at Xsoftclock+0x27 end of kernel end trace frame: 0x7186fc7c36d0, count: 8 ddb{0}> trace x86_ipi_db(ffffffff83810ff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:394 x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 __mp_lock(ffffffff83959c08) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff83959c08) at __mp_lock+0x192 sys/kern/kern_lock.c:165 softintr_dispatch(0) at softintr_dispatch+0x125 sys/kern/kern_softintr.c:83 dosoftint(0) at dosoftint+0x54 sys/arch/amd64/amd64/intr.c:847 Xsoftclock() at Xsoftclock+0x27 end of kernel end trace frame: 0x7186fc7c36d0, count: -7 ddb{0}> machine ddbcpu 1 Stopped at db_enter+0x25: addq $0x8,%rsp db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff8336fbc1) at panic+0x1e5 sys/kern/subr_prf.c:198 __assert(ffffffff833af890,ffffffff833ad1c4,84,ffffffff8340817e) at __assert+0x29 sys/kern/subr_prf.c:-1 rtmap_grow(21,21) at rtmap_grow+0x24f rtable_add(20) at rtable_add+0x2d9 rtable_alloc sys/net/rtable.c:370 [inline] rtable_add(20) at rtable_add+0x2d9 sys/net/rtable.c:223 if_createrdomain(20,ffff80000146e000) at if_createrdomain+0x40 sys/net/if.c:1952 ifioctl(ffff8000015fb2f0,8020699f,ffff8000368318d0,ffff800035c27250) at ifioctl+0x1c66 sys/net/if.c:2301 sys_ioctl(ffff800035c27250,ffff800036831ab0,ffff800036831a00) at sys_ioctl+0x674 sys/kern/sys_generic.c:-1 syscall(ffff800036831ab0) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff800036831ab0) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x3520dcfeea0, count: 5 ddb{1}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff8336fbc1) at panic+0x1e5 sys/kern/subr_prf.c:198 __assert(ffffffff833af890,ffffffff833ad1c4,84,ffffffff8340817e) at __assert+0x29 sys/kern/subr_prf.c:-1 rtmap_grow(21,21) at rtmap_grow+0x24f rtable_add(20) at rtable_add+0x2d9 rtable_alloc sys/net/rtable.c:370 [inline] rtable_add(20) at rtable_add+0x2d9 sys/net/rtable.c:223 if_createrdomain(20,ffff80000146e000) at if_createrdomain+0x40 sys/net/if.c:1952 ifioctl(ffff8000015fb2f0,8020699f,ffff8000368318d0,ffff800035c27250) at ifioctl+0x1c66 sys/net/if.c:2301 sys_ioctl(ffff800035c27250,ffff800036831ab0,ffff800036831a00) at sys_ioctl+0x674 sys/kern/sys_generic.c:-1 syscall(ffff800036831ab0) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff800036831ab0) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x3520dcfeea0, count: -10