[Bug 255971] FreeBSD 13.0 Stable r3822450 hangs with error pfctl: DIOCGETRULE: Cannot allocate memory

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat May 22 09:42:55 UTC 2021


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

Kristof Provost <kp at freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|New                         |Open
           Assignee|pf at FreeBSD.org              |kp at freebsd.org

--- Comment #14 from Kristof Provost <kp at freebsd.org> ---
Okay, I'm starting to make sense of this.

pfctl -sr leaks memory on every invocation. I was confused by DIOCGETRULE,
because it's not that call. It's DIOCGETRULENV, but the pfctl error message is
still DIOCGETRULE.

That also means that 13.0 is not affected (yay!). DIOCGETRULENV is relatively
new code, but I don't see an obvious leak path right now.
At least it's trivial to reproduce, so we'll get there in the next couple of
days.

You'll probably want to stop calling `pfctl -sr` or `pfctl -sa` for now.
That'll mitigate your freezing issue until we can figure the leak out and fix
it.

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


More information about the freebsd-pf mailing list