login: 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 174058 48733 0 0 0 0 syz-executor *464765 48733 0 0 0x4000000 1K syz-executor db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff834c4787) at panic+0x1e5 sys/kern/subr_prf.c:198 __assert(ffffffff834fea58,ffffffff834f829c,84,ffffffff83551c39) at __assert+0x29 sys/kern/subr_prf.c:-1 rtmap_grow(cf,21) at rtmap_grow+0x24f rtable_add(ce) at rtable_add+0x2d9 rtable_alloc sys/net/rtable.c:370 [inline] rtable_add(ce) at rtable_add+0x2d9 sys/net/rtable.c:223 if_createrdomain(ce,ffff800001622800) at if_createrdomain+0x40 sys/net/if.c:2046 ifioctl(ffff800001617a88,8020699f,ffff80002a316270,ffff800045fefa08) at ifioctl+0x1c52 sys/net/if.c:2395 sys_ioctl(ffff800045fefa08,ffff80002a316450,ffff80002a3163a0) at sys_ioctl+0x674 sys/kern/sys_generic.c:-1 syscall(ffff80002a316450) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a316450) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x2baa8391820, 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}> show kasan No such command ddb{1}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff834c4787) at panic+0x1e5 sys/kern/subr_prf.c:198 __assert(ffffffff834fea58,ffffffff834f829c,84,ffffffff83551c39) at __assert+0x29 sys/kern/subr_prf.c:-1 rtmap_grow(cf,21) at rtmap_grow+0x24f rtable_add(ce) at rtable_add+0x2d9 rtable_alloc sys/net/rtable.c:370 [inline] rtable_add(ce) at rtable_add+0x2d9 sys/net/rtable.c:223 if_createrdomain(ce,ffff800001622800) at if_createrdomain+0x40 sys/net/if.c:2046 ifioctl(ffff800001617a88,8020699f,ffff80002a316270,ffff800045fefa08) at ifioctl+0x1c52 sys/net/if.c:2395 sys_ioctl(ffff800045fefa08,ffff80002a316450,ffff80002a3163a0) at sys_ioctl+0x674 sys/kern/sys_generic.c:-1 syscall(ffff80002a316450) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a316450) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x2baa8391820, count: -10 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff80002a315f80 rbx 0xffff80002999ee07 rdx 0 rcx 0xffff800045fefa08 rax 0xffff80002999dff0 r8 0x101010101010101 r9 0x8080808080808080 r10 0x13bea5437572b91f r11 0x82e6288f9510422f r12 0xffff80002999ec08 r13 0 r14 0 r15 0x1 rip 0xffffffff82a1db55 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff80002a315f70 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor) tid=464765 pid=48733 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=0xffff800045feea78,0xffffffff83b408a0 process=0xffff800045feb508 user=0xffff80002a311000, vmspace=0xffffee000ce0f3f8 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S PRLAGS PFLAGS WAIT COMMAND 48733 174058 59707 0 7 0 0 syz-executor 48733 459120 59707 0 2 0 0x4000000 syz-executor *48733 464765 59707 0 7 0 0x4000000 syz-executor 62367 190532 47962 0 2 0 0 syz-executor 62367 189689 47962 0 3 0 0x4000080 fsleep syz-executor 24731 43768 80999 0 2 0 0 syz-executor 24731 295356 80999 0 3 0 0x4000080 fsleep syz-executor 24731 179528 80999 0 3 0 0x4000080 fsleep syz-executor 71066 145722 73302 0 2 0 0 syz-executor 71066 101505 73302 0 2 0 0x4000000 syz-executor 71066 184754 73302 0 3 0 0x4000000 fdlock syz-executor 13785 343182 83160 0 2 0x2 0 syz-executor 99411 361736 48868 0 2 0x100002 0 sh 86906 200065 57983 0 2 0 0 syz-executor 86906 243899 57983 0 3 0 0x4000080 sbwait syz-executor 48868 69537 83160 0 3 0x2 0x80 wait syz-executor 32154 82498 1 0 3 0x100003 0x80 ttyin getty 47962 366248 83160 0 3 0x2 0x80 nanoslp syz-executor 59707 457266 83160 0 3 0x2 0x80 nanoslp syz-executor 86079 439764 0 0 3 0x14000 0x280 nfsidl nfsio 29054 235359 0 0 3 0x14000 0x280 nfsidl nfsio 77942 173065 0 0 3 0x14000 0x280 nfsidl nfsio 76264 258119 0 0 3 0x14000 0x280 nfsidl nfsio 22366 516344 0 0 3 0x14000 0x280 nfsidl nfsio 78029 463801 0 0 3 0x14000 0x280 nfsidl nfsio 88255 162201 0 0 3 0x14000 0x280 nfsidl nfsio 34218 62400 0 0 3 0x14000 0x280 nfsidl nfsio 33074 75780 0 0 3 0x14000 0x280 nfsidl nfsio 27959 495248 0 0 3 0x14000 0x280 nfsidl nfsio 11031 49 0 0 3 0x14000 0x280 nfsidl nfsio 6461 62983 0 0 3 0x14000 0x280 nfsidl nfsio 47714 49891 0 0 3 0x14000 0x280 nfsidl nfsio 7762 83878 0 0 3 0x14000 0x280 nfsidl nfsio 7721 208509 0 0 3 0x14000 0x280 nfsidl nfsio 61979 162752 0 0 3 0x14000 0x280 nfsidl nfsio 70778 167279 0 0 3 0x14000 0x280 nfsidl nfsio 44101 430305 0 0 3 0x14000 0x280 nfsidl nfsio 58379 184348 0 0 3 0x14000 0x280 nfsidl nfsio 10560 34013 0 0 3 0x14000 0x280 nfsidl nfsio 73302 139463 83160 0 2 0x2 0x1 syz-executor 80999 169532 83160 0 2 0x2 0x1 syz-executor 74579 67598 83160 0 2 0x2 0x1 syz-executor 57983 248641 83160 0 3 0x2 0x80 nanoslp syz-executor 83160 153312 8739 0 3 0x2 0x80 kqread syz-executor 8739 144555 46053 0 3 0x100002 0x88 sigsusp ksh 46053 179688 78934 0 3 0x10 0x88 kqread sshd-session 78934 294158 57397 0 3 0x12 0x80 kqread sshd-session 57397 273511 1 0 3 0 0x88 kqread sshd 15698 332799 41198 74 3 0x1100012 0x80 bpf pflogd 41198 255516 1 0 3 0 0x80 sbwait pflogd 99888 218184 22882 73 3 0x1100010 0x80 kqread syslogd 22882 445831 1 0 3 0x100002 0x80 sbwait syslogd 78883 39238 1 0 3 0x100000 0x80 kqread resolvd 56769 145034 80576 77 3 0x100012 0x80 kqread dhcpleased 75471 140543 80576 77 3 0x100012 0x80 kqread dhcpleased 80576 195800 1 0 3 0 0x80 kqread dhcpleased 45186 444871 0 0 3 0x14000 0x200 bored smr 90613 100515 0 0 2 0x14000 0x200 zerothread 66531 157474 0 0 3 0x14000 0x200 aiodoned aiodoned 95460 87905 0 0 3 0x14000 0x200 syncer update 12666 94616 0 0 3 0x14000 0x200 cleaner cleaner 60823 82008 0 0 3 0x14000 0x200 reaper reaper 98460 118264 0 0 3 0x14000 0x200 pgdaemon pagedaemon 33810 13125 0 0 3 0x14000 0x200 bored viomb 27871 64914 0 0 3 0x14000 0x40000200 acpi0 acpi0 62743 308412 0 0 3 0x14000 0x40000200 idle1 50725 117220 0 0 3 0x14000 0x200 bored softnet1 47226 76140 0 0 3 0x14000 0x200 bored softnet0 1678 490151 0 0 3 0x14000 0x200 bored systqmp 79415 477287 0 0 3 0x14000 0x200 bored systq 30485 375257 0 0 3 0x14000 0x200 tmoslp softclockmp 75504 405986 0 0 3 0x14000 0x40000200 tmoslp softclock 61234 161271 0 0 3 0x14000 0x40000200 idle0 1 520078 0 0 3 0x2 0x80 wait init 0 0 -1 0 3 0x10010000 0x200 scheduler swapper ddb{1}> show all locks Process 48733 (syz-executor) thread 0xffff800045fefa08 (464765) exclusive kernel_lock &kernel_lock r = 1 (0xffffffff83aedc00) #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:175 #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:2046 #6 ifioctl+0x1c52 sys/net/if.c:2395 #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:783 #9 Xsyscall+0x128 Process 71066 (syz-executor) thread 0xffff800045fe7a10 (101505) exclusive rwlock fdlock r = 0 (0xffff800045fec070) #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 sys_socketpair+0x2fa sys/kern/uipc_syscalls.c:492 #3 syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] #3 syscall+0xbd4 sys/arch/amd64/amd64/trap.c:783 #4 Xsyscall+0x128 Process 99411 (sh) thread 0xffff80002a222540 (361736) exclusive rwlock vmmaplk r = 0 (0xffffee007f0a3a90) #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_read+0x3e8 sys/kern/kern_rwlock.c:413 #2 uvmfault_lookup+0x122 sys/uvm/uvm_fault.c:1880 #3 uvm_fault_check+0x4f sys/uvm/uvm_fault.c:693 #4 uvm_fault+0x106 sys/uvm/uvm_fault.c:627 #5 upageflttrap+0xa9 sys/arch/amd64/amd64/trap.c:192 #6 usertrap+0x430 sys/arch/amd64/amd64/trap.c:640 #7 recall_trap+0x8 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 11084 12094K 13944K 166960K 13463 0 pcb 19 13K 14K 166960K 363 0 rtable 184 13K 13K 166960K 1118 0 pf 33 17K 24K 166960K 236 0 ifaddr 31 5K 8K 166960K 159 0 ifgroup 40 1K 2K 166960K 195 0 sysctl 4 1K 9K 166960K 15 0 counters 64 36K 37K 166960K 296 0 ioctlops 0 0K 4K 166960K 1878 0 iov 0 0K 16K 166960K 32 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1477 93K 93K 166960K 2514 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 24 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 56 0 dirhash 12 2K 3K 166960K 27 0 ACPI 1734 201K 291K 166960K 11964 0 file desc 16 57K 89K 166960K 1307 0 sigio 0 0K 0K 166960K 90 0 proc 74 115K 164K 166960K 1247 0 subproc 70 4K 4K 166960K 277 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 116 0 in_multi 63 4K 7K 166960K 375 0 ether_multi 1 0K 0K 166960K 13 0 mrt 1 0K 0K 166960K 22 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 259 1155K 1155K 166960K 259 0 exec 0 0K 1K 166960K 729 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 2 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 220 151K 167K 166960K 12986 0 UVM aobj 98 5K 5K 166960K 101 0 pinsyscall 41 82K 106K 166960K 3058 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 33 0 NDP 9 0K 2K 166960K 110 0 temp 51 9122K 12977K 166960K 39757 0 kqueue 13 20K 30K 166960K 201 0 SYN cache 2 16K 24K 166960K 3 0 ddb{1}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle plcache 128 28 0 0 1 0 1 1 0 8 0 rtpcb 120 185 0 181 3 2 1 3 0 8 0 rtentry 176 368 0 299 6 0 6 6 0 8 0 unpcb 144 437 0 418 4 3 1 2 0 8 0 syncache 336 7 0 7 3 3 0 1 0 8 0 tcpcb 736 262 0 257 7 6 1 4 0 8 0 arp 136 62 0 50 1 0 1 1 0 8 0 inpcb 328 1076 0 1065 10 8 2 7 0 8 1 nd6 152 98 0 80 2 0 2 2 0 8 0 pkpcb 40 3 0 3 2 2 0 1 0 8 0 kcovpl 48 30 0 23 1 0 1 1 0 8 0 ppxss 1192 84 0 84 3 2 1 1 0 8 1 pppxif 1576 6 0 6 3 3 0 1 0 8 0 pfstscr 40 6 0 5 1 0 1 1 0 8 0 pffrag 232 6 0 2 1 0 1 1 0 482 0 pffrnode 88 6 0 2 1 0 1 1 0 8 0 pffrent 40 9 0 5 1 0 1 1 0 8 0 pfosfp 40 1428 0 1428 5 5 0 5 0 8 0 pfosfpen 112 1428 0 1428 21 21 0 21 0 8 0 pfrktable 1344 6 0 4 1 0 1 1 0 8 0 pfsrclim 320 3 0 2 2 1 1 1 0 8 0 pfstlim 224 1 0 1 1 1 0 1 0 8 0 pfanchor 1288 6 0 4 1 0 1 1 0 8 0 pftag 88 6 0 0 1 0 1 1 0 8 0 pfqueue 320 3 0 0 1 0 1 1 0 8 0 pfstitem 24 110 0 45 1 0 1 1 0 8 0 pfstkey 128 115 0 49 3 0 3 3 0 8 0 pfstate 448 109 0 47 8 0 8 8 0 8 0 pfrule 1360 42 0 34 2 0 2 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 1556 0 1285 32 9 23 30 0 8 2 art_table 40 1559 0 1285 5 0 5 5 0 8 0 art_node 32 368 0 307 1 0 1 1 0 8 0 sysvmsgpl 40 12 0 10 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 72 51 0 41 1 0 1 1 0 8 0 shmpl 112 98 0 3 3 0 3 3 0 8 0 dirhash 1024 27 0 10 3 0 3 3 0 8 0 dino2pl 256 3136 0 1632 95 0 95 95 0 8 0 ffsino 296 3136 0 1632 116 0 116 116 0 8 0 nchpl 144 4526 0 2749 67 0 67 67 0 8 0 rtmask 32 5 0 5 3 3 0 1 0 8 0 vnodes 216 4090 0 0 228 0 228 228 0 8 0 namei 1024 17872 0 17872 3 2 1 2 0 8 1 percpumem 16 164 0 116 1 0 1 1 0 8 0 pfiaddrpl 120 1 0 1 1 1 0 1 0 8 0 kstatmem 264 103 0 82 2 0 2 2 0 8 0 scsiplug 72 5 0 5 1 1 0 1 0 8 0 scxspl 216 16981 0 16981 6 5 1 3 1 8 1 plimitpl 152 264 0 247 1 0 1 1 0 8 0 sigapl 424 1613 0 1547 9 1 8 9 0 8 0 knotepl 120 608 0 0 19 0 19 19 0 8 0 kqueuepl 224 376 0 367 8 7 1 5 0 8 0 pipepl 344 253 0 226 3 0 3 3 0 8 0 fdescpl 528 1576 0 1546 3 0 3 3 0 8 0 filepl 160 8670 0 8454 22 12 10 16 0 8 0 lockfpl 104 460 0 457 2 1 1 2 0 8 0 lockfspl 48 210 0 207 1 0 1 1 0 8 0 sessionpl 144 92 0 83 1 0 1 1 0 8 0 pgrppl 48 131 0 114 1 0 1 1 0 8 0 ucredpl 104 1522 0 1509 1 0 1 1 0 8 0 zombiepl 144 2019 0 2019 1 0 1 1 0 8 1 processpl 1232 1613 0 1547 6 0 6 6 0 8 0 procpl 664 3177 0 3103 9 1 8 8 0 8 1 sosppl 176 1 0 1 1 1 0 1 0 8 0 sockpl 752 1728 0 1694 21 16 5 11 0 8 1 mcl64k 65536 4 0 0 1 0 1 1 0 8 0 mcl16k 16384 5 0 0 1 0 1 1 0 8 0 mcl12k 12288 1 0 0 1 0 1 1 0 8 0 mcl9k128 9344 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 3 0 0 1 0 1 1 0 8 0 mcl4k 4096 118 0 0 15 0 15 15 0 8 0 mcl2k 2048 25 0 0 3 0 3 3 0 8 0 mextrefs 64 23 0 0 1 0 1 1 0 8 0 mtagpl 96 3 0 0 1 0 1 1 0 8 0 mbufpl 256 208 0 0 13 0 13 13 0 8 0 bufpl 272 5601 0 109 367 0 367 367 0 8 0 anonpl 32 7663 0 0 62 0 62 62 0 247 0 amapchunkpl 152 49071 0 48627 61 26 35 36 0 158 17 amappl16 200 3555 0 3530 29 17 12 15 0 8 8 amappl15 192 7 0 6 1 0 1 1 0 8 0 amappl14 184 698 0 696 1 0 1 1 0 8 0 amappl13 176 171 0 159 1 0 1 1 0 8 0 amappl12 168 1921 0 1892 2 0 2 2 0 8 0 amappl11 160 9 0 8 1 0 1 1 0 8 0 amappl10 152 97 0 82 1 0 1 1 0 8 0 amappl9 144 277 0 277 1 1 0 1 0 8 0 amappl8 136 203 0 199 1 0 1 1 0 8 0 amappl7 128 196 0 182 1 0 1 1 0 8 0 amappl6 120 365 0 363 1 0 1 1 0 8 0 amappl5 112 99 0 88 1 0 1 1 0 8 0 amappl4 104 372 0 351 1 0 1 1 0 8 0 amappl3 96 8335 0 8228 4 0 4 4 0 8 0 amappl2 88 759 0 695 2 0 2 2 0 8 0 amappl1 80 16745 0 16147 16 2 14 15 0 8 0 amappl 88 11731 0 11581 7 3 4 5 0 92 0 uvmvnodes 80 124 0 0 3 0 3 3 0 8 0 dma65536 65536 2 0 2 2 2 0 1 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 255 0 255 3 3 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 19 0 18 1 0 1 1 0 8 0 aobjpl 72 100 0 3 2 0 2 2 0 8 0 uaddrrnd 24 1576 0 1546 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1576 0 1546 1 0 1 1 0 8 0 vmmpekpl 168 14000 0 13947 3 0 3 3 0 8 0 vmmpepl 168 106134 0 104305 103 12 91 98 0 357 6 vmsppl 488 1575 0 1546 6 1 5 5 0 8 0 rwobjpl 80 30628 0 29475 33 4 29 30 0 8 2 pdppl 4096 3159 0 3092 123 54 69 83 0 8 2 pvpl 32 15527 0 0 126 0 126 126 0 265 0 pmappl 256 1575 0 1546 3 0 3 3 0 8 0 extentpl 40 46 0 28 1 0 1 1 0 8 0 phpool 112 688 0 78 18 0 18 18 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff83915ff0) 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(ffffffff83aed400) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:142 [inline] __mp_lock(ffffffff83aed400) at __mp_lock+0x192 sys/kern/kern_lock.c:173 softintr_dispatch(0) at softintr_dispatch+0x125 sys/kern/kern_softintr.c:83 dosoftint(0) at dosoftint+0x54 sys/arch/amd64/amd64/intr.c:862 Xsoftclock() at Xsoftclock+0x27 end of kernel end trace frame: 0x7846a24f1a40, count: 8 ddb{0}> trace x86_ipi_db(ffffffff83915ff0) 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(ffffffff83aed400) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:142 [inline] __mp_lock(ffffffff83aed400) at __mp_lock+0x192 sys/kern/kern_lock.c:173 softintr_dispatch(0) at softintr_dispatch+0x125 sys/kern/kern_softintr.c:83 dosoftint(0) at dosoftint+0x54 sys/arch/amd64/amd64/intr.c:862 Xsoftclock() at Xsoftclock+0x27 end of kernel end trace frame: 0x7846a24f1a40, 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(ffffffff834c4787) at panic+0x1e5 sys/kern/subr_prf.c:198 __assert(ffffffff834fea58,ffffffff834f829c,84,ffffffff83551c39) at __assert+0x29 sys/kern/subr_prf.c:-1 rtmap_grow(cf,21) at rtmap_grow+0x24f rtable_add(ce) at rtable_add+0x2d9 rtable_alloc sys/net/rtable.c:370 [inline] rtable_add(ce) at rtable_add+0x2d9 sys/net/rtable.c:223 if_createrdomain(ce,ffff800001622800) at if_createrdomain+0x40 sys/net/if.c:2046 ifioctl(ffff800001617a88,8020699f,ffff80002a316270,ffff800045fefa08) at ifioctl+0x1c52 sys/net/if.c:2395 sys_ioctl(ffff800045fefa08,ffff80002a316450,ffff80002a3163a0) at sys_ioctl+0x674 sys/kern/sys_generic.c:-1 syscall(ffff80002a316450) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a316450) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x2baa8391820, count: 5 ddb{1}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff834c4787) at panic+0x1e5 sys/kern/subr_prf.c:198 __assert(ffffffff834fea58,ffffffff834f829c,84,ffffffff83551c39) at __assert+0x29 sys/kern/subr_prf.c:-1 rtmap_grow(cf,21) at rtmap_grow+0x24f rtable_add(ce) at rtable_add+0x2d9 rtable_alloc sys/net/rtable.c:370 [inline] rtable_add(ce) at rtable_add+0x2d9 sys/net/rtable.c:223 if_createrdomain(ce,ffff800001622800) at if_createrdomain+0x40 sys/net/if.c:2046 ifioctl(ffff800001617a88,8020699f,ffff80002a316270,ffff800045fefa08) at ifioctl+0x1c52 sys/net/if.c:2395 sys_ioctl(ffff800045fefa08,ffff80002a316450,ffff80002a3163a0) at sys_ioctl+0x674 sys/kern/sys_generic.c:-1 syscall(ffff80002a316450) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a316450) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x2baa8391820, count: -10