[Bug 207080] pfctl crash when load pf.conf, libc/resolv problem ?

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Feb 15 09:41:30 UTC 2016


--- Comment #4 from Kristof Provost <kp at freebsd.org> ---
Yeah, so this:
==17184==    by 0x404B46: pfctl_rules (pfctl.c:1486)
==17184==    by 0x406DA7: main (pfctl.c:2378)
==17184==  Address 0x6aa8a08 is 56 bytes inside a block of size 64 free'd
==17184==    at 0x4C1E2DC: free (in
==17184==    by 0x4210A0: superblock_free (pfctl_optimize.c:1640)
==17184==    by 0x4233BE: pfctl_optimize_ruleset (pfctl_optimize.c:357)
==17184==    by 0x40453B: pfctl_load_ruleset (pfctl.c:1297)
==17184==    by 0x404B46: pfctl_rules (pfctl.c:1486)
==17184==    by 0x406DA7: main (pfctl.c:2378)

Is likely the reason your pfctl segfaults. There's a use after free. It's not
the direct cause though, that's the kernel rejecting your rules.

Would it be possible to upgrade the machine to stable/10? It looks like the
problem is fixed there.

You are receiving this mail because:
You are on the CC list for the bug.

More information about the freebsd-amd64 mailing list