[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAMj1kXHfDVXXZwFhNk=b25Uz6aVDW-NmNHJdWGOzy6j=YpKsRQ@mail.gmail.com>
Date: Mon, 29 Sep 2025 18:10:49 +0200
From: Ard Biesheuvel <ardb@...nel.org>
To: Adrian Barnaś <abarnas@...gle.com>
Cc: linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
Catalin Marinas <catalin.marinas@....com>, Will Deacon <will@...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 Sept 2025 at 15:04, Adrian Barnaś <abarnas@...gle.com> wrote:
>
> Hi all,
>
> 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
>
> Best regards
> Adrian
>
> Cc: Catalin Marinas <catalin.marinas@....com>
> Cc: Will Deacon <will@...nel.org>
> Cc: Ard Biesheuvel <ardb@...nel.org>
> Cc: Dylan Hatch <dylanbhatch@...gle.com>
> Cc: Mark Rutland <mark.rutland@....com>
>
> Adrian Barnaś (2):
> arch: arm64: Fail module loading if dynamic SCS patching fails
> arch: arm64: Reject modules with internal alternative callbacks
>
Reviewed-by: Ard Biesheuvel <ardb@...nel.org>
Powered by blists - more mailing lists