[Bug 235097] ci runs panic with use-after-free when running sys/netpfil/pf/nat tests
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Jan 25 01:06:38 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=235097
--- Comment #13 from commit-hook at freebsd.org ---
A commit references this bug:
Author: kp
Date: Fri Jan 25 01:06:06 UTC 2019
New revision: 343418
URL: https://svnweb.freebsd.org/changeset/base/343418
Log:
pf: Fix use-after-free of counters
When cleaning up a vnet we free the counters in V_pf_default_rule and
V_pf_status from shutdown_pf(), but we can still use them later, for example
through pf_purge_expired_src_nodes().
Free them as the very last operation, as they rely on nothing else
themselves.
PR: 235097
MFC after: 1 week
Changes:
head/sys/netpfil/pf/pf_ioctl.c
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-net
mailing list