[Bug 240106] VNET issue with ARP and routing sockets in jails

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Jul 15 03:58:53 UTC 2020


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

Ryan Moeller <freqlabs at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |freqlabs at FreeBSD.org
             Status|New                         |Open

--- Comment #4 from Ryan Moeller <freqlabs at FreeBSD.org> ---
When I followed the reproduction steps described in the linked threads with a
debug kernel I hit the following assert:

 panic: m_dup: bogus m_pkthdr.len
 cpuid = 1
 KDB: stack backtrace:
 db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe2eca39e700
 vpanic() at vpanic+0x177/frame 0xfffffe2eca39e760
 doadump() at doadump/frame 0xfffffe2eca39e7e0
 m_dup() at m_dup+0x376/frame 0xfffffe2eca39e860
 bridge_broadcast() at bridge_broadcast+0x1bf/frame 0xfffffe2eca39e8c0
 bridge_forward() at bridge_forward+0x222/frame 0xfffffe2eca39e920
 bridge_input() at bridge_input+0x3d5/frame 0xfffffe2eca39e990
 ether_nh_input() at ether_nh_input+0x2a6/frame 0xfffffe2eca39e9e0
 netisr_dispatch_src() at netisr_dispatch_src+0xa2/frame 0xfffffe2eca39ea40
 ether_input() at ether_input+0x8f/frame 0xfffffe2eca39ea80
 epair_nh_sintr() at epair_nh_sintr+0x1a/frame 0xfffffe2eca39eaa0
 swi_net() at swi_net+0x1b9/frame 0xfffffe2eca39eb20
 intr_event_execute_handlers() at intr_event_execute_handlers+0x99/frame
0xfffffe2eca39eb60
 ithread_loop() at ithread_loop+0xb7/frame 0xfffffe2eca39ebb0
 fork_exit() at fork_exit+0x84/frame 0xfffffe2eca39ebf0
 fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe2eca39ebf0
 — trap 0, rip = 0, rsp = 0, rbp = 0 —


The offending KASSERT is still there:

                /* Check correct total mbuf length */
                KASSERT((remain > 0 && m != NULL) || (remain == 0 && m ==
NULL),
                        ("%s: bogus m_pkthdr.len", __func__));

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


More information about the freebsd-jail mailing list