From nobody Sun Mar 24 16:41:26 2024 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 4V2hfG5Cm4z5G2BB for ; Sun, 24 Mar 2024 16:41:26 +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 4V2hfG313Kz4L03 for ; Sun, 24 Mar 2024 16:41:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1711298486; a=rsa-sha256; cv=none; b=t2px8x/AIcjdO4zTbD9aIx0KHfjBE1I+4lQ24i21KzYu4skS3oSRoLqxfH7cdE4t3dsItC VnctvaSZYO89dOFnBa7VJ8c3rZCo9Jr32Y3sgl8NDBUVZ6BXnkn4pdzQBqLBd+vzHy86B9 3O74BFWujc6J3uPUsHy0agQ2obHjr1vfKNg9v7fKjWiZrTEguGdI9asM+YasnhGU4AeyXL 4Hmhqm2vk38gkXO5UWkXPQmc9KiG9I+N2CFS4OKWdFxxNnUFYr20nBz7IQP8n9R5d29jTg 7NfW96MLP/EZmhpJSc0YXH9GpQL6Ow40Aj33wS8pv0RsHjjT1sF7gvQFUif0ng== 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=1711298486; 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; bh=K8NGHuLDw/mWuTZgmTsCZpQaohNZa9tvSAPTPQbJF2g=; b=RMskrH94fXwL0XRGxw4Hy/ekrPU93ronIw++Q48tS+DQmMwoeHCBZmRwaQoqLn+fQVoAdv okV9Ye2qWh39jdvoCxBrb+Yl7yU67q7qFADMOmsLPcV2d5LdmcRmebE+Cao1IsRKr+HNvf 6ocnJv3HxVH7iKGnEOQ1zxaFApj/5MdicXtvvIx4NvzAB98GW/XF+dnr0d2jgaTnmpmaPt OfoTe+sCxYifCW9Rn5k0uSQqIby+//kIIJLgqYrmUTY7PIeJcZvi8ArO0bMIg2Bow4v9Rl 0RzbMD4kK5sIJWtUMInul239s9scA9kK0Se+lFYr7l3pdyCFu1us4eiV9NqjgQ== 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 4V2hfG2cYDzgbY for ; Sun, 24 Mar 2024 16:41:26 +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 42OGfQZW020135 for ; Sun, 24 Mar 2024 16:41:26 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 42OGfQwZ020101 for bugs@FreeBSD.org; Sun, 24 Mar 2024 16:41:26 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 277923] jail(8) segfaults on syntax error in configuration file Date: Sun, 24 Mar 2024 16:41:26 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 14.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: nsonack@outlook.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: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277923 Bug ID: 277923 Summary: jail(8) segfaults on syntax error in configuration file Product: Base System Version: 14.0-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: nsonack@outlook.com The following jail.conf will segfault the jail(8) utility on at least 14.0-RELEASE: foo { ip4.addr =3D "lo0|foo/24" host.hostname =3D "bar"; } $ jail -c -f foo.conf foo jail: foo.conf line 3: host.hostname: syntax error Segmentation fault (core dumped) $=20 I expect jail(8) not to segfault on bad syntax. I also saw SIGBUS being thr= own when having incorrect syntax. --=20 You are receiving this mail because: You are the assignee for the bug.=