Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upConsider blacklisting PCI hotplug-related modules #1673
Comments
andrewdavidwong
added
the
question
label
Apr 6, 2016
andrewdavidwong
added
enhancement
C: core
labels
May 19, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Jun 4, 2016
Member
While is some cases it is really good idea, some people depend on those ports, so we can't make this change distribution-wide.
On the other hand, it may be good idea to blacklist related modules.
|
While is some cases it is really good idea, some people depend on those ports, so we can't make this change distribution-wide. |
andrewdavidwong
changed the title from
Compile qubes-linux-kernel with CONFIG_HOTPLUG_PCI disabled?
to
Consider blacklisting PCI hotplug-related modules
Jun 4, 2016
andrewdavidwong
added
P: minor
and removed
question
labels
Jun 4, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
tasket
Jun 5, 2016
If the whole pcie hotplug feature could be blacklisted as a module, that would be great. I thought it was a module, but I see no sign of it now.
tasket
commented
Jun 5, 2016
|
If the whole pcie hotplug feature could be blacklisted as a module, that would be great. I thought it was a module, but I see no sign of it now. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Jun 5, 2016
Member
Indeed, since 3.11 it isn't possible anymore: http://linux-ia64.1045702.n5.nabble.com/PATCH-0-2-PCI-Convert-hotplug-core-and-pciehp-to-be-builtin-only-td5710754.html
|
Indeed, since 3.11 it isn't possible anymore: http://linux-ia64.1045702.n5.nabble.com/PATCH-0-2-PCI-Convert-hotplug-core-and-pciehp-to-be-builtin-only-td5710754.html |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
rustybird
Jun 5, 2016
While is some cases it is really good idea, some people depend on those ports, so we can't make this change distribution-wide.
They could still use the ports, only they'd have to plug their stuff in before the Linux kernel starts.
rustybird
commented
Jun 5, 2016
They could still use the ports, only they'd have to plug their stuff in before the Linux kernel starts. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
rustybird
Jul 12, 2016
FWIW, I've been running this setup in the last few weeks: Using a kernel with CONFIG_HOTPLUG_PCI disabled, when I need an ExpressCard I plug it in during GRUB (not before, in case it has an option ROM). Works very well, especially with flush-mount ExpressCards because those can be left in the slot without being a bother.
Isn't this a good trade-off between extensibility and security against a very quick physical attack?
rustybird
commented
Jul 12, 2016
•
|
FWIW, I've been running this setup in the last few weeks: Using a kernel with CONFIG_HOTPLUG_PCI disabled, when I need an ExpressCard I plug it in during GRUB (not before, in case it has an option ROM). Works very well, especially with flush-mount ExpressCards because those can be left in the slot without being a bother. Isn't this a good trade-off between extensibility and security against a very quick physical attack? |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
Ok, I'm for this change. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
Sure, we should do that. |
added a commit
to marmarek/old-qubes-core-admin
that referenced
this issue
Jul 18, 2016
marmarek
closed this
in
marmarek/qubes-linux-kernel@55fb54a
Jul 19, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Jul 19, 2016
Member
Automated announcement from builder-github
The package kernel-devel-4.4.14-11.pvops.qubes has been pushed to the r3.2 testing repository for the Fedora fc23 template.
To test this update, please install it with the following command:
sudo yum update --enablerepo=qubes-vm-r3.2-current-testing
|
Automated announcement from builder-github The package
|
marmarek
added
the
r3.2-fc23-cur-test
label
Jul 19, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Jul 19, 2016
Member
Automated announcement from builder-github
The package kernel-devel-4.4.14-11.pvops.qubes has been pushed to the r3.2 testing repository for the Fedora fc24 template.
To test this update, please install it with the following command:
sudo yum update --enablerepo=qubes-vm-r3.2-current-testing
|
Automated announcement from builder-github The package
|
marmarek
added
the
r3.2-fc24-cur-test
label
Jul 19, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Jul 19, 2016
Member
Automated announcement from builder-github
The package kernel-4.4.14-11.pvops.qubes has been pushed to the r3.2 testing repository for dom0.
To test this update, please install it with the following command:
sudo qubes-dom0-update --enablerepo=qubes-dom0-current-testing
|
Automated announcement from builder-github The package
|
marmarek
added
the
r3.2-dom0-cur-test
label
Jul 19, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Jul 28, 2016
Member
Automated announcement from builder-github
The package kernel-devel-4.4.14-11.pvops.qubes has been pushed to the r3.2 stable repository for the Fedora fc23 template.
To install this update, please use the standard update command:
sudo yum update
|
Automated announcement from builder-github The package
|
marmarek
added
r3.2-fc23-stable
and removed
r3.2-fc23-cur-test
labels
Jul 28, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Jul 28, 2016
Member
Automated announcement from builder-github
The package kernel-devel-4.4.14-11.pvops.qubes has been pushed to the r3.2 stable repository for the Fedora fc24 template.
To install this update, please use the standard update command:
sudo yum update
|
Automated announcement from builder-github The package
|
marmarek
added
r3.2-fc24-stable
and removed
r3.2-fc24-cur-test
labels
Jul 28, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Jul 28, 2016
Member
Automated announcement from builder-github
The package kernel-4.4.14-11.pvops.qubes has been pushed to the r3.2 stable repository for dom0.
To install this update, please use the standard update command:
sudo qubes-dom0-update
Or update dom0 via Qubes Manager.
|
Automated announcement from builder-github The package
Or update dom0 via Qubes Manager. |
rustybird commentedJan 22, 2016
Would it make sense to disable CONFIG_HOTPLUG_PCI (which all the PCI hotplug modules depend on) in qubes-linux-kernel, to prevent DMA attacks via ExpressCard and Thunder
birdbolt ports?