Skip to content
Commit 8a502ad8 authored by Adam Johnston's avatar Adam Johnston Committed by Vikas Katariya
Browse files

cassini-bsp: Fix issues loading kernel modules on Corstone-1000

With the Corstone-1000, the kernel module loader reports "Exec format
error" when loading any module when security features are enabled
(specifically kernel address randomization).

This impacts services which load kernel modules at runtime (containerd,
docker) and occurs because, with certain configuration options, there is
a mismatch between the number of PLTs for which the loader reserves
space and the number it tries to relocate later.

Patch the kernel module loader to fix the error

See kernel patch here:
- https://lore.kernel.org/linux-arm-kernel/20230801145409.8935-1-james.morse@arm.com



Changelog: bug
Signed-off-by: Adam Johnston's avatarAdam Johnston <adam.johnston@arm.com>
parent e03fa07b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment