login: 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 97204 6361 0 0 0x4000000 1 syz-executor *449386 6361 0 0 0x4000000 0K syz-executor db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff834520b4) at panic+0x1e5 sys/kern/subr_prf.c:198 __assert(ffffffff8348ca57,ffffffff834882ce,84,ffffffff834e1c45) at __assert+0x29 sys/kern/subr_prf.c:-1 rtmap_grow(b5,21) at rtmap_grow+0x24f rtable_add(b4) at rtable_add+0x2d9 rtable_alloc sys/net/rtable.c:370 [inline] rtable_add(b4) at rtable_add+0x2d9 sys/net/rtable.c:223 if_createrdomain(b4,ffff800001606000) at if_createrdomain+0x40 sys/net/if.c:2046 ifioctl(ffff800001614bd8,8020699f,ffff80003c49af10,ffff80003c406d20) at ifioctl+0x1c52 sys/net/if.c:2395 sys_ioctl(ffff80003c406d20,ffff80003c49b0f0,ffff80003c49b040) at sys_ioctl+0x674 sys/kern/sys_generic.c:-1 syscall(ffff80003c49b0f0) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c49b0f0) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xcb7890273d0, 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{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic *cpu0: kernel diagnostic assertion "map->limit == rtmap_limit" failed: file "/syzkaller/managers/multicore/kernel/sys/net/rtable.c", line 132 ddb{0}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff834520b4) at panic+0x1e5 sys/kern/subr_prf.c:198 __assert(ffffffff8348ca57,ffffffff834882ce,84,ffffffff834e1c45) at __assert+0x29 sys/kern/subr_prf.c:-1 rtmap_grow(b5,21) at rtmap_grow+0x24f rtable_add(b4) at rtable_add+0x2d9 rtable_alloc sys/net/rtable.c:370 [inline] rtable_add(b4) at rtable_add+0x2d9 sys/net/rtable.c:223 if_createrdomain(b4,ffff800001606000) at if_createrdomain+0x40 sys/net/if.c:2046 ifioctl(ffff800001614bd8,8020699f,ffff80003c49af10,ffff80003c406d20) at ifioctl+0x1c52 sys/net/if.c:2395 sys_ioctl(ffff80003c406d20,ffff80003c49b0f0,ffff80003c49b040) at sys_ioctl+0x674 sys/kern/sys_generic.c:-1 syscall(ffff80003c49b0f0) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c49b0f0) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xcb7890273d0, count: -10 ddb{0}> show registers rdi 0 rsi 0x1 rbp 0xffff80003c49ac20 rbx 0xffffffff838c5e07 cpu_info_full_primary+0x2e07 rdx 0 rcx 0xffff80003c406d20 rax 0xffffffff838c4ff0 cpu_info_full_primary+0x1ff0 r8 0x101010101010101 r9 0x8080808080808080 r10 0x7904ca53ff462242 r11 0x496309e382c45050 r12 0xffffffff838c5c08 cpu_info_full_primary+0x2c08 r13 0 r14 0 r15 0x1 rip 0xffffffff81a76885 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff80003c49ac10 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb{0}> show proc PROC (syz-executor) tid=449386 pid=6361 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=0xffff80003c407780,0xffffffff839ddbd0 process=0xffff80003c481368 user=0xffff80003c496000, vmspace=0xfffffd806c6a4020 estcpu=32, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 6361 539 4659 0 3 0x80 fsleep syz-executor 6361 97204 4659 0 7 0x4000000 syz-executor * 6361 449386 4659 0 7 0x4000000 syz-executor 10323 359847 30014 0 3 0x80 fsleep syz-executor 10323 262937 30014 0 3 0x4000080 msgwait syz-executor 10323 257500 30014 0 3 0x4000080 msgwait syz-executor 60932 272824 12193 0 3 0x80 fsleep syz-executor 60932 23728 12193 0 3 0x4000080 msgwait syz-executor 61280 455931 57014 0 3 0x80 fsleep syz-executor 61280 54725 57014 0 3 0x4000080 sbwait syz-executor 81798 161758 90003 0 3 0x80 fsleep syz-executor 81798 69396 90003 0 3 0x4000080 ttyout syz-executor 81798 224058 90003 0 3 0x4000080 fsleep syz-executor 54271 299729 52414 0 3 0x80 fsleep syz-executor 54271 3737 52414 0 3 0x4000080 sbwait syz-executor 22827 169084 0 0 3 0x14280 nfsidl nfsio 53274 407553 0 0 3 0x14280 nfsidl nfsio 65262 517927 0 0 3 0x14280 nfsidl nfsio 7280 177118 0 0 3 0x14280 nfsidl nfsio 81439 117151 0 0 3 0x14280 nfsidl nfsio 56475 113123 0 0 3 0x14280 nfsidl nfsio 42668 499954 0 0 3 0x14280 nfsidl nfsio 37570 144305 0 0 3 0x14280 nfsidl nfsio 19434 241971 0 0 3 0x14280 nfsidl nfsio 6816 508442 0 0 3 0x14280 nfsidl nfsio 72142 121111 0 0 3 0x14280 nfsidl nfsio 49416 129696 0 0 3 0x14280 nfsidl nfsio 49795 418079 0 0 3 0x14280 nfsidl nfsio 7056 407033 0 0 3 0x14280 nfsidl nfsio 37990 19335 0 0 3 0x14280 nfsidl nfsio 4736 239777 0 0 3 0x14280 nfsidl nfsio 98215 344960 0 0 3 0x14280 nfsidl nfsio 93262 415286 0 0 3 0x14280 nfsidl nfsio 82335 396928 0 0 3 0x14280 nfsidl nfsio 74632 277994 0 0 3 0x14280 nfsidl nfsio 43236 508705 1 0 3 0x100083 ttyin getty 3155 193087 61385 0 3 0x100082 sbwait arp 61385 348750 88017 0 3 0x10008a sigsusp sh 90003 364576 12869 0 3 0x82 nanoslp syz-executor 57014 472396 12869 0 2 0xc82 syz-executor 30014 314164 12869 0 2 0xc82 syz-executor 4659 382832 12869 0 3 0x82 nanoslp syz-executor 52414 262245 12869 0 3 0x82 nanoslp syz-executor 88017 465807 12869 0 3 0x82 wait syz-executor 12193 349307 12869 0 2 0xc82 syz-executor 38808 382187 12869 0 3 0x82 wait syz-executor 12869 402836 56657 0 3 0x82 kqread syz-executor 56657 323520 12221 0 3 0x10008a sigsusp ksh 12221 311905 84885 0 3 0x98 kqread sshd-session 84885 110325 86775 0 3 0x92 kqread sshd-session 86775 165397 1 0 3 0x88 kqread sshd 46784 6992 40883 74 3 0x1100092 bpf pflogd 40883 272695 1 0 3 0x80 sbwait pflogd 43908 475201 45885 73 3 0x1100090 kqread syslogd 45885 488123 1 0 3 0x100082 sbwait syslogd 10353 365872 1 0 3 0x100080 kqread resolvd 86480 501353 9418 77 3 0x100092 kqread dhcpleased 2735 390695 9418 77 3 0x100092 kqread dhcpleased 9418 277712 1 0 3 0x80 kqread dhcpleased 97021 348837 0 0 3 0x14200 bored smr 35369 494558 0 0 3 0x14200 pgzero zerothread 63261 49692 0 0 3 0x14200 aiodoned aiodoned 16846 181319 0 0 3 0x14200 syncer update 47744 404292 0 0 3 0x14200 cleaner cleaner 87028 45417 0 0 3 0x14200 reaper reaper 5651 22277 0 0 3 0x14200 pgdaemon pagedaemon 36164 15772 0 0 3 0x14200 bored viomb 84535 15952 0 0 3 0x40014200 acpi0 acpi0 8022 840 0 0 3 0x40014200 idle1 77182 148172 0 0 3 0x14200 bored softnet1 71969 498739 0 0 3 0x14200 bored softnet0 5906 393735 0 0 3 0x14200 bored systqmp 41226 147203 0 0 3 0x14200 bored systq 51190 468875 0 0 2 0x14200 softclockmp 53618 477657 0 0 3 0x40014200 tmoslp softclock 60182 25595 0 0 3 0x40014200 idle0 1 226907 0 0 3 0x80082 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 6361 (syz-executor) thread 0xffff80003c406d20 (449386) exclusive kernel_lock &kernel_lock r = 1 (0xffffffff83a3d200) #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 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 11093 12279K 12440K 166960K 12547 0 pcb 20 12K 12K 166960K 83 0 rtable 198 11K 11K 166960K 366 0 pf 38 18K 20K 166960K 69 0 ifaddr 39 6K 6K 166960K 56 0 ifgroup 59 2K 2K 166960K 78 0 sysctl 3 1K 9K 166960K 7 0 counters 72 37K 38K 166960K 98 0 ioctlops 0 0K 4K 166960K 1587 0 iov 0 0K 12K 166960K 4 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1288 81K 81K 166960K 1569 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 4 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 20 0 dirhash 12 2K 2K 166960K 18 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 19 69K 240K 166960K 357 0 sigio 0 0K 0K 166960K 4 0 proc 72 115K 180K 166960K 568 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 19 0 in_multi 75 5K 6K 166960K 97 0 ether_multi 1 0K 0K 166960K 4 0 mrt 0 0K 0K 166960K 9 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 385 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 246 161K 178K 166960K 4931 0 UVM aobj 3 2K 2K 166960K 3 0 pinsyscall 45 90K 102K 166960K 1486 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 17 0 NDP 13 0K 1K 166960K 36 0 temp 44 9079K 9147K 166960K 13190 0 kqueue 13 20K 26K 166960K 51 0 SYN cache 2 16K 16K 166960K 2 0 ddb{0}> 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 39 0 35 1 0 1 1 0 8 0 rtentry 176 104 0 24 5 0 5 5 0 8 0 unpcb 144 247 0 226 3 1 2 2 0 8 1 syncache 336 4 0 4 2 1 1 1 0 8 1 tcpcb 736 54 0 50 1 0 1 1 0 8 0 arp 136 17 0 2 1 0 1 1 0 8 0 inpcb 328 222 0 212 3 1 2 2 0 8 1 nd6 152 21 0 3 1 0 1 1 0 8 0 pkpcb 40 2 0 2 1 0 1 1 0 8 1 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1192 12 0 12 2 1 1 1 0 8 1 pppxif 1576 1 0 1 1 0 1 1 0 8 1 pffrag 232 6 0 2 1 0 1 1 0 482 0 pffrnode 88 6 0 2 1 0 1 1 0 8 0 pffrent 40 9 0 5 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 pfstitem 24 38 0 0 1 0 1 1 0 8 0 pfstkey 128 38 0 1 2 0 2 2 0 8 0 pfstate 448 36 0 0 4 0 4 4 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 416 0 91 26 0 26 26 0 8 1 art_table 40 417 0 91 5 0 5 5 0 8 0 art_node 32 104 0 32 1 0 1 1 0 8 0 sysvmsgpl 40 15 0 3 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 16 0 6 1 0 1 1 0 8 0 dirhash 1024 21 0 4 3 0 3 3 0 8 0 dino2pl 256 2004 0 548 92 0 92 92 0 8 0 ffsino 296 2004 0 548 114 0 114 114 0 8 0 nchpl 144 2463 0 762 64 0 64 64 0 8 0 rtmask 32 3 0 3 1 0 1 1 0 8 1 vnodes 216 2201 0 0 123 0 123 123 0 8 0 namei 1024 7606 0 7606 2 1 1 1 0 8 1 percpumem 16 64 0 13 1 0 1 1 0 8 0 kstatmem 264 46 0 16 3 0 3 3 0 8 1 scsiplug 72 2 0 2 1 0 1 1 0 8 1 scxspl 216 12449 0 12449 11 3 8 8 1 8 8 plimitpl 152 57 0 38 1 0 1 1 0 8 0 sigapl 424 679 0 610 8 0 8 8 0 8 0 knotepl 120 289 0 0 9 0 9 9 0 8 0 kqueuepl 224 95 0 85 3 0 3 3 0 8 2 pipepl 344 193 0 166 9 0 9 9 0 8 6 fdescpl 528 643 0 610 3 0 3 3 0 8 0 filepl 160 3079 0 2843 17 1 16 16 0 8 5 lockfpl 104 105 0 103 1 0 1 1 0 8 0 lockfspl 48 53 0 51 1 0 1 1 0 8 0 sessionpl 144 30 0 21 1 0 1 1 0 8 0 pgrppl 48 42 0 25 1 0 1 1 0 8 0 ucredpl 104 301 0 288 1 0 1 1 0 8 0 zombiepl 144 664 0 663 1 0 1 1 0 8 0 processpl 1232 679 0 610 6 0 6 6 0 8 0 procpl 664 1020 0 942 7 0 7 7 0 8 0 sockpl 752 530 0 495 8 3 5 7 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 mcl8k 8192 2 0 0 1 0 1 1 0 8 0 mcl4k 4096 129 0 0 17 0 17 17 0 8 0 mcl2k 2048 26 0 0 4 0 4 4 0 8 0 mtagpl 96 11 0 0 1 0 1 1 0 8 0 mbufpl 256 192 0 0 12 0 12 12 0 8 0 bufpl 280 4736 0 105 331 0 331 331 0 8 0 anonpl 32 10091 0 0 82 0 82 82 0 246 0 amapchunkpl 152 14746 0 14249 28 4 24 26 0 158 3 amappl16 200 2007 0 1981 20 6 14 19 0 8 8 amappl15 192 6 0 5 1 0 1 1 0 8 0 amappl14 184 426 0 424 1 0 1 1 0 8 0 amappl13 176 122 0 109 1 0 1 1 0 8 0 amappl12 168 891 0 859 2 0 2 2 0 8 0 amappl11 160 14 0 14 1 1 0 1 0 8 0 amappl10 152 71 0 57 1 0 1 1 0 8 0 amappl9 144 270 0 270 1 1 0 1 0 8 0 amappl8 136 101 0 99 1 0 1 1 0 8 0 amappl7 128 148 0 134 1 0 1 1 0 8 0 amappl6 120 150 0 147 1 0 1 1 0 8 0 amappl5 112 91 0 78 1 0 1 1 0 8 0 amappl4 104 286 0 263 1 0 1 1 0 8 0 amappl3 96 2813 0 2696 3 0 3 3 0 8 0 amappl2 88 524 0 461 2 0 2 2 0 8 0 amappl1 80 10587 0 9959 17 0 17 17 0 8 2 amappl 88 4178 0 4009 4 0 4 4 0 92 0 uvmvnodes 80 109 0 0 3 0 3 3 0 8 0 dma32768 32768 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 7 0 7 2 1 1 1 0 8 1 dma128 128 254 0 254 2 1 1 1 0 8 1 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 2 0 0 1 0 1 1 0 8 0 uaddrrnd 24 643 0 610 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 643 0 610 1 0 1 1 0 8 0 vmmpekpl 168 7339 0 7306 2 0 2 2 0 8 0 vmmpepl 168 48300 0 46319 100 0 100 100 0 357 7 vmsppl 488 642 0 610 5 0 5 5 0 8 0 rwobjpl 80 16218 0 15137 29 0 29 29 0 8 2 pdppl 4096 1293 0 1220 101 24 77 85 0 8 4 pvpl 32 18244 0 0 148 0 148 148 0 265 0 pmappl 256 642 0 610 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 278 0 30 8 0 8 8 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff834520b4) at panic+0x1e5 sys/kern/subr_prf.c:198 __assert(ffffffff8348ca57,ffffffff834882ce,84,ffffffff834e1c45) at __assert+0x29 sys/kern/subr_prf.c:-1 rtmap_grow(b5,21) at rtmap_grow+0x24f rtable_add(b4) at rtable_add+0x2d9 rtable_alloc sys/net/rtable.c:370 [inline] rtable_add(b4) at rtable_add+0x2d9 sys/net/rtable.c:223 if_createrdomain(b4,ffff800001606000) at if_createrdomain+0x40 sys/net/if.c:2046 ifioctl(ffff800001614bd8,8020699f,ffff80003c49af10,ffff80003c406d20) at ifioctl+0x1c52 sys/net/if.c:2395 sys_ioctl(ffff80003c406d20,ffff80003c49b0f0,ffff80003c49b040) at sys_ioctl+0x674 sys/kern/sys_generic.c:-1 syscall(ffff80003c49b0f0) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c49b0f0) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xcb7890273d0, count: -10 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffff8000299bdff0) 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(ffffffff83a3ca00) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:142 [inline] __mp_lock(ffffffff83a3ca00) at __mp_lock+0x192 sys/kern/kern_lock.c:173 __mp_acquire_count(ffffffff83a3ca00,2) at __mp_acquire_count+0x58 sys/kern/kern_lock.c:-1 malloc(5a8,5,9) at malloc+0xe3 sys/kern/kern_malloc.c:175 rtmap_grow(b5,18) at rtmap_grow+0xb2 sys/net/rtable.c:127 rtable_add(b4) at rtable_add+0x2d9 rtable_alloc sys/net/rtable.c:370 [inline] rtable_add(b4) at rtable_add+0x2d9 sys/net/rtable.c:223 if_createrdomain(b4,ffff800001606000) at if_createrdomain+0x40 sys/net/if.c:2046 ifioctl(ffff800001614bd8,8020699f,ffff80003c405a30,ffff80003c407780) at ifioctl+0x1c52 sys/net/if.c:2395 sys_ioctl(ffff80003c407780,ffff80003c405c10,ffff80003c405b60) at sys_ioctl+0x674 sys/kern/sys_generic.c:-1 syscall(ffff80003c405c10) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c405c10) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xcb7d35b9200, count: 2 ddb{1}> trace x86_ipi_db(ffff8000299bdff0) 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(ffffffff83a3ca00) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:142 [inline] __mp_lock(ffffffff83a3ca00) at __mp_lock+0x192 sys/kern/kern_lock.c:173 __mp_acquire_count(ffffffff83a3ca00,2) at __mp_acquire_count+0x58 sys/kern/kern_lock.c:-1 malloc(5a8,5,9) at malloc+0xe3 sys/kern/kern_malloc.c:175 rtmap_grow(b5,18) at rtmap_grow+0xb2 sys/net/rtable.c:127 rtable_add(b4) at rtable_add+0x2d9 rtable_alloc sys/net/rtable.c:370 [inline] rtable_add(b4) at rtable_add+0x2d9 sys/net/rtable.c:223 if_createrdomain(b4,ffff800001606000) at if_createrdomain+0x40 sys/net/if.c:2046 ifioctl(ffff800001614bd8,8020699f,ffff80003c405a30,ffff80003c407780) at ifioctl+0x1c52 sys/net/if.c:2395 sys_ioctl(ffff80003c407780,ffff80003c405c10,ffff80003c405b60) at sys_ioctl+0x674 sys/kern/sys_generic.c:-1 syscall(ffff80003c405c10) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c405c10) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xcb7d35b9200, count: -13