[Bug 205743] null pointer dereference in PF running a vimage jail

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Jan 1 22:00:21 UTC 2016


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

--- Comment #7 from gila <ing.gila at gmail.com> ---
I've just checked out latest and greatest from master and reapplied the patch
and I get the same panic (again to make sure -- the second panic after applying
the patch). 

1955    static void
1956    pfsync_clear_states(u_int32_t creatorid, const char *ifname)
1957    {
1958            struct pfsync_softc *sc = V_pfsyncif;
1959            struct {
1960                    struct pfsync_subheader subh;
1961                    struct pfsync_clr clr;

sc is NULL here and things blow up when we try to acquire the mutex at 1973:

1973            PFSYNC_LOCK(sc);
1974            pfsync_send_plus(&r, sizeof(r));
1975            PFSYNC_UNLOCK(sc);

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


More information about the freebsd-pf mailing list