Re: [PATCH] arm64: Avoid premature usercopy failure

From
Will Deacon <will@kernel.org>
Date
2021-07-15 17:39:16
Also in
linux-arm-kernel, linux-mm, lkml
Reply to
Robin Murphy, 2021-07-12
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
Thread (4 messages) 4 messages, 3 authors, last reply 2021-07-15
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help