From nobody Thu Dec 09 17:05:30 2021 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 36BB318D9051 for ; Thu, 9 Dec 2021 17:05:34 +0000 (UTC) (envelope-from markjdb@gmail.com) Received: from mail-il1-x12f.google.com (mail-il1-x12f.google.com [IPv6:2607:f8b0:4864:20::12f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4J90ly0p2sz3DsW for ; Thu, 9 Dec 2021 17:05:34 +0000 (UTC) (envelope-from markjdb@gmail.com) Received: by mail-il1-x12f.google.com with SMTP id t8so5932225ilu.8 for ; Thu, 09 Dec 2021 09:05:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=w1A8jt2FYF5hL1AfKnoVF0WEpUgEIQBmYA6TcdEnY44=; b=SqSL8mNqnIVsYEkmr7Bryi717wvz8rSA46L8WtQZF0y1w51qi1/ECioMhX60TyJzI3 HodLExT5dNfMz/syozVxaEDLbOQykKT301A0+huIkTevEqaRhnsvNxuRDEE7YeP/JwtH Ucf6hPlV/vWxiqlYy/Jbgo7PfD2EDNx8VXJmgU9JsmZHX0nGmyR62FMtvb2iuzYMTEMX 2Op1nnVQglrfjPqxEzIOUwF5vGEyI3kfFjqQj/ykqkcvu4p2DbM7nIZka03dA5sAWVPF osgHKDc1fAfciDQoTkTewupTWe8vtCZpSeZCryoPKRuqj1Mx5E3vuMNdHpLGTlwqjpeG if+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to; bh=w1A8jt2FYF5hL1AfKnoVF0WEpUgEIQBmYA6TcdEnY44=; b=zinvXYGUe4NX/LicFgzt5plj3AfOYBIfSMUcoCOXjSPPvT8yzKXSeOIIXk0pELYA9d jSF3zcxQoNI/sLA//UKnnnFSUX+KdqnhYJ9GmF1rfFMrSRb+6kbpk09Ib7DlrpLGkeiV cW3f+tSBrm7AJ02Pz2LxrTqKqkAcRAEXKg0Mtro0d/t1PHfwJ5h6aMN/+2rP7pOzC48j 9izylKu4sPRrir8zz63A3XyRgG+fHj6FVJKfQhzzTUfCOjBr6S7qWFIvYGpTvKJSFt/O NZlOogO3qyCCrzWZw1UDMTCTiCHX/ahnQJQew29tWyosU0xguSiQK16OBM1udUfBK2kF 0luQ== X-Gm-Message-State: AOAM531BUzTwdKqgojiOvy5Sr+1v6hOeAtW4W8x6Bud1GIlCFgrv5yD7 gQsuCNjjTxVe85RmWc1BawM= X-Google-Smtp-Source: ABdhPJxvXo/DulPvgkMZCoQ8fb2FjuHI8yiUEN7X4oh9bdwfoyDeH3364K/MoO53HxPZeU7WRn3/ag== X-Received: by 2002:a05:6e02:5c4:: with SMTP id l4mr16844766ils.317.1639069533399; Thu, 09 Dec 2021 09:05:33 -0800 (PST) Received: from nuc ([142.126.186.191]) by smtp.gmail.com with ESMTPSA id n11sm217389ili.33.2021.12.09.09.05.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Dec 2021 09:05:32 -0800 (PST) Date: Thu, 9 Dec 2021 12:05:30 -0500 From: Mark Johnston To: Shawn Webb Cc: freebsd-current@freebsd.org Subject: Re: Kernel panic in networking code Message-ID: References: <20211209152010.z6ofqf3ucpxkijqf@mutt-hbsd> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211209152010.z6ofqf3ucpxkijqf@mutt-hbsd> X-Rspamd-Queue-Id: 4J90ly0p2sz3DsW X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N On Thu, Dec 09, 2021 at 10:20:10AM -0500, Shawn Webb wrote: > Hey all, > > It looks like there's a potential deadlock in some networking code, > specifically with ipv4 jails. I can reproduce by running Poudriere on > 14-CURRENT. > > I am using HardenedBSD 14-CURRENT, but we don't have any changes to > any point in the code paths that would trigger/cause this kind of > kernel panic. > > I've uploaded the crash.txt file here: > https://hardenedbsd.org/~shawn/2021-12-09_crash-01.txt There is some WIP to address this in https://reviews.freebsd.org/D33339 and its followup revision.