4 ms·
> This means someone can't plug in a FireWire/pcie/whatever over usb-c device and read/write any data they want (like drive decryption keys). You're talking ab
by josephcsible 3y ago
> This means someone can't plug in a FireWire/pcie/whatever over usb-c device and read/write any data they want (like drive decryption keys).
You're talking about DMA, but that setting is about /dev/mem. They have nothing in common.
> This means if you have a partial exploit but don't know where to jump because of address randomisation, the information is leaked.
But /proc/kcore is only readable by root. If an attacker can read that file, I've already lost.
> It means you can't plug in a USB device with a known-vulnerable module that gets auto-loaded and leaves your device open.
> All of the cases of root also mean "user action which triggers a root-level service to execute something".
If automatic loading is really what you're concerned about, you can disable just it with other settings without having to restrict manual actions by root.
> And if it is vulnerable (or more likely, when it's vulnerable) KSPP is the last layer of defence which can prevent the hypervisor from taking over the system.
That's not how these work. The above settings only affect what root is allowed to do. There are other parts of KSPP that might help with that, but these definitely don't.
> There are reason to enable/disable many of those settings, but none of them are evil.
They're evil because all they do is limit what root can do, which is useful only for tivoization and not real security.