History

lockdown: Lock down tracing and perf kprobes when in confidentiality mode

Disallow the creation of perf and ftrace kprobes when the kernel is locked down in confidentiality mode by preventing their registration. This prevents kprobes from being used to access kernel memory to steal crypto data, but continues to allow the use of kprobes from signed modules.

David Howells committed 7 years ago

Commit a94549d1 parent 02e935b3 files · +7 −0Browse files

Showing the changes to include/linux (1 of 3 files). Show all

Unified · Split

include/linux/security.h+1−0
@@ -117,6 +117,7 @@ enum lockdown_reason { · 116 unmodified lines
117 LOCKDOWN_MMIOTRACE,117 LOCKDOWN_MMIOTRACE,
118 LOCKDOWN_INTEGRITY_MAX,118 LOCKDOWN_INTEGRITY_MAX,
119 LOCKDOWN_KCORE,119 LOCKDOWN_KCORE,
120 LOCKDOWN_KPROBES,
120 LOCKDOWN_CONFIDENTIALITY_MAX,121 LOCKDOWN_CONFIDENTIALITY_MAX,
121};122};
122 123

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t