Skip to content

x86: fix kernel address printk exposures

Josh Poimboeuf linux-mm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4scripts/faddr2line: fix "size mismatch" errorscripts/faddr2line+21 -120 replies
2/4x86/dumpstack: remove kernel text addresses from stack dumparch/x86/include/asm/kdebug.h arch/x86/kernel/dumpstack.c arch/x86/kernel/process_32.c +3 more+13 -266 replies
3/4x86/dumpstack: remove raw stack dumpDocumentation/kernel-parameters.txt Documentation/sysctl/kernel.txt Documentation/x86/x86_64/boot-options.txt +5 more+4 -1300 replies
4/4mm: remove kernel address exposure in free_reserved_area()mm/page_alloc.c+2 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] x86: fix kernel address printk exposures

These are some changes suggested by Linus to remove some kernel address exposures in printk. Most notably, the x86 stack dump no longer prints full kernel text addresses.

There's also a fix for the faddr2line script which is used for converting a function offset into a source code file name and line number.

Josh Poimboeuf (4):
scripts/faddr2line: fix "size mismatch" error x86/dumpstack: remove kernel text addresses from stack dump x86/dumpstack: remove raw stack dump
mm: remove kernel address exposure in free_reserved_area()

 Documentation/kernel-parameters.txt       |  3 --
 Documentation/sysctl/kernel.txt           |  8 -----
 Documentation/x86/x86_64/boot-options.txt |  4 ---
 arch/x86/include/asm/kdebug.h             |  1 -
 arch/x86/include/asm/stacktrace.h         |  5 ---
 arch/x86/kernel/dumpstack.c               | 39 ++++-------------------
 arch/x86/kernel/dumpstack_32.c            | 33 +------------------
 arch/x86/kernel/dumpstack_64.c            | 53 +------------------------------
 arch/x86/kernel/process_32.c              |  7 ++--
 arch/x86/kernel/process_64.c              |  6 ++--
 arch/x86/mm/fault.c                       |  3 +-
 arch/x86/platform/uv/uv_nmi.c             |  4 +--
 kernel/sysctl.c                           |  7 ----
 mm/page_alloc.c                           |  4 +--
 scripts/faddr2line                        | 33 ++++++++++++-------
 15 files changed, 40 insertions(+), 170 deletions(-)
Signature · 1 line
2.7.4