From nobody Sun Feb 11 01:48:42 2024 X-Original-To: jail@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 4TXVqf4TMXz59612 for ; Sun, 11 Feb 2024 01:48:46 +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 4TXVqf2xt0z440r for ; Sun, 11 Feb 2024 01:48:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1707616126; a=rsa-sha256; cv=none; b=yll5bpsv/cWh7/v801V4l5uBA3BbcqaYZAg0A9KQFScUAdvjHbXsyPvyXIpT4qRzAIEziI j9pTz7Kfh8/vovmuB0LNy7cGvZ4Wz3r0Nvn2X3zDd5XpAaaahSrdmHXkwwvTyuscAZWiPV aeyc4SjBWO0ji8xTtXtLkXuGoEtSSWVZVFBfrJA26qJFLKorDo5Ag2xbOGZ0t+PaDuSx0G xYxQQxp5/1pwvi5Joz27EHiEuXSF+Ao8vYMudoev1nb8iW/92IkdUmU2620sgJvBcvpXDN KITTeyQchJMR3co/IruIWm4iJgFBa72azSvM3dUwabv/UqzHqkn/Hn0J6rYGqQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1707616126; 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=KGPFt/+1xto93vD7fdLUIPAmTL2mWyUeZ3DvSQKUHfo=; b=il0xc/fcej50nRlKmU5DAfkpbRNDdqyU0xjKe7I9OIFkMXQrYRrzreHknLWU7RgdvjHPWy rIvdRDGVNYCUKqnmCKTuzxlw9UoIqfCje2ATx0tPgBwWPLCkXKAnZb9VUmgBe9DeOpY6Tb Np+tu/e5MIW32s+vxRJaBS1on8Obq15jbNgwJwPQeMvAyclr1f+CX2SWDgasJq4MywAaPJ MPWMrAsqdNBDJ2DM8IVfKWSYL0qd4on2NJLRvpLfOZ3JxQRwJtD7tKaDj9jRhDktf+U1Ux QXNqnsyZwqPE+crWmQgxKmlxverPrcn/KPmG8ixqoe2ePznrjPToxqJi1DjaYA== 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 4TXVqf218TzgTS for ; Sun, 11 Feb 2024 01:48:46 +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 41B1mkmL045097 for ; Sun, 11 Feb 2024 01:48:46 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 41B1mknN045095 for jail@FreeBSD.org; Sun, 11 Feb 2024 01:48:46 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: jail@FreeBSD.org Subject: [Bug 240106] VNET issue with ARP and routing sockets in jails Date: Sun, 11 Feb 2024 01:48:42 +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: 12.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: jail@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: see_also 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: Discussion about FreeBSD jail(8) List-Archive: https://lists.freebsd.org/archives/freebsd-jail List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-jail@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D240106 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.freebsd.org/bu | |gzilla/show_bug.cgi?id=3D2= 769 | |36 --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Sun Feb 11 15:15:46 2024 X-Original-To: jail@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 4TXrkq3KjWz59tk3 for ; Sun, 11 Feb 2024 15:15:47 +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 4TXrkq0SMTz4bLH for ; Sun, 11 Feb 2024 15:15:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1707664547; a=rsa-sha256; cv=none; b=Z9fFAm3Tr58mswXneiaALobgUNMy8Uj2BEUL/rHFxH+d20kVROBrdVIpepRYeuVKsdo1qE Gt8Tu9md43jsJ0EhigMZngNN3/HznoHdjsxV8bnd4TVAro+gIoVZ9GSevzda4iPcqXrV5e 2KKWLwUZkQfiH2FjSdxCzK3635iKNYbK6wEY+6usPiGgH2dSV0dcwbTmku1YBtwd6i+7iq 0KQQshe24kdiWu1kHQE+Vd0lChA/jx8pKfV/M1f5fxWrwrVspADJo/RKri/C2Qv/h2J6+Y j588fKeaShsGp/7Y/0djaqdzDLSTzpy3u4RiHMEcq7o0L52BahHs6ewV1ZhC5Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1707664547; 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=r3k3FtITSdIKIGb/QJdxT9DwE/9vBBGOkH3MzYLjAMs=; b=rCmXTgPtCa3/NOHsw4lCGQ8nQNb8KnN+iJyIIa7kBJBYZbXM2loeqNUZsqRi6ov2PHPwc5 Pdam2/OU0nvQQzPQwwS5nKEGDthL0qeocS0dB7gKxNnXkqpBelMkEsyjfMGlpEjR+dmgeT Psps14W69ymAE32lzawbM72jxWPcu/xStXdq+JydFnZ0i8rl6GgsMTsTRCFUj80FZuf7ez Y6Vuoq/2h6sUJgrFc+NsFKfgg86M5YrRzU/YMc8FOD46UO9MK32PVpAKB+2tIcsw5NWFp8 hA/qq8AmDWBbYKmG0JxowP7CmGktCBmf2R46ytuWqzl1o05Ka4x0ydbBidQ8tA== 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 4TXrkp6gQXz14JR for ; Sun, 11 Feb 2024 15:15:46 +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 41BFFkhI065520 for ; Sun, 11 Feb 2024 15:15:46 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 41BFFkPY065519 for jail@FreeBSD.org; Sun, 11 Feb 2024 15:15:46 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: jail@FreeBSD.org Subject: [Bug 276809] SEGFAULTs using libjail Date: Sun, 11 Feb 2024 15:15:46 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 13.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Not A Bug X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: jail@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: Discussion about FreeBSD jail(8) List-Archive: https://lists.freebsd.org/archives/freebsd-jail List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-jail@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276809 --- Comment #6 from commit-hook@FreeBSD.org --- A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D5e21d7cd31194faf8c2bdda2bc60adf34= eaa405a commit 5e21d7cd31194faf8c2bdda2bc60adf34eaa405a Author: Mark Johnston AuthorDate: 2024-02-04 02:22:09 +0000 Commit: Mark Johnston CommitDate: 2024-02-11 15:14:59 +0000 libjail: Guard against programmer error in jailparam_export() If the caller didn't use jailparam_import() to fetch the parameter value, an attempt to export it will trigger a segfault. Make it a bit easier to figure out what's happening in this situation. PR: 276809 Reviewed by: jamie MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D43732 (cherry picked from commit dfabf3efaa795e657f3858b7e2d0b11f8a51ecb5) lib/libjail/jail.c | 6 ++++++ 1 file changed, 6 insertions(+) --=20 You are receiving this mail because: You are the assignee for the bug.=