Thread (4 messages) 4 messages, 3 authors, 2021-07-15

Re: [PATCH] arm64: Avoid premature usercopy failure

From: Will Deacon <will@kernel.org>
Date: 2021-07-15 17:39:16
Also in: linux-mm, lkml, stable

On Mon, 12 Jul 2021 15:27:46 +0100, Robin Murphy wrote:
Al reminds us that the usercopy API must only return complete failure
if absolutely nothing could be copied. Currently, if userspace does
something silly like giving us an unaligned pointer to Device memory,
or a size which overruns MTE tag bounds, we may fail to honour that
requirement when faulting on a multi-byte access even though a smaller
access could have succeeded.

[...]
Applied to arm64 (for-next/fixes), thanks!

[1/1] arm64: Avoid premature usercopy failure
      https://git.kernel.org/arm64/c/295cf156231c

Cheers,
-- 
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help