[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <176252752075.602788.16693792309857347530.b4-ty@kernel.org>
Date: Fri, 7 Nov 2025 15:53:42 +0000
From: Will Deacon <will@...nel.org>
To: linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org,
Adrian Barnaś <abarnas@...gle.com>
Cc: catalin.marinas@....com,
kernel-team@...roid.com,
Will Deacon <will@...nel.org>,
Ard Biesheuvel <ardb@...nel.org>,
Dylan Hatch <dylanbhatch@...gle.com>,
Mark Rutland <mark.rutland@....com>
Subject: Re: [PATCH v2 0/2] arm64: modules: Reject loading of malformed modules
On Mon, 22 Sep 2025 13:04:25 +0000, Adrian Barnaś wrote:
> Here is version two of the patches I previously posted here:
>
> v1: https://lore.kernel.org/all/20250919122321.946462-1-abarnas@google.com/
>
> Changes:
> * Renamed the parameter `is_module` to `skip_dry_run` in scs_patch()
> * Moved comments to module_finalize() and improve justification
> * Instead of rejecting all modules with callback, reject those with cb
> pointing outside core kernel text
> * Replace -EPERM to -ENOEXEC when rejecting modules with incorrect cb
> * Fix missing return in apply_alternatives_module() placeholder
>
> [...]
Applied to arm64 (for-next/fixes), thanks!
[1/2] arm64: Fail module loading if dynamic SCS patching fails
https://git.kernel.org/arm64/c/6d4a0fbd34a4
[2/2] arm64: Reject modules with internal alternative callbacks
https://git.kernel.org/arm64/c/8e8ae788964a
Cheers,
--
Will
https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev
Powered by blists - more mailing lists