]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
x86/traps: Print unhashed pointers on stack overflow
authorRyosuke Yasuoka <ryasuoka@redhat.com>
Wed, 24 Dec 2025 07:07:32 +0000 (16:07 +0900)
committerBorislav Petkov (AMD) <bp@alien8.de>
Wed, 14 Jan 2026 15:31:53 +0000 (16:31 +0100)
commit6b32c93560cb194e10279bd3be3c1d0fa30df3e7
tree1cee6b87e6b97d8643b58213e74817157701b55c
parent6b45ded3f714e78c20708c0f29852fba856fec0c
x86/traps: Print unhashed pointers on stack overflow

When a stack overflow occurs, the kernel prints hashed fault address and the
stack range using %p. The actual addresses are required for debugging and
hashed pointers provide no useful information in this context.

Use %px to print the unhashed, raw addresses.

Signed-off-by: Ryosuke Yasuoka <ryasuoka@redhat.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://patch.msgid.link/20251224070735.454816-1-ryasuoka@redhat.com
arch/x86/kernel/traps.c