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 291503 545 0 0 0 0 syz-executor *253210 545 0 0 0x4000000 1K syz-executor db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff8336fccb) at panic+0x1e5 sys/kern/subr_prf.c:198 __assert(ffffffff833b27d2,ffffffff833b0192,84,ffffffff8340aa0f) 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(ffff800010fda020,8020699f,ffff80003c439ac0,ffff80003c43a028) at ifioctl+0x1c66 sys/net/if.c:2301 sys_ioctl(ffff80003c43a028,ffff80003c439ca0,ffff80003c439bf0) at sys_ioctl+0x674 sys/kern/sys_generic.c:-1 syscall(ffff80003c439ca0) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c439ca0) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x49db28201e0, 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(ffffffff8336fccb) at panic+0x1e5 sys/kern/subr_prf.c:198 __assert(ffffffff833b27d2,ffffffff833b0192,84,ffffffff8340aa0f) 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(ffff800010fda020,8020699f,ffff80003c439ac0,ffff80003c43a028) at ifioctl+0x1c66 sys/net/if.c:2301 sys_ioctl(ffff80003c43a028,ffff80003c439ca0,ffff80003c439bf0) at sys_ioctl+0x674 sys/kern/sys_generic.c:-1 syscall(ffff80003c439ca0) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c439ca0) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x49db28201e0, count: -10 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff80003c4397d0 rbx 0xffff8000299eeddf rdx 0 rcx 0xffff80003c43a028 rax 0xffff8000299edff0 r8 0x101010101010101 r9 0x8080808080808080 r10 0x22268815bd0ced59 r11 0x8d3560dab18350e r12 0xffff8000299eebe0 r13 0 r14 0 r15 0x1 rip 0xffffffff82c66485 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff80003c4397c0 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor) tid=253210 pid=545 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=0xffff80003c43a558,0xffff80003c43ba28 process=0xffff80003c425360 user=0xffff80003c434000, vmspace=0xfffffd806ab59208 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 8060 208223 22724 0 2 0 syz-executor 545 291503 673 0 7 0 syz-executor * 545 253210 673 0 7 0x4000000 syz-executor 545 340965 673 0 2 0x4000000 syz-executor 46040 406644 19190 0 2 0 syz-executor 46040 173682 19190 0 3 0x4000080 fsleep syz-executor 63695 24132 69304 0 2 0 syz-executor 63695 296292 69304 0 3 0x4000080 fsleep syz-executor 63695 154930 69304 0 2 0x4000001 syz-executor 97609 445787 6831 0 2 0 syz-executor 97609 44684 6831 0 3 0x4000080 fsleep syz-executor 32702 32434 53526 0 2 0 syz-executor 32702 408157 53526 0 3 0x4000000 biowait syz-executor 42244 347413 0 0 3 0x14200 bored sosplice 19190 168434 72582 0 3 0x82 nanoslp syz-executor 69304 372435 72582 0 3 0x82 nanoslp syz-executor 81594 521128 72582 0 3 0x2 biowait syz-executor 673 328392 72582 0 3 0x82 nanoslp syz-executor 6831 483161 72582 0 3 0x82 nanoslp syz-executor 22724 332666 72582 0 3 0x82 nanoslp syz-executor 53526 450258 72582 0 3 0x82 nanoslp syz-executor 63839 102321 72582 0 3 0x82 wait syz-executor 72582 513329 8188 0 3 0x82 kqread syz-executor 8188 221878 61084 0 3 0x10008a sigsusp ksh 61084 131971 34936 0 3 0x98 kqread sshd-session 34936 492027 76073 0 3 0x92 kqread sshd-session 48004 478919 1 0 3 0x100083 ttyin getty 76073 151950 1 0 3 0x88 kqread sshd 14966 377661 55715 74 3 0x1100092 bpf pflogd 55715 103762 1 0 3 0x80 sbwait pflogd 20036 278503 56414 73 3 0x1100090 kqread syslogd 56414 469161 1 0 3 0x100082 sbwait syslogd 64397 164399 1 0 3 0x100080 kqread resolvd 52117 247002 56822 77 3 0x100092 kqread dhcpleased 90337 56307 56822 77 3 0x100092 kqread dhcpleased 56822 426539 1 0 3 0x80 kqread dhcpleased 64985 312259 0 0 3 0x14200 bored smr 29359 439657 0 0 2 0x14200 zerothread 93428 132341 0 0 3 0x14200 aiodoned aiodoned 81465 480446 0 0 3 0x14200 syncer update 86701 487575 0 0 3 0x14200 cleaner cleaner 68092 96466 0 0 3 0x14200 reaper reaper 77832 331655 0 0 3 0x14200 pgdaemon pagedaemon 45653 225962 0 0 3 0x14200 bored viomb 43738 106729 0 0 3 0x40014200 acpi0 acpi0 65728 401183 0 0 3 0x40014200 idle1 36179 75976 0 0 3 0x14200 bored softnet7 86188 268869 0 0 3 0x14200 bored softnet6 81927 56171 0 0 3 0x14200 bored softnet5 24437 217385 0 0 3 0x14200 bored softnet4 68675 213041 0 0 3 0x14200 bored softnet3 7980 269447 0 0 3 0x14200 bored softnet2 2157 235094 0 0 3 0x14200 bored softnet1 55225 383420 0 0 3 0x14200 bored softnet0 52131 340467 0 0 3 0x14200 bored systqmp 76680 162105 0 0 3 0x14200 bored systq 32489 481719 0 0 3 0x14200 tmoslp softclockmp 21523 197914 0 0 3 0x40014200 tmoslp softclock 57825 350803 0 0 3 0x40014200 idle0 1 98401 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 545 (syz-executor) thread 0xffff80003c43a028 (253210) exclusive kernel_lock &kernel_lock r = 1 (0xffffffff839bfc60) #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 32702 (syz-executor) thread 0xffff80003c43b780 (408157) exclusive rrwlock inode r = 0 (0xfffffd806b820b48) #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 ufs_ihashins+0x4f ufs_ihash sys/ufs/ufs/ufs_ihash.c:-1 [inline] #4 ufs_ihashins+0x4f sys/ufs/ufs/ufs_ihash.c:159 #5 ffs_vget+0x187 sys/ufs/ffs/ffs_vfsops.c:1232 #6 ffs_inode_alloc+0x279 sys/ufs/ffs/ffs_alloc.c:393 #7 ufs_mkdir+0xfc sys/ufs/ufs/ufs_vnops.c:1112 #8 VOP_MKDIR+0x101 sys/kern/vfs_vops.c:394 #9 domkdirat+0x179 sys/kern/vfs_syscalls.c:3113 #10 syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] #10 syscall+0xb17 sys/arch/amd64/amd64/trap.c:746 #11 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd806b820208) #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 vfs_lookup+0x11c sys/kern/vfs_lookup.c:-1 #6 namei+0x7ca sys/kern/vfs_lookup.c:250 #7 domkdirat+0x8b sys/kern/vfs_syscalls.c:3098 #8 syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] #8 syscall+0xb17 sys/arch/amd64/amd64/trap.c:746 #9 Xsyscall+0x128 Process 81594 (syz-executor) thread 0xffff8000ffff2a70 (521128) exclusive rrwlock inode r = 0 (0xfffffd806b8208f8) #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 ufs_ihashins+0x4f ufs_ihash sys/ufs/ufs/ufs_ihash.c:-1 [inline] #4 ufs_ihashins+0x4f sys/ufs/ufs/ufs_ihash.c:159 #5 ffs_vget+0x187 sys/ufs/ffs/ffs_vfsops.c:1232 #6 ffs_inode_alloc+0x279 sys/ufs/ffs/ffs_alloc.c:393 #7 ufs_mkdir+0xfc sys/ufs/ufs/ufs_vnops.c:1112 #8 VOP_MKDIR+0x101 sys/kern/vfs_vops.c:394 #9 domkdirat+0x179 sys/kern/vfs_syscalls.c:3113 #10 syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] #10 syscall+0xb17 sys/arch/amd64/amd64/trap.c:746 #11 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd806bd91d90) #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 vfs_lookup+0x11c sys/kern/vfs_lookup.c:-1 #6 namei+0x7ca sys/kern/vfs_lookup.c:250 #7 domkdirat+0x8b sys/kern/vfs_syscalls.c:3098 #8 syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] #8 syscall+0xb17 sys/arch/amd64/amd64/trap.c:746 #9 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10202 11029K 11193K 166960K 11508 0 pcb 20 12K 12K 166960K 60 0 rtable 210 8K 8K 166960K 310 0 pf 36 18K 81K 166960K 79 0 ifaddr 44 7K 8K 166960K 65 0 ifgroup 55 2K 2K 166960K 94 0 sysctl 3 1K 9K 166960K 9 0 counters 68 36K 38K 166960K 120 0 ioctlops 0 0K 4K 166960K 1528 0 iov 0 0K 14K 166960K 11 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1374 86K 87K 166960K 1542 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 7 0 VM map 2 1K 1K 166960K 2 0 sem 9 0K 0K 166960K 12 0 dirhash 12 2K 2K 166960K 15 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 110K 166960K 363 0 sigio 0 0K 0K 166960K 4 0 proc 72 115K 196K 166960K 543 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 38 0 in_multi 102 7K 7K 166960K 111 0 ether_multi 1 0K 0K 166960K 1 0 mrt 0 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 384 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 232 168K 176K 166960K 4912 0 UVM aobj 77 3K 4K 166960K 78 0 pinsyscall 42 84K 103K 166960K 1434 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 7 0 NDP 12 0K 2K 166960K 43 0 temp 41 8643K 8718K 166960K 20678 0 kqueue 14 22K 28K 166960K 67 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 46 0 43 1 0 1 1 0 8 0 rtentry 176 103 0 16 5 0 5 5 0 8 0 unpcb 144 166 0 147 1 0 1 1 0 8 0 syncache 336 3 0 3 1 1 0 1 0 8 0 tcpcb 736 130 0 126 7 6 1 7 0 8 0 arp 128 12 0 1 1 0 1 1 0 8 0 inpcb 328 291 0 281 8 6 2 7 0 8 1 nd6 144 17 0 0 1 0 1 1 0 8 0 pkpcb 40 1 0 1 1 1 0 1 0 8 0 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1192 22 0 22 2 1 1 1 0 8 1 pppxif 1504 1 0 1 1 1 0 1 0 8 0 pffrag 232 2 0 0 1 0 1 1 0 482 0 pffrnode 88 2 0 0 1 0 1 1 0 8 0 pffrent 40 3 0 1 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 1 0 1 1 1 0 1 0 8 0 pfstitem 24 33 0 1 1 0 1 1 0 8 0 pfstkey 128 37 0 5 2 0 2 2 0 8 0 pfstate 384 34 0 3 4 0 4 4 0 8 0 pfrule 1344 23 0 18 2 1 1 2 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 486 0 50 30 1 29 30 0 8 0 art_table 40 488 0 50 5 0 5 5 0 8 0 art_node 32 103 0 26 1 0 1 1 0 8 0 sysvmsgpl 40 2 0 1 1 0 1 1 0 8 0 semapl 112 9 0 2 1 0 1 1 0 8 0 shmpl 112 75 0 1 3 0 3 3 0 8 0 dirhash 1024 19 0 2 3 0 3 3 0 8 0 dino2pl 256 2008 0 498 96 0 96 96 0 8 0 ffsino 296 2008 0 498 118 1 117 118 0 8 0 nchpl 144 2498 0 812 63 0 63 63 0 8 0 rtmask 32 5 0 5 2 1 1 1 0 8 1 uvmvnodes 80 2187 0 0 45 0 45 45 0 8 0 vnodes 216 2187 0 0 122 0 122 122 0 8 0 namei 1024 7736 0 7734 3 2 1 2 0 8 0 percpumem 16 75 0 26 1 0 1 1 0 8 0 kstatmem 264 56 0 30 3 1 2 3 0 8 0 scsiplug 72 3 0 3 1 1 0 1 0 8 0 scxspl 216 8553 0 8551 3 2 1 2 1 8 0 plimitpl 152 52 0 35 1 0 1 1 0 8 0 sigapl 424 659 0 605 7 0 7 7 0 8 0 knotepl 120 307 0 0 10 0 10 10 0 8 0 kqueuepl 224 103 0 92 2 1 1 2 0 8 0 pipepl 344 148 0 121 6 0 6 6 0 8 3 fdescpl 528 636 0 605 3 0 3 3 0 8 0 filepl 160 2892 0 2669 13 0 13 13 0 8 3 lockfpl 104 104 0 100 1 0 1 1 0 8 0 lockfspl 48 42 0 38 1 0 1 1 0 8 0 sessionpl 144 22 0 13 1 0 1 1 0 8 0 pgrppl 48 37 0 20 1 0 1 1 0 8 0 ucredpl 104 300 0 287 1 0 1 1 0 8 0 zombiepl 144 626 0 625 1 0 1 1 0 8 0 processpl 1232 659 0 605 5 0 5 5 0 8 0 procpl 664 1067 0 1006 7 1 6 7 0 8 0 sockpl 752 513 0 480 11 7 4 11 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 112 0 0 14 0 14 14 0 8 0 mcl2k 2048 34 0 0 5 0 5 5 0 8 0 mtagpl 96 2 0 0 1 0 1 1 0 8 0 mbufpl 256 203 0 0 13 0 13 13 0 8 0 bufpl 280 3476 0 123 240 0 240 240 0 8 0 anonpl 32 5496 0 0 45 0 45 45 0 246 0 amapchunkpl 152 15366 0 14903 32 7 25 26 0 158 2 amappl16 200 2365 0 2338 5 2 3 5 0 8 0 amappl15 192 6 0 6 1 1 0 1 0 8 0 amappl14 184 113 0 101 1 0 1 1 0 8 0 amappl13 176 3 0 3 1 1 0 1 0 8 0 amappl12 168 1275 0 1245 3 1 2 2 0 8 0 amappl11 160 55 0 41 1 0 1 1 0 8 0 amappl10 152 6 0 6 1 1 0 1 0 8 0 amappl9 144 256 0 255 1 0 1 1 0 8 0 amappl8 136 21 0 18 1 0 1 1 0 8 0 amappl7 128 111 0 99 1 0 1 1 0 8 0 amappl6 120 177 0 174 1 0 1 1 0 8 0 amappl5 112 198 0 189 1 0 1 1 0 8 0 amappl4 104 289 0 272 1 0 1 1 0 8 0 amappl3 96 2525 0 2433 3 0 3 3 0 8 0 amappl2 88 860 0 783 2 0 2 2 0 8 0 amappl1 80 9187 0 8579 14 1 13 14 0 8 0 amappl 88 4213 0 4055 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 7 0 7 1 1 0 1 0 8 0 dma16 16 18 0 17 1 0 1 1 0 8 0 aobjpl 72 77 0 1 2 0 2 2 0 8 0 uaddrrnd 24 636 0 605 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 636 0 605 1 0 1 1 0 8 0 vmmpekpl 168 6843 0 6809 2 0 2 2 0 8 0 vmmpepl 168 46230 0 44263 90 0 90 90 0 357 1 vmsppl 488 635 0 605 5 1 4 5 0 8 0 rwobjpl 80 17420 0 14235 66 0 66 66 0 8 0 pdppl 4096 1280 0 1210 98 26 72 86 0 8 2 pvpl 32 13055 0 0 107 1 106 106 0 265 0 pmappl 256 635 0 605 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 280 0 38 8 0 8 8 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff8378eff0) 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(ffffffff839bfa58) at __mp_lock+0x199 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff839bfa58) at __mp_lock+0x199 sys/kern/kern_lock.c:165 intr_handler(ffff80003c421460,ffff800000079a80) 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: 0x7a79906b2080, count: 9 ddb{0}> trace x86_ipi_db(ffffffff8378eff0) 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(ffffffff839bfa58) at __mp_lock+0x199 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff839bfa58) at __mp_lock+0x199 sys/kern/kern_lock.c:165 intr_handler(ffff80003c421460,ffff800000079a80) 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: 0x7a79906b2080, 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(ffffffff8336fccb) at panic+0x1e5 sys/kern/subr_prf.c:198 __assert(ffffffff833b27d2,ffffffff833b0192,84,ffffffff8340aa0f) 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(ffff800010fda020,8020699f,ffff80003c439ac0,ffff80003c43a028) at ifioctl+0x1c66 sys/net/if.c:2301 sys_ioctl(ffff80003c43a028,ffff80003c439ca0,ffff80003c439bf0) at sys_ioctl+0x674 sys/kern/sys_generic.c:-1 syscall(ffff80003c439ca0) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c439ca0) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x49db28201e0, count: 5 ddb{1}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff8336fccb) at panic+0x1e5 sys/kern/subr_prf.c:198 __assert(ffffffff833b27d2,ffffffff833b0192,84,ffffffff8340aa0f) 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(ffff800010fda020,8020699f,ffff80003c439ac0,ffff80003c43a028) at ifioctl+0x1c66 sys/net/if.c:2301 sys_ioctl(ffff80003c43a028,ffff80003c439ca0,ffff80003c439bf0) at sys_ioctl+0x674 sys/kern/sys_generic.c:-1 syscall(ffff80003c439ca0) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c439ca0) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x49db28201e0, count: -10