[PATCH 0/3] arm64: uapi: Provide correct __BITS_PER_LONG for the compat vDSO

Will Deacon will at kernel.org
Mon Sep 8 08:55:32 PDT 2025


On Thu, 21 Aug 2025 09:56:43 +0200, Thomas Weißschuh wrote:
> The generic vDSO library uses the UAPI headers. On arm64 __BITS_PER_LONG is
> always '64' even when used from the compat vDSO. In that case __GENMASK()
> does an illegal bitshift, invoking undefined behaviour.
> 
> The first patch should go into the 6.17 tree.
> 
> 
> [...]

Applied to arm64 (for-next/vdso), thanks!

[2/3] arm64: vdso32: Stop suppressing warnings
      https://git.kernel.org/arm64/c/80c4e1948908
[3/3] arm64: vdso32: Respect -Werror from kbuild
      https://git.kernel.org/arm64/c/281817dffe28

Cheers,
-- 
Will

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



More information about the linux-arm-kernel mailing list