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 98905 79398 0 0 0 0 syz-executor *371725 14864 0 0 0x4000000 1K syz-executor db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff833ae700) at panic+0x1e5 sys/kern/subr_prf.c:198 __assert(ffffffff833f03f4,ffffffff833ebaf0,84,ffffffff83447ade) 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:2045 ifioctl(ffff8000015ee328,8020699f,ffff800038ff0b70,ffff80002a27e548) at ifioctl+0x1c52 sys/net/if.c:2394 sys_ioctl(ffff80002a27e548,ffff800038ff0d50,ffff800038ff0ca0) at sys_ioctl+0x674 sys/kern/sys_generic.c:-1 syscall(ffff800038ff0d50) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff800038ff0d50) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xe713d1ef650, 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(ffffffff833ae700) at panic+0x1e5 sys/kern/subr_prf.c:198 __assert(ffffffff833f03f4,ffffffff833ebaf0,84,ffffffff83447ade) 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:2045 ifioctl(ffff8000015ee328,8020699f,ffff800038ff0b70,ffff80002a27e548) at ifioctl+0x1c52 sys/net/if.c:2394 sys_ioctl(ffff80002a27e548,ffff800038ff0d50,ffff800038ff0ca0) at sys_ioctl+0x674 sys/kern/sys_generic.c:-1 syscall(ffff800038ff0d50) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff800038ff0d50) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xe713d1ef650, count: -10 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff800038ff0880 rbx 0xffff8000299dee07 rdx 0 rcx 0xffff80002a27e548 rax 0xffff8000299ddff0 r8 0x101010101010101 r9 0x8080808080808080 r10 0x72952176326b46d4 r11 0x3fe5a15b36c37db3 r12 0xffff8000299dec08 r13 0 r14 0 r15 0x1 rip 0xffffffff82574d05 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff800038ff0870 ss 0 db_enter+0x25: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor) tid=371725 pid=14864 tcnt=3 stat=onproc flags process=0 proc=4000000 runpri=86, usrpri=86, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80003c49a030,0xffff80002a27f780 process=0xffff80003c4a8e98 user=0xffff800038feb000, vmspace=0xfffffd80792c9b88 estcpu=36, cpticks=2, pctcpu=0.0, user=0, sys=2, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 79398 98905 65170 0 7 0 syz-executor 79398 67999 65170 0 3 0x4000000 biowait syz-executor 79398 52514 65170 0 3 0x4000080 fsleep syz-executor 79398 95684 65170 0 3 0x4000080 fsleep syz-executor 96101 45229 34795 0 2 0 syz-executor 96101 486737 34795 0 3 0x4000080 fsleep syz-executor 14864 150884 25722 0 2 0 syz-executor 14864 185841 25722 0 2 0x4000000 syz-executor *14864 371725 25722 0 7 0x4000000 syz-executor 91401 401091 94439 0 2 0 syz-executor 91401 24700 94439 0 3 0x4000080 fifor syz-executor 24315 459882 52851 0 3 0x3000 suspend syz-executor 24315 200158 52851 0 2 0x4081000 syz-executor 94439 209413 27485 0 2 0xc82 syz-executor 9625 489139 34150 0 3 0x1003000 suspend syz-executor 9625 450855 34150 0 3 0x5081000 biowait syz-executor 52851 58734 27485 0 2 0xc82 syz-executor 23862 317333 0 0 3 0x14280 nfsidl nfsio 86326 278688 0 0 3 0x14280 nfsidl nfsio 41538 255940 0 0 3 0x14280 nfsidl nfsio 9353 435293 0 0 3 0x14280 nfsidl nfsio 33080 472921 0 0 3 0x14280 nfsidl nfsio 24359 327348 0 0 3 0x14280 nfsidl nfsio 17430 358291 0 0 3 0x14280 nfsidl nfsio 52372 170534 0 0 3 0x14280 nfsidl nfsio 57618 485059 0 0 3 0x14280 nfsidl nfsio 16982 27978 0 0 3 0x14280 nfsidl nfsio 32051 15045 0 0 3 0x14280 nfsidl nfsio 33249 10371 0 0 3 0x14280 nfsidl nfsio 22121 96919 0 0 3 0x14280 nfsidl nfsio 81426 416318 0 0 3 0x14280 nfsidl nfsio 64338 450532 0 0 3 0x14280 nfsidl nfsio 4511 435294 0 0 3 0x14280 nfsidl nfsio 83903 22831 0 0 3 0x14280 nfsidl nfsio 88425 128476 0 0 3 0x14280 nfsidl nfsio 8520 204417 0 0 3 0x14280 nfsidl nfsio 94800 402906 0 0 3 0x14280 nfsidl nfsio 57371 269050 61930 0 3 0x100082 sbwait arp 61930 102381 59043 0 3 0x10008a sigsusp sh 34795 373771 27485 0 2 0xc82 syz-executor 34150 36401 27485 0 3 0x82 wait syz-executor 59043 359128 27485 0 3 0x82 wait syz-executor 65170 361731 27485 0 3 0x82 nanoslp syz-executor 25722 217994 27485 0 2 0x2 syz-executor 17867 70477 27485 0 2 0x3 syz-executor 27485 475484 18826 0 3 0x82 kqread syz-executor 18826 403709 33517 0 3 0x10008a sigsusp ksh 33517 382150 93477 0 3 0x98 kqread sshd-session 93477 213899 34210 0 3 0x92 kqread sshd-session 8110 67869 1 0 3 0x100083 ttyopn getty 34210 392959 1 0 3 0x88 kqread sshd 50695 118829 55142 74 3 0x1100092 bpf pflogd 55142 100108 1 0 3 0x80 sbwait pflogd 59133 187959 60260 73 3 0x1100090 kqread syslogd 60260 411789 1 0 3 0x100082 sbwait syslogd 74889 257169 1 0 3 0x100080 kqread resolvd 33173 22290 30205 77 3 0x100092 kqread dhcpleased 78128 448001 30205 77 3 0x100092 kqread dhcpleased 30205 4140 1 0 3 0x80 kqread dhcpleased 38041 178459 0 0 3 0x14200 bored smr 29943 73869 0 0 3 0x14200 pgzero zerothread 81576 440254 0 0 3 0x14200 aiodoned aiodoned 8363 51104 0 0 3 0x14200 syncer update 60789 26823 0 0 3 0x14200 cleaner cleaner 94922 333354 0 0 3 0x14200 reaper reaper 70368 175519 0 0 3 0x14200 pgdaemon pagedaemon 92627 158011 0 0 3 0x14200 bored viomb 73694 500011 0 0 3 0x40014200 acpi0 acpi0 13489 7752 0 0 3 0x40014200 idle1 51506 433688 0 0 3 0x14200 bored softnet1 43865 32471 0 0 2 0x14200 softnet0 991 191416 0 0 3 0x14200 bored systqmp 72733 382935 0 0 3 0x14200 bored systq 24336 329270 0 0 2 0x14200 softclockmp 3745 430054 0 0 3 0x40014200 tmoslp softclock 27053 16584 0 0 3 0x40014200 idle0 1 1523 0 0 3 0x82 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb{1}> show all locks Process 79398 (syz-executor) thread 0xffff80002a27e2b0 (67999) exclusive rrwlock inode r = 0 (0xfffffd806e94a418) #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+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:775 #9 Xsyscall+0x128 Process 14864 (syz-executor) thread 0xffff80002a27e548 (371725) exclusive kernel_lock &kernel_lock r = 1 (0xffffffff83949740) #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:2045 #6 ifioctl+0x1c52 sys/net/if.c:2394 #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:775 #9 Xsyscall+0x128 Process 24315 (syz-executor) thread 0xffff8000fffe8550 (200158) exclusive rrwlock inode r = 0 (0xfffffd806c783ec0) #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+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:775 #9 Xsyscall+0x128 Process 9625 (syz-executor) thread 0xffff80003c49ba20 (450855) exclusive rrwlock inode r = 0 (0xfffffd806c7830e0) #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+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:775 #9 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 11086 12107K 12237K 166960K 12733 0 pcb 21 12K 12K 166960K 124 0 rtable 215 12K 12K 166960K 524 0 pf 39 18K 22K 166960K 304 0 ifaddr 37 6K 7K 166960K 83 0 ifgroup 51 2K 2K 166960K 121 0 sysctl 4 1K 9K 166960K 12 0 counters 68 36K 38K 166960K 140 0 ioctlops 0 0K 6K 166960K 1661 0 iov 0 0K 16K 166960K 39 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1466 92K 92K 166960K 1923 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 3 5K 9K 166960K 8 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 27 0 dirhash 12 2K 2K 166960K 24 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 248K 166960K 703 0 sigio 0 0K 0K 166960K 5 0 proc 72 115K 180K 166960K 614 0 subproc 72 4K 4K 166960K 90 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 50 0 in_multi 78 5K 6K 166960K 142 0 ether_multi 1 0K 0K 166960K 10 0 mrt 0 0K 0K 166960K 6 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 223 996K 996K 166960K 223 0 exec 0 0K 1K 166960K 444 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 259 166K 177K 166960K 8344 0 UVM aobj 11 6K 6K 166960K 16 0 pinsyscall 44 88K 104K 166960K 1858 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 1K 166960K 46 0 NDP 13 0K 1K 166960K 54 0 temp 74 8682K 8750K 166960K 33550 0 kqueue 13 20K 30K 166960K 139 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 84 0 80 1 0 1 1 0 8 0 rtentry 176 142 0 60 5 0 5 5 0 8 0 unpcb 144 391 0 371 5 2 3 4 0 8 2 syncache 336 5 0 5 2 2 0 1 0 8 0 tcpqe 32 2 0 2 1 1 0 1 0 8 0 tcpcb 736 192 0 186 4 3 1 4 0 8 0 arp 136 24 0 9 1 0 1 1 0 8 0 inpcb 328 651 0 637 10 3 7 7 0 8 5 nd6 152 28 0 9 1 0 1 1 0 8 0 pkpcb 40 6 0 6 3 2 1 1 0 8 1 kcovpl 48 10 0 2 1 0 1 1 0 8 0 mppekey 1024 1 0 1 1 1 0 1 0 8 0 ppxss 1192 26 0 26 3 2 1 1 0 8 1 pppxif 1504 4 0 4 1 1 0 1 0 8 0 pfstscr 40 1 0 1 1 1 0 1 0 8 0 pffrag 232 5 0 3 1 0 1 1 0 482 0 pffrnode 88 5 0 3 1 0 1 1 0 8 0 pffrent 40 8 0 6 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 10 0 3 1 0 1 1 0 8 0 pfanchor 1288 2 0 0 1 0 1 1 0 8 0 pftag 88 2 0 0 1 0 1 1 0 8 0 pfstkey 128 2 0 2 1 1 0 1 0 8 0 pfstate 448 1 0 1 1 1 0 1 0 8 0 pfrule 1360 72 0 36 4 0 4 4 0 8 1 rttmr 136 1 0 1 1 1 0 1 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 626 0 263 31 8 23 28 0 8 0 art_table 40 628 0 263 5 0 5 5 0 8 0 art_node 32 142 0 70 1 0 1 1 0 8 0 sysvmsgpl 40 13 0 11 1 0 1 1 0 8 0 semupl 112 2 0 1 2 1 1 1 0 8 0 semapl 112 23 0 13 1 0 1 1 0 8 0 shmpl 112 9 0 3 1 0 1 1 0 8 0 dirhash 1024 25 0 8 3 0 3 3 0 8 0 dino2pl 256 2608 0 1090 96 0 96 96 0 8 0 ffsino 296 2608 0 1090 118 1 117 118 0 8 0 nchpl 144 3550 0 1838 64 0 64 64 0 8 0 rtmask 32 6 0 6 3 2 1 1 0 8 1 vnodes 216 3049 0 0 170 0 170 170 0 8 0 namei 1024 11429 0 11429 3 2 1 2 0 8 1 percpumem 16 85 0 36 1 0 1 1 0 8 0 vcpupl 3968 2 0 0 1 0 1 1 0 8 0 vmpool 848 3 0 1 1 0 1 1 0 8 0 pfiaddrpl 120 35 0 0 2 0 2 2 0 8 0 kstatmem 264 72 0 48 3 1 2 3 0 8 0 scxspl 216 18602 0 18600 10 9 1 8 1 8 0 plimitpl 152 114 0 94 1 0 1 1 0 8 0 sigapl 424 1010 0 942 8 0 8 8 0 8 0 knotepl 120 314 0 0 10 0 10 10 0 8 0 kqueuepl 224 220 0 210 2 1 1 2 0 8 0 pipepl 344 172 0 144 4 1 3 4 0 8 0 fdescpl 528 973 0 941 3 0 3 3 0 8 0 filepl 160 5017 0 4759 13 0 13 13 0 8 2 lockfpl 104 332 0 328 2 1 1 2 0 8 0 lockfspl 48 151 0 147 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 779 0 765 1 0 1 1 0 8 0 zombiepl 144 1219 0 1217 1 0 1 1 0 8 0 processpl 1232 1010 0 942 6 0 6 6 0 8 0 procpl 664 2030 0 1953 9 1 8 9 0 8 1 sosppl 176 4 0 4 1 1 0 1 0 8 0 sockpl 752 1142 0 1104 13 3 10 10 0 8 6 mcl64k 65536 4 0 0 1 0 1 1 0 8 0 mcl8k 8192 2 0 0 1 0 1 1 0 8 0 mcl4k 4096 123 0 0 16 0 16 16 0 8 0 mcl2k 2048 26 0 0 4 0 4 4 0 8 0 mtagpl 96 5 0 0 1 0 1 1 0 8 0 mbufpl 256 274 0 0 17 0 17 17 0 8 0 bufpl 280 7192 0 1055 439 0 439 439 0 8 0 anonpl 32 9640 0 0 78 0 78 78 0 246 0 amapchunkpl 152 26815 0 26263 41 16 25 35 0 158 1 amappl16 200 3372 0 3202 28 19 9 14 0 8 0 amappl15 192 6 0 6 1 1 0 1 0 8 0 amappl14 184 3 0 3 1 1 0 1 0 8 0 amappl13 176 467 0 465 1 0 1 1 0 8 0 amappl12 168 1347 0 1303 3 0 3 3 0 8 0 amappl11 160 3 0 3 1 1 0 1 0 8 0 amappl10 152 54 0 40 1 0 1 1 0 8 0 amappl9 144 244 0 244 1 1 0 1 0 8 0 amappl8 136 27 0 25 1 0 1 1 0 8 0 amappl7 128 83 0 82 1 0 1 1 0 8 0 amappl6 120 329 0 313 1 0 1 1 0 8 0 amappl5 112 77 0 67 1 0 1 1 0 8 0 amappl4 104 429 0 399 1 0 1 1 0 8 0 amappl3 96 4539 0 4439 3 0 3 3 0 8 0 amappl2 88 1087 0 1009 2 0 2 2 0 8 0 amappl1 80 11543 0 10918 15 0 15 15 0 8 0 amappl 88 7496 0 7321 5 0 5 5 0 92 0 uvmvnodes 80 130 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 6 0 6 1 1 0 1 0 8 0 dma128 128 253 0 253 1 1 0 1 0 8 0 dma64 64 7 0 7 2 2 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 15 0 5 1 0 1 1 0 8 0 uaddrrnd 24 973 0 941 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 973 0 941 1 0 1 1 0 8 0 vmmpekpl 168 9835 0 9792 3 0 3 3 0 8 0 vmmpepl 168 68714 0 66610 108 15 93 99 0 357 0 vmsppl 488 972 0 941 5 0 5 5 0 8 0 rwobjpl 80 21393 0 20124 30 3 27 28 0 8 0 pdppl 4096 1959 0 1886 108 31 77 85 0 8 4 pvpl 32 17732 0 0 143 0 143 143 0 265 0 pmappl 256 975 0 942 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 300 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(ffffffff83841ff0) 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(ffffffff83948f40) at __mp_lock+0x199 __mp_lock_spin sys/kern/kern_lock.c:142 [inline] __mp_lock(ffffffff83948f40) at __mp_lock+0x199 sys/kern/kern_lock.c:173 intr_handler(ffff8000393f6c20,ffff8000002a3480) at intr_handler+0xe9 sys/arch/amd64/amd64/intr.c:560 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f end of kernel end trace frame: 0x7e8151fd7d80, count: 9 ddb{0}> trace x86_ipi_db(ffffffff83841ff0) 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(ffffffff83948f40) at __mp_lock+0x199 __mp_lock_spin sys/kern/kern_lock.c:142 [inline] __mp_lock(ffffffff83948f40) at __mp_lock+0x199 sys/kern/kern_lock.c:173 intr_handler(ffff8000393f6c20,ffff8000002a3480) at intr_handler+0xe9 sys/arch/amd64/amd64/intr.c:560 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f end of kernel end trace frame: 0x7e8151fd7d80, 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(ffffffff833ae700) at panic+0x1e5 sys/kern/subr_prf.c:198 __assert(ffffffff833f03f4,ffffffff833ebaf0,84,ffffffff83447ade) 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:2045 ifioctl(ffff8000015ee328,8020699f,ffff800038ff0b70,ffff80002a27e548) at ifioctl+0x1c52 sys/net/if.c:2394 sys_ioctl(ffff80002a27e548,ffff800038ff0d50,ffff800038ff0ca0) at sys_ioctl+0x674 sys/kern/sys_generic.c:-1 syscall(ffff800038ff0d50) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff800038ff0d50) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xe713d1ef650, count: 5 ddb{1}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff833ae700) at panic+0x1e5 sys/kern/subr_prf.c:198 __assert(ffffffff833f03f4,ffffffff833ebaf0,84,ffffffff83447ade) 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:2045 ifioctl(ffff8000015ee328,8020699f,ffff800038ff0b70,ffff80002a27e548) at ifioctl+0x1c52 sys/net/if.c:2394 sys_ioctl(ffff80002a27e548,ffff800038ff0d50,ffff800038ff0ca0) at sys_ioctl+0x674 sys/kern/sys_generic.c:-1 syscall(ffff800038ff0d50) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff800038ff0d50) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xe713d1ef650, count: -10