From nobody Sat Dec 17 14:58:19 2022 X-Original-To: bugs@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 4NZ8Gz4Cf6z1G4xw for ; Sat, 17 Dec 2022 14:58:19 +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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NZ8Gz2RKWz3Qvm for ; Sat, 17 Dec 2022 14:58:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1671289099; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ui0aotnpVPdBQFB0Yk68ANj76KkS8luPHliucJkm4hQ=; b=TrT/ljaCcD5khXKZ4GglKybI05S5jjStibfzHYgaqnvX4RF6jKfvzVSDVOUkz/LEmj5KPi W8Ve6Z1ElYhnwSe18uTg1w2fbcmE1cgodVR5tJeU/pyU+LzGPIsSrXaAs1efeH+yWKzuzE qpmUBvfTh+B0BCF1tC3ZYCsIB9g97xnXoLMTEeJkR9l77PpbwcrGzsC4twTIR5uNJDAi1G JdCdpsV/K8p+GF3QrTOt9+AJEg5nSFf6OOCyDuQ/zgF0uEZq+5kdK0d082aYuoKFKyA2zi rZibiU/lRnUH3bAXoKI//3UusPNo/DyPgCWJqnOlpHcSCBJBcwn/hoG0YIqVqw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1671289099; a=rsa-sha256; cv=none; b=B89n+CSJKyiI6f97uqJ7eYM2cA8BEEBQ0bv9765Bei/N7LcuJpljS5swfQyYj9astXQjhW 6VyKmuKCVlu7P7b0fY/4alxLwFFz+y/Basm44sks3ZwdqHxeJuh12Bp7WCojCdajaHNGIH jL/qofHnNfwvgQQ72XUQIfHCdBeEMUSV3RKyHWJBfsisdAxzAsabnZPDmZYRvzPm3Yfg++ Q1lzBLsjMxE28y3SQgwD62C5Tll1Y3HeRJBfNzbWvWc6C0y3CBXjJgw4nK1I6/WOIHHwzj kKRn38ALYMUbc4p6wN734XgPF4lAxFuLKGtFzank7/od3N7yahZVhGht8UJGJQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4NZ8Gz1JdrzwcC for ; Sat, 17 Dec 2022 14:58:19 +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 2BHEwJoj098498 for ; Sat, 17 Dec 2022 14:58:19 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2BHEwJjY098497 for bugs@FreeBSD.org; Sat, 17 Dec 2022 14:58:19 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: bugs@FreeBSD.org Subject: [Bug 264981] jail with vnet interface stuck in dying state Date: Sat, 17 Dec 2022 14:58:19 +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: zlei.huang@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@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 List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264981 --- Comment #8 from Zhenlei Huang --- Non-vnet jails are also affected. Steps to repeat: 1: root@:~ # ifconfig lo0 inet 172.16.0.1/32 alias 2: root@:~ # sh test_prison_ref_leak.sh lo0: flags=3D8049 metric 0 mtu 16384 options=3D680003 inet 172.16.0.1 netmask 0xffffffff groups: lo JID IP Address Hostname Path jls: jail "test_ref_leak" is dying The content of test_prison_ref_leak.sh: root@:~ # cat test_prison_ref_leak.sh=20 #!/bin/sh # test jail name n=3D"test_ref_leak" jail -c name=3D$n path=3D/ persist ip4.addr=3D172.16.0.1 # The following trigger jail pr_ref leak jexec $n ifconfig lo0 jail -R $n # wait a moment sleep 1 jls -j $n --=20 You are receiving this mail because: You are the assignee for the bug.=