Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Feb 2021 20:07:05 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 253587] pf: page fault in pf_pull_hdr
Message-ID:  <bug-253587-227-TeGCU1LuOm@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-253587-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-253587-227@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=3D253587

Kristof Provost <kp@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kp@freebsd.org

--- Comment #1 from Kristof Provost <kp@freebsd.org> ---
I am very confused by this panic.

I initially thought that pf didn't account for mbufs with external storage,=
 but
the network stack should already have fixed that for us.
The mbuf has m_len =3D=3D 0, which shouldn't be possible. The network stack=
 would
have done m_pullup(), and has in any event has done mtod(m, struct ip6_hdr)
without issue.
Additionally, the pf_test6() function has also done this without issue.

It's also not clear how pf_pull_hdr() can get a valid m pointer and yet call
m_copydata() with a NULL mbuf pointer.

--=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-253587-227-TeGCU1LuOm>