https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=235097

--- Comment #19 from commit-h...@freebsd.org ---
A commit references this bug:

Author: kp
Date: Fri Feb  1 10:04:55 UTC 2019
New revision: 343653
URL: https://svnweb.freebsd.org/changeset/base/343653

Log:
  MFC r343418:

  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

Changes:
_U  stable/11/
  stable/11/sys/netpfil/pf/pf_ioctl.c

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Reply via email to