From owner-freebsd-net@freebsd.org Mon Jan 21 21:29:10 2019 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B0A5914B9074 for ; Mon, 21 Jan 2019 21:29:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 462C58316B for ; Mon, 21 Jan 2019 21:29:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 0434814B9073; Mon, 21 Jan 2019 21:29:10 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D608914B9071 for ; Mon, 21 Jan 2019 21:29:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::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.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6F8D983169 for ; Mon, 21 Jan 2019 21:29:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 91865C8DA for ; Mon, 21 Jan 2019 21:29:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x0LLT8T7037439 for ; Mon, 21 Jan 2019 21:29:08 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x0LLT8Lk037438 for net@FreeBSD.org; Mon, 21 Jan 2019 21:29:08 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 235097] ci runs failing with panic in IPv6 code with use-after-free in epair/pfctl when running sys/netpfil/pf/nat tests Date: Mon, 21 Jan 2019 21:29:07 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: kp@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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: Mon, 21 Jan 2019 21:29:10 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D235097 --- Comment #2 from Kristof Provost --- It seems to be pretty non-deterministic.=20 I've just now produced this panic: panic: Memory modified after free 0xfffffe00a4442ac0(8) val=3Ddeadc0df @ 0xfffffe00a4442ac0 cpuid =3D 4 time =3D 1548105766 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe009ddff= 2d0 vpanic() at vpanic+0x1b4/frame 0xfffffe009ddff330 panic() at panic+0x43/frame 0xfffffe009ddff390 trash_ctor() at trash_ctor+0x4c/frame 0xfffffe009ddff3a0 uma_zalloc_arg() at uma_zalloc_arg+0x9ff/frame 0xfffffe009ddff430 uma_zalloc_pcpu_arg() at uma_zalloc_pcpu_arg+0x23/frame 0xfffffe009ddff460 bpfopen() at bpfopen+0x8f/frame 0xfffffe009ddff4a0 devfs_open() at devfs_open+0x134/frame 0xfffffe009ddff510 VOP_OPEN_APV() at VOP_OPEN_APV+0x60/frame 0xfffffe009ddff530 vn_open_vnode() at vn_open_vnode+0x1b1/frame 0xfffffe009ddff5d0 vn_open_cred() at vn_open_cred+0x34c/frame 0xfffffe009ddff720 kern_openat() at kern_openat+0x1fd/frame 0xfffffe009ddff890 amd64_syscall() at amd64_syscall+0x276/frame 0xfffffe009ddff9b0 fast_syscall_common() at fast_syscall_common+0x101/frame 0xfffffe009ddff9b0 --- syscall (499, FreeBSD ELF64, sys_openat), rip =3D 0x80061e3ca, rsp =3D 0x7fffffffa918, rbp =3D 0x7fffffffa990 --- KDB: enter: panic [ thread pid 5254 tid 100499 ] Stopped at kdb_enter+0x3b: movq $0,kdb_why MY current thinking is that it's more fallout of the epochification work do= ne recently. Something's still being used after being released and depending on the timing of that we get different panics. --=20 You are receiving this mail because: You are the assignee for the bug.=