From nobody Wed Mar 16 22:55:58 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 3FC891A2F88E for ; Wed, 16 Mar 2022 22:55:59 +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 4KJlxW05Xwz4b1Q for ; Wed, 16 Mar 2022 22:55:59 +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 D4D021F286 for ; Wed, 16 Mar 2022 22:55:58 +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 22GMtwIv058428 for ; Wed, 16 Mar 2022 22:55:58 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 22GMtwBk058427 for bugs@FreeBSD.org; Wed, 16 Mar 2022 22:55:58 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 262604] Feature request: reseed kernel RNG after VM snapshot/resume Date: Wed, 16 Mar 2022 22:55:58 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new 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: emaste@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: 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1647471359; 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=jgIa+QrpWeex8oUKsptcRNWceIqZw2gYiCZfmmb3jds=; b=mHyu7WqV0sA8dUDf4sV9LgjGsIJPFxQ+5BJWeJr+dsg9UO97bWR5tOnCqOw3kcAJCdQ2NJ iIQcqb1z/uzfwydOooH+DOhjFAJAC0X4NnRBFYi52HEKQVVsoAtiOZyLtYmxJ1kxkUcXyn Q4WbbrWWK5qWgNSHrexKab2qUaTTA7lgA5ds3XvV09+Mn3yhdl3xyFxEVui7DmF0FgiBPZ +/KyWl8yb8An5nIKk4F7wK26beToBd7X8lpc/KVsTpX8qrBn2Rei+hkizuhLhd60am9hyW b/pHgrxJmeEJQHnECfB80Ba2NEfwJg+VlgDL8i9JMtT01zyzUt72WXf/wEg9IQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1647471359; a=rsa-sha256; cv=none; b=ARp38D2EBf1WbbQPuS9XDO/NAV+ZV4nMhTH4ovxV81lq4V2KGpH54W6GXvpAyJQERQtNO3 cTbpQWh3iDcGnCJ4J5I3h6Hm7FnljljQJnmYPExMgCl3oiMMkyJLQUVc7YSMgNdkAJsENJ vYKYsKImeCUdBgQnulAhbH12YuCk9pSn9bwK2YjhzsxBRfj2/40McjXNe+TmqRFSlUCjk4 lR7O8AL76noO5BroVinxH8YJRgC1e/uPTGstzMsA4k0zYRs4flARmc6Hj5eeX2XCmQvHUE acnmycxHtCvfhnHfss7tuACGVl8cdUmye/xuERYJmgVw0mhs1Z3M4G2JGH8n9g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262604 Bug ID: 262604 Summary: Feature request: reseed kernel RNG after VM snapshot/resume Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: emaste@freebsd.org This came as a report to secteam@, but should be tracked in the public bugzilla. > Specifically, we've run FreeBSD inside VMware workstation 9.0.0, captured= a > full-memory snapshot (using the =E2=80=98snapshot' button in VMware), and= resumed the > guest VM multiple times from the same snapshot (using the =E2=80=98revert= =E2=80=99 button in > VMware). We=E2=80=99ve observed that /dev/random produces repeated outpu= ts each time > the guest is resumed from the same snapshot. In the worst case, we=E2=80= =99ve observed > repeated outputs for as long as 100 seconds after resumption. Paper: https://ieeexplore.ieee.org/stamp/stamp.jsp?tp=3D&arnumber=3D6956587 admbugs: 499 --=20 You are receiving this mail because: You are the assignee for the bug.=