lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Tue, 9 Nov 2021 14:24:45 +0800
From:   Joey Jiao <joey.jiaojg@...il.com>
To:     LKML <linux-kernel@...r.kernel.org>
Subject: How to load kernel modules into fixed addresses?

Hi,
The userspace uses modprobe to load multiple kernel modules in the way like
```
for i in $(cat module.list); do
modprobe $i &
done
```

And everytime, I reboot the device (verified on arm64 devices), `cat
/proc/modules` shows different loading addresses even if kaslr
disabled. Also tried to remove the & from the modprobe command.

So the question is for testing purposes, any steps to follow to make
sure each module.ko is loaded into a fixed address (especially any
kernel space code or config change)?

Thanks

-- 
-Joey Jiao

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ