https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=287254
--- Comment #3 from commit-h...@freebsd.org --- A commit in branch stable/13 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=06664c3b0ec2f446466f0d7e53addad0d7c2dd64 commit 06664c3b0ec2f446466f0d7e53addad0d7c2dd64 Author: Kristof Provost <k...@freebsd.org> AuthorDate: 2025-06-06 21:20:16 +0000 Commit: Kristof Provost <k...@freebsd.org> CommitDate: 2025-06-06 21:20:16 +0000 pf: fix panic in pf_return() We (correctly) NULL out sk and nk before calling pf_return(), but that function still tried to use them to undo NAT transformations. Store the old port numbers and use those rather than sk/nk. This is a partial import of e11dacbf8484adc7bbb61b20fee3ab8385745925 (osport/odport), and the missing parts of bdea9cbcf2decafeb4da5a0280313efccc09e1b3. Direct commit to stable/14. PR: 287254 (cherry picked from commit 6f6ca5288060110c7385b9424e4729b192ed6308) sys/net/pfvar.h | 6 ++++-- sys/netpfil/pf/pf.c | 31 ++++++++++++++++--------------- 2 files changed, 20 insertions(+), 17 deletions(-) -- You are receiving this mail because: You are the assignee for the bug.