assert "map->limit == rtmap_limit" failed in rOtNa bSlYe.cS

0 views
Skip to first unread message

syzbot

unread,
Jun 17, 2026, 5:22:36 PMJun 17
to syzkaller-o...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: abb34060f546 rpki-client: unify CMS signed object parsers
git tree: openbsd
console output: https://syzkaller.appspot.com/x/log.txt?x=159c74fe580000
kernel config: https://syzkaller.appspot.com/x/.config?x=7058272de1526588
dashboard link: https://syzkaller.appspot.com/bug?extid=3440e30552fe6d105db3

Unfortunately, I don't have any reproducer for this issue yet.

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/1f31d4d857cd/disk-abb34060.raw.xz
bsd.gdb: https://storage.googleapis.com/syzbot-assets/05add9745050/bsd-abb34060.gdb.xz
kernel image: https://storage.googleapis.com/syzbot-assets/dd60ef44e8b5/kernel-abb34060.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+3440e3...@syzkaller.appspotmail.com

panic: kernel diagnostic assertion "map->limit == rtmap_limit" failed: file "/syzkaller/managerWsA/RmulNtINGi: coSrPLe /NkOernTe lL/OsysW/EnReEtD/ rOtNa bSlYe.cS"C, ALlLi ne9 113 21
02St3o3p5p0ed a16t8 EXIT 0 a
db_enter+0x25: addq $0x8,%rsp
TID PID UID PRFLAGS PFLAGS CPU COMMAND
*301552 60919 0 0x10 0x4000000 0 syz-executor
352610 46258 0 0x2 0 1 syz-executor
db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438
panic(ffffffff834b7dd7) at panic+0x1e5 sys/kern/subr_prf.c:198
__assert(ffffffff834f6b9c,ffffffff834f3ea5,84,ffffffff8354ded3) 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,ffff800001610000) at if_createrdomain+0x40 sys/net/if.c:2046
ifioctl(ffff8000016526b0,8020699f,ffff80002efa3100,ffff8000397b82b8) at ifioctl+0x1c52 sys/net/if.c:2395
sys_ioctl(ffff8000397b82b8,ffff80002efa32e0,ffff80002efa3230) at sys_ioctl+0x674 sys/kern/sys_generic.c:-1
syscall(ffff80002efa32e0) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline]
syscall(ffff80002efa32e0) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:783
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x8340ffa21b0, 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(ffffffff834b7dd7) at panic+0x1e5 sys/kern/subr_prf.c:198
__assert(ffffffff834f6b9c,ffffffff834f3ea5,84,ffffffff8354ded3) 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,ffff800001610000) at if_createrdomain+0x40 sys/net/if.c:2046
ifioctl(ffff8000016526b0,8020699f,ffff80002efa3100,ffff8000397b82b8) at ifioctl+0x1c52 sys/net/if.c:2395
sys_ioctl(ffff8000397b82b8,ffff80002efa32e0,ffff80002efa3230) at sys_ioctl+0x674 sys/kern/sys_generic.c:-1
syscall(ffff80002efa32e0) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline]
syscall(ffff80002efa32e0) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:783
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x8340ffa21b0, count: -10
ddb{0}> show registers
rdi 0
rsi 0x1
rbp 0xffff80002efa2e10
rbx 0xffffffff83995e07 cpu_info_full_primary+0x2e07
rdx 0
rcx 0xffff8000397b82b8
rax 0xffffffff83994ff0 cpu_info_full_primary+0x1ff0
r8 0x101010101010101
r9 0x8080808080808080
r10 0x168d05f85e8847bf
r11 0x76906c0224ade081
r12 0xffffffff83995c08 cpu_info_full_primary+0x2c08
r13 0
r14 0
r15 0x1
rip 0xffffffff8107e055 db_enter+0x25
cs 0x8
rflags 0x246
rsp 0xffff80002efa2e00
ss 0x10
db_enter+0x25: addq $0x8,%rsp
ddb{0}> show proc
PROC (syz-executor) tid=301552 pid=60919 tcnt=3 stat=onproc
flags process=10<SUGID> proc=4000000<THREAD>
runpri=50, usrpri=86, slppri=32, nice=20
wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0
forw=0xffffffffffffffff, list=0xffff8000397b87e8,0xffff8000397b9258
process=0xffff80002a37d828 user=0xffff80002ef9e000, vmspace=0xfffff2806c4659a8
estcpu=36, cpticks=2, pctcpu=0.0, user=0, sys=2, intr=0
ddb{0}> ps
PID TID PPID UID S FLAGS WAIT COMMAND
60919 427045 1075 0 2 0x10 syz-executor
*60919 301552 1075 0 7 0x4000010 syz-executor
60919 109613 1075 0 2 0x4000010 syz-executor
71979 93860 18103 0 2 0 syz-executor
71979 228240 18103 0 3 0x4000080 fsleep syz-executor
89261 425679 68176 0 2 0 syz-executor
89261 513321 68176 0 2 0x4000000 syz-executor
93212 44753 78252 0 2 0 syz-executor
93212 35269 78252 0 3 0x4000080 fsleep syz-executor
7934 30087 46258 0 2 0 syz-executor
7934 38054 46258 0 2 0x4000000 syz-executor
62836 513877 28482 0 2 0x2 syz-executor
18103 372899 28482 0 3 0x82 nanoslp syz-executor
68176 84923 28482 0 3 0x82 nanoslp syz-executor
46258 352610 28482 0 7 0x2 syz-executor
73497 461467 28482 0 3 0x82 wait syz-executor
78252 43238 28482 0 3 0x82 nanoslp syz-executor
1075 405002 28482 0 2 0xc82 syz-executor
9777 139180 28482 0 2 0x2 syz-executor
28482 443155 23587 0 2 0x2 syz-executor
23587 349843 6562 0 3 0x10008a sigsusp ksh
6562 191711 19702 0 3 0x98 kqread sshd-session
19702 49639 88993 0 3 0x92 kqread sshd-session
62319 359048 1 0 3 0x100083 ttyin getty
88993 148555 1 0 3 0x88 kqread sshd
30114 276241 4441 74 3 0x1100092 bpf pflogd
4441 452705 1 0 3 0x80 sbwait pflogd
50657 209132 27277 73 3 0x1100090 kqread syslogd
27277 430895 1 0 3 0x100082 sbwait syslogd
74604 53484 1 0 3 0x100080 kqread resolvd
1006 349093 86715 77 3 0x100092 kqread dhcpleased
77166 196118 86715 77 3 0x100092 kqread dhcpleased
86715 439200 1 0 3 0x80 kqread dhcpleased
97061 106089 0 0 3 0x14200 bored smr
54594 204817 0 0 2 0x14200 zerothread
5664 389806 0 0 3 0x14200 aiodoned aiodoned
10750 315224 0 0 3 0x14200 syncer update
40089 237967 0 0 3 0x14200 cleaner cleaner
91133 219823 0 0 3 0x14200 reaper reaper
20036 178157 0 0 3 0x14200 pgdaemon pagedaemon
72735 214761 0 0 3 0x14200 bored viomb
18442 136661 0 0 3 0x40014200 acpi0 acpi0
74556 177092 0 0 3 0x40014200 idle1
53537 228530 0 0 3 0x14200 bored softnet1
97803 151193 0 0 3 0x14200 bored softnet0
89004 214458 0 0 2 0x14200 systqmp
80983 341001 0 0 3 0x14200 bored systq
60751 8610 0 0 3 0x14200 tmoslp softclockmp
43403 285114 0 0 3 0x40014200 tmoslp softclock
87978 270664 0 0 3 0x40014200 idle0
1 260066 0 0 3 0x20000082 nanoslp init
0 0 -1 0 3 0x10010200 scheduler swapper
ddb{0}> show all locks
Process 60919 (syz-executor) thread 0xffff8000397b82b8 (301552)
exclusive kernel_lock &kernel_lock r = 1 (0xffffffff83a8ca00)
#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 11048 12080K 12276K 166960K 12305 0
pcb 23 12K 12K 166960K 66 0
rtable 181 8K 10K 166960K 401 0
pf 33 17K 81K 166960K 144 0
ifaddr 30 5K 7K 166960K 52 0
ifgroup 43 2K 2K 166960K 72 0
sysctl 3 1K 9K 166960K 8 0
counters 64 36K 37K 166960K 80 0
ioctlops 0 0K 4K 166960K 1577 0
iov 0 0K 12K 166960K 8 0
mount 1 1K 1K 166960K 1 0
log 0 0K 0K 166960K 4 0
vnodes 1300 82K 82K 166960K 1688 0
UFS quota 1 32K 32K 166960K 1 0
UFS mount 5 36K 36K 166960K 5 0
shm 2 1K 5K 166960K 5 0
VM map 2 1K 1K 166960K 2 0
sem 10 0K 0K 166960K 44 0
dirhash 12 2K 2K 166960K 12 0
ACPI 1692 195K 286K 166960K 12470 0
file desc 16 57K 93K 166960K 385 0
sigio 0 0K 0K 166960K 1 0
proc 72 115K 164K 166960K 572 0
subproc 71 4K 5K 166960K 233 0
NFS srvsock 1 0K 0K 166960K 1 0
NFS daemon 1 16K 16K 166960K 1 0
ip_moptions 0 0K 0K 166960K 26 0
in_multi 65 4K 7K 166960K 109 0
ether_multi 1 0K 0K 166960K 4 0
mrt 1 0K 0K 166960K 18 0
ISOFS mount 1 32K 32K 166960K 1 0
MSDOSFS mount 1 16K 16K 166960K 1 0
ttys 67 307K 307K 166960K 67 0
exec 0 0K 1K 166960K 490 0
fusefs mount 1 32K 32K 166960K 1 0
pfkey data 0 0K 0K 166960K 1 0
tdb 3 0K 0K 166960K 3 0
VM swap 8 62K 64K 166960K 10 0
UVM amap 223 167K 180K 166960K 5243 0
UVM aobj 12 2K 2K 166960K 12 0
pinsyscall 41 82K 103K 166960K 1581 0
memdesc 1 4K 4K 166960K 1 0
crypto data 1 1K 1K 166960K 1 0
ip6_options 1 0K 1K 166960K 78 0
NDP 9 0K 2K 166960K 33 0
temp 36 9110K 9124K 166960K 16584 0
kqueue 13 20K 28K 166960K 52 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 47 0 44 1 0 1 1 0 8 0
rtentry 176 113 0 39 6 0 6 6 0 8 1
unpcb 144 406 0 387 6 5 1 6 0 8 0
syncache 336 7 0 7 1 1 0 1 0 8 0
tcpcb 736 118 0 114 7 6 1 7 0 8 0
arp 136 19 0 7 1 0 1 1 0 8 0
inpcb 328 417 0 402 12 6 6 7 0 8 4
nd6 152 24 0 9 1 0 1 1 0 8 0
pkpcb 40 2 0 2 1 1 0 1 0 8 0
kcovpl 48 25 0 18 1 0 1 1 0 8 0
ppxss 1192 2 0 2 2 2 0 1 0 8 0
pffrag 232 1 0 1 1 1 0 1 0 482 0
pffrnode 88 1 0 1 1 1 0 1 0 8 0
pffrent 40 2 0 2 1 1 0 1 0 8 0
pfosfp 40 1428 0 1428 5 0 5 5 0 8 5
pfosfpen 112 1428 0 1428 21 0 21 21 0 8 21
pfrktable 1344 13 0 8 1 0 1 1 0 8 0
pfanchor 1288 2 0 0 1 0 1 1 0 8 0
pftag 88 3 0 1 1 0 1 1 0 8 0
pfstitem 24 45 0 13 1 0 1 1 0 8 0
pfstkey 128 45 0 13 2 0 2 2 0 8 0
pfstate 448 45 0 13 5 0 5 5 0 8 0
pfrule 1360 26 0 18 2 0 2 2 0 8 0
art_heap8 4096 1 0 0 1 0 1 1 0 8 0
art_heap4 256 453 0 139 29 3 26 29 0 8 2
art_table 40 454 0 139 5 0 5 5 0 8 0
art_node 32 113 0 46 1 0 1 1 0 8 0
sysvmsgpl 40 2 0 1 1 0 1 1 0 8 0
semapl 72 42 0 34 1 0 1 1 0 8 0
shmpl 112 9 0 0 1 0 1 1 0 8 0
dirhash 1024 17 0 0 3 0 3 3 0 8 0
dino2pl 256 1951 0 472 93 0 93 93 0 8 0
ffsino 296 1951 0 472 115 0 115 115 0 8 0
nchpl 144 2437 0 718 64 0 64 64 0 8 0
vnodes 216 2270 0 0 127 0 127 127 0 8 0
namei 1024 8192 0 8191 2 1 1 2 0 8 0
percpumem 16 55 0 8 1 0 1 1 0 8 0
pfiaddrpl 120 4 0 2 1 0 1 1 0 8 0
kstatmem 264 37 0 16 2 0 2 2 0 8 0
scsiplug 72 2 0 2 1 1 0 1 0 8 0
scxspl 216 8316 0 8316 11 3 8 8 1 8 8
plimitpl 152 66 0 49 1 0 1 1 0 8 0
sigapl 424 678 0 632 7 1 6 7 0 8 0
knotepl 120 317 0 0 10 0 10 10 0 8 0
kqueuepl 224 71 0 60 1 0 1 1 0 8 0
pipepl 344 262 0 235 9 0 9 9 0 8 6
fdescpl 528 661 0 631 3 0 3 3 0 8 0
filepl 160 3789 0 3569 23 9 14 18 0 8 4
lockfpl 104 139 0 137 2 1 1 2 0 8 0
lockfspl 48 36 0 34 1 0 1 1 0 8 0
sessionpl 144 48 0 39 1 0 1 1 0 8 0
pgrppl 48 75 0 58 1 0 1 1 0 8 0
ucredpl 104 491 0 477 1 0 1 1 0 8 0
zombiepl 144 671 0 670 2 1 1 1 0 8 0
processpl 1232 678 0 632 5 1 4 5 0 8 0
procpl 664 1031 0 979 6 1 5 6 0 8 0
sosppl 176 3 0 3 1 1 0 1 0 8 0
sockpl 752 874 0 837 27 17 10 17 0 8 6
mcl64k 65536 4 0 0 1 0 1 1 0 8 0
mcl16k 16384 4 0 0 1 0 1 1 0 8 0
mcl8k 8192 4 0 0 1 0 1 1 0 8 0
mcl4k 4096 128 0 0 16 0 16 16 0 8 0
mcl2k 2048 19 0 0 3 0 3 3 0 8 0
mtagpl 96 3 0 0 1 0 1 1 0 8 0
mbufpl 256 209 0 0 14 0 14 14 0 8 0
bufpl 272 3942 0 105 256 0 256 256 0 8 0
anonpl 32 7002 0 0 57 0 57 57 0 246 0
amapchunkpl 152 15102 0 14665 27 8 19 24 0 158 2
amappl16 200 1983 0 1957 17 15 2 14 0 8 0
amappl15 192 12 0 12 1 1 0 1 0 8 0
amappl14 184 440 0 439 1 0 1 1 0 8 0
amappl13 176 131 0 119 1 0 1 1 0 8 0
amappl12 168 946 0 917 2 0 2 2 0 8 0
amappl11 160 2 0 2 1 1 0 1 0 8 0
amappl10 152 90 0 76 1 0 1 1 0 8 0
amappl9 144 273 0 273 1 1 0 1 0 8 0
amappl8 136 115 0 113 1 0 1 1 0 8 0
amappl7 128 168 0 154 1 0 1 1 0 8 0
amappl6 120 155 0 153 1 0 1 1 0 8 0
amappl5 112 104 0 93 1 0 1 1 0 8 0
amappl4 104 304 0 284 1 0 1 1 0 8 0
amappl3 96 2939 0 2835 4 1 3 4 0 8 0
amappl2 88 575 0 513 2 0 2 2 0 8 0
amappl1 80 11919 0 11327 16 3 13 16 0 8 0
amappl 88 4421 0 4271 5 1 4 5 0 92 0
uvmvnodes 80 104 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 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 11 0 0 1 0 1 1 0 8 0
uaddrrnd 24 661 0 631 1 0 1 1 0 8 0
uaddrbest 32 2 0 0 1 0 1 1 0 8 0
uaddr 24 661 0 631 1 0 1 1 0 8 0
vmmpekpl 168 8087 0 8045 3 0 3 3 0 8 0
vmmpepl 168 52126 0 50284 92 8 84 92 0 357 0
vmsppl 488 660 0 631 5 1 4 5 0 8 0
rwobjpl 80 17687 0 16671 25 1 24 25 0 8 0
pdppl 4096 1329 0 1262 113 44 69 85 0 8 2
pvpl 32 11575 0 0 94 0 94 94 0 265 0
pmappl 256 660 0 631 3 1 2 3 0 8 0
extentpl 40 45 0 27 1 0 1 1 0 8 0
phpool 112 554 0 58 15 0 15 15 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(ffffffff834b7dd7) at panic+0x1e5 sys/kern/subr_prf.c:198
__assert(ffffffff834f6b9c,ffffffff834f3ea5,84,ffffffff8354ded3) 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,ffff800001610000) at if_createrdomain+0x40 sys/net/if.c:2046
ifioctl(ffff8000016526b0,8020699f,ffff80002efa3100,ffff8000397b82b8) at ifioctl+0x1c52 sys/net/if.c:2395
sys_ioctl(ffff8000397b82b8,ffff80002efa32e0,ffff80002efa3230) at sys_ioctl+0x674 sys/kern/sys_generic.c:-1
syscall(ffff80002efa32e0) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline]
syscall(ffff80002efa32e0) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:783
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x8340ffa21b0, count: -10
ddb{0}> machine ddbcpu 1


---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

If the report is already addressed, let syzbot know by replying with:
#syz fix: exact-commit-title

If you want to overwrite report's subsystems, reply with:
#syz set subsystems: new-subsystem
(See the list of subsystem names on the web dashboard)

If the report is a duplicate of another one, reply with:
#syz dup: exact-subject-of-another-report

If you want to undo deduplication, reply with:
#syz undup
Reply all
Reply to author
Forward
0 new messages