]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
powerpc/procfs: Propagate error of remap_pfn_range()
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>
Thu, 10 Oct 2024 07:01:24 +0000 (09:01 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Sat, 2 Nov 2024 11:37:35 +0000 (12:37 +0100)
commitd4526a2d2d01e4dcb09c5535d3d4bb6ca763efeb
tree9b9d34db9e4f3c9328c22a13ea86c55f1cf4b78c
parente449c83ac5b1d10cdde084e9d5da1902cde9e823
powerpc/procfs: Propagate error of remap_pfn_range()

If the operation fails and userspace is unaware it will access unmapped
memory, crashing the process.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/20241010-vdso-generic-base-v1-22-b64f0842d512@linutronix.de
arch/powerpc/kernel/proc_powerpc.c