[GIT PULL] Kernel lockdown for secure boot
torvalds at linux-foundation.org
Tue Apr 3 23:55:47 UTC 2018
On Tue, Apr 3, 2018 at 4:45 PM, Matthew Garrett <mjg59 at google.com> wrote:
>> Be honest now. It wasn't generally users who clamored for it.
> If you ask a user whether they want a system that lets an attacker replace
> their kernel or one that doesn't, what do you think their answer is likely
> to be?
We both know what the answer will be.
And it will have *nothing* to do with secure boot.
So *you* be honest now.
Because you clearly aren't.
Seriously. Go ask that question to a random person:
"Do you want a system that lets an attacker replace their kernel or
one that doesn't?"
and don't ask anything else.
Do you really think they'll answer "no, I don't want an attacker to
replace my kernel, but only if I booted with secure boot"?
> Again, what is your proposed mechanism for ensuring that off the shelf
> systems can be configured in a way that makes this possible?
If you think lockdown is a good idea, and you enabled it, then IT IS ENABLED.
No idiotic "secure boot or not" garbage.
Because secure boot or not isn't *relevant*.
Christ, we already have things like
- CONFIG_MODULE_SIG_ALL (and friends)
and absolutely *NONE* of them depend on whether the kernel was booted
with secure boot or not.
And I claim that it would be completely idiotic and broken if they did.
And - not entirely unrelated - I claim that it is COMPLETELY IDIOTIC
AND BROKEN to make some new "lockdown" option depend on it.
Really. Your arguments make no sense. They are all fundamentally
broken for the simple reason that all your "but secure boot implies
XYZ" are pure and utter bullshit, because all your arguments are valid
whether secure boot happened or not.
See? Secure boot has *NOTHING* do to with anything. It has nothing to
do with loading only signed kernel modules. It has nothing to do with
your lockdown patches.
Either lockdown is good or not. It's that simple. But the goodness has
nothing to do with secure boot.
To unsubscribe from this list: send the line "unsubscribe linux-security-module" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
More information about the Linux-security-module-archive