[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <8342.1479905906@warthog.procyon.org.uk>
Date: Wed, 23 Nov 2016 12:58:26 +0000
From: David Howells <dhowells@...hat.com>
To: Dominik Brodowski <linux@...inikbrodowski.net>
Cc: dhowells@...hat.com, keyrings@...r.kernel.org,
matthew.garrett@...ula.com, linux-security-module@...r.kernel.org,
linux-efi@...r.kernel.org, linux-kernel@...r.kernel.org,
gnomes@...rguk.ukuu.org.uk
Subject: Re: [PATCH] Lock down drivers that can have io ports, io mem, irqs and dma changed
Dominik Brodowski <linux@...inikbrodowski.net> wrote:
> You might also need to disable CIS overrides and CIS firmware loading for
> PCMCIA drivers, I presume. That needs two changes:
>
> - Abort in drivers/pcmcia/ds.c::pcmcia_load_firmware() or disable
> the CONFIG_PCMCIA_LOAD_CIS config option permanently.
This really ought to be handled through signature checking in
request_firmware().
> - Abort in drivers/pcmcia/cistpl.c::pccard_store_cis() or remove
> write access to the "cis" file in
> drivers/pcmcia/cistpl.c::pccard_cis_attr
What is that doing? Allowing the device to be reconfigured?
David
Powered by blists - more mailing lists