- Context: Whonix ™ Host Operating System Development [archive]
- Purpose of forum thread Whonix host - nonfree blobs - firmware-linux-nonfree [archive]: keeping the discussion of nonfree vs free out of above thread.
- Non-Purpose of this: non-freedom software in Whonix ™ VMs (there is none but if you think there is another thread [archive]
- Related: Whonix ™ and Free System Distribution Guidelines (GNU FSDG) [archive]
- 1 Nonfree Firmware
- 2 Nonfree Drivers
- 3 Forum Discussion
- 4 Footnotes
On the Tails issue tracker there is an interesting discussion about shipping nonfree firmware blobs [archive]. Most convincing arguments start in comment 11 [archive]:
Bold / italic added.
There is no evidence that anything in the Linux kernel is spyware. The firmware blobs are loaded into devices which need them to function. The alternative is for them to be present in the device from the beginning, as I explain later.
Here, for example, almost a year ago, all you summarily refused to discuss this issue:
In that thread, you linked to a paper on DMA malware. Note that the blobs in question are typically firmware for PCI devices, usually NICs. DMA malware works by abusing the bus master bit and becoming bus master, allowing DMA requests. Most modern UEFI/BIOS come with ACPI tables built in, which contains one table, the DMAR table, which can be used by the IOMMU to restrict the addresses a device with bus master is allowed to access. If you boot with `intel_iommu=on` or `amd_iommu=force` , and your DMAR table is valid, then DMA malware, if it is loaded after the IOMMU enforces its restrictions, is effectively crippled. Tails unfortunately does not enable the IOMMU by default, as it breaks a lot of hardware with broken DMAR tables (BIOS vendors suck, don't they?), but it's trivial to enable it yourself.
Being free software, and being endorsed by the Free Software Foundation are different things. By many definitions, something can still be FOSS even if it distributes blobs which run on NICs for example, as long as those blobs do not run on the CPU alongside the kernel. In the case that they run as firmware, they are effectively no different than an updatable ROM. If you select an FSF-endorsed distro, you are still running the same type of blob. The only difference is that it is bunt into your hardware, not in the kernel. If there is a backdoor, as you worry about, it will not be neutered just because it is distributed through a ROM rather than loaded by the kernel. If anything, loading through the kernel is safer, because people are more willing to reverse engineer it or audit it (yes, closed source blobs can be reverse engineered and audited), whereas something burnt into a ROM will likely never be touched.
That is primarily due to philosophical reasons, and possibly misunderstandings. I can completely understand the philosophical ideology behind "Fine, let the hardware manufacturers distribute the blobs, but I don't want my distro to take part in it at all!", but you'd be deluding yourself to say that it improves your security. The only way to improve your security (or at least the openness of the whole software ecosystem) is to get the firmware/ROM source to be open, not simply be content with it being burnt into your hardware.
But in the end, if you're really worried about covert backdoors on this level, why are you singling out what really amounts to just NIC firmware, most of which boils down to just a few brands? There's so much more which puts people at risk if an adversary with these capabilities is after them. After all, the Linux kernel is huge, takes patches from many people, and is poorly audited. Adding a mistake (bugdoor) would not be hard. I don't mean something obvious like `if (uid = 0)` from the old `wait4()` backdoor attempt either. There's also the fact that, no matter how open your software is, you're running on entirely closed hardware. Who cares about the Intel Manageability Engine or the Embedded Controller Firmware when the entirety of the immensely complex processor is closed.
Now start porting Tails to seL4 or INTEGRITY-178B, and run it entirely on OpenSPARC, and then you can be happy. :P
But seriously though, if you're this passionate about this, learn how to use `r2` and get to reverse engineering those blobs.
Not distributing firmware in the kernel does not affect the risk of "spyware" whatsoever. If there is going to be a backdoor, it can also exist burnt into the ROM. Not having firmware blobs in the kernel does not mean they do not still exist. It just means they are distributed in a different way. Do you think that a Realtek NIC that does not need uploaded firmware, but does use a burnt in ROM, cannot have a backdoor in its built in firmware, but a Broadcom NIC that requires firmware and does not use burnt in ROM can?
Furthermore, all the blobs in the kernel are only loaded for the people who are using the specific hardware which requires it. If you are not using the tg3 driver, you will not be loading the tg3 firmware. So if someone uses tg3, they will not be able to use a "libre" Tails. If someone uses r8192, they won't be using firmware blobs for their NIC regardless of whether they use a "libre" Tails or current Tails. Simply put, people who do not use blob-requiring hardware will not be using blobs, regardless. People who do need blobs will either be using nothing , or an NIC that loads blobs. Those people are screwed anyway, whereas people who are using NICs which don't need blobs don't have to worry.
Tails - The Amnesic Incognito Live System - Position
We have actual users. If they can't use Tails on their current, real-world hardware, then likely they'll use something else, that has just the same amount of binary firmware blobs, except it won't have any of Tails properties that some people find worthwhile.
Argument of Negative Adaption
I rather think bad news = good news. Bad reporting is often better than no reporting in order to generate new users. Perhaps except if the brand already reached its maximum popularity and user base which Whonix ™ is far from.
Historically bad reporting on nonfree practices of Ubuntu (even making Linux Mint sign a license contract with Canonical [archive]; amazon search lense [archive]; which both was reported by media) didn't harm Ubuntu much. It's still the biggest Linux distribution.
Tails installs firmware-linux-nonfree by default too, and it didn't decease their number of users. The outrage was limited to a very few users criticizing the decision on the Tails issue tracker and on the Tails mailing list years ago.
Overview of Arguments
The stance against nonfree blobs can be argued from multiple perspectives.
A) The security argument: Which got refuted above..
B) The philosophical stance against ever shipping any kind of shipping of anything nonfree. Argument of being the best possible Freedom Software vendor.
C) Argument of negative adaption: The argument goes that the number of users would decease due to fallout from being tainted with nonfree software due to bad reputation, word of mouth and media reporting.
Table: Comparison Table -
(non)Freedom Hardware Design vs
(non)Freedom Firmware installed
||Yes||No||Yes ||Yes |
|boot medium entirely clean from
|system entirely clean from
Whonix ™ Lead Developer Position
Some people will argue to rather sacrifice shipping something broken, insecure, unusable for most users than derivation the slightest from Freedom Software maximalism.
- I am not a nonfree software minimalist like RMS.
- I am not a Freedom Software maximalist like RMS.
Therefore when weighting practicality vs Freedom Software principles, I went with practicality, i.e. firmware-linux-nonfree will be installed by default on Whonix ™ Host.
Whonix ™ build script will support command line parameters to skip installation of any nonfree software to ease completely Freedom Software custom builds and forks of Whonix ™.
Overview of Packages
These will not be all shipped in Whonix. This is only a notepad for developers to decide which packages to ship and which ones not.
- firmware-adi - deprecated transitional package
- firmware-b43-installer [archive] (not same drivers as firmware-b43legacy-installer) [download during installation by package maintainer script]
- firmware-b43legacy-installer [archive] (not same drivers as firmware-b43-installer) [download during installation by package maintainer script] 
Closed source drivers pose privacy and security risks and are therefore unacceptable. With the wide selection of PC hardware that supports the FLOSS only mainline kernel, we can make this decision with pragmatism considered.
Nvidia's closed drivers have been confirmed to contain telemetry baked into them. The open Noveau stack is an alternative for those running Nvidia GPUs. Noveau is included in mainline Linux.
Proprietary drivers require the continued support of the vendor for compatibility with the latest Linux version. Withdrawal of support at end of product life-cycles or because it is not financially desirable for the companies involved means users will be stuck running ancient kernels in perpetuity for continued functioning of their hardware at expense of security updates. Android is a sad example of this epidemic. Also the closed driver module cannot be patched for security problems itself or even have the fixes legally redistributable even if it was.
- By definition there are no built-in
nonfreedom firmwareblobs to begin with due to absence of
nonfreedom hardware design.
- https://salsa.debian.org/debian/b43-fwcutter/blob/master/debian/firmware-b43-installer.postinst [archive]
- https://devtalk.nvidia.com/default/topic/978755/is-there-telemetry-in-nvidias-proprietary-linux-drivers-/ [archive] " So NVIDIA customer care has informed me that all latest drivers from them, including Linux drivers contain telemetry. "
This is a wiki. Want to improve this page? Help is welcome and volunteer contributions are happily considered! Read, understand and agree to Conditions for Contributions to Whonix ™, then Edit! Edits are held for moderation. Policy of Whonix Website and Whonix Chat applies.
Copyright (C) 2012 - 2020 ENCRYPTED SUPPORT LP. Whonix ™ is a trademark. Whonix ™ is a licensee [archive] of the Open Invention Network [archive]. Unless otherwise noted, the content of this page is copyrighted and licensed under the same Freedom Software license as Whonix ™ itself. (Why?)