From nobody Thu Dec 09 18:34:09 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 7366E18EE884 for ; Thu, 9 Dec 2021 18:34:11 +0000 (UTC) (envelope-from shawn.webb@hardenedbsd.org) Received: from mail-qt1-x835.google.com (mail-qt1-x835.google.com [IPv6:2607:f8b0:4864:20::835]) (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 4J92kC233jz3rGm for ; Thu, 9 Dec 2021 18:34:11 +0000 (UTC) (envelope-from shawn.webb@hardenedbsd.org) Received: by mail-qt1-x835.google.com with SMTP id n15so6234216qta.0 for ; Thu, 09 Dec 2021 10:34:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hardenedbsd.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=iR5+mDrB94zcSimABsMuUuBrCQjuvw+DJuMNWPOktGY=; b=jreMvA1nKmB2mXbMw64b7BTT7V94xoPEbz2MHsBId5LSU2KBFNR47eN0AwXrwaU9Rr fM4gP6rcxlG0b2VJ/sGGQwaV3iww/aH2uHwDjT9VokF+lkJQmRTMG5GExCbA68B+YBk2 xvUqVKz/D/6mgBc8jRICCPtgM2u1kccmqTKUcdDx05a4p3ZjYzmUcYZtH+XORHPRZEPv WEI+OwvuhEJvVbp9rB5QK0VBaXBOE7Ml4JYgdrfJuliVnQQDRDaty3A/S87vo/UZJQTn 2rTp3RcVUQs37Zji0eEoggO9Dp0NkDmfeTT8xr/jLWzxyR5Ygiuux6dZN7z0jZO8ujZX hMlA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=iR5+mDrB94zcSimABsMuUuBrCQjuvw+DJuMNWPOktGY=; b=AJ3WYW9SuSA+I23gQNAWSKymY/gUCfSyHF79bijRktCxurTvrYo/TlAwnP69/RASE9 y6nr6zoPo0zfpZyT/VMtsE0vATcrQuV9H7uEwAuZ5ILb3fqTPUwujB0mpkeAlO2j+qzK 5n6gCOx0w7n4PTgtbI/vgM3MRAKOvEMr4PpDcHDXxWLDSy/5WAbLd9b8ggnZhj3MD3yO W7sV8+xEqp1Tz10CZNu2dhBzQWt+8uYC4smh92uamhDaV8SQB2XOJnUaocsQOPkmJNIn 6x/0A99l0eGZ2X2lqBQh4y3sAaNevXiYeARlFUY/H3CAdsyIjb3AhmKhwn+bDFwqhkXW 097Q== X-Gm-Message-State: AOAM532npI+SfdXfUatNjUCSKkcQ7Lg2dd31eXIrWJBmMhAcN5Of6ESz YAvdRkFe2zv7k1VJ9l8R43pmT9OPV3iCK25h X-Google-Smtp-Source: ABdhPJzl0UDURrcLjD0J++3EQt8/DEFDfDocVPB9TUiRkrrd7MWzM/zkI6f2o+rupyze+gsRune3Iw== X-Received: by 2002:ac8:5710:: with SMTP id 16mr19882780qtw.140.1639074850839; Thu, 09 Dec 2021 10:34:10 -0800 (PST) Received: from mutt-hbsd (pool-100-16-224-136.bltmmd.fios.verizon.net. [100.16.224.136]) by smtp.gmail.com with ESMTPSA id bk25sm243184qkb.13.2021.12.09.10.34.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Dec 2021 10:34:10 -0800 (PST) Date: Thu, 9 Dec 2021 13:34:09 -0500 From: Shawn Webb To: Mark Johnston Cc: freebsd-current@freebsd.org Subject: Re: Kernel panic in networking code Message-ID: <20211209183409.2xbfgszx7miw3rhv@mutt-hbsd> X-Operating-System: FreeBSD mutt-hbsd 14.0-CURRENT-HBSD FreeBSD 14.0-CURRENT-HBSD X-PGP-Key: https://git.hardenedbsd.org/hardenedbsd/pubkeys/-/blob/master/Shawn_Webb/03A4CBEBB82EA5A67D9F3853FF2E67A277F8E1FA.pub.asc 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: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="e7xa75o3jdlqaggr" Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 4J92kC233jz3rGm X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N --e7xa75o3jdlqaggr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Dec 09, 2021 at 12:05:30PM -0500, Mark Johnston wrote: > On Thu, Dec 09, 2021 at 10:20:10AM -0500, Shawn Webb wrote: > > Hey all, > >=20 > > 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. > >=20 > > 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. > >=20 > > I've uploaded the crash.txt file here: > > https://hardenedbsd.org/~shawn/2021-12-09_crash-01.txt >=20 > There is some WIP to address this in https://reviews.freebsd.org/D33339 > and its followup revision. Awesome. Thanks for the response! I'll follow along. I'm happy to test out the patch before it lands if needed/wanted. Thanks, --=20 Shawn Webb Cofounder / Security Engineer HardenedBSD https://git.hardenedbsd.org/hardenedbsd/pubkeys/-/raw/master/Shawn_Webb/03A= 4CBEBB82EA5A67D9F3853FF2E67A277F8E1FA.pub.asc --e7xa75o3jdlqaggr Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEA6TL67gupaZ9nzhT/y5nonf44foFAmGyTB4ACgkQ/y5nonf4 4fqV8A//VGIhZOvieOAV4cF/m2DnryeZTyROubZlrM5JgJAKuUlENhv+bOjHwVzB V8DEvDNZxUdScT9zwYxQ6FUGYgaA3Wes9HXqYfVIWQCUAC+Fmnw9UGAyo88H3Y8W 0qByFHS7jC/K2euEe/ZshiNFZ88y7aeSNI4jKmEaVuLmppRMhyZCvAi1ff8kfN7M SkL6L9TTQRf6j7GBW9hBQUq4BSponBe2Um5DOoZvHdLXQdg6i4J8cECX4aIGYrh8 GLkPfUAwd31H8i41crALyR0/cMzt4RGD9mgZti18k+J8O628idBElKFOxOscZSKi GysQeR9HMjt/oPupMtvIVrT6HTehpU7R5Y1vosSnk0vNsvwap4mHFRhRc1rkLYm6 +U9IMLH8l1cr+4q3RQDiCViYYObhFQvdPCPEsH8gvA7R0wkjz6vajsPODANCvnfX ZCfc82cBAAnMg1nL+8+do3dYZ8dfkWu3iQcdhp6KDM9/N+O9bkuPruZNPw1SH3TS XM93earOHZTkeqR9cbSnG6Lz973hc85EcVoHPY9m+dWnPTcvSjmolUBEHd1WgOUD ZNz/7U1urHp4tuwUHwe0N+NAqq3BJpIrXC055UIF0ZJgfT/C+E1F5OHkfnZ/AY0B dpZ89BZSuWwnHMsbNaZl5ChEx2hiQtEkQvbDfJa4Jn2cPnGoA2w= =/6S4 -----END PGP SIGNATURE----- --e7xa75o3jdlqaggr--