./file0./file0./file0./file0./file0./file0€ ÿÀ /dev/rvnd0c/dev/pfúÿÿÿ—ª"OñÁFIë±x’lÁÇZkGÁÑpanic: kernel diagnostic assertion "map->limit == rtmap_limit" failed: file "/syzkaller/managers/main/kernel/sys/net/rtable.c", line 132 Stopped at db_enter+0x25: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *249033 40792 0 0 0x4000000 0 syz-executor db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff83354763) at panic+0x1cf sys/kern/subr_prf.c:198 __assert(ffffffff8339304d,ffffffff8336ec9a,84,ffffffff833e40b3) at __assert+0x29 sys/kern/subr_prf.c:-1 rtmap_grow(71,21) at rtmap_grow+0x1f2 rtable_add(70) at rtable_add+0x289 rtable_alloc sys/net/rtable.c:370 [inline] rtable_add(70) at rtable_add+0x289 sys/net/rtable.c:223 if_createrdomain(70,ffff800001461800) at if_createrdomain+0x40 sys/net/if.c:1978 ifioctl(ffff80000147f7c8,8020699f,ffff80003c94dc10,ffff80002a7aa018) at ifioctl+0x1c06 sys/net/if.c:2327 sys_ioctl(ffff80002a7aa018,ffff80003c94dde0,ffff80003c94dd30) at sys_ioctl+0x660 sys/kern/sys_generic.c:-1 syscall(ffff80003c94dde0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c94dde0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7437688ffe0, 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> ddb> set $lines = 0 ddb> set $maxwidth = 0 ddb> show panic *cpu0: kernel diagnostic assertion "map->limit == rtmap_limit" failed: file "/syzkaller/managers/main/kernel/sys/net/rtable.c", line 132 ddb> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff83354763) at panic+0x1cf sys/kern/subr_prf.c:198 __assert(ffffffff8339304d,ffffffff8336ec9a,84,ffffffff833e40b3) at __assert+0x29 sys/kern/subr_prf.c:-1 rtmap_grow(71,21) at rtmap_grow+0x1f2 rtable_add(70) at rtable_add+0x289 rtable_alloc sys/net/rtable.c:370 [inline] rtable_add(70) at rtable_add+0x289 sys/net/rtable.c:223 if_createrdomain(70,ffff800001461800) at if_createrdomain+0x40 sys/net/if.c:1978 ifioctl(ffff80000147f7c8,8020699f,ffff80003c94dc10,ffff80002a7aa018) at ifioctl+0x1c06 sys/net/if.c:2327 sys_ioctl(ffff80002a7aa018,ffff80003c94dde0,ffff80003c94dd30) at sys_ioctl+0x660 sys/kern/sys_generic.c:-1 syscall(ffff80003c94dde0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c94dde0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7437688ffe0, count: -10 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80003c94d940 rbx 0x21 rdx 0 rcx 0 rax 0xffff80002a7aa018 r8 0x101010101010101 r9 0x8080808080808080 r10 0xcebba1c46a23b745 r11 0x1db0f00a304ace9d r12 0 r13 0x18 r14 0 r15 0x1 rip 0xffffffff819ae8c5 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff80003c94d930 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb> show proc PROC (syz-executor) tid=249033 pid=40792 tcnt=4 stat=onproc flags process=0 proc=4000000 runpri=82, usrpri=82, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a7aa548,0xffff80003c93c2d0 process=0xffff8000ffff9698 user=0xffff80003c948000, vmspace=0xfffffd806ba35b90 estcpu=32, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 8705 93734 31369 0 2 0 syz-executor 8705 221917 31369 0 3 0x4000080 fsleep syz-executor 99305 27616 30603 0 2 0 syz-executor 99305 454185 30603 0 3 0x4000080 fsleep syz-executor 56924 42934 85743 0 2 0 syz-executor 56924 77900 85743 0 3 0x4000080 fsleep syz-executor 56924 232768 85743 0 3 0x4000080 fsleep syz-executor 56924 421545 85743 0 2 0x4000000 syz-executor 2283 39618 3587 0 2 0 syz-executor 2283 2892 3587 0 2 0x4000000 syz-executor 2283 11205 3587 0 3 0x4000080 fsleep syz-executor 34756 369240 73072 0 2 0 syz-executor 34756 127107 73072 0 3 0x4000080 fsleep syz-executor 34756 506080 73072 0 3 0x4000080 fsleep syz-executor 40792 467083 86584 0 2 0 syz-executor 40792 78886 86584 0 2 0x4000000 syz-executor *40792 249033 86584 0 7 0x4000000 syz-executor 40792 335612 86584 0 3 0x4000080 fsleep syz-executor 60198 442602 69741 0 2 0 syz-executor 60198 204269 69741 0 3 0x4000080 fsleep syz-executor 60198 269578 69741 0 2 0x4000000 syz-executor 60198 72441 69741 0 3 0x4000080 fsleep syz-executor 22716 80798 0 0 3 0x14200 acct acct 63548 237845 0 0 3 0x14200 bored sosplice 3587 459350 49369 0 3 0x82 nanoslp syz-executor 85743 30854 49369 0 3 0x82 nanoslp syz-executor 73072 276107 49369 0 3 0x82 nanoslp syz-executor 30603 206565 49369 0 2 0xc82 syz-executor 31369 476830 49369 0 2 0xc82 syz-executor 69741 364607 49369 0 2 0xc82 syz-executor 83590 220469 49369 0 2 0x2 syz-executor 86584 101847 49369 0 2 0xc82 syz-executor 49369 136037 35913 0 3 0x82 kqread syz-executor 35913 41136 97587 0 3 0x10008a sigsusp ksh 97587 138020 17613 0 3 0x98 kqread sshd-session 17613 59817 63341 0 3 0x92 kqread sshd-session 72326 429344 1 0 3 0x100083 ttyin getty 63341 206673 1 0 3 0x88 kqread sshd 9496 324280 26085 73 3 0x1100090 kqread syslogd 26085 347357 1 0 3 0x100082 sbwait syslogd 17298 287677 1 0 3 0x100080 kqread resolvd 58263 305942 46529 77 3 0x100092 kqread dhcpleased 61035 129154 46529 77 3 0x100092 kqread dhcpleased 46529 222776 1 0 3 0x80 kqread dhcpleased 44536 355565 0 0 3 0x14200 bored smr 15896 495636 0 0 2 0x14200 zerothread 66590 88031 0 0 3 0x14200 aiodoned aiodoned 12870 26532 0 0 3 0x14200 syncer update 48028 282785 0 0 3 0x14200 cleaner cleaner 27480 111448 0 0 3 0x14200 reaper reaper 48466 482594 0 0 3 0x14200 pgdaemon pagedaemon 14458 252983 0 0 3 0x14200 bored viomb 65085 326844 0 0 3 0x40014200 acpi0 acpi0 26087 62752 0 0 3 0x14200 bored softnet0 96446 177255 0 0 3 0x14200 bored systqmp 68914 270918 0 0 3 0x14200 bored systq 56958 396725 0 0 3 0x40014200 tmoslp softclock 17871 162414 0 0 3 0x40014200 idle0 1 21608 0 0 3 0x80082 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb> show all locks No such command ddb> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10178 11058K 11383K 166960K 11924 0 pcb 20 14K 15K 166960K 180 0 rtable 192 10K 10K 166960K 333 0 pf 30 13K 17K 166960K 80 0 ifaddr 39 7K 8K 166960K 66 0 ifgroup 46 2K 2K 166960K 94 0 sysctl 3 1K 9K 166960K 12 0 counters 31 17K 18K 166960K 120 0 ioctlops 0 0K 4K 166960K 165 0 iov 0 0K 24K 166960K 30 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1436 90K 91K 166960K 1882 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 3 5K 9K 166960K 12 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 20 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 236K 166960K 543 0 sigio 0 0K 0K 166960K 5 0 proc 60 59K 91K 166960K 515 0 subproc 72 4K 4K 166960K 74 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 77 0 in_multi 88 6K 7K 166960K 116 0 ether_multi 1 0K 0K 166960K 3 0 mrt 0 0K 0K 166960K 2 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 79 360K 360K 166960K 79 0 exec 0 0K 1K 166960K 400 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 235 143K 161K 166960K 6471 0 UVM aobj 13 2K 2K 166960K 13 0 pinsyscall 38 76K 94K 166960K 1572 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 35 0 NDP 10 0K 2K 166960K 41 0 temp 44 8636K 8723K 166960K 16937 0 kqueue 14 22K 31K 166960K 116 0 SYN cache 2 16K 16K 166960K 2 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle rtpcb 120 135 0 131 3 2 1 3 0 8 0 rtentry 136 113 0 35 4 0 4 4 0 8 0 unpcb 144 415 0 397 6 0 6 6 0 8 5 syncache 336 5 0 5 1 1 0 1 0 8 0 tcpqe 32 1 0 1 1 1 0 1 0 8 0 tcpcb 736 205 0 199 7 6 1 7 0 8 0 arp 96 12 0 2 1 0 1 1 0 8 0 ipq 40 1 0 0 1 0 1 1 0 8 0 ipqe 40 1 0 0 1 0 1 1 0 8 0 inpcb 328 682 0 669 11 7 4 10 0 8 2 ip6q 72 4 0 2 1 0 1 1 0 8 0 ip6af 40 8 0 6 1 0 1 1 0 8 0 nd6 112 21 0 7 1 0 1 1 0 8 0 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1072 82 0 82 2 1 1 1 0 8 1 pppxif 1384 3 0 3 1 1 0 1 0 8 0 pfstscr 40 1 0 1 1 0 1 1 0 8 1 pfstitem 24 4 0 0 1 0 1 1 0 8 0 pfstkey 128 8 0 4 1 0 1 1 0 8 0 pfstate 384 4 0 2 1 0 1 1 0 8 0 pfrule 1344 7 0 7 2 1 1 1 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 529 0 145 30 3 27 30 0 8 1 art_table 40 530 0 145 5 0 5 5 0 8 0 art_node 32 113 0 47 1 0 1 1 0 8 0 sysvmsgpl 40 3 0 2 1 0 1 1 0 8 0 semapl 112 18 0 8 1 0 1 1 0 8 0 shmpl 112 10 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2381 0 880 95 0 95 95 0 8 0 ffsino 256 2381 0 880 95 0 95 95 0 8 0 nchpl 144 3166 0 1486 63 0 63 63 0 8 0 rtmask 32 7 0 7 2 1 1 1 0 8 1 vnodes 216 2780 0 0 155 0 155 155 0 8 0 namei 1024 10268 0 10267 1 0 1 1 0 8 0 kstatmem 264 50 0 30 2 0 2 2 0 8 0 scxspl 216 13936 0 13936 15 7 8 8 1 8 8 plimitpl 152 232 0 214 1 0 1 1 0 8 0 sigapl 424 811 0 767 7 1 6 6 0 8 0 knotepl 120 19096 0 19034 24 14 10 17 0 8 8 kqueuepl 184 175 0 163 1 0 1 1 0 8 0 pipepl 304 135 0 108 3 0 3 3 0 8 0 fdescpl 448 796 0 767 5 1 4 5 0 8 0 filepl 120 4918 0 4692 14 2 12 13 0 8 5 lockfpl 104 282 0 278 2 1 1 2 0 8 0 lockfspl 48 68 0 64 1 0 1 1 0 8 0 sessionpl 144 23 0 15 1 0 1 1 0 8 0 pgrppl 48 33 0 17 1 0 1 1 0 8 0 ucredpl 104 770 0 758 1 0 1 1 0 8 0 zombiepl 144 873 0 873 1 0 1 1 0 8 1 processpl 1152 811 0 767 4 0 4 4 0 8 0 procpl 664 1470 0 1411 6 0 6 6 0 8 0 sosppl 168 1 0 1 1 1 0 1 0 8 0 sockpl 552 1250 0 1215 13 2 11 13 0 8 8 mcl64k 65536 61 0 61 1 0 1 1 0 8 1 mcl9k 9216 1 0 1 1 0 1 1 0 8 1 mcl8k 8192 8 0 8 1 1 0 1 0 8 0 mcl4k 4096 2973 0 2921 15 7 8 14 0 8 0 mcl2k 2048 830 0 826 3 1 2 2 0 8 1 mtagpl 96 8 0 5 1 0 1 1 0 8 0 mbufpl 256 8438 0 8251 18 0 18 18 0 8 5 bufpl 280 6925 0 697 446 0 446 446 0 8 0 anonpl 24 151690 0 148513 78 21 57 57 0 187 28 amapchunkpl 152 21198 0 20684 38 6 32 32 0 158 10 amappl16 200 2958 0 2928 28 16 12 16 0 8 8 amappl15 192 10 0 10 1 1 0 1 0 8 0 amappl14 184 125 0 115 1 0 1 1 0 8 0 amappl13 176 7 0 7 1 1 0 1 0 8 0 amappl12 168 1407 0 1378 3 1 2 3 0 8 0 amappl11 160 44 0 34 1 0 1 1 0 8 0 amappl10 152 5 0 4 1 0 1 1 0 8 0 amappl9 144 251 0 251 1 1 0 1 0 8 0 amappl8 136 18 0 17 1 0 1 1 0 8 0 amappl7 128 136 0 126 1 0 1 1 0 8 0 amappl6 120 184 0 180 1 0 1 1 0 8 0 amappl5 112 112 0 106 1 0 1 1 0 8 0 amappl4 104 271 0 256 1 0 1 1 0 8 0 amappl3 96 3430 0 3331 3 0 3 3 0 8 0 amappl2 88 1042 0 971 2 0 2 2 0 8 0 amappl1 80 9708 0 9166 14 1 13 14 0 8 0 amappl 88 5755 0 5583 5 0 5 5 0 92 0 uvmvnodes 80 2780 0 0 57 0 57 57 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 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 12 0 0 1 0 1 1 0 8 0 uaddrrnd 24 796 0 767 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 796 0 767 1 0 1 1 0 8 0 vmmpekpl 168 7686 0 7648 4 1 3 3 0 8 0 vmmpepl 168 56178 0 54324 107 14 93 98 0 357 9 vmsppl 368 795 0 767 4 1 3 4 0 8 0 rwobjpl 40 20094 0 16445 38 0 38 38 0 8 0 pdppl 4096 1598 0 1534 98 32 66 80 0 8 2 pvpl 32 375923 0 367553 169 40 129 129 0 265 46 pmappl 216 795 0 767 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 381 0 55 10 0 10 10 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff83354763) at panic+0x1cf sys/kern/subr_prf.c:198 __assert(ffffffff8339304d,ffffffff8336ec9a,84,ffffffff833e40b3) at __assert+0x29 sys/kern/subr_prf.c:-1 rtmap_grow(71,21) at rtmap_grow+0x1f2 rtable_add(70) at rtable_add+0x289 rtable_alloc sys/net/rtable.c:370 [inline] rtable_add(70) at rtable_add+0x289 sys/net/rtable.c:223 if_createrdomain(70,ffff800001461800) at if_createrdomain+0x40 sys/net/if.c:1978 ifioctl(ffff80000147f7c8,8020699f,ffff80003c94dc10,ffff80002a7aa018) at ifioctl+0x1c06 sys/net/if.c:2327 sys_ioctl(ffff80002a7aa018,ffff80003c94dde0,ffff80003c94dd30) at sys_ioctl+0x660 sys/kern/sys_generic.c:-1 syscall(ffff80003c94dde0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c94dde0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7437688ffe0, count: -10 ddb> machine ddbcpu 1 No such command ddb> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff83354763) at panic+0x1cf sys/kern/subr_prf.c:198 __assert(ffffffff8339304d,ffffffff8336ec9a,84,ffffffff833e40b3) at __assert+0x29 sys/kern/subr_prf.c:-1 rtmap_grow(71,21) at rtmap_grow+0x1f2 rtable_add(70) at rtable_add+0x289 rtable_alloc sys/net/rtable.c:370 [inline] rtable_add(70) at rtable_add+0x289 sys/net/rtable.c:223 if_createrdomain(70,ffff800001461800) at if_createrdomain+0x40 sys/net/if.c:1978 ifioctl(ffff80000147f7c8,8020699f,ffff80003c94dc10,ffff80002a7aa018) at ifioctl+0x1c06 sys/net/if.c:2327 sys_ioctl(ffff80002a7aa018,ffff80003c94dde0,ffff80003c94dd30) at sys_ioctl+0x660 sys/kern/sys_generic.c:-1 syscall(ffff80003c94dde0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c94dde0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7437688ffe0, count: -10