From owner-freebsd-net@freebsd.org Wed Jan 8 11:15:44 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id DA3171EAD5C for ; Wed, 8 Jan 2020 11:15:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 47t69r5VTpz4Mr6 for ; Wed, 8 Jan 2020 11:15:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id BAE621EAD5B; Wed, 8 Jan 2020 11:15:44 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B98BF1EAD5A for ; Wed, 8 Jan 2020 11:15:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47t69r4ZQwz4Mr5 for ; Wed, 8 Jan 2020 11:15:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 944E2F0C5 for ; Wed, 8 Jan 2020 11:15:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 008BFiH7019007 for ; Wed, 8 Jan 2020 11:15:44 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 008BFiDC019006 for net@FreeBSD.org; Wed, 8 Jan 2020 11:15:44 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 240608] if_vmx(4): iflib - Panic with INVARIANTS: Memory modified after free (12.1-pre-QA) Date: Wed, 08 Jan 2020 11:15:43 +0000 X-Bugzilla-Reason: CC AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.0-STABLE X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: avg@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: mfc-stable12? mfc-stable11? X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Jan 2020 11:15:44 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D240608 Andriy Gapon changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |avg@FreeBSD.org, | |pkelsey@freebsd.org --- Comment #8 from Andriy Gapon --- I am seeing the same problem with FreeBSD CURRENT as of r351653 (early September). As far as I can tell, jumbo frames are not used. The interface mtu is 1500 and there are no routes with non-default mtu. The interface driver is also vmxnet3. Unread portion of the kernel message buffer: panic: Memory modified after free 0xfffff8017f069800(2048) val=3D9d671660 @ 0xfffff8017f069800 cpuid =3D 0 time =3D 1578053135 KDB: stack backtrace: stack1 db_trace_self_wrapper+0x2b vpanic+0x1a4 panic+0x43 trash_ctor+0x49 mb_ctor_clust+0x18 uma_zalloc_arg+0xa4d m_cljget+0x8a _iflib_fl_refill+0x511 _task_fn_rx+0xc06 gtaskqueue_run_locked+0x139 gtaskqueue_thread_loop+0x88 fork_exit+0x84 fork_trampoline+0xe KDB: enter: panic __curthread () at /usr/src/sys/amd64/include/pcpu_aux.h:55 55 /usr/src/sys/amd64/include/pcpu_aux.h: No such file or directory. (kgdb) bt #0 __curthread () at /usr/src/sys/amd64/include/pcpu_aux.h:55 #1 doadump (textdump=3D4620928) at /usr/src/sys/kern/kern_shutdown.c:467 #2 0xffffffff8039641c in db_fncall_generic (addr=3D, args=3D, rv=3D, nargs=3D) at /usr/src/sys/ddb/db_command.c:620 #3 db_fncall (dummy1=3D, dummy2=3D, dummy3=3D, dummy4=3D) at /usr/src/sys/ddb/db_command.c:668 #4 0xffffffff80395d39 in db_command (last_cmdp=3D, cmd_table=3D, dopager=3D0) at /usr/src/sys/ddb/db_command.c:= 492 #5 0xffffffff8039acd8 in db_script_exec (scriptname=3D, warnifnotfound=3D) at /usr/src/sys/ddb/db_script.c:304 #6 0xffffffff8039ab23 in db_script_kdbenter (eventname=3D) = at /usr/src/sys/ddb/db_script.c:326 #7 0xffffffff80398d2a in db_trap (type=3D, code=3D) at /usr/src/sys/ddb/db_main.c:251 #8 0xffffffff807c90fc in kdb_trap (type=3D3, code=3D0, tf=3D) at /usr/src/sys/kern/subr_kdb.c:696 #9 0xffffffff80abe2d4 in trap (frame=3D0xfffffe0000468580) at /usr/src/sys/amd64/amd64/trap.c:621 #10 #11 kdb_enter (why=3D0xffffffff80bdbcb7 "panic", msg=3D0xffffffff80bdbcb7 "= panic") at /usr/src/sys/kern/subr_kdb.c:483 #12 0xffffffff8077cff1 in vpanic (fmt=3D, ap=3D) at /usr/src/sys/kern/kern_shutdown.c:987 #13 0xffffffff8077d073 in panic (fmt=3D0xffffffff8115abd0 "= ") at /usr/src/sys/kern/kern_shutdown.c:921 #14 0xffffffff80a0d399 in trash_ctor (mem=3D0x80, size=3D4621632, arg=3D, flags=3D) at /usr/src/sys/vm/uma_dbg.c:82 #15 0xffffffff8075ad68 in mb_ctor_clust (mem=3D0xfffff8017f069800, size=3D2= 048, arg=3D0x0, how=3D128) at /usr/src/sys/kern/kern_mbuf.c:738 #16 0xffffffff80a0783d in uma_zalloc_arg (zone=3D0xfffff8000289c000, udata= =3D0x0, flags=3D) at /usr/src/sys/vm/uma_core.c:2441 #17 0xffffffff80759aca in m_cljget (m=3D0x0, how=3D1, size=3D2048) at /usr/src/sys/kern/kern_mbuf.c:1392 #18 0xffffffff808b5d71 in _iflib_fl_refill (ctx=3D0xfffff80002a4b000, fl=3D, count=3D) at /usr/src/sys/net/iflib.c:= 1986 #19 0xffffffff808b17d6 in __iflib_fl_refill_lt (ctx=3D, fl=3D0xfffff80002a42000, max=3D24) at /usr/src/sys/net/iflib.c:2079 #20 iflib_rxeof (rxq=3D0xfffff80002a32000, budget=3D24) at /usr/src/sys/net/iflib.c:2823 #21 _task_fn_rx (context=3D0xfffff80002a32000) at /usr/src/sys/net/iflib.c:= 3795 #22 0xffffffff807c72a9 in gtaskqueue_run_locked (queue=3D0xfffff800020a6100= ) at /usr/src/sys/kern/subr_gtaskqueue.c:377 #23 0xffffffff807c7028 in gtaskqueue_thread_loop (arg=3D) at /usr/src/sys/kern/subr_gtaskqueue.c:558 #24 0xffffffff8073ce34 in fork_exit (callout=3D0xffffffff807c6fa0 , arg=3D0xfffffe00003f9008, frame=3D0xfffffe0000468= ac0) at /usr/src/sys/kern/kern_fork.c:1048 --=20 You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug.=