[ARM64][GCC10] Kernel can't load any module due to RWX check
Will Deacon
will at kernel.org
Tue Sep 1 08:53:17 EDT 2020
On Sat, Aug 29, 2020 at 03:44:37PM +0800, Qu Wenruo wrote:
> Recently built a v5.9-rc2 kernel, it boots fine, but unable to load any
> kernel module.
>
> After some debugging, it shows that it's due to RWX check failure:
>
> load_module: start
> module_enforce_rwx_sections: index=22 sh_flags=0x7 shf_wx=0x5
> layout_and_allocate: module enforce rwx sections
> load_module: failed to alloc layout and allocate
> load_module: end
May well be related to:
https://lore.kernel.org/r/20200831094651.GA16385@linux-8ccs
Will
More information about the linux-arm-kernel
mailing list