Project

General

Profile

Actions

Regression #16369

open

Go-based software crashes on hardware with 5-level paging (LA57)

Added by Jim Pingle 30 days ago. Updated 30 days ago.

Status:
Feedback
Priority:
Very High
Assignee:
Category:
Operating System
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Release Notes:
Default
Affected Plus Version:
25.07
Affected Architecture:
8300

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.

Actions #1

Updated by Jim Pingle 30 days ago

  • Priority changed from Normal to Very High
  • Affected Architecture 8300 added
Actions

Also available in: Atom PDF