Hi Felix,

I think there have been quite a few improvements  over all that you
would be better off running 8.0 Current,

there is considerable effort on the Developers  parts to deal with
higher priority backporting
Security fixes and the like,

that said if someone was to backport I would happily run the testing on it,

I would recommend going with current,  as it gets the attention first
and the fixes are going in there
relatively quicly

Hope this helps

Tom Smyth

On Fri, 27 Nov 2026 at 12:43, Fro <[email protected]> wrote:
>
> Hello,
>
> This is a follow-up to the existing bug report:
> https://mail-archive.com/[email protected]/msg24740.html
>
> I would like to confirm that the mpw(4) NULL ifa_addr issue also affects 
> OpenBSD 7.9-stable on real hardware.
>
> I encountered this bug while running an MPLS LDP pseudowire between an 
> OpenBSD 7.9 PE router and a Juniper SRX210.
>
> Environment:
>
> OS: OpenBSD 7.9-stable, amd64
>
> Kernel: GENERIC.MP
>
> Hardware: Intel Atom D2550, Realtek RTL8168E/8111E NICs
>
> MPLS: mpw0, VPWS, PWID 4094
>
> LDP peer: 10.19.249.2
>
> The unpatched kernel repeatedly crashed when ldpd removed the MPLS pseudowire 
> configuration, including during a normal system shutdown.
>
> The kernel debugger showed:
>
> uvm_fault(..., 0x1, 0, 1) -> e
> kernel: page fault trap, code=0
> Stopped at rtable_clearsource+0x22
>
> rtable_clearsource(0,0)
> rt_ifa_del(...)
> mpw_ioctl(...)
> ifioctl(...)
> sys_ioctl(...)
> syscall(...)
> Xsyscall(...)
>
> The current process was ldpd.
>
> I backported the upstream fix for sys/net/if_mpw.c to the OPENBSD_7_9 source 
> tree (revision 1.71).
>
> The change moves the three sc_ifa initialization statements after 
> ether_ifattach(), ensuring that ifp->if_sadl has been allocated before 
> assigning sc_ifa.ifa_addr.
>
> I rebuilt GENERIC.MP and tested the resulting kernel:
>
> OpenBSD 7.9-stable (GENERIC.MP) #0
> Fri Nov 27 15:08:03 +05 2026
>
> Test results:
>
> The patched kernel booted successfully.
>
> OSPF adjacency reached FULL/P2P.
>
> LDP adjacency reached OPERATIONAL.
>
> The MPLS pseudowire reached UP.
>
> Three consecutive ldpd stop/start cycles completed without a kernel fault.
>
> MPLS labels were removed and restored successfully.
>
> Normal shutdown and reboot completed without the previous panic.
>
> The pseudowire automatically returned to UP after reboot.
>
> The local and remote pseudowire labels were 16 and 299776, respectively.
>
> These tests indicate that the upstream fix also resolves the observed kernel 
> crash on OpenBSD 7.9-stable.
>
> Thank you to Tom Smyth for the original report and to Vitaliy Makkoveev and 
> the OpenBSD developers for the fix.
>
> Would it be appropriate to backport this fix to the OPENBSD_7_9 branch or 
> provide it through a 7.9 erratum?
>
> I can provide additional dmesg output and test details if needed.
>
> Best regards,
> Felix Frolov



-- 
Kindest regards,
Tom Smyth.

Reply via email to