https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=287254
--- Comment #2 from [email protected] --- A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=6f6ca5288060110c7385b9424e4729b192ed6308 commit 6f6ca5288060110c7385b9424e4729b192ed6308 Author: Kristof Provost <[email protected]> AuthorDate: 2025-06-06 08:16:13 +0000 Commit: Kristof Provost <[email protected]> CommitDate: 2025-06-06 08:24:48 +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 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.
