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 57965 89437 0 0 0 0 syz-executor *420854 89437 0 0 0x4000000 1K syz-executor db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff833943a7) at panic+0x1e5 sys/kern/subr_prf.c:198 __assert(ffffffff833d16ba,ffffffff833cff37,84,ffffffff8342a91a) 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,ffff800000afd800) at if_createrdomain+0x40 sys/net/if.c:1974 ifioctl(ffff80000150f7b0,8020699f,ffff80003c451010,ffff80003c4122d0) at ifioctl+0x1b40 sys/net/if.c:2323 sys_ioctl(ffff80003c4122d0,ffff80003c4511f0,ffff80003c451140) at sys_ioctl+0x674 sys/kern/sys_generic.c:-1 syscall(ffff80003c4511f0) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c4511f0) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:765 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xdb791659420, 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(ffffffff833943a7) at panic+0x1e5 sys/kern/subr_prf.c:198 __assert(ffffffff833d16ba,ffffffff833cff37,84,ffffffff8342a91a) 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,ffff800000afd800) at if_createrdomain+0x40 sys/net/if.c:1974 ifioctl(ffff80000150f7b0,8020699f,ffff80003c451010,ffff80003c4122d0) at ifioctl+0x1b40 sys/net/if.c:2323 sys_ioctl(ffff80003c4122d0,ffff80003c4511f0,ffff80003c451140) at sys_ioctl+0x674 sys/kern/sys_generic.c:-1 syscall(ffff80003c4511f0) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c4511f0) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:765 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xdb791659420, count: -10 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff80003c450d20 rbx 0xffff8000299eeddf rdx 0 rcx 0xffff80003c4122d0 rax 0xffff8000299edff0 r8 0x101010101010101 r9 0x8080808080808080 r10 0x8a628f7e03584bb9 r11 0x7e9fba923cd5ff0f r12 0xffff8000299eebe0 r13 0 r14 0 r15 0x1 rip 0xffffffff81027c95 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff80003c450d10 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor) tid=420854 pid=89437 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=0xffff80003c412038,0xffff80003c412fd8 process=0xffff80003c4d9838 user=0xffff80003c44c000, vmspace=0xfffffd806c04b5d8 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 23778 406439 91636 0 2 0 syz-executor 23778 420624 91636 0 3 0x4000080 fsleep syz-executor 89437 57965 5581 0 7 0 syz-executor *89437 420854 5581 0 7 0x4000000 syz-executor 89437 192014 5581 0 2 0x4000000 syz-executor 99213 256274 35729 0 2 0 syz-executor 99213 195861 35729 0 3 0x4000080 fsleep syz-executor 66280 269209 98749 0 2 0 syz-executor 66280 18967 98749 0 3 0x4000080 fsleep syz-executor 17971 39338 68762 0 2 0 syz-executor 17971 224423 68762 0 2 0x4000000 syz-executor 17971 441737 68762 0 3 0x4000080 fsleep syz-executor 22692 87511 65273 0 3 0x80 nanoslp syz-executor 22692 1977 65273 0 3 0x4000080 kqsel syz-executor 13336 63538 67805 0 3 0x80 nanoslp syz-executor 13336 145178 67805 0 3 0x4000000 biowait syz-executor 13336 211630 67805 0 3 0x4000080 fsleep syz-executor 13336 187675 67805 0 3 0x4000080 fsleep syz-executor 17303 406749 76516 0 3 0x80 nanoslp syz-executor 17303 86109 76516 0 3 0x4000080 kqsel syz-executor 17303 328231 76516 0 3 0x4000080 fsleep syz-executor 17303 48120 76516 0 3 0x4000080 fsleep syz-executor 8944 389123 0 0 3 0x14280 nfsidl nfsio 27775 52522 0 0 3 0x14280 nfsidl nfsio 84915 131689 0 0 3 0x14280 nfsidl nfsio 56652 115975 0 0 3 0x14280 nfsidl nfsio 28446 482024 0 0 3 0x14280 nfsidl nfsio 59896 439434 0 0 3 0x14280 nfsidl nfsio 60377 347079 0 0 3 0x14280 nfsidl nfsio 52751 445130 0 0 3 0x14280 nfsidl nfsio 91528 490910 0 0 3 0x14280 nfsidl nfsio 54724 355919 0 0 3 0x14280 nfsidl nfsio 83002 212951 0 0 3 0x14280 nfsidl nfsio 34272 198528 0 0 3 0x14280 nfsidl nfsio 26197 360505 0 0 3 0x14280 nfsidl nfsio 60272 476334 0 0 3 0x14280 nfsidl nfsio 15538 369209 0 0 3 0x14280 nfsidl nfsio 41462 360883 0 0 3 0x14280 nfsidl nfsio 50890 288126 0 0 3 0x14280 nfsidl nfsio 64927 404341 0 0 3 0x14280 nfsidl nfsio 77073 34513 0 0 3 0x14280 nfsidl nfsio 51932 227264 0 0 3 0x14280 nfsidl nfsio 76516 464565 7387 0 3 0x82 nanoslp syz-executor 5581 486144 7387 0 3 0x82 nanoslp syz-executor 67805 13112 7387 0 3 0x82 nanoslp syz-executor 65273 429490 7387 0 3 0x82 nanoslp syz-executor 91636 298625 7387 0 3 0x82 nanoslp syz-executor 35729 203682 7387 0 3 0x82 nanoslp syz-executor 98749 136447 7387 0 3 0x82 nanoslp syz-executor 68762 479575 7387 0 3 0x82 nanoslp syz-executor 7387 358995 23433 0 3 0x82 kqread syz-executor 23433 123245 75269 0 3 0x10008a sigsusp ksh 75269 368653 71105 0 3 0x98 kqread sshd-session 71105 298793 54190 0 3 0x92 kqread sshd-session 80554 289996 1 0 3 0x100083 ttyin getty 54190 96915 1 0 3 0x88 kqread sshd 13611 110920 58690 74 3 0x1100092 bpf pflogd 58690 497067 1 0 3 0x80 sbwait pflogd 19283 17388 86977 73 3 0x1100090 kqread syslogd 86977 155153 1 0 3 0x100082 sbwait syslogd 66488 262316 1 0 3 0x100080 kqread resolvd 54588 469193 55317 77 3 0x100092 kqread dhcpleased 34149 314781 55317 77 3 0x100092 kqread dhcpleased 55317 102333 1 0 3 0x80 kqread dhcpleased 98281 124079 0 0 3 0x14200 bored smr 70578 409443 0 0 2 0x14200 zerothread 85850 343267 0 0 3 0x14200 aiodoned aiodoned 93456 396381 0 0 3 0x14200 syncer update 26325 173575 0 0 3 0x14200 cleaner cleaner 36997 423003 0 0 3 0x14200 reaper reaper 88340 34194 0 0 3 0x14200 pgdaemon pagedaemon 54077 19476 0 0 3 0x14200 bored viomb 1503 310877 0 0 3 0x40014200 acpi0 acpi0 13900 336780 0 0 3 0x40014200 idle1 90024 412801 0 0 3 0x14200 bored softnet1 30152 266275 0 0 3 0x14200 bored softnet0 53701 305970 0 0 3 0x14200 bored systqmp 97222 238372 0 0 3 0x14200 bored systq 81378 384219 0 0 3 0x14200 tmoslp softclockmp 29601 456924 0 0 3 0x40014200 tmoslp softclock 18264 187844 0 0 3 0x40014200 idle0 1 84944 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 89437 (syz-executor) thread 0xffff80003c4122d0 (420854) exclusive kernel_lock &kernel_lock r = 1 (0xffffffff8389d228) #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:1974 #6 ifioctl+0x1b40 sys/net/if.c:2323 #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:765 #9 Xsyscall+0x128 Process 13336 (syz-executor) thread 0xffff80003c413790 (145178) exclusive rrwlock inode r = 0 (0xfffffd8067034210) #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 rrw_enter+0xc6 sys/kern/kern_rwlock.c:621 #3 VOP_LOCK+0xa3 sys/kern/vfs_vops.c:527 #4 vn_lock+0xa4 sys/kern/vfs_vnops.c:570 #5 vn_write+0x18f sys/kern/vfs_vnops.c:405 #6 dofilewritev+0x242 sys/kern/sys_generic.c:380 #7 sys_write+0xa2 sys/kern/sys_generic.c:300 #8 syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] #8 syscall+0xbd4 sys/arch/amd64/amd64/trap.c:765 #9 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10201 11082K 11409K 166960K 11530 0 pcb 20 12K 12K 166960K 63 0 rtable 192 9K 9K 166960K 415 0 pf 36 18K 21K 166960K 84 0 ifaddr 33 5K 7K 166960K 59 0 ifgroup 51 2K 2K 166960K 87 0 sysctl 4 1K 9K 166960K 9 0 counters 66 36K 37K 166960K 100 0 ioctlops 0 0K 4K 166960K 1556 0 iov 0 0K 12K 166960K 14 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1340 84K 85K 166960K 1519 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 5 0 VM map 2 1K 1K 166960K 2 0 sem 8 0K 0K 166960K 11 0 dirhash 12 2K 2K 166960K 21 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 85K 166960K 322 0 sigio 0 0K 0K 166960K 7 0 proc 72 115K 147K 166960K 541 0 subproc 72 4K 4K 166960K 72 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 14 0 in_multi 66 4K 7K 166960K 106 0 ether_multi 1 0K 0K 166960K 4 0 mrt 1 0K 0K 166960K 1 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 73 334K 334K 166960K 73 0 exec 0 0K 1K 166960K 412 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 255 160K 173K 166960K 4863 0 UVM aobj 3 2K 2K 166960K 3 0 pinsyscall 43 86K 102K 166960K 1489 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 1 0K 0K 166960K 19 0 NDP 11 0K 2K 166960K 39 0 temp 37 8646K 8716K 166960K 7393 0 kqueue 14 22K 26K 166960K 65 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 81 0 78 2 1 1 2 0 8 0 rtentry 176 114 0 39 6 0 6 6 0 8 1 unpcb 144 143 0 124 2 1 1 2 0 8 0 syncache 336 3 0 3 1 1 0 1 0 8 0 tcpcb 736 52 0 47 1 0 1 1 0 8 0 arp 136 18 0 6 1 0 1 1 0 8 0 inpcb 328 269 0 257 8 6 2 7 0 8 1 nd6 152 24 0 9 1 0 1 1 0 8 0 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1192 12 0 12 1 0 1 1 0 8 1 pfstscr 40 1 0 0 1 0 1 1 0 8 0 pffrag 232 5 0 1 1 0 1 1 0 482 0 pffrnode 88 5 0 1 1 0 1 1 0 8 0 pffrent 40 7 0 3 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 3 0 1 1 0 1 1 0 8 0 pfanchor 1288 1 0 0 1 0 1 1 0 8 0 pfstitem 24 34 0 0 1 0 1 1 0 8 0 pfstkey 128 36 0 2 2 0 2 2 0 8 0 pfstate 384 34 0 1 4 0 4 4 0 8 0 pfrule 1344 24 0 18 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 464 0 144 29 4 25 29 0 8 1 art_table 40 465 0 144 5 0 5 5 0 8 0 art_node 32 113 0 45 1 0 1 1 0 8 0 semapl 112 8 0 2 1 0 1 1 0 8 0 dirhash 1024 23 0 6 3 0 3 3 0 8 0 dino2pl 256 1933 0 426 96 0 96 96 0 8 0 ffsino 296 1933 0 426 118 1 117 118 0 8 0 nchpl 144 2381 0 686 64 0 64 64 0 8 0 rtmask 32 4 0 4 1 0 1 1 0 8 1 vnodes 216 2098 0 0 117 0 117 117 0 8 0 namei 1024 7438 0 7438 4 3 1 2 0 8 1 percpumem 16 65 0 17 1 0 1 1 0 8 0 pfiaddrpl 120 1 0 0 1 0 1 1 0 8 0 kstatmem 264 50 0 24 3 0 3 3 0 8 1 scsiplug 72 4 0 4 2 1 1 1 0 8 1 scxspl 216 8328 0 8327 10 8 2 7 1 8 1 plimitpl 152 89 0 72 1 0 1 1 0 8 0 sigapl 424 663 0 595 8 0 8 8 0 8 0 knotepl 120 335 0 0 11 0 11 11 0 8 0 kqueuepl 224 93 0 79 2 1 1 2 0 8 0 pipepl 344 137 0 110 3 0 3 3 0 8 0 fdescpl 528 627 0 595 3 0 3 3 0 8 0 filepl 160 2828 0 2609 14 3 11 13 0 8 1 lockfpl 104 69 0 67 1 0 1 1 0 8 0 lockfspl 48 33 0 31 1 0 1 1 0 8 0 sessionpl 144 22 0 13 1 0 1 1 0 8 0 pgrppl 48 30 0 13 1 0 1 1 0 8 0 ucredpl 104 266 0 253 1 0 1 1 0 8 0 zombiepl 144 634 0 634 1 0 1 1 0 8 1 processpl 1232 663 0 595 6 0 6 6 0 8 0 procpl 664 1008 0 926 8 0 8 8 0 8 0 sosppl 176 1 0 1 1 1 0 1 0 8 0 sockpl 752 529 0 495 11 7 4 11 0 8 0 mcl64k 65536 4 0 0 1 0 1 1 0 8 0 mcl8k 8192 3 0 0 1 0 1 1 0 8 0 mcl4k 4096 123 0 0 16 0 16 16 0 8 0 mcl2k 2048 29 0 0 4 0 4 4 0 8 0 mtagpl 96 2 0 0 1 0 1 1 0 8 0 mbufpl 256 1144 0 0 72 0 72 72 0 8 0 bufpl 280 2851 0 131 195 0 195 195 0 8 0 anonpl 32 5518 0 0 45 0 45 45 0 246 0 amapchunkpl 152 15119 0 14582 38 10 28 29 0 158 7 amappl16 200 2201 0 2159 7 3 4 5 0 8 0 amappl15 192 5 0 5 1 1 0 1 0 8 0 amappl14 184 54 0 54 1 1 0 1 0 8 0 amappl13 176 439 0 438 1 0 1 1 0 8 0 amappl12 168 998 0 954 3 1 2 3 0 8 0 amappl11 160 4 0 4 1 1 0 1 0 8 0 amappl10 152 49 0 35 1 0 1 1 0 8 0 amappl9 144 243 0 243 1 1 0 1 0 8 0 amappl8 136 56 0 54 1 0 1 1 0 8 0 amappl7 128 83 0 82 1 0 1 1 0 8 0 amappl6 120 318 0 305 1 0 1 1 0 8 0 amappl5 112 76 0 66 1 0 1 1 0 8 0 amappl4 104 427 0 399 1 0 1 1 0 8 0 amappl3 96 2458 0 2355 4 1 3 3 0 8 0 amappl2 88 750 0 673 2 0 2 2 0 8 0 amappl1 80 10031 0 9428 14 0 14 14 0 8 0 amappl 88 4073 0 3895 5 0 5 5 0 92 1 uvmvnodes 80 2098 0 0 43 0 43 43 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 2 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 2 0 0 1 0 1 1 0 8 0 uaddrrnd 24 627 0 595 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 627 0 595 1 0 1 1 0 8 0 vmmpekpl 168 6864 0 6830 2 0 2 2 0 8 0 vmmpepl 168 47433 0 45443 90 1 89 89 0 357 1 vmsppl 488 626 0 595 5 1 4 5 0 8 0 rwobjpl 80 17937 0 14879 63 0 63 63 0 8 0 pdppl 4096 1262 0 1190 104 32 72 82 0 8 0 pvpl 32 13308 0 0 108 0 108 108 0 265 0 pmappl 256 626 0 595 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 339 0 42 9 0 9 9 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff83877ff0) 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(ffffffff8389d020) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff8389d020) at __mp_lock+0x192 sys/kern/kern_lock.c:165 intr_handler(ffff80003c410a50,ffff80000007aa80) at intr_handler+0xe9 sys/arch/amd64/amd64/intr.c:559 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f end of kernel end trace frame: 0x78956a1e7950, count: 9 ddb{0}> trace x86_ipi_db(ffffffff83877ff0) 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(ffffffff8389d020) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff8389d020) at __mp_lock+0x192 sys/kern/kern_lock.c:165 intr_handler(ffff80003c410a50,ffff80000007aa80) at intr_handler+0xe9 sys/arch/amd64/amd64/intr.c:559 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f end of kernel end trace frame: 0x78956a1e7950, count: -6 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(ffffffff833943a7) at panic+0x1e5 sys/kern/subr_prf.c:198 __assert(ffffffff833d16ba,ffffffff833cff37,84,ffffffff8342a91a) 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,ffff800000afd800) at if_createrdomain+0x40 sys/net/if.c:1974 ifioctl(ffff80000150f7b0,8020699f,ffff80003c451010,ffff80003c4122d0) at ifioctl+0x1b40 sys/net/if.c:2323 sys_ioctl(ffff80003c4122d0,ffff80003c4511f0,ffff80003c451140) at sys_ioctl+0x674 sys/kern/sys_generic.c:-1 syscall(ffff80003c4511f0) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c4511f0) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:765 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xdb791659420, count: 5 ddb{1}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff833943a7) at panic+0x1e5 sys/kern/subr_prf.c:198 __assert(ffffffff833d16ba,ffffffff833cff37,84,ffffffff8342a91a) 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,ffff800000afd800) at if_createrdomain+0x40 sys/net/if.c:1974 ifioctl(ffff80000150f7b0,8020699f,ffff80003c451010,ffff80003c4122d0) at ifioctl+0x1b40 sys/net/if.c:2323 sys_ioctl(ffff80003c4122d0,ffff80003c4511f0,ffff80003c451140) at sys_ioctl+0x674 sys/kern/sys_generic.c:-1 syscall(ffff80003c4511f0) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c4511f0) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:765 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xdb791659420, count: -10