Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 01 Feb 2019 10:05:22 +0000
From:      bugzilla-noreply@freebsd.org
To:        net@FreeBSD.org
Subject:   [Bug 235097] ci runs panic with use-after-free when running sys/netpfil/pf/nat tests
Message-ID:  <bug-235097-7501-TUnXE3hO3x@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-235097-7501@https.bugs.freebsd.org/bugzilla/>
References:  <bug-235097-7501@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D235097

--- Comment #18 from commit-hook@freebsd.org ---
A commit references this bug:

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

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 exam=
ple
  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/12/
  stable/12/sys/netpfil/pf/pf_ioctl.c

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-235097-7501-TUnXE3hO3x>