Thread (5 messages) 5 messages, 3 authors, 2020-09-01

Re: [ARM64][GCC10] Kernel can't load any module due to RWX check

From: Will Deacon <will@kernel.org>
Date: 2020-09-01 12:54:42
Also in: linux-arm-kernel

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 (local)

Will
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help