Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rasdaemon does not work when kernel lockdown is enabled #65

Open
bluikko opened this issue May 26, 2022 · 1 comment
Open

Rasdaemon does not work when kernel lockdown is enabled #65

bluikko opened this issue May 26, 2022 · 1 comment

Comments

@bluikko
Copy link

bluikko commented May 26, 2022

Modern distributions enable kernel lockdown by default when UEFI and Secure Boot are enabled.
This breaks rasdaemon because it has no direct access to MSR or debugfs:

kernel: Lockdown: rasdaemon: Direct MSR access is restricted; see man kernel_lockdown.7
kernel: Lockdown: rasdaemon: debugfs is restricted; see man kernel_lockdown.7

I do not know how rasdaemon works but it sounds like perhaps the architecture must change to keep rasdaemon working with kernel lockdown.

The obvious workarounds would be either disable Secure Boot or kernel lockdown - both of which decrease the overall system security and may not be allowed due to company or compliance policies.

As more servers move to modern distributions and Secure Boot this problem will just get more common until it renders rasdaemon obsolete unless it can evolve.

@gabrielesvelto
Copy link

FYI I'm running rasdaemon with kernel lockdown set to use the integrity mode and it seems to work fine. I think the problem is restricted to the confidentiality mode, as that would likely prevent information from being extracted from the kernel.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants