Regression #16369
openGo-based software crashes on hardware with 5-level paging (LA57)
100%
Description
FreeBSD recently added support for 5-level paging (57-bit linear virtual addressing, a.k.a. LA57) and it is enabled by default system-wide on compatible hardware, not on a per-request basis (as Linux does). This was brought in with a source merge and is included in pfSense Plus 25.07.
There is currently a bug in Go which makes it incompatible with LA57 -- attempting to run a program written in Go on a system with LA57 active will likely result in that program crashing. On pfSense Plus this could be, for example, Nexus or Tailscale running on a Netgate 8300.
FreeBSD recently added a loader tunable to disable LA57 and use LA48 instead (vm.pmap.prefer_uva_la48
), but this tunable is not in pfSense Plus 25.07.
We need to merge in this tunable and set it to 1
by default so that affected devices can run Go-based software without crashing.
This issue is for tracking purposes, it has already been addressed in the source.