From nobody Tue Jan 23 02:18:37 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 4TJrNs5x0fz58ggC for ; Tue, 23 Jan 2024 02:18:37 +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 4TJrNs41wRz45Z0 for ; Tue, 23 Jan 2024 02:18:37 +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=1705976317; 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=WOuIeHM7QZE/hQAweaZxME3G9mBjFmwrC05aEQQHpfo=; b=YWZ/SmCw6HWrKnE8yDbP7JDG7dwh6ThaKZORbyOGbqI9qqkbGpo9jHEhNoBtSbEEXif/3o 7ldn3hqcnNTqaB/T1TuuWs5vVdu2lLVFKrnw+E0dMPJPNb4dKJOXAKDMhicm+ekZY1aYi1 8XRAIu+Was8mdySnByoSbJQpRK5QlMPT0Gsv8W+cMpJIfGX/OWH3zI5D0Mw2xSDVIoYz4q FlpSHjGHgeaT8qUGZlFB59J8h8LqRy7G5eF8C3M4Gl9tLphUqVOv9hYz69v5YoLVSnwLG5 FtCTbMAdVgZjBGyY7KnpfMyVt2u9quMgEAaftfb+4QYW3+ns129ye3iYMeIrcw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1705976317; a=rsa-sha256; cv=none; b=pAHLN+nwbFAPk2wmhmRiIFQD7i+B4qjYS0qSQHZqP+S7OJKpAnUlkyeXY5yoOT+E45cA/i RUdsrSKYxxjlFSLoYHYpEZgPaDwYF9XkfA51NPq6u5Hbbhl4GJChufvIr5QcW3s6qGUWeU T8CYNDSdLE4ZIbBXNh08QnGDwQrherHVpy5ze8vyzCqppwjfI9VNNxlek909if36pfsB1v MO999e0OzZIQtabZh6jgdlxrwDRoYqEIJ1Q48FyFW+HQUrHO8xaBiKSAdViXPQcTvdv+hm QNZR9iYio6hNjXt0JJYF8M6+uDzw4xarvlDL7DFZ1eBuxeHEblCFTOe+JzQ1Aw== 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 4TJrNs2xD7z1Q8g for ; Tue, 23 Jan 2024 02:18:37 +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 40N2IbkV045441 for ; Tue, 23 Jan 2024 02:18:37 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 40N2IbLp045440 for bugs@FreeBSD.org; Tue, 23 Jan 2024 02:18:37 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: bugs@FreeBSD.org Subject: [Bug 276517] disklabel(8) crash Date: Tue, 23 Jan 2024 02:18:37 +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: 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276517 --- Comment #5 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D3f4f82c0d7791bddf2d6f2c29d9f2f8c4= 8c712e2 commit 3f4f82c0d7791bddf2d6f2c29d9f2f8c48c712e2 Author: Ed Maste AuthorDate: 2024-01-23 02:05:58 +0000 Commit: Ed Maste CommitDate: 2024-01-23 02:17:23 +0000 bsdlabel: limit to 8 partitions bsdlabel is intended to support up to 20 partitions, but the disklabel struct has a d_partitions array with only BSD_NPARTS_MIN (8) entries. Previously, an attempt to operate on a bsdlabel with more than eight partitions resulted in a buffer overflow. As a stopgap limit bsdlabel to 8 partitions until this is fixed properly. PR: 276517 sbin/bsdlabel/bsdlabel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --=20 You are receiving this mail because: You are the assignee for the bug.=