From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796139968; b=E4rX/Z9BKxE4kIOyZth738aAsH7ztR4cvDGVnzVq5LvofiTkINMFhlC1VKmCpCSDv8qB kj83WmkpZcBuMRB8yuJivjRGVlX+VojX2/uE8DWlSySgmj2k2rtbzbEgkyrkhRmHUlH4S aJhy2/84RzvVz0qz7GYIyYHQoEyLvk4iweuD8I0nJQ84sLqjwaRkhECZpYWLdgDFXiuzK owfI59LlR1SPW2/qZWmc4RmxCZR44huDwODeZPAqjrTShJdggqV9AhGM95lUh/QjLtfju TXrmm/a97oNGJWtERN0Ah8Vomj033iCZ9qyHjaBjy3abhTGKtlV4wvi8cl0G3VkPW5g== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796139968; h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID: References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To; bh=SpIEwRvJN15jkyrW9Y16ojl65yxzzewt9YVxu7Srakc=; b=jBhC//k5eeRl5ao3nk1gw7w8kCkYRYcBmO3DtFWn8caa6if+LTHy7XI/qBoCdRghN/Rz GeCjkV2IVSYvHQxJ0MwtPtfD59fM/X+ORwQGOwckmrvKlS+9dknTrSVpmWEmYmw1K5ZPI C1jhETf5F+Hz/UMvInypCL/68ZUNvJ9HxMvo52TWXZlsbcOp2rL9iRG7woyFdX8T1BXwt gn9OQqTO1amKBbwNFe7fBo8F0AwQntXmq3t+OAdjhqDyRgcp/XsJ32t7uzy+9ixKo0YcM qpgxpGtDTO45m3UOwLebaQSBw3ep1bgCA1lIM11mUmgSuTht1Wh+fOn8fcYhiTsDXsA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=eok7ARoy; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with UTF8SMTPS id D3C47606A31A; Tue, 1 Dec 2026 15:46:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=eok7ARoy Received: by smtp.kernel.org (Postfix) with UTF8SMTPSA id 80D471F000C1; Tue, 1 Dec 2026 15:46:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796139968; bh=SpIEwRvJN15jkyrW9Y16ojl65yxzzewt9YVxu7Srakc=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=eok7ARoyw5/yocErnNpXSQR7P95zKjyUbxLXvsNLRT7bY8x8rKMzjD6R4OgRseggw KgGUkHKY7zhpYO/BrCY9pQnCrGrvX3m3H1a8Kngmz7ArlUTrw6InoFPjOLEPLgU13Z dS/1ozeF/6RvQvbQFUgvxRDVoUGEcBKdNnO/jreX2nHGayXkw5KEQDP50U8l0YhG+X Jk9NH5pprbKd5FUUtuDueIVIel+kTKAUHa8tB7urNTuGBHIS+f3NRq9+2f4NFSG6lg tAIzIqtRunbpeap2ee6xmB7rEv+7XIKkw/JyoERZ+xObg3Ae05xR0XkjZLTUmk5mBi BhND7RPzWAFSw== Date: Tue, 1 Dec 2026 17:46:04 +0200 From: Jarkko Sakkinen To: Dan Carpenter Cc: David Howells , Lukas Wunner , Ignat Korchagin , Herbert Xu , "David S. Miller" , David Woodhouse , Eric Snowberg , Karthik Bhargavan , =?iso-8859-1?Q?Cl=E9ment?= Blaudeau , keyrings@vger.kernel.org, linux-crypto@vger.kernel.org, stable@vger.kernel.org Subject: Re: [PATCH 1/5] pkcs7: Don't trust a blacklisted certificate Message-ID: References: <20261201-pkcs7-v1-0-ace9edcd1a53@pereq.eu> <20261201-pkcs7-v1-1-ace9edcd1a53@pereq.eu> X-Mailing-List: linux-crypto@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Tue, Dec 01, 2026 at 05:42:31PM +0200, Jarkko Sakkinen wrote: > On Tue, Dec 01, 2026 at 11:22:27AM +0300, Dan Carpenter wrote: > > If you have a signed module but the signature is blacklisted then it > > shouldn't load unless you have a second valid signature. The bug > > here is that an attacker can load the module by adding a SignerInfo > > that names a certificate which isn't in the message, with random bytes > > as the signature. Although I hate this CVE report style in commit messages. Just stripped down what's the problem without spy story. Reading about The Attacker is a total waste of cognitive compute. R-by still applies ;-) Br, Jarkko