From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753292AbdLEK2F (ORCPT ); Tue, 5 Dec 2017 05:28:05 -0500 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:54505 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752952AbdLEK2A (ORCPT ); Tue, 5 Dec 2017 05:28:00 -0500 Date: Tue, 5 Dec 2017 11:27:58 +0100 From: Pavel Machek To: Linus Torvalds Cc: Matthew Garrett , Mimi Zohar , David Howells , Alan Cox , "Luis R. Rodriguez" , "AKASHI, Takahiro" , Greg Kroah-Hartman , Jan Blunck , Julia Lawall , Marcus Meissner , Gary Lin , LSM List , linux-efi , Linux Kernel Mailing List Subject: Re: Firmware signing -- Re: [PATCH 00/27] security, efi: Add kernel lockdown Message-ID: <20171205102757.GA12982@amd> References: <20171109044619.GG7859@linaro.org> <20171111023240.2398ca55@alans-desktop> <20171113174250.GA22894@wotan.suse.de> <20171113210848.4dc344bd@alans-desktop> <454.1510609487@warthog.procyon.org.uk> <1510662098.3711.139.camel@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="17pEHd4RhPHOinZp" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --17pEHd4RhPHOinZp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > > Our ability to determine that userland hasn't been tampered with > > depends on the kernel being trustworthy. If userland can upload > > arbitrary firmware to DMA-capable devices then we can no longer trust > > the kernel. So yes, firmware is special. >=20 > You're ignoring the whole "firmware is already signed by the hardware > manufacturer and we don't even have access to it" part. Well... I guess we'd prefer the firmware _not_ be signed, so we can fix security holes in that after the vendor lost interest... Bugs in the wifi stacks seemed patcheable that way. There is GPLed firmware available for some USB wifi's. We really should make sure firmware signing is not mandatory/encouraged for the hw ve= ndors. Pavel --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --17pEHd4RhPHOinZp Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlomdK0ACgkQMOfwapXb+vIV5QCfbLTfDRPpmSyNW4zBd5NcDz4a tvIAoKPxjwRKC28Ol6pYiZHKmy33UtNS =rkvs -----END PGP SIGNATURE----- --17pEHd4RhPHOinZp--