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 453067 69238 0 0 0x4000000 0 syz-executor *450802 69238 0 0 0x4000000 1K syz-executor db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff83451c58) at panic+0x1e5 sys/kern/subr_prf.c:198 __assert(ffffffff8348ceed,ffffffff83487673,84,ffffffff834e0d6e) at __assert+0x29 sys/kern/subr_prf.c:-1 rtmap_grow(c,21) at rtmap_grow+0x24f rtable_add(b) at rtable_add+0x2d9 rtable_alloc sys/net/rtable.c:370 [inline] rtable_add(b) at rtable_add+0x2d9 sys/net/rtable.c:223 if_createrdomain(b,ffff800001601000) at if_createrdomain+0x40 sys/net/if.c:2045 ifioctl(ffff800010fd94f0,8020699f,ffff80003c4c53e0,ffff8000fffeb248) at ifioctl+0x1c52 sys/net/if.c:2394 sys_ioctl(ffff8000fffeb248,ffff80003c4c55c0,ffff80003c4c5510) at sys_ioctl+0x674 sys/kern/sys_generic.c:-1 syscall(ffff80003c4c55c0) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c4c55c0) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x84f8d3f9f40, 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(ffffffff83451c58) at panic+0x1e5 sys/kern/subr_prf.c:198 __assert(ffffffff8348ceed,ffffffff83487673,84,ffffffff834e0d6e) at __assert+0x29 sys/kern/subr_prf.c:-1 rtmap_grow(c,21) at rtmap_grow+0x24f rtable_add(b) at rtable_add+0x2d9 rtable_alloc sys/net/rtable.c:370 [inline] rtable_add(b) at rtable_add+0x2d9 sys/net/rtable.c:223 if_createrdomain(b,ffff800001601000) at if_createrdomain+0x40 sys/net/if.c:2045 ifioctl(ffff800010fd94f0,8020699f,ffff80003c4c53e0,ffff8000fffeb248) at ifioctl+0x1c52 sys/net/if.c:2394 sys_ioctl(ffff8000fffeb248,ffff80003c4c55c0,ffff80003c4c5510) at sys_ioctl+0x674 sys/kern/sys_generic.c:-1 syscall(ffff80003c4c55c0) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c4c55c0) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x84f8d3f9f40, count: -10 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff80003c4c50f0 rbx 0xffff8000299bee07 rdx 0 rcx 0xffff8000fffeb248 rax 0xffff8000299bdff0 r8 0x101010101010101 r9 0x8080808080808080 r10 0xf025291b005c06b4 r11 0xf6e4d16758a0767 r12 0xffff8000299bec08 r13 0 r14 0 r15 0x1 rip 0xffffffff81648fe5 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff80003c4c50e0 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor) tid=450802 pid=69238 tcnt=3 stat=onproc flags process=0 proc=4000000 runpri=83, usrpri=83, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff8000fffea7e8,0xffff8000fffeba20 process=0xffff80003c3f3510 user=0xffff80003c4c0000, vmspace=0xfffffd806c8f47b8 estcpu=33, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 81633 196937 29324 0 2 0 syz-executor 9621 437398 76658 0 2 0 syz-executor 9621 18030 76658 0 3 0x4000080 fsleep syz-executor 80421 460587 40577 0 2 0 syz-executor 80421 53957 40577 0 3 0x4000080 sbwait syz-executor 69238 3956 54203 0 2 0 syz-executor 69238 453067 54203 0 7 0x4000000 syz-executor *69238 450802 54203 0 7 0x4000000 syz-executor 91945 504021 35071 60929 3 0x90 nanoslp syz-executor 91945 466696 35071 60929 3 0x4000090 kqread syz-executor 91945 8078 35071 60929 3 0x4000090 fsleep syz-executor 92829 386323 92681 0 3 0x80 nanoslp syz-executor 92829 5809 92681 0 3 0x4000080 netcon syz-executor 92829 338621 92681 0 3 0x4000080 fsleep syz-executor 7198 325934 73038 0 3 0x80 nanoslp syz-executor 7198 43285 73038 0 3 0x4000080 kqread syz-executor 7198 403352 73038 0 3 0x4000080 kqsel syz-executor 7198 12134 73038 0 3 0x4000080 kqsel syz-executor 7198 141659 73038 0 3 0x4000080 fsleep syz-executor 34624 119193 0 0 3 0x14200 acct acct 42406 316573 1 0 3 0x100083 ttyin getty 2919 266449 0 0 3 0x14280 nfsidl nfsio 58894 297089 0 0 3 0x14280 nfsidl nfsio 32900 59986 0 0 3 0x14280 nfsidl nfsio 2545 182228 0 0 3 0x14280 nfsidl nfsio 41798 512437 0 0 3 0x14280 nfsidl nfsio 93537 88929 0 0 3 0x14280 nfsidl nfsio 37620 285491 0 0 3 0x14280 nfsidl nfsio 12199 348009 0 0 3 0x14280 nfsidl nfsio 74503 134380 0 0 3 0x14280 nfsidl nfsio 78503 197797 0 0 3 0x14280 nfsidl nfsio 85951 286991 0 0 3 0x14280 nfsidl nfsio 11575 419617 0 0 3 0x14280 nfsidl nfsio 24137 411715 0 0 3 0x14280 nfsidl nfsio 57774 411335 0 0 3 0x14280 nfsidl nfsio 8488 206118 0 0 3 0x14280 nfsidl nfsio 16558 287990 0 0 3 0x14280 nfsidl nfsio 16156 221431 0 0 3 0x14280 nfsidl nfsio 34191 357651 0 0 3 0x14280 nfsidl nfsio 17938 443301 0 0 3 0x14280 nfsidl nfsio 140 436832 0 0 3 0x14280 nfsidl nfsio 76658 310080 68487 0 3 0x82 nanoslp syz-executor 73038 63505 68487 0 3 0x82 nanoslp syz-executor 54203 321513 68487 0 3 0x82 nanoslp syz-executor 67540 319334 68487 0 2 0x2 syz-executor 29324 306560 68487 0 3 0x82 nanoslp syz-executor 92681 463439 68487 0 3 0x82 nanoslp syz-executor 35071 381461 68487 0 3 0x82 nanoslp syz-executor 40577 308840 68487 0 3 0x82 nanoslp syz-executor 68487 147713 92163 0 3 0x82 kqread syz-executor 92163 329576 84055 0 3 0x10008a sigsusp ksh 84055 123563 39615 0 3 0x98 kqread sshd-session 39615 408911 15859 0 3 0x92 kqread sshd-session 15859 336733 1 0 3 0x88 kqread sshd 55489 350530 62191 74 3 0x1100092 bpf pflogd 62191 218504 1 0 3 0x80 sbwait pflogd 75100 406775 62131 73 3 0x1100090 kqread syslogd 62131 54010 1 0 3 0x100082 sbwait syslogd 61302 172046 1 0 3 0x100080 kqread resolvd 57808 377992 41753 77 3 0x100092 kqread dhcpleased 3370 3114 41753 77 3 0x100092 kqread dhcpleased 41753 133312 1 0 3 0x80 kqread dhcpleased 48691 27561 0 0 3 0x14200 bored smr 83455 243157 0 0 2 0x14200 zerothread 35456 519153 0 0 3 0x14200 aiodoned aiodoned 92523 303251 0 0 3 0x14200 syncer update 23005 229693 0 0 3 0x14200 cleaner cleaner 47130 294674 0 0 3 0x14200 reaper reaper 62301 295751 0 0 3 0x14200 pgdaemon pagedaemon 48591 70266 0 0 3 0x14200 bored viomb 98288 41374 0 0 3 0x40014200 acpi0 acpi0 2750 481141 0 0 3 0x40014200 idle1 50305 293497 0 0 3 0x14200 bored softnet1 25611 387479 0 0 3 0x14200 bored softnet0 29835 363424 0 0 3 0x14200 bored systqmp 41499 416073 0 0 3 0x14200 bored systq 77140 240008 0 0 3 0x14200 tmoslp softclockmp 71496 433519 0 0 3 0x40014200 tmoslp softclock 7387 363186 0 0 3 0x40014200 idle0 1 175559 0 0 3 0x82 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb{1}> show all locks Process 9621 (syz-executor) thread 0xffff80003c48e2d0 (437398) exclusive rwlock vmmaplk r = 0 (0xfffffd806c8f4118) #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 vm_map_lock_ln+0x12e sys/uvm/uvm_map.c:5171 #3 uvm_map_protect+0xe0 sys/uvm/uvm_map.c:3075 #4 sys_mprotect+0x351 sys/uvm/uvm_mmap.c:590 #5 syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] #5 syscall+0xbd4 sys/arch/amd64/amd64/trap.c:783 #6 Xsyscall+0x128 Process 80421 (syz-executor) thread 0xffff8000fffea2b8 (53957) exclusive rwlock sbufrcv r = 0 (0xffff800010fd8730) #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:890 #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:783 #7 Xsyscall+0x128 Process 69238 (syz-executor) thread 0xffff8000fffeb248 (450802) exclusive kernel_lock &kernel_lock r = 1 (0xffffffff83980b40) #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:783 #9 Xsyscall+0x128 Process 67540 (syz-executor) thread 0xffff8000ffff3ca0 (319334) exclusive rwlock fdlock r = 0 (0xffff80002a28f928) #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 fdcopy+0x1a2 sys/kern/kern_descrip.c:1112 #3 process_new+0x4fc sys/kern/kern_fork.c:276 #4 fork1+0x3f6 sys/kern/kern_fork.c:-1 #5 syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] #5 syscall+0xb17 sys/arch/amd64/amd64/trap.c:783 #6 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 11088 12173K 14052K 166960K 13095 0 pcb 21 14K 16K 166960K 83 0 rtable 228 8K 9K 166960K 414 0 pf 38 18K 82K 166960K 94 0 ifaddr 42 7K 7K 166960K 65 0 ifgroup 55 2K 2K 166960K 89 0 sysctl 4 1K 9K 166960K 11 0 counters 70 37K 37K 166960K 106 0 ioctlops 0 0K 4K 166960K 1569 0 iov 1 4K 20K 166960K 19 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1388 87K 88K 166960K 1815 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 3 5K 5K 166960K 6 0 VM map 2 1K 1K 166960K 2 0 sem 11 0K 0K 166960K 15 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 89K 166960K 468 0 sigio 0 0K 0K 166960K 9 0 proc 72 115K 147K 166960K 586 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 40 0 in_multi 92 7K 7K 166960K 109 0 ether_multi 1 0K 0K 166960K 3 0 mrt 0 0K 0K 166960K 20 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 211 943K 943K 166960K 211 0 exec 0 0K 1K 166960K 429 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 242 159K 173K 166960K 6481 0 UVM aobj 4 2K 2K 166960K 4 0 pinsyscall 43 86K 102K 166960K 1610 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 20 0 NDP 12 0K 2K 166960K 42 0 temp 80 9090K 9202K 166960K 12561 0 kqueue 17 28K 30K 166960K 96 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 56 0 53 1 0 1 1 0 8 0 rtentry 176 124 0 26 6 0 6 6 0 8 0 unpcb 144 321 0 301 5 1 4 4 0 8 3 syncache 336 4 0 4 2 2 0 1 0 8 0 tcpcb 736 180 0 175 7 6 1 7 0 8 0 arp 136 20 0 0 1 0 1 1 0 8 0 inpcb 328 636 0 620 20 8 12 12 0 8 10 nd6 152 25 0 2 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 mppekey 1024 1 0 1 1 1 0 1 0 8 0 ppxss 1192 16 0 16 3 2 1 1 0 8 1 pppxif 1504 2 0 2 2 1 1 1 0 8 1 pffrag 232 6 0 0 1 0 1 1 0 482 0 pffrnode 88 6 0 0 1 0 1 1 0 8 0 pffrent 40 8 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 5 0 4 1 0 1 1 0 8 0 pfanchor 1288 1 0 1 1 0 1 1 0 8 1 pftag 88 2 0 1 1 0 1 1 0 8 0 pfstitem 24 47 0 17 1 0 1 1 0 8 0 pfstkey 128 47 0 17 2 0 2 2 0 8 0 pfstate 448 47 0 17 5 0 5 5 0 8 0 pfrule 1360 26 0 19 2 1 1 2 0 8 0 rttmr 136 1 0 1 1 0 1 1 0 8 1 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 514 0 103 29 2 27 29 0 8 0 art_table 40 516 0 103 5 0 5 5 0 8 0 art_node 32 124 0 36 1 0 1 1 0 8 0 sysvmsgpl 40 2 0 1 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 12 0 3 1 0 1 1 0 8 0 shmpl 112 1 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2267 0 803 93 0 93 93 0 8 0 ffsino 296 2267 0 803 114 0 114 114 0 8 0 nchpl 144 2940 0 1236 64 0 64 64 0 8 0 rtmask 32 1 0 1 1 1 0 1 0 8 0 vnodes 216 2651 0 0 148 0 148 148 0 8 0 namei 1024 9730 0 9730 3 2 1 2 0 8 1 percpumem 16 68 0 18 1 0 1 1 0 8 0 pfiaddrpl 120 1 0 1 1 0 1 1 0 8 1 kstatmem 264 54 0 28 4 1 3 3 0 8 1 scsiplug 72 4 0 4 1 0 1 1 0 8 1 scxspl 216 10027 0 10027 11 3 8 8 1 8 8 plimitpl 152 139 0 121 1 0 1 1 0 8 0 sigapl 424 803 0 735 9 1 8 8 0 8 0 knotepl 120 331 0 0 11 1 10 11 0 8 0 kqueuepl 224 213 0 195 7 5 2 5 0 8 0 pipepl 344 140 0 113 3 0 3 3 0 8 0 fdescpl 528 766 0 734 3 0 3 3 0 8 0 filepl 160 4428 0 4201 19 4 15 15 0 8 5 lockfpl 104 126 0 123 1 0 1 1 0 8 0 lockfspl 48 55 0 52 1 0 1 1 0 8 0 sessionpl 144 23 0 14 1 0 1 1 0 8 0 pgrppl 48 42 0 25 1 0 1 1 0 8 0 ucredpl 104 597 0 583 1 0 1 1 0 8 0 zombiepl 144 988 0 988 2 1 1 1 0 8 1 processpl 1232 804 0 735 6 0 6 6 0 8 0 procpl 664 1446 0 1365 8 0 8 8 0 8 0 sosppl 176 4 0 4 1 1 0 1 0 8 0 sockpl 752 1030 0 991 25 8 17 17 0 8 13 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 114 0 0 15 0 15 15 0 8 0 mcl2k 2048 23 0 0 3 0 3 3 0 8 0 mtagpl 96 4 0 0 1 0 1 1 0 8 0 mbufpl 256 1749 0 0 110 0 110 110 0 8 0 bufpl 280 3239 0 106 224 0 224 224 0 8 0 anonpl 32 10476 0 0 85 0 85 85 0 246 0 amapchunkpl 152 20459 0 19959 28 1 27 28 0 158 5 amappl16 200 3010 0 2980 26 14 12 24 0 8 8 amappl15 192 7 0 7 1 1 0 1 0 8 0 amappl14 184 428 0 427 1 0 1 1 0 8 0 amappl13 176 122 0 110 1 0 1 1 0 8 0 amappl12 168 1014 0 984 2 0 2 2 0 8 0 amappl11 160 5 0 4 2 1 1 1 0 8 0 amappl10 152 62 0 48 1 0 1 1 0 8 0 amappl9 144 267 0 267 1 1 0 1 0 8 0 amappl8 136 102 0 100 1 0 1 1 0 8 0 amappl7 128 145 0 132 1 0 1 1 0 8 0 amappl6 120 161 0 160 1 0 1 1 0 8 0 amappl5 112 94 0 83 1 0 1 1 0 8 0 amappl4 104 288 0 268 1 0 1 1 0 8 0 amappl3 96 3843 0 3728 4 0 4 4 0 8 0 amappl2 88 520 0 458 2 0 2 2 0 8 0 amappl1 80 10523 0 9917 15 2 13 15 0 8 0 amappl 88 5712 0 5542 5 0 5 5 0 92 0 uvmvnodes 80 112 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 7 0 7 2 2 0 1 0 8 0 dma128 128 254 0 254 2 2 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 3 0 0 1 0 1 1 0 8 0 uaddrrnd 24 765 0 734 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 765 0 734 1 0 1 1 0 8 0 vmmpekpl 168 8103 0 8069 3 0 3 3 0 8 0 vmmpepl 168 55835 0 53913 105 3 102 103 0 357 15 vmsppl 488 764 0 734 5 1 4 5 0 8 0 rwobjpl 80 18490 0 17436 32 2 30 31 0 8 5 pdppl 4096 1537 0 1468 95 24 71 83 0 8 2 pvpl 32 16475 0 0 135 2 133 133 0 265 0 pmappl 256 764 0 734 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 379 0 41 10 0 10 10 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff8390eff0) 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 __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc softintr_dispatch(0) at softintr_dispatch+0x125 sys/kern/kern_softintr.c:83 dosoftint(0) at dosoftint+0x54 sys/arch/amd64/amd64/intr.c:862 Xsoftclock() at Xsoftclock+0x27 __mp_lock(ffffffff83980340) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:142 [inline] __mp_lock(ffffffff83980340) at __mp_lock+0x192 sys/kern/kern_lock.c:173 __mp_acquire_count(ffffffff83980340,2) at __mp_acquire_count+0x58 sys/kern/kern_lock.c:-1 malloc(10,5,1) at malloc+0xe3 sys/kern/kern_malloc.c:175 rtmap_grow(c,18) at rtmap_grow+0x8c sys/net/rtable.c:125 rtable_add(b) at rtable_add+0x2d9 rtable_alloc sys/net/rtable.c:370 [inline] rtable_add(b) at rtable_add+0x2d9 sys/net/rtable.c:223 if_createrdomain(b,ffff800001601000) at if_createrdomain+0x40 sys/net/if.c:2045 ifioctl(ffff800010fd94f0,8020699f,ffff80003c4b3210,ffff8000fffea020) at ifioctl+0x1c52 sys/net/if.c:2394 end trace frame: 0xffff80003c4b3310, count: 0 ddb{0}> trace x86_ipi_db(ffffffff8390eff0) 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 __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc softintr_dispatch(0) at softintr_dispatch+0x125 sys/kern/kern_softintr.c:83 dosoftint(0) at dosoftint+0x54 sys/arch/amd64/amd64/intr.c:862 Xsoftclock() at Xsoftclock+0x27 __mp_lock(ffffffff83980340) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:142 [inline] __mp_lock(ffffffff83980340) at __mp_lock+0x192 sys/kern/kern_lock.c:173 __mp_acquire_count(ffffffff83980340,2) at __mp_acquire_count+0x58 sys/kern/kern_lock.c:-1 malloc(10,5,1) at malloc+0xe3 sys/kern/kern_malloc.c:175 rtmap_grow(c,18) at rtmap_grow+0x8c sys/net/rtable.c:125 rtable_add(b) at rtable_add+0x2d9 rtable_alloc sys/net/rtable.c:370 [inline] rtable_add(b) at rtable_add+0x2d9 sys/net/rtable.c:223 if_createrdomain(b,ffff800001601000) at if_createrdomain+0x40 sys/net/if.c:2045 ifioctl(ffff800010fd94f0,8020699f,ffff80003c4b3210,ffff8000fffea020) at ifioctl+0x1c52 sys/net/if.c:2394 sys_ioctl(ffff8000fffea020,ffff80003c4b33f0,ffff80003c4b3340) at sys_ioctl+0x674 sys/kern/sys_generic.c:-1 syscall(ffff80003c4b33f0) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c4b33f0) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x84ffa977570, 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(ffffffff83451c58) at panic+0x1e5 sys/kern/subr_prf.c:198 __assert(ffffffff8348ceed,ffffffff83487673,84,ffffffff834e0d6e) at __assert+0x29 sys/kern/subr_prf.c:-1 rtmap_grow(c,21) at rtmap_grow+0x24f rtable_add(b) at rtable_add+0x2d9 rtable_alloc sys/net/rtable.c:370 [inline] rtable_add(b) at rtable_add+0x2d9 sys/net/rtable.c:223 if_createrdomain(b,ffff800001601000) at if_createrdomain+0x40 sys/net/if.c:2045 ifioctl(ffff800010fd94f0,8020699f,ffff80003c4c53e0,ffff8000fffeb248) at ifioctl+0x1c52 sys/net/if.c:2394 sys_ioctl(ffff8000fffeb248,ffff80003c4c55c0,ffff80003c4c5510) at sys_ioctl+0x674 sys/kern/sys_generic.c:-1 syscall(ffff80003c4c55c0) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c4c55c0) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x84f8d3f9f40, count: 5 ddb{1}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff83451c58) at panic+0x1e5 sys/kern/subr_prf.c:198 __assert(ffffffff8348ceed,ffffffff83487673,84,ffffffff834e0d6e) at __assert+0x29 sys/kern/subr_prf.c:-1 rtmap_grow(c,21) at rtmap_grow+0x24f rtable_add(b) at rtable_add+0x2d9 rtable_alloc sys/net/rtable.c:370 [inline] rtable_add(b) at rtable_add+0x2d9 sys/net/rtable.c:223 if_createrdomain(b,ffff800001601000) at if_createrdomain+0x40 sys/net/if.c:2045 ifioctl(ffff800010fd94f0,8020699f,ffff80003c4c53e0,ffff8000fffeb248) at ifioctl+0x1c52 sys/net/if.c:2394 sys_ioctl(ffff8000fffeb248,ffff80003c4c55c0,ffff80003c4c5510) at sys_ioctl+0x674 sys/kern/sys_generic.c:-1 syscall(ffff80003c4c55c0) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c4c55c0) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x84f8d3f9f40, count: -10