Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 01 Jan 2016 22:00:21 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-amd64@FreeBSD.org
Subject:   [Bug 205743] null pointer dereference in PF running a vimage jail
Message-ID:  <bug-205743-6-Dpr2HxVjx2@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-205743-6@https.bugs.freebsd.org/bugzilla/>
References:  <bug-205743-6@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=3D205743

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

1955    static void
1956    pfsync_clear_states(u_int32_t creatorid, const char *ifname)
1957    {
1958            struct pfsync_softc *sc =3D 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);

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-205743-6-Dpr2HxVjx2>