Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp2156610lqo; Sun, 19 May 2024 16:51:36 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUJX/8T+QpbhI4uspxqqlNUz3WdnMqCyt2ztuRpcLVn9roFvHp+dJEk1gXaifED7u6MafLIDmsm2ob8JTncdhxdWWCH1s8iAYUq7A8qpw== X-Google-Smtp-Source: AGHT+IGhqyTohTxTXRS8rgiigZb/xfp8uMjhIfJmkDB0QdZWJ0mltfS9hJYqaAOn85PGU7W3x4IV X-Received: by 2002:a05:6358:5288:b0:183:fb12:39f6 with SMTP id e5c5f4694b2df-193bb519e00mr3586997055d.14.1716162696163; Sun, 19 May 2024 16:51:36 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716162696; cv=pass; d=google.com; s=arc-20160816; b=T5NRySGa1lJ6q4r8q3+z9sfHm21UYL5akzliVYRdELHbBJLPkUr+s4OMJcyaUAtbiq QRpplgRDZqOOyS5x2Hpw/bnETmm6fWx70GqIJaDjR3KpI5DEs2NisSO7Ge2uayRJBFVs r5t9ZC5hdgxyfwvJgUTyjOYDNLsUS+w65hQvElKZHGK+gEsmhuKK66UVmin5CWVcpDSO gExtn2stpb48AKrrnLU8lR+EW3+HWG2uQW+iaYJ5ZDv6qCzBo5Y97RQm5/Q5uNdvoMzf n8BoRpxi31ssLXJT4/Qw92jPB0cH4831WwJTfRa79iCfcQIOp5OTFX34Pp3uJE2KOe0s qz7A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=Uf06aWuYoLMZfvUZym+J2miWse+eeRF/5UKH+YOzbrw=; fh=VwFEvf4BByF195x4HBZ1LC6sX/PKiDRxVyyneLVr55E=; b=yzfJZul+CEOCTAWaYs4pRcSpcrbx+1WBuHbU/uijav9sTxu1scLBS5x/1197GSeZnC Rymyo6/RQlZn5CbxOpzSbKzOd4mH2SlBfbajrYH+OS/RNka7xmwHbRDrBBhPxJqQ4doQ PVxayASVPoGSpU4PGIaNoqkTupD++lKyCIMJWq+CCIQunmbCpxfEjC5aOxlipXZewL79 khTPGmzNLA1qOAycSr6R/2ohLYBADQLOdDMKJAEOUeJu3feAF5/34EXSvEqL4g1zF9Ia pNwLjSNgusJ1YAsOKYRoLqMJTqd54vEoMU6OHxZlkNOMOJEBOO+hK5F6DEKOzXjSP+MG MJgw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=GbQFl7s3; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-183307-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-183307-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 41be03b00d2f7-6585f12b0f0si7636149a12.399.2024.05.19.16.51.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 May 2024 16:51:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-183307-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=GbQFl7s3; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-183307-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-183307-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id C0AB0281149 for ; Sun, 19 May 2024 23:51:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D64B371B32; Sun, 19 May 2024 23:51:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="GbQFl7s3" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id ECC338F4A; Sun, 19 May 2024 23:51:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716162688; cv=none; b=aSfgDOTnGV9pWNGn/qS1tw/a4uC75OUe16gjaSJFDalsyOC1dpyV3D1iLvIjFa83efZmGZgsuoKumppPiwZfqr9z12hcpSw7oqDI1b3QpEWFeHhmga+o/RUBpZQtr112WNYgQG0n3rEnmGfL5geFqIsyWubMxipt2c+kDTYok1E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716162688; c=relaxed/simple; bh=sFF+7igQBl2ESdcO2thGcwttU4waX/G2ehZzAJURP0I=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=jJVfARbJ5X/XOhBGJPD0TvK40hCBveoiPUL0Rdubsvl8EZDVpVfnLSCpXrQhcuJnBLY6rf1UK0K0NEWVqt+R/NpA3TuyCTSVPyVLtFGX4tFeCZ8m85OD2+Q9ffTa/4IKynnotK1GO/FqWe2/prpUl8EzinhSe4sM5gGjkPGp6zA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=GbQFl7s3; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id DFE9CC32781; Sun, 19 May 2024 23:51:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1716162687; bh=sFF+7igQBl2ESdcO2thGcwttU4waX/G2ehZzAJURP0I=; h=From:To:Cc:Subject:Date:From; b=GbQFl7s3spqTkn7xfq3hNeqkAE8gh6hjmnA1j0Y/+pudvJV/wg2Pg7bLydSfLjr1Y gXXzP676BsvfO4+haxJrn2zlF9iVGsfJjvegbqk9V43UgEhOyCWot7SGlMOWaKoH27 Zhp42JxAVqA64f236VKNPwmY8If2qqRcSdDWL28y2o51Qs0djXlDYZSoe8LnOtR+QC Vp3gaohiuJ2usHqXxS7K/G1YUhN5L0AvrmlQkBKL3wlmwGMDCtl2jB8tm3lZA4Ql++ 0cnPHxp4Y0Kzvw4j3/bDxfs93XW3BTj8RryLLCIzJafmH+SLU1xZKYIL/1IaDR2Ihx SpJy5kItC4yzQ== From: Jarkko Sakkinen To: linux-integrity@vger.kernel.org Cc: keyrings@vger.kernel.org, James.Bottomley@HansenPartnership.com, Jarkko Sakkinen , Mimi Zohar , David Howells , Paul Moore , James Morris , "Serge E. Hallyn" , linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/3] KEYS: trusted: bug fixes Date: Mon, 20 May 2024 02:51:18 +0300 Message-ID: <20240519235122.3380-1-jarkko@kernel.org> X-Mailer: git-send-email 2.45.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Accumulated bug fixes for trusted keys. Jarkko Sakkinen (3): tpm: Disable TCG_TPM2_HMAC by default KEYS: trusted: Fix memory leak in tpm2_key_encode() KEYS: trusted: Do not use WARN when encode fails drivers/char/tpm/Kconfig | 2 +- security/keys/trusted-keys/trusted_tpm2.c | 25 +++++++++++++++++------ 2 files changed, 20 insertions(+), 7 deletions(-) -- 2.45.1