[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20181115191026.GE4179@lahna.fi.intel.com>
Date: Thu, 15 Nov 2018 21:10:26 +0200
From: Mika Westerberg <mika.westerberg@...ux.intel.com>
To: Yehezkel Bernat <yehezkelshb@...il.com>
Cc: lorenzo.pieralisi@....com, lukas@...ner.de,
iommu@...ts.linux-foundation.org, joro@...tes.org,
David Woodhouse <dwmw2@...radead.org>,
baolu.lu@...ux.intel.com, ashok.raj@...el.com,
Bjorn Helgaas <bhelgaas@...gle.com>, rjw@...ysocki.net,
jacob.jun.pan@...el.com, Andreas Noever <andreas.noever@...il.com>,
michael.jamet@...el.com, Christian Kellner <ckellner@...hat.com>,
Mario Limonciello <Mario.Limonciello@...l.com>,
Anthony Wong <anthony.wong@...onical.com>,
linux-acpi@...r.kernel.org, linux-pci@...r.kernel.org,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 1/4] PCI / ACPI: Identify external PCI devices
On Thu, Nov 15, 2018 at 07:58:13PM +0200, Yehezkel Bernat wrote:
> From what I know, there are more devices that suffer from similar security
> issues like Thunderbolt, e.g. FireWire [1].
> My assumption is that the same protection may be applied to such devices too,
> even if currently it sounds like vendors care mostly about Thunderbolt (probably
> because it removes the need for user approval for device connection; it becames
> a simple plug-and-play experience).
FireWire is kind of different but there are connectors such as
ExpressCard and NVMe (over U.2 connector) which carry PCIe and are
relatively easy to access without need for a screwdriver. AFAIK some
eGPUs are also using some other proprietary (non-TBT) connector that
carries PCIe.
I was thinking we could cover all these with is_external filling them
based on the _DSD or some other means in the kernel.
We would then deal all such devices as "untrusted" by default.
> Thus, I don't think binding it with dev->is_thunderbolt is the correct
> thing to do.
One option that I suggested already is that we keep both and mark all
is_thunderbolt devices as is_external as well. But I guess this is up to
Bjorn and Rafael to decide :-)
Powered by blists - more mailing lists