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 * 75971 91988 0 0 0x4000000 1K syz-executor db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff8336c0d8) at panic+0x1e5 sys/kern/subr_prf.c:198 __assert(ffffffff833af75e,ffffffff833ac167,84,ffffffff834070bd) at __assert+0x29 sys/kern/subr_prf.c:-1 rtmap_grow(17,21) at rtmap_grow+0x24f rtable_add(16) at rtable_add+0x2d9 rtable_alloc sys/net/rtable.c:370 [inline] rtable_add(16) at rtable_add+0x2d9 sys/net/rtable.c:223 if_createrdomain(16,ffff800001471000) at if_createrdomain+0x40 sys/net/if.c:1952 ifioctl(ffff80000163f598,8020699f,ffff80003bc21840,ffff80003c508568) at ifioctl+0x1c66 sys/net/if.c:2301 sys_ioctl(ffff80003c508568,ffff80003bc21a20,ffff80003bc21970) at sys_ioctl+0x674 sys/kern/sys_generic.c:-1 syscall(ffff80003bc21a20) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003bc21a20) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xb47118fdb80, 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(ffffffff8336c0d8) at panic+0x1e5 sys/kern/subr_prf.c:198 __assert(ffffffff833af75e,ffffffff833ac167,84,ffffffff834070bd) at __assert+0x29 sys/kern/subr_prf.c:-1 rtmap_grow(17,21) at rtmap_grow+0x24f rtable_add(16) at rtable_add+0x2d9 rtable_alloc sys/net/rtable.c:370 [inline] rtable_add(16) at rtable_add+0x2d9 sys/net/rtable.c:223 if_createrdomain(16,ffff800001471000) at if_createrdomain+0x40 sys/net/if.c:1952 ifioctl(ffff80000163f598,8020699f,ffff80003bc21840,ffff80003c508568) at ifioctl+0x1c66 sys/net/if.c:2301 sys_ioctl(ffff80003c508568,ffff80003bc21a20,ffff80003bc21970) at sys_ioctl+0x674 sys/kern/sys_generic.c:-1 syscall(ffff80003bc21a20) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003bc21a20) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xb47118fdb80, count: -10 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff80003bc21550 rbx 0xffff8000299eeddf rdx 0 rcx 0xffff80003c508568 rax 0xffff8000299edff0 r8 0x101010101010101 r9 0x8080808080808080 r10 0xd97e10400490b119 r11 0x1f40eeba81d60d06 r12 0xffff8000299eebe0 r13 0 r14 0 r15 0x1 rip 0xffffffff8314ee75 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff80003bc21540 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor) tid=75971 pid=91988 tcnt=4 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=0xffff800034408a80,0xffff80003c508fd8 process=0xffff80002a2bd890 user=0xffff80003bc1c000, vmspace=0xfffffd805d1b87d0 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 91988 424823 90423 0 3 0x80 fsleep syz-executor 91988 438345 90423 0 2 0x4000000 syz-executor *91988 75971 90423 0 7 0x4000000 syz-executor 91988 459500 90423 0 3 0x4000080 fsleep syz-executor 14346 167222 75545 0 2 0x80 syz-executor 14346 260382 75545 0 3 0x4000080 fsleep syz-executor 80266 202222 75618 0 2 0 syz-executor 80266 59835 75618 0 3 0x4000080 fsleep syz-executor 33629 337869 87241 0 3 0x80 fsleep syz-executor 33629 24317 87241 0 3 0x4000080 kqsel syz-executor 53716 147767 41355 -1 3 0x90 fsleep syz-executor 53716 66230 41355 -1 3 0x4000090 kqsel syz-executor 76974 8553 1 0 3 0x100083 ttyopn getty 75618 330034 69064 0 2 0x3 syz-executor 2608 321004 0 0 3 0x14200 bored sosplice 75545 419732 69064 0 3 0x82 nanoslp syz-executor 87241 140884 69064 0 2 0x3 syz-executor 44923 243163 69064 0 3 0x82 wait syz-executor 48941 393520 69064 0 3 0x82 nanoslp syz-executor 41355 153455 69064 0 3 0x82 nanoslp syz-executor 8392 137744 69064 0 3 0x82 wait syz-executor 90423 267172 69064 0 3 0x82 nanoslp syz-executor 69064 386171 3228 0 3 0x82 kqread syz-executor 3228 449152 33151 0 3 0x10008a sigsusp ksh 33151 346893 5432 0 3 0x98 kqread sshd-session 5432 78316 25486 0 3 0x92 kqread sshd-session 25486 106288 1 0 3 0x88 kqread sshd 81717 350264 32786 74 3 0x1100092 bpf pflogd 32786 47698 1 0 3 0x80 sbwait pflogd 20707 287960 26247 73 2 0x1100011 syslogd 26247 211800 1 0 3 0x100082 sbwait syslogd 42879 418994 1 0 3 0x100080 kqread resolvd 8793 503336 7016 77 3 0x100092 kqread dhcpleased 94655 237285 7016 77 3 0x100092 kqread dhcpleased 7016 87259 1 0 3 0x80 kqread dhcpleased 66253 334868 0 0 3 0x14200 bored smr 20944 478900 0 0 2 0x14200 zerothread 43256 461420 0 0 3 0x14200 aiodoned aiodoned 5089 221678 0 0 3 0x14200 syncer update 83351 277935 0 0 3 0x14200 cleaner cleaner 7977 35893 0 0 2 0x14200 reaper 41892 352159 0 0 3 0x14200 pgdaemon pagedaemon 34560 486339 0 0 3 0x14200 bored viomb 38982 439233 0 0 3 0x40014200 acpi0 acpi0 5115 29869 0 0 3 0x40014200 idle1 2075 418452 0 0 3 0x14200 bored softnet7 55593 282912 0 0 3 0x14200 bored softnet6 35196 252781 0 0 3 0x14200 bored softnet5 24170 234648 0 0 3 0x14200 bored softnet4 43654 179449 0 0 3 0x14200 bored softnet3 27104 468166 0 0 3 0x14200 bored softnet2 31146 351956 0 0 3 0x14200 bored softnet1 21389 499745 0 0 3 0x14200 bored softnet0 23298 492032 0 0 3 0x14200 bored systqmp 2043 508560 0 0 3 0x14200 bored systq 68664 47128 0 0 3 0x14200 tmoslp softclockmp 36423 178551 0 0 2 0x40014200 softclock 60158 6116 0 0 3 0x40014200 idle0 1 100570 0 0 3 0x82 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb{1}> show all locks Process 91988 (syz-executor) thread 0xffff80003c508568 (75971) exclusive kernel_lock &kernel_lock r = 1 (0xffffffff8391b478) #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 Process 7977 (reaper) thread 0xffff8000ffffc538 (35893) exclusive rwlock kmmaplk r = 0 (0xffffffff839996a0) #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 uvm_unmap+0x7d sys/uvm/uvm_map.c:1792 #4 km_free+0x87 sys/uvm/uvm_km.c:831 #5 uvm_uarea_free+0x4f sys/uvm/uvm_glue.c:304 #6 reaper+0x1aa sys/kern/kern_exit.c:493 #7 proc_trampoline+0x10 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10221 11042K 12395K 166960K 13237 0 pcb 20 18K 21K 166960K 621 0 rtable 164 8K 8K 166960K 453 0 pf 37 18K 22K 166960K 141 0 ifaddr 34 5K 7K 166960K 105 0 ifgroup 55 2K 2K 166960K 160 0 sysctl 3 1K 9K 166960K 12 0 counters 68 36K 37K 166960K 206 0 ioctlops 0 0K 4K 166960K 1716 0 iov 0 0K 20K 166960K 67 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1403 88K 89K 166960K 2399 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 20 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 125 0 dirhash 12 2K 2K 166960K 45 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 110K 166960K 1383 0 sigio 0 0K 0K 166960K 56 0 proc 72 115K 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 2 0K 0K 166960K 151 0 in_multi 65 4K 7K 166960K 167 0 ether_multi 1 0K 0K 166960K 6 0 mrt 1 0K 0K 166960K 7 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 121 546K 546K 166960K 121 0 exec 0 0K 1K 166960K 517 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 4 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 246 152K 175K 166960K 14405 0 UVM aobj 30 2K 4K 166960K 33 0 pinsyscall 42 84K 105K 166960K 2503 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 1K 166960K 66 0 NDP 12 0K 1K 166960K 71 0 temp 80 8652K 8721K 166960K 70266 0 kqueue 14 22K 32K 166960K 272 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 202 0 199 2 1 1 2 0 8 0 rtentry 176 137 0 77 5 0 5 5 0 8 0 unpcb 144 1009 0 992 12 8 4 4 0 8 3 syncache 336 8 0 8 4 4 0 1 0 8 0 tcpqe 32 2 0 2 2 2 0 1 0 8 0 tcpcb 736 487 0 478 22 21 1 10 0 8 0 arp 128 14 0 6 1 0 1 1 0 8 0 inpcb 328 1883 0 1866 36 34 2 12 0 8 0 nd6 144 23 0 11 1 0 1 1 0 8 0 pkpcb 40 13 0 13 7 7 0 2 0 8 0 kcovpl 48 9 0 1 1 0 1 1 0 8 0 ppxss 1192 60 0 60 3 2 1 1 0 8 1 pppxif 1504 5 0 5 2 2 0 1 0 8 0 pfstscr 40 3 0 2 1 0 1 1 0 8 0 pffrag 232 9 0 7 1 0 1 1 0 482 0 pffrnode 88 7 0 5 1 0 1 1 0 8 0 pffrent 40 14 0 12 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 pfstitem 24 87 0 57 1 0 1 1 0 8 0 pfstkey 128 90 0 60 2 0 2 2 0 8 0 pfstate 384 86 0 58 5 0 5 5 0 8 0 pfrule 1344 21 0 16 2 1 1 2 0 8 0 rttmr 136 2 0 2 2 2 0 1 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 690 0 390 30 6 24 28 0 8 0 art_table 40 692 0 390 5 0 5 5 0 8 0 art_node 32 134 0 82 1 0 1 1 0 8 0 sysvmsgpl 40 17 0 7 1 0 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 121 0 111 1 0 1 1 0 8 0 shmpl 112 30 0 3 1 0 1 1 0 8 0 dirhash 1024 40 0 23 3 0 3 3 0 8 0 dino2pl 256 3986 0 2488 96 1 95 96 0 8 0 ffsino 296 3986 0 2488 117 0 117 117 0 8 0 nchpl 144 5924 0 4233 64 0 64 64 0 8 0 rtmask 32 13 0 13 5 4 1 1 0 8 1 uvmvnodes 80 4598 0 0 94 0 94 94 0 8 0 vnodes 216 4598 0 0 256 0 256 256 0 8 0 namei 1024 19947 0 19947 2 1 1 1 0 8 1 percpumem 16 118 0 69 1 0 1 1 0 8 0 kstatmem 264 110 0 82 5 2 3 3 0 8 0 acpiwqpl 32 2 0 2 1 0 1 1 1 8 1 scsiplug 72 7 0 7 3 3 0 1 0 8 0 scxspl 216 42864 0 42864 12 11 1 8 1 8 1 plimitpl 152 348 0 331 1 0 1 1 0 8 0 sigapl 424 1705 0 1650 9 1 8 9 0 8 0 knotepl 120 747 0 0 23 0 23 23 0 8 0 kqueuepl 224 723 0 710 8 6 2 5 0 8 1 pipepl 344 255 0 228 9 6 3 7 0 8 0 fdescpl 528 1659 0 1628 3 0 3 3 0 8 0 filepl 160 11205 0 10976 31 18 13 21 0 8 2 lockfpl 104 664 0 662 2 1 1 2 0 8 0 lockfspl 48 233 0 231 1 0 1 1 0 8 0 sessionpl 144 28 0 19 1 0 1 1 0 8 0 pgrppl 48 63 0 46 1 0 1 1 0 8 0 ucredpl 104 1432 0 1417 1 0 1 1 0 8 0 zombiepl 144 2006 0 2003 2 1 1 1 0 8 0 processpl 1248 1705 0 1650 7 0 7 7 0 8 0 procpl 664 3732 0 3669 8 1 7 8 0 8 0 sosppl 168 9 0 9 4 3 1 1 0 8 1 sockpl 752 3141 0 3104 57 46 11 17 0 8 7 mcl64k 65536 5 0 0 1 0 1 1 0 8 0 mcl16k 16384 2 0 0 1 0 1 1 0 8 0 mcl12k 12288 3 0 0 1 0 1 1 0 8 0 mcl9k 9216 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 2 0 0 1 0 1 1 0 8 0 mcl4k 4096 113 0 0 15 0 15 15 0 8 0 mcl2k 2048 61 0 0 7 0 7 7 0 8 0 mtagpl 96 20 0 0 1 0 1 1 0 8 0 mbufpl 256 2269 0 0 141 0 141 141 0 8 0 bufpl 280 18125 0 11982 440 0 440 440 0 8 0 anonpl 32 16469 0 0 133 0 133 133 0 246 0 amapchunkpl 152 48077 0 47512 54 27 27 32 0 158 4 amappl16 200 8030 0 7766 54 27 27 39 0 8 0 amappl15 192 8 0 8 2 1 1 1 0 8 1 amappl14 184 125 0 113 1 0 1 1 0 8 0 amappl13 176 13 0 10 1 0 1 1 0 8 0 amappl12 168 2321 0 2290 3 1 2 2 0 8 0 amappl11 160 55 0 41 1 0 1 1 0 8 0 amappl10 152 6 0 5 2 1 1 1 0 8 0 amappl9 144 249 0 249 1 1 0 1 0 8 0 amappl8 136 20 0 17 1 0 1 1 0 8 0 amappl7 128 119 0 107 1 0 1 1 0 8 0 amappl6 120 188 0 185 1 0 1 1 0 8 0 amappl5 112 127 0 117 1 0 1 1 0 8 0 amappl4 104 322 0 301 1 0 1 1 0 8 0 amappl3 96 9636 0 9522 7 3 4 4 0 8 0 amappl2 88 690 0 626 2 0 2 2 0 8 0 amappl1 80 13950 0 13357 16 1 15 15 0 8 0 amappl 88 13473 0 13300 5 0 5 5 0 92 0 dma65536 65536 1 0 1 1 1 0 1 0 8 0 dma4096 4096 2 0 2 2 2 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 257 0 257 4 4 0 1 0 8 0 dma64 64 7 0 7 2 2 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 32 0 3 1 0 1 1 0 8 0 uaddrrnd 24 1659 0 1628 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1659 0 1628 1 0 1 1 0 8 0 vmmpekpl 168 14537 0 14498 3 0 3 3 0 8 0 vmmpepl 168 111543 0 109308 123 13 110 120 0 357 0 vmsppl 488 1658 0 1627 7 2 5 5 0 8 0 rwobjpl 80 36724 0 30926 121 2 119 119 0 8 0 pdppl 4096 3326 0 3254 108 36 72 86 0 8 0 pvpl 32 23695 0 0 191 0 191 191 0 265 0 pmappl 256 1658 0 1627 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 441 0 73 11 0 11 11 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff83783ff0) 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(ffffffff8391b270) at __mp_lock+0x199 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff8391b270) at __mp_lock+0x199 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 __mp_lock(ffffffff8391b270) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff8391b270) at __mp_lock+0x192 sys/kern/kern_lock.c:165 exit1(ffff8000344082b8,0,0,1) at exit1+0x701 sys/kern/kern_exit.c:260 sys_exit(ffff8000344082b8,ffff8000307fb3f0,ffff8000307fb340) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff8000307fb3f0) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff8000307fb3f0) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7a34b3d044a0, count: 3 ddb{0}> trace x86_ipi_db(ffffffff83783ff0) 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(ffffffff8391b270) at __mp_lock+0x199 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff8391b270) at __mp_lock+0x199 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 __mp_lock(ffffffff8391b270) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff8391b270) at __mp_lock+0x192 sys/kern/kern_lock.c:165 exit1(ffff8000344082b8,0,0,1) at exit1+0x701 sys/kern/kern_exit.c:260 sys_exit(ffff8000344082b8,ffff8000307fb3f0,ffff8000307fb340) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff8000307fb3f0) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff8000307fb3f0) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7a34b3d044a0, count: -12 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(ffffffff8336c0d8) at panic+0x1e5 sys/kern/subr_prf.c:198 __assert(ffffffff833af75e,ffffffff833ac167,84,ffffffff834070bd) at __assert+0x29 sys/kern/subr_prf.c:-1 rtmap_grow(17,21) at rtmap_grow+0x24f rtable_add(16) at rtable_add+0x2d9 rtable_alloc sys/net/rtable.c:370 [inline] rtable_add(16) at rtable_add+0x2d9 sys/net/rtable.c:223 if_createrdomain(16,ffff800001471000) at if_createrdomain+0x40 sys/net/if.c:1952 ifioctl(ffff80000163f598,8020699f,ffff80003bc21840,ffff80003c508568) at ifioctl+0x1c66 sys/net/if.c:2301 sys_ioctl(ffff80003c508568,ffff80003bc21a20,ffff80003bc21970) at sys_ioctl+0x674 sys/kern/sys_generic.c:-1 syscall(ffff80003bc21a20) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003bc21a20) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xb47118fdb80, count: 5 ddb{1}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff8336c0d8) at panic+0x1e5 sys/kern/subr_prf.c:198 __assert(ffffffff833af75e,ffffffff833ac167,84,ffffffff834070bd) at __assert+0x29 sys/kern/subr_prf.c:-1 rtmap_grow(17,21) at rtmap_grow+0x24f rtable_add(16) at rtable_add+0x2d9 rtable_alloc sys/net/rtable.c:370 [inline] rtable_add(16) at rtable_add+0x2d9 sys/net/rtable.c:223 if_createrdomain(16,ffff800001471000) at if_createrdomain+0x40 sys/net/if.c:1952 ifioctl(ffff80000163f598,8020699f,ffff80003bc21840,ffff80003c508568) at ifioctl+0x1c66 sys/net/if.c:2301 sys_ioctl(ffff80003c508568,ffff80003bc21a20,ffff80003bc21970) at sys_ioctl+0x674 sys/kern/sys_generic.c:-1 syscall(ffff80003bc21a20) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003bc21a20) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xb47118fdb80, count: -10