panic: rtable NUM is not empty

Status: upstream: reported on 2026/11/10 15:51
Reported-by: syzbot+9bfc175d50f2baa828c1@syzkaller.appspotmail.com
First crash: 9d10h, last: 5d06h

Sample crash report:
panic: rtable 22 is not empty
Starting stack trace...
panic(ffffffff83458c09) at panic+0x1ba sys/kern/subr_prf.c:229
rtable_l2set(16,16,10) at rtable_l2set+0x411 rtable_entry sys/net/rtable.c:204 [inline]
rtable_l2set(16,16,10) at rtable_l2set+0x411 rtable_exists sys/net/rtable.c:238 [inline]
rtable_l2set(16,16,10) at rtable_l2set+0x411 sys/net/rtable.c:359
if_createrdomain(ffff800001569800,16) at if_createrdomain+0x250 sys/net/if.c:2047
ifioctl(ffff800010fde460,8020699f,ffff8000380c1420,ffff80002a784018) at ifioctl+0x1c02 sys/net/if.c:2381
sys_ioctl(ffff80002a784018,ffff8000380c15f0,ffff8000380c1540) at sys_ioctl+0x660 sys/kern/sys_generic.c:-1
syscall(ffff8000380c15f0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline]
syscall(ffff8000380c15f0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:804
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0xf39e08dd660, count: 250
End of stack trace.

Crashes (5):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/11/14 19:59 openbsd 9d8cbe8da990 8d68b303 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main panic: rtable NUM is not empty
2026/11/13 01:21 openbsd eef77f7f6d2a 8d68b303 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main panic: rtable NUM is not empty
2026/11/10 20:12 openbsd 125c48b818c7 d3056657 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main panic: rtable NUM is not empty
2026/11/10 16:39 openbsd 6689907bdb0b 01625235 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main panic: rtable NUM is not empty
2026/11/10 15:50 openbsd 6689907bdb0b 01625235 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main panic: rtable NUM is not empty
* Struck through repros no longer work on HEAD.