Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "proc/wchan: use printk format instead of lookup_symbol_name()"
This reverts commit 152c432. When a kernel address couldn't be symbolized for /proc/$pid/wchan, it would leak the raw value, a potential information exposure. This is a regression compared to the safer pre-v5.12 behavior. Reported-by: kernel test robot <[email protected]> Reported-by: Vito Caputo <[email protected]> Reported-by: Jann Horn <[email protected]> Signed-off-by: Kees Cook <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Cc: [email protected] Link: https://lkml.kernel.org/r/[email protected]
- Loading branch information