Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kprobes: Do not expose probe addresses to non-CAP_SYSLOG
The kprobe show() functions were using "current"'s creds instead of the file opener's creds for kallsyms visibility. Fix to use seq_file->file->f_cred. Cc: Masami Hiramatsu <[email protected]> Cc: [email protected] Fixes: 81365a9 ("kprobes: Show address of kprobes if kallsyms does") Fixes: ffb9bd6 ("kprobes: Show blacklist addresses as same as kallsyms does") Signed-off-by: Kees Cook <[email protected]>
- Loading branch information