]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
powerpc/mm: Don't log user reads to 0xffffffff
authorChristophe Leroy <christophe.leroy@c-s.fr>
Mon, 23 Dec 2019 07:54:22 +0000 (07:54 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 27 Jan 2020 11:37:24 +0000 (22:37 +1100)
commit0f9aee0cb9da7db7d96f63cfa2dc5e4f1bffeb87
treed2bf7e25c2e75881f18c138e68436a02119d9946
parentcd08f109e26231b279bcc0388428afcac6408ec6
powerpc/mm: Don't log user reads to 0xffffffff

Running vdsotest leaves many times the following log:

  [   79.629901] vdsotest[396]: User access of kernel address (ffffffff) - exploit attempt? (uid: 0)

A pointer set to (-1) is likely a programming error similar to
a NULL pointer and is not worth logging as an exploit attempt.

Don't log user accesses to 0xffffffff.

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/0728849e826ba16f1fbd6fa7f5c6cc87bd64e097.1577087627.git.christophe.leroy@c-s.fr
arch/powerpc/mm/fault.c