]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
ARM: 8896/1: VDSO: Don't leak kernel addresses
authorGeert Uytterhoeven <geert@linux-m68k.org>
Wed, 31 Jul 2019 11:38:48 +0000 (12:38 +0100)
committerKhalid Elmously <khalid.elmously@canonical.com>
Fri, 14 Feb 2020 05:29:37 +0000 (00:29 -0500)
commitedcc1a0fccc97be871d465fbb8bad752ba4e477d
tree7b5dd807804c0eb5b221a6170de465c93f8b9762
parent4947b1d2cfcbb982fee0e8610387e6375063fe65
ARM: 8896/1: VDSO: Don't leak kernel addresses

BugLink: https://bugs.launchpad.net/bugs/1863019
[ Upstream commit 3e07590e7248db951fed6a2039403b5a39010be7 ]

Since commit ad67b74d2469d9b8 ("printk: hash addresses printed with
%p"), an obfuscated kernel pointer is printed at every boot if
debugging is enabled:

    vdso: 1 text pages at base (____ptrval____)

Remove the print completely, as it's useless without the address.

Based on commit 0f1bf7e39822476b ("arm64/vdso: don't leak kernel
addresses").

Fixes: ad67b74d2469d9b8 ("printk: hash addresses printed with %p")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
arch/arm/kernel/vdso.c