[PATCH 0/2] arm64: modules: Reject loading of malformed modules

Ard Biesheuvel ardb at kernel.org
Fri Sep 19 06:17:29 PDT 2025


Hello Adrian,

On Fri, 19 Sept 2025 at 14:23, Adrian Barnaś <abarnas at google.com> wrote:
>
> Hi,
>
> Here are a couple of patches to reject the loading of malformed modules
> on arm64 when the SCS patching is only partially applied or we detect
> an alternative callback function used in the module text.
>
> The SCS issue is largely theoretical. The code currently performs
> a "dry-run" (which we remove), and leave module code as-is if failed.
> However the latter issue was reported to crash the kernel at [1].
>

Why are you fixing this largely theoretical issue along with the
callback alternatives patching? The referenced thread only talks about
the latter, right?



More information about the linux-arm-kernel mailing list