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 *181748 11604 0 0 0x4000000 1K syz-executor 396570 11604 0 0 0x4000000 0 syz-executor db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff833751de) at panic+0x1e5 sys/kern/subr_prf.c:198 __assert(ffffffff833b16f1,ffffffff833afdc1,84,ffffffff8340a8dd) 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,ffff800000b2d000) at if_createrdomain+0x40 sys/net/if.c:1952 ifioctl(ffff8000014ad7a0,8020699f,ffff800037c1b9d0,ffff80003c4582c0) at ifioctl+0x1c66 sys/net/if.c:2301 sys_ioctl(ffff80003c4582c0,ffff800037c1bbb0,ffff800037c1bb00) at sys_ioctl+0x674 sys/kern/sys_generic.c:-1 syscall(ffff800037c1bbb0) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff800037c1bbb0) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xda5f430c9d0, 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(ffffffff833751de) at panic+0x1e5 sys/kern/subr_prf.c:198 __assert(ffffffff833b16f1,ffffffff833afdc1,84,ffffffff8340a8dd) 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,ffff800000b2d000) at if_createrdomain+0x40 sys/net/if.c:1952 ifioctl(ffff8000014ad7a0,8020699f,ffff800037c1b9d0,ffff80003c4582c0) at ifioctl+0x1c66 sys/net/if.c:2301 sys_ioctl(ffff80003c4582c0,ffff800037c1bbb0,ffff800037c1bb00) at sys_ioctl+0x674 sys/kern/sys_generic.c:-1 syscall(ffff800037c1bbb0) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff800037c1bbb0) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xda5f430c9d0, count: -10 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff800037c1b6e0 rbx 0xffff8000299eeddf rdx 0 rcx 0xffff80003c4582c0 rax 0xffff8000299edff0 r8 0x101010101010101 r9 0x8080808080808080 r10 0xf91c1aaf14b739bb r11 0x7d2d2ddf1e27cee9 r12 0xffff8000299eebe0 r13 0 r14 0 r15 0x1 rip 0xffffffff81a1d0d5 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff800037c1b6d0 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor) tid=181748 pid=11604 tcnt=3 stat=onproc flags process=0 proc=4000000 runpri=50, usrpri=86, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80003c458558,0xffff80003c458fc8 process=0xffff800038825830 user=0xffff800037c16000, vmspace=0xfffffd805db959b0 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 11604 390830 15997 0 3 0x80 fsleep syz-executor *11604 181748 15997 0 7 0x4000000 syz-executor 11604 396570 15997 0 7 0x4000000 syz-executor 76149 489863 4641 0 3 0x80 fsleep syz-executor 76149 116186 4641 0 3 0x4000080 wsevent_read syz-executor 51732 272310 22650 0 3 0x80 fsleep syz-executor 51732 174624 22650 0 3 0x4000080 lockf syz-executor 98635 444220 74525 0 3 0x80 fsleep syz-executor 98635 119017 74525 0 3 0x4000080 lockf syz-executor 98635 497650 74525 0 3 0x4000080 lockf syz-executor 74583 279930 22381 0 3 0x80 fsleep syz-executor 74583 22294 22381 0 3 0x4000080 sbwait syz-executor 74583 56167 22381 0 3 0x4000080 fsleep syz-executor 2911 223616 79512 0 3 0x80 fsleep syz-executor 2911 329752 79512 0 3 0x4000080 kqread syz-executor 2629 293370 0 0 3 0x14200 acct acct 69686 449048 1 0 3 0x100083 ttyopn getty 44749 312528 0 0 3 0x14200 bored sosplice 69221 234662 8594 0 3 0x82 wait syz-executor 15997 517944 8594 0 3 0x82 nanoslp syz-executor 79512 184657 8594 0 3 0x82 nanoslp syz-executor 22381 320397 8594 0 3 0x82 nanoslp syz-executor 22650 92643 8594 0 3 0x82 nanoslp syz-executor 28987 178688 8594 0 3 0x82 wait syz-executor 4641 229969 8594 0 3 0x82 nanoslp syz-executor 74525 211037 8594 0 3 0x82 nanoslp syz-executor 8594 493511 44984 0 3 0x82 kqread syz-executor 44984 476979 48975 0 3 0x10008a sigsusp ksh 48975 369951 2192 0 3 0x98 kqread sshd-session 2192 399406 97124 0 3 0x92 kqread sshd-session 97124 387150 1 0 3 0x88 kqread sshd 29356 291397 46528 74 3 0x1100092 bpf pflogd 46528 198360 1 0 3 0x80 sbwait pflogd 287 407544 95542 73 3 0x1100090 kqread syslogd 95542 280035 1 0 3 0x100082 sbwait syslogd 50166 241723 1 0 3 0x100080 kqread resolvd 26279 237683 63112 77 3 0x100092 kqread dhcpleased 83630 384375 63112 77 3 0x100092 kqread dhcpleased 63112 324126 1 0 3 0x80 kqread dhcpleased 86148 352333 0 0 3 0x14200 bored smr 12803 491474 0 0 3 0x14200 pgzero zerothread 63582 37142 0 0 3 0x14200 aiodoned aiodoned 67248 343031 0 0 3 0x14200 syncer update 24599 142930 0 0 3 0x14200 cleaner cleaner 9666 300520 0 0 3 0x14200 reaper reaper 13098 362060 0 0 3 0x14200 pgdaemon pagedaemon 46571 427906 0 0 3 0x14200 bored viomb 13731 515647 0 0 3 0x40014200 acpi0 acpi0 80008 257469 0 0 3 0x40014200 idle1 12544 407292 0 0 3 0x14200 bored softnet7 10348 273317 0 0 3 0x14200 bored softnet6 48284 278663 0 0 3 0x14200 bored softnet5 7028 31439 0 0 3 0x14200 bored softnet4 31194 194473 0 0 3 0x14200 bored softnet3 25054 338109 0 0 3 0x14200 bored softnet2 78721 162524 0 0 3 0x14200 bored softnet1 25885 305519 0 0 3 0x14200 bored softnet0 65486 502471 0 0 3 0x14200 bored systqmp 32027 64824 0 0 3 0x14200 bored systq 60255 242314 0 0 3 0x14200 tmoslp softclockmp 73008 418686 0 0 3 0x40014200 tmoslp softclock 66776 105672 0 0 3 0x40014200 idle0 1 262141 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 11604 (syz-executor) thread 0xffff80003c4582c0 (181748) exclusive kernel_lock &kernel_lock r = 1 (0xffffffff8395afa8) #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:746 #9 Xsyscall+0x128 Process 74583 (syz-executor) thread 0xffff800036c08550 (22294) exclusive rrwlock inode r = 0 (0xfffffd806b817ec8) #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 vget+0x2a2 sys/kern/vfs_subr.c:693 #6 cache_lookup+0x351 sys/kern/vfs_cache.c:222 #7 ufs_lookup+0x1e3 sys/ufs/ufs/ufs_lookup.c:160 #8 VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 #9 vfs_lookup+0x93a sys/kern/vfs_lookup.c:566 #10 namei+0x7ca sys/kern/vfs_lookup.c:250 #11 vn_open+0x15a sys/kern/vfs_vnops.c:140 #12 vndioctl+0xc45 sys/dev/vnd.c:457 #13 VOP_IOCTL+0xac sys/kern/vfs_vops.c:264 #14 vn_ioctl+0xf8 sys/kern/vfs_vnops.c:531 #15 sys_ioctl+0x674 sys/kern/sys_generic.c:-1 #16 syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] #16 syscall+0xbd4 sys/arch/amd64/amd64/trap.c:746 #17 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10213 11129K 11209K 166960K 11514 0 pcb 18 16K 18K 166960K 163 0 rtable 215 8K 8K 166960K 317 0 pf 35 17K 25K 166960K 88 0 ifaddr 46 8K 8K 166960K 66 0 ifgroup 55 2K 2K 166960K 83 0 sysctl 4 1K 9K 166960K 11 0 counters 68 36K 37K 166960K 106 0 ioctlops 0 0K 4K 166960K 1597 0 iov 0 0K 28K 166960K 23 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1350 85K 86K 166960K 1588 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 6 0 VM map 2 1K 1K 166960K 2 0 sem 14 1K 1K 166960K 20 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 97K 166960K 449 0 sigio 0 0K 0K 166960K 8 0 proc 73 115K 196K 166960K 582 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 35 0 in_multi 102 7K 7K 166960K 115 0 ether_multi 1 0K 0K 166960K 2 0 mrt 1 0K 0K 166960K 3 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 91 413K 413K 166960K 91 0 exec 0 0K 1K 166960K 399 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 152K 166K 166960K 5765 0 UVM aobj 11 4K 4K 166960K 11 0 pinsyscall 43 86K 104K 166960K 1541 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 29 0 NDP 12 0K 2K 166960K 42 0 temp 77 8652K 8724K 166960K 32054 0 kqueue 14 20K 28K 166960K 97 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 54 0 51 1 0 1 1 0 8 0 rtentry 176 106 0 15 5 0 5 5 0 8 0 unpcb 144 212 0 191 2 0 2 2 0 8 0 syncache 336 5 0 5 2 2 0 1 0 8 0 tcpqe 32 1 0 1 1 1 0 1 0 8 0 tcpcb 736 132 0 127 4 3 1 4 0 8 0 arp 128 13 0 0 1 0 1 1 0 8 0 inpcb 328 488 0 477 7 5 2 7 0 8 0 nd6 144 16 0 0 1 0 1 1 0 8 0 pkpcb 40 1 0 1 1 0 1 1 0 8 1 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1192 19 0 19 1 0 1 1 0 8 1 pffrag 232 4 0 0 1 0 1 1 0 482 0 pffrnode 88 4 0 0 1 0 1 1 0 8 0 pffrent 40 6 0 0 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 pfanchor 1288 1 0 0 1 0 1 1 0 8 0 pfstitem 24 38 0 1 1 0 1 1 0 8 0 pfstkey 128 40 0 3 2 0 2 2 0 8 0 pfstate 384 39 0 2 4 0 4 4 0 8 0 pfrule 1344 25 0 19 2 0 2 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 495 0 65 30 2 28 30 0 8 0 art_table 40 496 0 65 5 0 5 5 0 8 0 art_node 32 106 0 28 1 0 1 1 0 8 0 sysvmsgpl 40 1 0 0 1 0 1 1 0 8 0 semapl 112 15 0 3 1 0 1 1 0 8 0 shmpl 112 8 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2197 0 683 96 0 96 96 0 8 0 ffsino 296 2197 0 683 118 0 118 118 0 8 0 nchpl 144 2847 0 1154 64 0 64 64 0 8 0 rtmask 32 4 0 4 1 0 1 1 0 8 1 uvmvnodes 80 2364 0 0 49 0 49 49 0 8 0 vnodes 216 2364 0 0 132 0 132 132 0 8 0 namei 1024 9271 0 9271 4 3 1 2 0 8 1 percpumem 16 68 0 19 1 0 1 1 0 8 0 kstatmem 264 54 0 28 3 1 2 3 0 8 0 scxspl 216 10142 0 10142 10 2 8 8 1 8 8 plimitpl 152 169 0 152 1 0 1 1 0 8 0 sigapl 424 756 0 700 7 0 7 7 0 8 0 knotepl 120 530 0 0 17 0 17 17 0 8 0 kqueuepl 224 199 0 188 5 0 5 5 0 8 4 pipepl 344 196 0 169 3 0 3 3 0 8 0 fdescpl 528 732 0 700 3 0 3 3 0 8 0 filepl 160 4101 0 3807 16 1 15 15 0 8 2 lockfpl 104 133 0 126 1 0 1 1 0 8 0 lockfspl 48 52 0 48 1 0 1 1 0 8 0 sessionpl 144 25 0 16 1 0 1 1 0 8 0 pgrppl 48 40 0 23 1 0 1 1 0 8 0 ucredpl 104 490 0 475 1 0 1 1 0 8 0 zombiepl 144 751 0 749 1 0 1 1 0 8 0 processpl 1232 756 0 700 5 0 5 5 0 8 0 procpl 664 1307 0 1242 7 0 7 7 0 8 1 sosppl 168 5 0 5 2 2 0 1 0 8 0 sockpl 752 762 0 727 11 6 5 10 0 8 1 mcl64k 65536 4 0 0 1 0 1 1 0 8 0 mcl16k 16384 1 0 0 1 0 1 1 0 8 0 mcl12k 12288 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 1 0 0 1 0 1 1 0 8 0 mcl4k 4096 126 0 0 16 0 16 16 0 8 0 mcl2k 2048 26 0 0 4 0 4 4 0 8 0 mtagpl 96 2 0 0 1 0 1 1 0 8 0 mbufpl 256 184 0 0 12 0 12 12 0 8 0 bufpl 280 3969 0 126 275 0 275 275 0 8 0 anonpl 32 6839 0 0 56 0 56 56 0 246 0 amapchunkpl 152 18001 0 17452 37 5 32 32 0 158 7 amappl16 200 1315 0 1280 5 2 3 4 0 8 0 amappl15 192 7 0 7 1 1 0 1 0 8 0 amappl14 184 112 0 100 1 0 1 1 0 8 0 amappl13 176 2 0 2 1 1 0 1 0 8 0 amappl12 168 1374 0 1342 3 1 2 2 0 8 0 amappl11 160 50 0 36 1 0 1 1 0 8 0 amappl10 152 5 0 5 1 1 0 1 0 8 0 amappl9 144 262 0 262 1 1 0 1 0 8 0 amappl8 136 37 0 34 1 0 1 1 0 8 0 amappl7 128 137 0 125 1 0 1 1 0 8 0 amappl6 120 174 0 171 1 0 1 1 0 8 0 amappl5 112 122 0 112 1 0 1 1 0 8 0 amappl4 104 300 0 277 1 0 1 1 0 8 0 amappl3 96 3412 0 3289 5 1 4 4 0 8 0 amappl2 88 650 0 589 2 0 2 2 0 8 0 amappl1 80 9857 0 9243 17 2 15 15 0 8 0 amappl 88 5028 0 4845 5 0 5 5 0 92 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 253 0 253 1 1 0 1 0 8 0 dma64 64 6 0 6 1 1 0 1 0 8 0 dma32 32 8 0 8 2 1 1 1 0 8 1 dma16 16 19 0 18 1 0 1 1 0 8 0 aobjpl 72 10 0 0 1 0 1 1 0 8 0 uaddrrnd 24 732 0 700 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 732 0 700 1 0 1 1 0 8 0 vmmpekpl 168 7860 0 7825 3 0 3 3 0 8 1 vmmpepl 168 51174 0 49116 97 4 93 96 0 357 0 vmsppl 488 731 0 700 6 1 5 5 0 8 0 rwobjpl 80 17745 0 14407 69 0 69 69 0 8 0 pdppl 4096 1472 0 1400 110 38 72 88 0 8 0 pvpl 32 14460 0 0 117 0 117 117 0 265 0 pmappl 256 731 0 700 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 291 0 50 8 0 8 8 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff837d8ff0) 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(ffffffff8395ada0) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff8395ada0) 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 __mp_lock(ffffffff8395ada0) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff8395ada0) at __mp_lock+0x192 sys/kern/kern_lock.c:165 __mp_acquire_count(ffffffff8395ada0,2) at __mp_acquire_count+0x58 sys/kern/kern_lock.c:-1 malloc(10,5,1) at malloc+0xe3 sys/kern/kern_malloc.c:174 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,ffff800000b2d000) at if_createrdomain+0x40 sys/net/if.c:1952 ifioctl(ffff8000014ad7a0,8020699f,ffff80003902d630,ffff80003c458fb8) at ifioctl+0x1c66 sys/net/if.c:2301 end trace frame: 0xffff80003902d730, count: 0 ddb{0}> trace x86_ipi_db(ffffffff837d8ff0) 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(ffffffff8395ada0) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff8395ada0) 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 __mp_lock(ffffffff8395ada0) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff8395ada0) at __mp_lock+0x192 sys/kern/kern_lock.c:165 __mp_acquire_count(ffffffff8395ada0,2) at __mp_acquire_count+0x58 sys/kern/kern_lock.c:-1 malloc(10,5,1) at malloc+0xe3 sys/kern/kern_malloc.c:174 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,ffff800000b2d000) at if_createrdomain+0x40 sys/net/if.c:1952 ifioctl(ffff8000014ad7a0,8020699f,ffff80003902d630,ffff80003c458fb8) at ifioctl+0x1c66 sys/net/if.c:2301 sys_ioctl(ffff80003c458fb8,ffff80003902d810,ffff80003902d760) at sys_ioctl+0x674 sys/kern/sys_generic.c:-1 syscall(ffff80003902d810) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003902d810) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xda5b34eeb40, 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(ffffffff833751de) at panic+0x1e5 sys/kern/subr_prf.c:198 __assert(ffffffff833b16f1,ffffffff833afdc1,84,ffffffff8340a8dd) 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,ffff800000b2d000) at if_createrdomain+0x40 sys/net/if.c:1952 ifioctl(ffff8000014ad7a0,8020699f,ffff800037c1b9d0,ffff80003c4582c0) at ifioctl+0x1c66 sys/net/if.c:2301 sys_ioctl(ffff80003c4582c0,ffff800037c1bbb0,ffff800037c1bb00) at sys_ioctl+0x674 sys/kern/sys_generic.c:-1 syscall(ffff800037c1bbb0) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff800037c1bbb0) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xda5f430c9d0, count: 5 ddb{1}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff833751de) at panic+0x1e5 sys/kern/subr_prf.c:198 __assert(ffffffff833b16f1,ffffffff833afdc1,84,ffffffff8340a8dd) 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,ffff800000b2d000) at if_createrdomain+0x40 sys/net/if.c:1952 ifioctl(ffff8000014ad7a0,8020699f,ffff800037c1b9d0,ffff80003c4582c0) at ifioctl+0x1c66 sys/net/if.c:2301 sys_ioctl(ffff80003c4582c0,ffff800037c1bbb0,ffff800037c1bb00) at sys_ioctl+0x674 sys/kern/sys_generic.c:-1 syscall(ffff800037c1bbb0) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff800037c1bbb0) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xda5f430c9d0, count: -10