From nobody Thu Dec 9 15:20:10 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 0901E18E2D88 for ; Thu, 9 Dec 2021 15:20:13 +0000 (UTC) (envelope-from shawn.webb@hardenedbsd.org) Received: from mail-qk1-x733.google.com (mail-qk1-x733.google.com [IPv6:2607:f8b0:4864:20::733]) (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 4J8yQN1hffz4v7Z for ; Thu, 9 Dec 2021 15:20:12 +0000 (UTC) (envelope-from shawn.webb@hardenedbsd.org) Received: by mail-qk1-x733.google.com with SMTP id t6so5161677qkg.1 for ; Thu, 09 Dec 2021 07:20:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hardenedbsd.org; s=google; h=date:from:to:subject:message-id:mime-version:content-disposition; bh=1VM8UexHrFwDOdXtvDfnAMthtu99lYSEeTWpJhQuZzA=; b=E/yh+m2Y4HkPuRrFtjOVwF+FRO44avg49NaIcbOcYHTUsXCgd25m2klbXOZPTxRU8l IKiBOg7VdTPmrEksjKUcJ/wAW6pSvT2fAVlBKHb3Nz0Xpcb50eUzy9E/f3Z6a4Tda+lC JQ5Cv/fqe4+tenlE3q9VJLei6llM9Ou0AfL5oorH7vIpAUBCNb6oalQ7D0ELUAstqt9J 2zEBxI4dB7Zbg8YgHH34mx6yyK7QcGsw/PHrMDBd73wFsgod/H81DSfoAfj50BVYDoC/ SIzTBXpZjxeR5itt3eY7VkR3Zx44hBh7/u2J5NMUH50wdGvf77NpZC5/BNNy8+iDj3nz fs4A== 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:subject:message-id:mime-version :content-disposition; bh=1VM8UexHrFwDOdXtvDfnAMthtu99lYSEeTWpJhQuZzA=; b=XBXLwx7lcgcgrvI37RiPB5kUgOexez1yz8qCrMCo34QgDKOGnJtUqH29F2zzvNJ7BU B+yZtncTJ8fsZumzqLGxsC2g/1IOBEq2C4+IgpUarxsPdokWtThrCywvWGkafBODI+fy uNDQkPk+WbzIomBA8CmKckbtxs2CQoX/DEukpMblNppGX3u9rvAaLVcEDtp0agrzAG7S /4H5PtHHBXvUC2vxf3FGq/N7co+9Ym05J1OUqvmsR7N4gKHerawEIDUQu83Uge2YVbRe Vigcfeyj6XJ7qXJ5behLH7VYpCpkbFWMvqS6/jIE6ZDvJMgajuE2i0E0r1+qiiW2S47N YuuA== X-Gm-Message-State: AOAM5306KwkZlKjrAL1i0qjFgJfryzu90Copua214WJmCQ2FaDynrGIb /ufB7wjJEsoUPl3HDvNuoELV4/xgcYl2iuXXp4kOwOIYenbgav0Z5ifBfIAdvDlClQl+DDzIafc eZ4LDCzVfZgBy/PV48swLXN02/n1ie/wXFbUwwdlp5z2TiserqLnHe5VMCKAJZ1pyX7e3gJr7AZ 5Fppr03tWcGkMP X-Google-Smtp-Source: ABdhPJxWV56aVEcu1rlt5imlzEqmCFkiQUsqKEu7Vm77L8qoTrHJNTA9sWVd1Nj64bLf0wVgGQPavQ== X-Received: by 2002:a05:620a:2093:: with SMTP id e19mr14025146qka.516.1639063211520; Thu, 09 Dec 2021 07:20:11 -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 c8sm35256qkp.8.2021.12.09.07.20.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Dec 2021 07:20:11 -0800 (PST) Date: Thu, 9 Dec 2021 10:20:10 -0500 From: Shawn Webb To: freebsd-current@freebsd.org Subject: Kernel panic in networking code Message-ID: <20211209152010.z6ofqf3ucpxkijqf@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 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="gv4zn2hvd2gk4pez" Content-Disposition: inline X-Rspamd-Queue-Id: 4J8yQN1hffz4v7Z X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=hardenedbsd.org header.s=google header.b="E/yh+m2Y"; dmarc=none; spf=pass (mx1.freebsd.org: domain of shawn.webb@hardenedbsd.org designates 2607:f8b0:4864:20::733 as permitted sender) smtp.mailfrom=shawn.webb@hardenedbsd.org X-Spamd-Result: default: False [-3.71 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[hardenedbsd.org:s=google]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; TO_DN_NONE(0.00)[]; NEURAL_SPAM_MEDIUM(0.24)[0.245]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.86)[-0.858]; RCVD_COUNT_THREE(0.00)[3]; DMARC_NA(0.00)[hardenedbsd.org]; DKIM_TRACE(0.00)[hardenedbsd.org:+]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::733:from]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; MID_RHS_NOT_FQDN(0.50)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_TLS_ALL(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[100.16.224.136:received] X-ThisMailContainsUnwantedMimeParts: N --gv4zn2hvd2gk4pez Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 `uname -a`: FreeBSD ci-08 14.0-CURRENT-HBSD FreeBSD 14.0-CURRENT-HBSD #0 h= ardened/current/master-n191216-7474f245a83: Wed Dec 8 22:44:04 EST 2021 = shawn@ci-08:/usr/obj/usr/src/amd64.amd64/sys/HARDENEDBSD amd64 Thanks, --=20 Shawn Webb Cofounder / Security Engineer HardenedBSD https://git.hardenedbsd.org/hardenedbsd/pubkeys/-/raw/master/Shawn_Webb/03A= 4CBEBB82EA5A67D9F3853FF2E67A277F8E1FA.pub.asc --gv4zn2hvd2gk4pez Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEA6TL67gupaZ9nzhT/y5nonf44foFAmGyHqcACgkQ/y5nonf4 4fp6Lw/+OghEgXfpQ14+Cyst2LvmXIkK2lLmN1Tx6+SHOwn0MWarP6SAX4v//Aez I6A7iGDjaQwc6UrXtGMv20fIqVA94p1x6afEwgPE1LZvFKxt9bQTz9rhFTSX1Ikd BPUepnLw7YRbPizfC9omu/IHGfAfx3lGGdsilLxlZixiksaRi8zwb+v5BWN3px7a 4ChMkXiUDBI/GVOvcvzcbnUdk++54rsT+7nbpT3VNBJVRQfi8TxH7B/Fuebc6n4k 7kPvwImBY5Vk0R5Nks2WEOLwDv1TmqW5SozDb21wCSJo8Nb0LCirkciudoYJEwqY JG3vVo7CPa46oxJ4JgLITbuEC6jcr/LjCUJpBIUHRJrPyzapKk1LIE+5S0JtMx3G z8/rIrqSE/Qd6HbK7mfA03oeilcQMPeoYlX/CrcuADNPGnRaOfSs+9OrS5p96iDq 6TI35qjjxyoGo4eUW0Ln2kN0L7bDzkBUPstRogb3kC0kXpel5zAotqqStAyRcz0n PQfvzPQwM9Dxd+7tA7+Zlm743s6zcpFMXGT1suNiXLYlarGYrUKU12w/O0NC/JGJ eJ6wmSVgq2tVLsgR53mRfr2PyQcZXfpVAhEPnGuNVJPCe2sqNizde/Ttzks3bVwO RZ9tU+5SUMe72+fJjpb6JwdoSrcUF1tLVM25PNvl9eAElm+26I0= =lujs -----END PGP SIGNATURE----- --gv4zn2hvd2gk4pez--