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 79138 21170 0 0 0x4000000 0 syz-executor *118073 21170 0 0 0x4000000 1K syz-executor db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff83445704) at panic+0x1e5 sys/kern/subr_prf.c:198 __assert(ffffffff83488cbc,ffffffff834882f0,84,ffffffff834e2220) 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,ffff800000c31000) at if_createrdomain+0x40 sys/net/if.c:2046 ifioctl(ffff800001620020,8020699f,ffff80003c4256c0,ffff80002f7b4558) at ifioctl+0x1c52 sys/net/if.c:2395 sys_ioctl(ffff80002f7b4558,ffff80003c4258a0,ffff80003c4257f0) at sys_ioctl+0x674 sys/kern/sys_generic.c:-1 syscall(ffff80003c4258a0) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c4258a0) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x818ea1f9570, 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(ffffffff83445704) at panic+0x1e5 sys/kern/subr_prf.c:198 __assert(ffffffff83488cbc,ffffffff834882f0,84,ffffffff834e2220) 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,ffff800000c31000) at if_createrdomain+0x40 sys/net/if.c:2046 ifioctl(ffff800001620020,8020699f,ffff80003c4256c0,ffff80002f7b4558) at ifioctl+0x1c52 sys/net/if.c:2395 sys_ioctl(ffff80002f7b4558,ffff80003c4258a0,ffff80003c4257f0) at sys_ioctl+0x674 sys/kern/sys_generic.c:-1 syscall(ffff80003c4258a0) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c4258a0) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x818ea1f9570, count: -10 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff80003c4253d0 rbx 0xffff8000299bee07 rdx 0 rcx 0xffff80002f7b4558 rax 0xffff8000299bdff0 r8 0x101010101010101 r9 0x8080808080808080 r10 0x56557dbc32332d36 r11 0x1265776bd042c149 r12 0xffff8000299bec08 r13 0 r14 0 r15 0x1 rip 0xffffffff82421825 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff80003c4253c0 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor) tid=118073 pid=21170 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=0xffff80002f7b47f0,0xffffffff83977ec8 process=0xffff8000353c8020 user=0xffff80003c420000, vmspace=0xfffffd807e6197c8 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 21170 392465 20902 0 3 0x80 fsleep syz-executor 21170 79138 20902 0 7 0x4000000 syz-executor *21170 118073 20902 0 7 0x4000000 syz-executor 62568 159067 89078 0 3 0x90 fsleep syz-executor 62568 468567 89078 0 3 0x4000090 bell syz-executor 9152 351699 50036 0 3 0x80 fsleep syz-executor 9152 38012 50036 0 3 0x4000080 ttyout syz-executor 95926 366868 46003 0 3 0x80 fsleep syz-executor 95926 523345 46003 0 3 0x4000080 ttyin syz-executor 20055 366422 44826 0 3 0x80 fsleep syz-executor 20055 239119 44826 0 3 0x4000080 kqsel syz-executor 20055 238249 44826 0 3 0x4000080 fsleep syz-executor 3575 81955 34991 0 3 0x80 fsleep syz-executor 3575 381664 34991 0 3 0x4000080 fifor syz-executor 76523 383914 74721 0 3 0x80 fsleep syz-executor 76523 284752 74721 0 3 0x4000000 biowait syz-executor 76523 517714 74721 0 3 0x4000000 inode syz-executor 20902 210988 53157 0 3 0x82 nanoslp syz-executor 46003 376222 53157 0 3 0x82 nanoslp syz-executor 34991 61621 53157 0 3 0x82 nanoslp syz-executor 44826 248294 53157 0 3 0x82 nanoslp syz-executor 50036 451265 53157 0 3 0x82 nanoslp syz-executor 89078 177072 53157 0 3 0x82 nanoslp syz-executor 85400 245961 53157 0 3 0x82 wait syz-executor 74721 5132 53157 0 3 0x82 nanoslp syz-executor 53157 362163 56092 0 3 0x82 kqread syz-executor 56092 202523 53387 0 3 0x10008a sigsusp ksh 53387 297063 96990 0 3 0x98 kqread sshd-session 96990 54474 88514 0 3 0x92 kqread sshd-session 56583 189302 1 0 3 0x100083 ttyin getty 88514 47685 1 0 3 0x88 kqread sshd 19718 252904 2633 74 3 0x1100092 bpf pflogd 2633 204477 1 0 3 0x80 sbwait pflogd 67571 209081 95586 73 3 0x1100090 kqread syslogd 95586 24850 1 0 3 0x100082 sbwait syslogd 55796 476144 1 0 3 0x100080 kqread resolvd 56939 427122 4600 77 3 0x100092 kqread dhcpleased 86145 458990 4600 77 3 0x100092 kqread dhcpleased 4600 117038 1 0 3 0x80 kqread dhcpleased 7399 66184 0 0 3 0x14200 bored smr 37127 334352 0 0 3 0x14200 pgzero zerothread 26702 151228 0 0 3 0x14200 aiodoned aiodoned 14429 188748 0 0 3 0x14200 syncer update 5110 487881 0 0 3 0x14200 cleaner cleaner 57405 254192 0 0 3 0x14200 reaper reaper 88950 35911 0 0 3 0x14200 pgdaemon pagedaemon 27942 120113 0 0 3 0x14200 bored viomb 15807 185068 0 0 3 0x40014200 acpi0 acpi0 50480 322928 0 0 3 0x40014200 idle1 92106 120 0 0 3 0x14200 bored softnet1 33820 362246 0 0 3 0x14200 bored softnet0 28142 398868 0 0 3 0x14200 bored systqmp 64554 85250 0 0 3 0x14200 bored systq 22828 325581 0 0 3 0x14200 tmoslp softclockmp 73190 411146 0 0 3 0x40014200 tmoslp softclock 76756 346999 0 0 3 0x40014200 idle0 1 447114 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 21170 (syz-executor) thread 0xffff80002f7b4558 (118073) exclusive kernel_lock &kernel_lock r = 1 (0xffffffff83aa4640) #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 76523 (syz-executor) thread 0xffff80002f7b42c0 (284752) exclusive rrwlock inode r = 0 (0xfffffd807ade7a08) #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+0xbd 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+0x2bd sys/kern/sys_generic.c:384 #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:783 #9 Xsyscall+0x128 Process 76523 (syz-executor) thread 0xffff80002f7b4a88 (517714) exclusive rrwlock inode r = 0 (0xfffffd807ade7c58) #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+0xbd sys/kern/vfs_vops.c:527 #4 vn_lock+0xa4 sys/kern/vfs_vnops.c:570 #5 vfs_lookup+0x11c sys/kern/vfs_lookup.c:-1 #6 namei+0x7ca sys/kern/vfs_lookup.c:250 #7 dofchmodat+0x162 sys/kern/vfs_syscalls.c:2405 #8 syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] #8 syscall+0xb17 sys/arch/amd64/amd64/trap.c:783 #9 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 11072 12116K 12366K 166960K 12310 0 pcb 19 12K 12K 166960K 46 0 rtable 222 7K 7K 166960K 366 0 pf 35 17K 22K 166960K 58 0 ifaddr 42 7K 7K 166960K 48 0 ifgroup 55 2K 2K 166960K 64 0 sysctl 2 1K 9K 166960K 6 0 counters 70 37K 37K 166960K 76 0 ioctlops 0 0K 4K 166960K 1534 0 iov 1 12K 12K 166960K 5 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1327 83K 84K 166960K 1487 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 4 0K 0K 166960K 7 0 dirhash 12 2K 2K 166960K 18 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 85K 166960K 259 0 sigio 0 0K 0K 166960K 3 0 proc 72 115K 148K 166960K 570 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 7 0 in_multi 96 7K 7K 166960K 100 0 ether_multi 1 0K 0K 166960K 1 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 97 440K 440K 166960K 97 0 exec 0 0K 1K 166960K 404 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 248 151K 170K 166960K 4221 0 UVM aobj 6 2K 2K 166960K 6 0 pinsyscall 43 86K 101K 166960K 1419 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 6 0 NDP 12 0K 2K 166960K 32 0 temp 44 9072K 9137K 166960K 6081 0 kqueue 14 20K 30K 166960K 48 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 40 0 37 1 0 1 1 0 8 0 rtentry 176 112 0 12 6 0 6 6 0 8 0 unpcb 144 98 0 71 2 0 2 2 0 8 0 syncache 336 5 0 5 1 1 0 1 0 8 0 tcpqe 32 2 0 2 2 1 1 1 0 8 1 tcpcb 736 30 0 23 1 0 1 1 0 8 0 arp 136 18 0 0 1 0 1 1 0 8 0 inpcb 328 149 0 136 2 0 2 2 0 8 0 nd6 152 24 0 0 1 0 1 1 0 8 0 pkpcb 40 3 0 3 1 1 0 1 0 8 0 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1192 2 0 2 2 1 1 1 0 8 1 pfstscr 40 1 0 0 1 0 1 1 0 8 0 pffrent 40 33 0 33 1 0 1 1 0 8 1 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 1 0 1 1 0 1 1 0 8 1 pftag 88 1 0 1 1 0 1 1 0 8 1 pfstitem 24 26 0 0 1 0 1 1 0 8 0 pfstkey 128 26 0 0 1 0 1 1 0 8 0 pfstate 448 25 0 0 3 0 3 3 0 8 0 pfrule 1360 22 0 17 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 459 0 47 29 0 29 29 0 8 2 art_table 40 460 0 47 5 0 5 5 0 8 0 art_node 32 112 0 23 1 0 1 1 0 8 0 sysvmsgpl 40 2 0 1 1 0 1 1 0 8 0 semapl 112 4 0 2 1 0 1 1 0 8 0 shmpl 112 3 0 0 1 0 1 1 0 8 0 dirhash 1024 21 0 4 3 0 3 3 0 8 0 dino2pl 256 1804 0 331 93 0 93 93 0 8 0 ffsino 296 1804 0 331 114 0 114 114 0 8 0 nchpl 144 2191 0 486 64 0 64 64 0 8 0 vnodes 216 1973 0 0 110 0 110 110 0 8 0 namei 1024 6869 0 6868 3 2 1 2 0 8 0 percpumem 16 53 0 3 1 0 1 1 0 8 0 kstatmem 264 32 0 6 2 0 2 2 0 8 0 scxspl 216 8219 0 8218 4 3 1 3 1 8 0 plimitpl 152 52 0 31 1 0 1 1 0 8 0 sigapl 424 576 0 528 6 0 6 6 0 8 0 knotepl 120 287 0 0 9 0 9 9 0 8 0 kqueuepl 224 61 0 49 1 0 1 1 0 8 0 pipepl 344 130 0 103 3 0 3 3 0 8 0 fdescpl 528 560 0 528 3 0 3 3 0 8 0 filepl 160 2342 0 2095 13 0 13 13 0 8 2 lockfpl 104 44 0 41 1 0 1 1 0 8 0 lockfspl 48 23 0 20 1 0 1 1 0 8 0 sessionpl 144 24 0 15 1 0 1 1 0 8 0 pgrppl 48 36 0 19 1 0 1 1 0 8 0 ucredpl 104 257 0 243 1 0 1 1 0 8 0 zombiepl 144 562 0 561 1 0 1 1 0 8 0 processpl 1232 576 0 528 5 0 5 5 0 8 0 procpl 664 823 0 765 7 1 6 6 0 8 0 sosppl 176 1 0 1 1 1 0 1 0 8 0 sockpl 752 295 0 252 5 0 5 5 0 8 0 mcl64k 65536 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 2 0 0 1 0 1 1 0 8 0 mcl4k 4096 120 0 0 15 0 15 15 0 8 0 mcl2k 2048 19 0 0 3 0 3 3 0 8 0 mtagpl 96 4 0 0 1 0 1 1 0 8 0 mbufpl 256 148 0 0 9 0 9 9 0 8 0 bufpl 280 3059 0 107 211 0 211 211 0 8 0 anonpl 32 5657 0 0 46 0 46 46 0 246 0 amapchunkpl 152 12393 0 11860 26 2 24 24 0 158 2 amappl16 200 2186 0 2095 8 3 5 5 0 8 0 amappl15 192 10 0 10 1 1 0 1 0 8 0 amappl14 184 428 0 427 1 0 1 1 0 8 0 amappl13 176 127 0 114 1 0 1 1 0 8 0 amappl12 168 814 0 783 2 0 2 2 0 8 0 amappl11 160 77 0 75 1 0 1 1 0 8 0 amappl10 152 64 0 50 1 0 1 1 0 8 0 amappl9 144 264 0 264 1 1 0 1 0 8 0 amappl8 136 102 0 100 1 0 1 1 0 8 0 amappl7 128 176 0 163 1 0 1 1 0 8 0 amappl6 120 166 0 165 1 0 1 1 0 8 0 amappl5 112 104 0 94 1 0 1 1 0 8 0 amappl4 104 316 0 297 1 0 1 1 0 8 0 amappl3 96 2317 0 2193 4 0 4 4 0 8 0 amappl2 88 560 0 497 2 0 2 2 0 8 0 amappl1 80 10725 0 10107 18 2 16 17 0 8 1 amappl 88 3470 0 3293 5 0 5 5 0 92 0 uvmvnodes 80 102 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 7 0 7 2 2 0 1 0 8 0 dma128 128 253 0 253 1 1 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 5 0 0 1 0 1 1 0 8 0 uaddrrnd 24 560 0 528 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 560 0 528 1 0 1 1 0 8 0 vmmpekpl 168 6769 0 6737 2 0 2 2 0 8 0 vmmpepl 168 45317 0 43267 102 7 95 96 0 357 5 vmsppl 488 559 0 528 6 1 5 5 0 8 0 rwobjpl 80 16205 0 15079 27 2 25 26 0 8 1 pdppl 4096 1127 0 1056 97 26 71 81 0 8 0 pvpl 32 11520 0 0 93 0 93 93 0 265 0 pmappl 256 559 0 528 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 269 0 33 7 0 7 7 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff838feff0) 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 __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x33 kd_curproc sys/dev/kcov.c:585 [inline] __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x33 sys/dev/kcov.c:153 __mp_lock(ffffffff83aa3e40) at __mp_lock+0x1a3 __mp_lock_spin sys/kern/kern_lock.c:142 [inline] __mp_lock(ffffffff83aa3e40) at __mp_lock+0x1a3 sys/kern/kern_lock.c:173 intr_handler(ffff80003c41b4d0,ffff8000002a3480) at intr_handler+0xe9 sys/arch/amd64/amd64/intr.c:560 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f __mp_lock(ffffffff83aa3e40) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:142 [inline] __mp_lock(ffffffff83aa3e40) at __mp_lock+0x192 sys/kern/kern_lock.c:173 __mp_acquire_count(ffffffff83aa3e40,2) at __mp_acquire_count+0x58 sys/kern/kern_lock.c:-1 malloc(10,5,1) at malloc+0xe3 sys/kern/kern_malloc.c:175 rtmap_grow(17,18) at rtmap_grow+0x8c sys/net/rtable.c:125 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,ffff800000c31000) at if_createrdomain+0x40 sys/net/if.c:2046 ifioctl(ffff800001620020,8020699f,ffff80003c41b8f0,ffff80002f7b47f0) at ifioctl+0x1c52 sys/net/if.c:2395 end trace frame: 0xffff80003c41b9f0, count: 0 ddb{0}> trace x86_ipi_db(ffffffff838feff0) 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 __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x33 kd_curproc sys/dev/kcov.c:585 [inline] __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x33 sys/dev/kcov.c:153 __mp_lock(ffffffff83aa3e40) at __mp_lock+0x1a3 __mp_lock_spin sys/kern/kern_lock.c:142 [inline] __mp_lock(ffffffff83aa3e40) at __mp_lock+0x1a3 sys/kern/kern_lock.c:173 intr_handler(ffff80003c41b4d0,ffff8000002a3480) at intr_handler+0xe9 sys/arch/amd64/amd64/intr.c:560 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f __mp_lock(ffffffff83aa3e40) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:142 [inline] __mp_lock(ffffffff83aa3e40) at __mp_lock+0x192 sys/kern/kern_lock.c:173 __mp_acquire_count(ffffffff83aa3e40,2) at __mp_acquire_count+0x58 sys/kern/kern_lock.c:-1 malloc(10,5,1) at malloc+0xe3 sys/kern/kern_malloc.c:175 rtmap_grow(17,18) at rtmap_grow+0x8c sys/net/rtable.c:125 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,ffff800000c31000) at if_createrdomain+0x40 sys/net/if.c:2046 ifioctl(ffff800001620020,8020699f,ffff80003c41b8f0,ffff80002f7b47f0) at ifioctl+0x1c52 sys/net/if.c:2395 sys_ioctl(ffff80002f7b47f0,ffff80003c41bad0,ffff80003c41ba20) at sys_ioctl+0x674 sys/kern/sys_generic.c:-1 syscall(ffff80003c41bad0) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c41bad0) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x8197f473020, count: -17 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(ffffffff83445704) at panic+0x1e5 sys/kern/subr_prf.c:198 __assert(ffffffff83488cbc,ffffffff834882f0,84,ffffffff834e2220) 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,ffff800000c31000) at if_createrdomain+0x40 sys/net/if.c:2046 ifioctl(ffff800001620020,8020699f,ffff80003c4256c0,ffff80002f7b4558) at ifioctl+0x1c52 sys/net/if.c:2395 sys_ioctl(ffff80002f7b4558,ffff80003c4258a0,ffff80003c4257f0) at sys_ioctl+0x674 sys/kern/sys_generic.c:-1 syscall(ffff80003c4258a0) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c4258a0) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x818ea1f9570, count: 5 ddb{1}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff83445704) at panic+0x1e5 sys/kern/subr_prf.c:198 __assert(ffffffff83488cbc,ffffffff834882f0,84,ffffffff834e2220) 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,ffff800000c31000) at if_createrdomain+0x40 sys/net/if.c:2046 ifioctl(ffff800001620020,8020699f,ffff80003c4256c0,ffff80002f7b4558) at ifioctl+0x1c52 sys/net/if.c:2395 sys_ioctl(ffff80002f7b4558,ffff80003c4258a0,ffff80003c4257f0) at sys_ioctl+0x674 sys/kern/sys_generic.c:-1 syscall(ffff80003c4258a0) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c4258a0) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x818ea1f9570, count: -10