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 *280511 91919 0 0 0x4000000 1K syz-executor 147147 91919 0 0 0x4000000 0 syz-executor db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff8336f3d2) at panic+0x1e5 sys/kern/subr_prf.c:198 __assert(ffffffff833b011a,ffffffff833a7ff4,84,ffffffff83402467) at __assert+0x29 sys/kern/subr_prf.c:-1 rtmap_grow(21,21) at rtmap_grow+0x24f rtable_add(20) at rtable_add+0x2d9 rtable_alloc sys/net/rtable.c:370 [inline] rtable_add(20) at rtable_add+0x2d9 sys/net/rtable.c:223 if_createrdomain(20,ffff800001497000) at if_createrdomain+0x40 sys/net/if.c:1952 ifioctl(ffff8000014e1b20,8020699f,ffff80003c479280,ffff80003c44f780) at ifioctl+0x1c66 sys/net/if.c:2301 sys_ioctl(ffff80003c44f780,ffff80003c479460,ffff80003c4793b0) at sys_ioctl+0x674 sys/kern/sys_generic.c:-1 syscall(ffff80003c479460) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c479460) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x795897549e0, 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(ffffffff8336f3d2) at panic+0x1e5 sys/kern/subr_prf.c:198 __assert(ffffffff833b011a,ffffffff833a7ff4,84,ffffffff83402467) at __assert+0x29 sys/kern/subr_prf.c:-1 rtmap_grow(21,21) at rtmap_grow+0x24f rtable_add(20) at rtable_add+0x2d9 rtable_alloc sys/net/rtable.c:370 [inline] rtable_add(20) at rtable_add+0x2d9 sys/net/rtable.c:223 if_createrdomain(20,ffff800001497000) at if_createrdomain+0x40 sys/net/if.c:1952 ifioctl(ffff8000014e1b20,8020699f,ffff80003c479280,ffff80003c44f780) at ifioctl+0x1c66 sys/net/if.c:2301 sys_ioctl(ffff80003c44f780,ffff80003c479460,ffff80003c4793b0) at sys_ioctl+0x674 sys/kern/sys_generic.c:-1 syscall(ffff80003c479460) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c479460) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x795897549e0, count: -10 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff80003c478f90 rbx 0xffff8000299eeddf rdx 0 rcx 0xffff80003c44f780 rax 0xffff8000299edff0 r8 0x101010101010101 r9 0x8080808080808080 r10 0x643fc1950a22ba73 r11 0xbd8297af275869df r12 0xffff8000299eebe0 r13 0 r14 0 r15 0x1 rip 0xffffffff8324dbb5 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff80003c478f80 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor) tid=280511 pid=91919 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=0xffff80003c44e2c0,0xffff80003c44efc8 process=0xffff80003c4921e0 user=0xffff80003c474000, vmspace=0xfffffd806b9a73e8 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 91919 446983 6574 0 3 0x80 fsleep syz-executor *91919 280511 6574 0 7 0x4000000 syz-executor 91919 147147 6574 0 7 0x4000000 syz-executor 15793 46809 98808 0 3 0x80 fsleep syz-executor 15793 94122 98808 0 3 0x4000080 ttyretype syz-executor 49324 427765 83974 0 3 0x80 fsleep syz-executor 49324 307503 83974 0 3 0x4000080 sbwait syz-executor 49324 285180 83974 0 3 0x4000000 sbufrcv syz-executor 99601 91683 99314 0 3 0x80 fsleep syz-executor 99601 397826 99314 0 3 0x4000080 sbwait syz-executor 91626 304571 12241 0 3 0x80 fsleep syz-executor 91626 181698 12241 0 3 0x4000080 ttyout syz-executor 23002 265028 63181 0 3 0x80 fsleep syz-executor 23002 151580 63181 0 3 0x4000080 ttyin syz-executor 57652 403153 79058 -1 3 0x90 fsleep syz-executor 57652 196649 79058 -1 3 0x4000090 kqread syz-executor 8666 10175 0 0 3 0x14280 nfsidl nfsio 8567 229030 0 0 3 0x14280 nfsidl nfsio 5751 393690 0 0 3 0x14280 nfsidl nfsio 8287 412960 0 0 3 0x14280 nfsidl nfsio 60745 459096 0 0 3 0x14280 nfsidl nfsio 42763 26222 0 0 3 0x14280 nfsidl nfsio 79315 337246 0 0 3 0x14280 nfsidl nfsio 31251 219368 0 0 3 0x14280 nfsidl nfsio 61466 347462 0 0 3 0x14280 nfsidl nfsio 30582 356750 0 0 3 0x14280 nfsidl nfsio 10131 52935 1 0 3 0x100083 ttyin getty 63181 371464 5552 0 3 0x82 nanoslp syz-executor 58880 468073 5552 0 3 0x82 nanoslp syz-executor 43930 421052 31843 0 3 0x82 sbwait sshd-session 19583 286867 0 0 3 0x14200 bored sosplice 98808 199099 5552 0 3 0x82 nanoslp syz-executor 83974 247465 5552 0 3 0x82 nanoslp syz-executor 12241 238938 5552 0 3 0x82 nanoslp syz-executor 99314 512326 5552 0 3 0x82 nanoslp syz-executor 79058 417007 5552 0 3 0x82 nanoslp syz-executor 6574 474078 5552 0 3 0x82 nanoslp syz-executor 5552 193906 7316 0 3 0x82 kqread syz-executor 7316 324700 20120 0 3 0x10008a sigsusp ksh 20120 94940 11436 0 3 0x98 kqread sshd-session 11436 48081 31843 0 3 0x92 kqread sshd-session 31843 256297 1 0 3 0x88 kqread sshd 48390 42818 96369 74 3 0x1100092 bpf pflogd 96369 177580 1 0 3 0x80 sbwait pflogd 81980 7637 39716 73 3 0x1100090 kqread syslogd 39716 210729 1 0 3 0x100082 sbwait syslogd 53394 497101 1 0 3 0x100080 kqread resolvd 41392 503758 38888 77 3 0x100092 kqread dhcpleased 2939 75568 38888 77 3 0x100092 kqread dhcpleased 38888 111964 1 0 3 0x80 kqread dhcpleased 30902 260420 0 0 3 0x14200 bored smr 99461 369227 0 0 3 0x14200 pgzero zerothread 82100 191886 0 0 3 0x14200 aiodoned aiodoned 87205 156537 0 0 3 0x14200 syncer update 52853 163952 0 0 3 0x14200 cleaner cleaner 79773 416918 0 0 3 0x14200 reaper reaper 48116 47568 0 0 3 0x14200 pgdaemon pagedaemon 43934 25166 0 0 3 0x14200 bored viomb 35041 360149 0 0 3 0x40014200 acpi0 acpi0 81385 47005 0 0 3 0x40014200 idle1 49913 135067 0 0 3 0x14200 bored softnet7 36934 40981 0 0 3 0x14200 bored softnet6 46989 1640 0 0 3 0x14200 bored softnet5 76531 170190 0 0 3 0x14200 bored softnet4 38 366909 0 0 3 0x14200 bored softnet3 14168 394679 0 0 3 0x14200 bored softnet2 61177 485911 0 0 3 0x14200 bored softnet1 16819 320173 0 0 3 0x14200 bored softnet0 48066 99999 0 0 3 0x14200 bored systqmp 40306 171728 0 0 3 0x14200 bored systq 60388 15727 0 0 3 0x14200 tmoslp softclockmp 29390 259482 0 0 3 0x40014200 tmoslp softclock 88223 89221 0 0 3 0x40014200 idle0 1 32880 0 0 3 0x82 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb{1}> show all locks Process 91919 (syz-executor) thread 0xffff80003c44f780 (280511) exclusive kernel_lock &kernel_lock r = 1 (0xffffffff83873798) #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 49324 (syz-executor) thread 0xffff80002a3d6040 (307503) exclusive rwlock sbufrcv r = 0 (0xffff8000014e1050) #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 sblock+0xb6 sys/kern/uipc_socket2.c:536 #3 soreceive+0x27d sys/kern/uipc_socket.c:870 #4 recvit+0x40b sys/kern/uipc_syscalls.c:1078 #5 sys_recvmmsg+0x410 sys/kern/uipc_syscalls.c:969 #6 syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] #6 syscall+0xbd4 sys/arch/amd64/amd64/trap.c:746 #7 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10219 11053K 11734K 166960K 12514 0 pcb 17 15K 17K 166960K 331 0 rtable 192 10K 10K 166960K 473 0 pf 38 18K 83K 166960K 193 0 ifaddr 37 6K 7K 166960K 115 0 ifgroup 55 2K 2K 166960K 193 0 sysctl 4 1K 9K 166960K 19 0 counters 68 36K 38K 166960K 238 0 ioctlops 0 0K 4K 166960K 1714 0 iov 1 4K 16K 166960K 85 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1485 93K 94K 166960K 2898 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 17 0 VM map 2 1K 1K 166960K 2 0 sem 21 3K 3K 166960K 33 0 dirhash 12 2K 3K 166960K 45 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 232K 166960K 1317 0 sigio 0 0K 0K 166960K 26 0 proc 73 115K 180K 166960K 740 0 subproc 72 4K 4K 166960K 93 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 165 0 in_multi 75 5K 7K 166960K 199 0 ether_multi 1 0K 0K 166960K 22 0 mrt 1 0K 0K 166960K 11 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 1058 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 3 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 250 168K 182K 166960K 13573 0 UVM aobj 27 2K 2K 166960K 28 0 pinsyscall 45 90K 103K 166960K 2496 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 63 0 NDP 12 0K 2K 166960K 78 0 temp 78 8652K 8766K 166960K 60527 0 kqueue 14 22K 30K 166960K 271 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 242 0 239 5 4 1 5 0 8 0 rtentry 176 158 0 88 5 0 5 5 0 8 0 unpcb 144 822 0 795 5 3 2 3 0 8 0 syncache 336 8 0 8 4 3 1 1 0 8 1 tcpqe 32 1 0 1 1 1 0 1 0 8 0 tcpcb 736 394 0 386 6 2 4 4 0 8 3 arp 128 18 0 9 1 0 1 1 0 8 0 inpcb 328 1473 0 1461 12 8 4 7 0 8 2 nd6 144 24 0 11 1 0 1 1 0 8 0 pkpcb 40 10 0 10 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 67 0 67 2 1 1 1 0 8 1 pppxif 1504 9 0 9 2 1 1 1 0 8 1 pfstscr 40 2 0 2 1 1 0 1 0 8 0 pffrag 232 7 0 1 1 0 1 1 0 482 0 pffrnode 88 5 0 0 1 0 1 1 0 8 0 pffrent 40 10 0 4 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 1 1 1 0 1 0 8 0 pftag 88 3 0 1 2 1 1 1 0 8 0 pfstitem 24 100 0 37 1 0 1 1 0 8 0 pfstkey 128 105 0 42 3 0 3 3 0 8 0 pfstate 384 102 0 40 7 0 7 7 0 8 0 pfrule 1344 31 0 26 2 1 1 2 0 8 0 rttmr 136 3 0 3 2 2 0 1 0 8 0 art_heap8 4096 3 0 0 3 0 3 3 0 8 0 art_heap4 256 771 0 381 32 4 28 29 0 8 0 art_table 40 774 0 381 5 0 5 5 0 8 0 art_node 32 157 0 95 1 0 1 1 0 8 0 sysvmsgpl 40 17 0 11 1 0 1 1 0 8 0 semupl 112 2 0 2 2 2 0 1 0 8 0 semapl 112 27 0 8 1 0 1 1 0 8 0 shmpl 112 25 0 1 1 0 1 1 0 8 0 dirhash 1024 39 0 22 3 0 3 3 0 8 0 dino2pl 256 4111 0 2607 95 0 95 95 0 8 0 ffsino 296 4111 0 2607 117 0 117 117 0 8 0 nchpl 144 5895 0 4200 64 0 64 64 0 8 0 rtmask 32 18 0 18 5 4 1 1 0 8 1 uvmvnodes 80 5006 0 0 103 0 103 103 0 8 0 vnodes 216 5006 0 0 279 0 279 279 0 8 0 namei 1024 20675 0 20675 3 2 1 2 0 8 1 percpumem 16 134 0 85 1 0 1 1 0 8 0 kstatmem 264 120 0 92 4 1 3 3 0 8 1 scsiplug 72 7 0 7 4 3 1 1 0 8 1 scxspl 216 30762 0 30762 12 11 1 8 1 8 1 plimitpl 152 496 0 475 1 0 1 1 0 8 0 sigapl 424 1685 0 1619 11 2 9 9 0 8 1 knotepl 120 763 0 0 23 0 23 23 0 8 0 kqueuepl 224 513 0 500 4 3 1 3 0 8 0 pipepl 344 240 0 212 6 3 3 6 0 8 0 fdescpl 528 1591 0 1558 3 0 3 3 0 8 0 filepl 160 10411 0 10164 21 8 13 20 0 8 0 lockfpl 104 670 0 668 2 1 1 2 0 8 0 lockfspl 48 237 0 235 1 0 1 1 0 8 0 sessionpl 144 30 0 20 1 0 1 1 0 8 0 pgrppl 48 63 0 45 1 0 1 1 0 8 0 ucredpl 104 1800 0 1786 1 0 1 1 0 8 0 zombiepl 144 1830 0 1829 1 0 1 1 0 8 0 processpl 1232 1685 0 1619 8 1 7 7 0 8 1 procpl 664 3685 0 3610 9 1 8 8 0 8 0 sosppl 168 9 0 9 3 3 0 1 0 8 0 sockpl 752 2573 0 2531 25 18 7 17 0 8 2 mcl64k 65536 4 0 0 1 0 1 1 0 8 0 mcl16k 16384 2 0 0 1 0 1 1 0 8 0 mcl12k 12288 3 0 0 1 0 1 1 0 8 0 mcl9k 9216 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 4 0 0 1 0 1 1 0 8 0 mcl4k 4096 123 0 0 16 0 16 16 0 8 0 mcl2k 2048 25 0 0 4 0 4 4 0 8 0 mtagpl 96 3 0 0 1 0 1 1 0 8 0 mbufpl 256 218 0 0 14 0 14 14 0 8 0 bufpl 280 11833 0 5690 439 0 439 439 0 8 0 anonpl 32 13048 0 0 107 1 106 106 0 246 0 amapchunkpl 152 46438 0 45919 45 19 26 36 0 158 1 amappl16 200 5438 0 5400 33 21 12 25 0 8 0 amappl15 192 8 0 8 3 3 0 1 0 8 0 amappl14 184 156 0 143 1 0 1 1 0 8 0 amappl13 176 10 0 10 1 1 0 1 0 8 0 amappl12 168 2290 0 2257 3 1 2 2 0 8 0 amappl11 160 53 0 39 1 0 1 1 0 8 0 amappl10 152 6 0 6 1 1 0 1 0 8 0 amappl9 144 249 0 248 2 1 1 1 0 8 0 amappl8 136 28 0 25 1 0 1 1 0 8 0 amappl7 128 135 0 122 1 0 1 1 0 8 0 amappl6 120 209 0 204 1 0 1 1 0 8 0 amappl5 112 145 0 135 1 0 1 1 0 8 0 amappl4 104 344 0 324 1 0 1 1 0 8 0 amappl3 96 8062 0 7967 6 2 4 4 0 8 0 amappl2 88 1871 0 1785 3 0 3 3 0 8 0 amappl1 80 14665 0 13977 16 0 16 16 0 8 0 amappl 88 12580 0 12408 5 0 5 5 0 92 0 dma8192 8192 1 0 1 1 1 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 8 0 8 3 3 0 1 0 8 0 dma128 128 255 0 255 3 3 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 18 0 17 1 0 1 1 0 8 0 aobjpl 72 27 0 1 1 0 1 1 0 8 0 uaddrrnd 24 1591 0 1558 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1591 0 1558 1 0 1 1 0 8 0 vmmpekpl 168 13968 0 13919 3 0 3 3 0 8 0 vmmpepl 168 106278 0 104082 117 12 105 114 0 357 1 vmsppl 488 1590 0 1558 5 0 5 5 0 8 0 rwobjpl 80 34652 0 28585 125 1 124 124 0 8 0 pdppl 4096 3190 0 3116 114 38 76 86 0 8 2 pvpl 32 22818 0 0 187 2 185 185 0 265 0 pmappl 256 1590 0 1558 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 307 0 55 8 0 8 8 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff837f8ff0) 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(ffffffff83873590) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff83873590) 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(ffffffff83873590) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff83873590) at __mp_lock+0x192 sys/kern/kern_lock.c:165 __mp_acquire_count(ffffffff83873590,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(21,18) at rtmap_grow+0x8c sys/net/rtable.c:125 rtable_add(20) at rtable_add+0x2d9 rtable_alloc sys/net/rtable.c:370 [inline] rtable_add(20) at rtable_add+0x2d9 sys/net/rtable.c:223 if_createrdomain(20,ffff800001497000) at if_createrdomain+0x40 sys/net/if.c:1952 ifioctl(ffff8000014e1b20,8020699f,ffff80003c483a20,ffff80003c44efb8) at ifioctl+0x1c66 sys/net/if.c:2301 end trace frame: 0xffff80003c483b20, count: 0 ddb{0}> trace x86_ipi_db(ffffffff837f8ff0) 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(ffffffff83873590) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff83873590) 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(ffffffff83873590) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff83873590) at __mp_lock+0x192 sys/kern/kern_lock.c:165 __mp_acquire_count(ffffffff83873590,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(21,18) at rtmap_grow+0x8c sys/net/rtable.c:125 rtable_add(20) at rtable_add+0x2d9 rtable_alloc sys/net/rtable.c:370 [inline] rtable_add(20) at rtable_add+0x2d9 sys/net/rtable.c:223 if_createrdomain(20,ffff800001497000) at if_createrdomain+0x40 sys/net/if.c:1952 ifioctl(ffff8000014e1b20,8020699f,ffff80003c483a20,ffff80003c44efb8) at ifioctl+0x1c66 sys/net/if.c:2301 sys_ioctl(ffff80003c44efb8,ffff80003c483c00,ffff80003c483b50) at sys_ioctl+0x674 sys/kern/sys_generic.c:-1 syscall(ffff80003c483c00) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c483c00) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x796037eb090, 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(ffffffff8336f3d2) at panic+0x1e5 sys/kern/subr_prf.c:198 __assert(ffffffff833b011a,ffffffff833a7ff4,84,ffffffff83402467) at __assert+0x29 sys/kern/subr_prf.c:-1 rtmap_grow(21,21) at rtmap_grow+0x24f rtable_add(20) at rtable_add+0x2d9 rtable_alloc sys/net/rtable.c:370 [inline] rtable_add(20) at rtable_add+0x2d9 sys/net/rtable.c:223 if_createrdomain(20,ffff800001497000) at if_createrdomain+0x40 sys/net/if.c:1952 ifioctl(ffff8000014e1b20,8020699f,ffff80003c479280,ffff80003c44f780) at ifioctl+0x1c66 sys/net/if.c:2301 sys_ioctl(ffff80003c44f780,ffff80003c479460,ffff80003c4793b0) at sys_ioctl+0x674 sys/kern/sys_generic.c:-1 syscall(ffff80003c479460) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c479460) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x795897549e0, count: 5 ddb{1}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff8336f3d2) at panic+0x1e5 sys/kern/subr_prf.c:198 __assert(ffffffff833b011a,ffffffff833a7ff4,84,ffffffff83402467) at __assert+0x29 sys/kern/subr_prf.c:-1 rtmap_grow(21,21) at rtmap_grow+0x24f rtable_add(20) at rtable_add+0x2d9 rtable_alloc sys/net/rtable.c:370 [inline] rtable_add(20) at rtable_add+0x2d9 sys/net/rtable.c:223 if_createrdomain(20,ffff800001497000) at if_createrdomain+0x40 sys/net/if.c:1952 ifioctl(ffff8000014e1b20,8020699f,ffff80003c479280,ffff80003c44f780) at ifioctl+0x1c66 sys/net/if.c:2301 sys_ioctl(ffff80003c44f780,ffff80003c479460,ffff80003c4793b0) at sys_ioctl+0x674 sys/kern/sys_generic.c:-1 syscall(ffff80003c479460) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c479460) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x795897549e0, count: -10