From nobody Sat May 21 02:14:29 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 0FBC21B30469 for ; Sat, 21 May 2022 02:14:30 +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 4L4nGY6MRRz4tJF for ; Sat, 21 May 2022 02:14:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 BB3711DD6B for ; Sat, 21 May 2022 02:14:29 +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 24L2ETEv012576 for ; Sat, 21 May 2022 02:14:29 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 24L2ETPJ012575 for bugs@FreeBSD.org; Sat, 21 May 2022 02:14:29 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 264021] efi: failed to allocate staging area: 9 Date: Sat, 21 May 2022 02:14:29 +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 Only Me X-Bugzilla-Who: marklmi26-fbsd@yahoo.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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1653099269; 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=HKLUzuaLt5OnZDvXJhJEAxR3V9unHFIDJaCD7O2jsJ8=; b=jNMik/pbmVlpXYXgviedqSFzb5PVuLBDp2vwU2fDwvbJIuXfW94eI2O5vAouCodGxfVZLp dzRPYDxcJtDZzXUv09uAsKrBT+nV5cgpnT5TmmoIsbghW977Lvxymit87KULt5NAIxqOfT w1n9tB9OiVlGiCiwQbwAlapxP14ffzBqPbvCvzCqXJQUntAYeQs3TPz5vbLMTtUqxm4D6n ISPV8OMuQRofb4p3GyrH6X51KrhB0rYF/EMAoFiyBLVn1MSRx1EAaRPkc6sakevFUN1dM5 Oq+gaqXOUvJrb8aE7TGECxkpql+Q2osKVdCGqwyvCzMjdHhOELtx/RiVDiA5lA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1653099269; a=rsa-sha256; cv=none; b=VqvWDlQ9c1xjJxol1c7gCovmbXB93urGjtjmd+7nqvJjR4Zzuhv3If9dKa0yS17E+7vDqH C/ITh52WJG7IhjAod+leskTcMYh7FGuF703Q52pSSI6BzUej6jRfaTOK9Jz1TGS86APluL 5NI/fLC3qf8gXWU7OEmD4kZ+hKhdHTKwQetgMqQrmcqVOStpQK+if21xGspVQ8Zpw/Shub 9ANNwE9K2XkhhCorkY/uOkdXNufHGwDCRwjSmLTXWWXj+IVStjep1QgUdR1L1OkG8Yc8L0 vCBsXw0/z8KviAiurd9XVumKDZIdMbb6J99spjOOyKKxsKclJ52+SUK6iEJynw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264021 --- Comment #11 from Mark Millard --- (In reply to Mark Millard from comment #10) Hmm: void geli_export_key_metadata(struct preloaded_file *kfp) { struct keybuf *keybuf; keybuf =3D malloc(GELI_KEYBUF_SIZE); geli_export_key_buffer(keybuf); file_addmetadata(kfp, MODINFOMD_KEYBUF, GELI_KEYBUF_SIZE, keybuf); explicit_bzero(keybuf, GELI_KEYBUF_SIZE); free(keybuf); } No possibility of malloc failure and a bad-to-use keybuf value? (But I'm not literate about the libsa expectations for how things operate.) --=20 You are receiving this mail because: You are the assignee for the bug.=