Borislav Petkov
78cac48c04
x86/mm/KASLR: Propagate KASLR status to kernel proper
...
Commit:
e2b32e6785 ("x86, kaslr: randomize module base load address")
made module base address randomization unconditional and didn't regard
disabled KKASLR due to CONFIG_HIBERNATION and command line option
"nokaslr". For more info see (now reverted) commit:
f47233c2d3 ("x86/mm/ASLR: Propagate base load address calculation")
In order to propagate KASLR status to kernel proper, we need a single bit
in boot_params.hdr.loadflags and we've chosen bit 1 thus leaving the
top-down allocated bits for bits supposed to be used by the bootloader.
Originally-From: Jiri Kosina <jkosina@suse.cz >
Suggested-by: H. Peter Anvin <hpa@zytor.com >
Signed-off-by: Borislav Petkov <bp@suse.de >
Cc: Kees Cook <keescook@chromium.org >
Signed-off-by: Ingo Molnar <mingo@kernel.org >
2015-04-03 15:26:15 +02:00
..
2015-03-12 12:07:13 +01:00
2015-03-12 16:58:59 +01:00
2015-04-03 08:30:44 +02:00
2015-03-23 11:14:17 +01:00
2015-03-23 11:14:17 +01:00
2014-06-04 16:53:57 -07:00
2014-10-20 14:18:45 +02:00
2014-12-23 10:43:35 +01:00
2014-05-23 10:47:19 -06:00
2014-11-12 21:17:27 +01:00
2015-03-17 09:25:29 +01:00
2015-03-06 08:32:58 +01:00
2013-09-25 14:07:57 +02:00
2014-12-13 12:42:51 -08:00
2014-01-21 16:19:47 -08:00
2014-10-17 13:40:51 -07:00
2012-03-20 21:48:15 +08:00
2015-03-23 11:14:17 +01:00
2014-06-21 23:05:44 +02:00
2014-01-06 21:25:18 -08:00
2015-03-23 11:14:17 +01:00
2014-11-23 13:56:19 -08:00
2015-03-23 11:14:17 +01:00
2015-01-23 16:14:27 +01:00
2015-02-02 10:11:27 -08:00
2014-09-24 14:47:39 +02:00
2015-04-03 08:30:44 +02:00
2015-04-02 12:00:10 +02:00
2014-11-11 17:57:46 +01:00
2015-01-20 11:38:33 +10:30
2015-02-04 12:10:42 +01:00
2015-02-16 14:58:12 -08:00
2015-02-19 10:05:04 +01:00
2015-03-07 11:12:43 +01:00
2013-02-27 13:38:57 -08:00
2015-02-12 18:54:13 -08:00
2014-12-03 15:14:30 +01:00
2013-09-25 14:23:07 +02:00
2015-03-23 11:14:17 +01:00
2011-07-01 10:37:14 +02:00
2014-10-28 12:01:08 +01:00
2015-03-06 08:32:58 +01:00
2014-09-19 13:08:43 +02:00
2015-03-23 11:14:17 +01:00
2015-03-23 11:14:17 +01:00
2014-09-13 18:38:29 +02:00
2015-02-18 15:01:42 +01:00
2014-12-16 14:08:16 +01:00
2013-10-19 19:45:35 -04:00
2012-07-26 15:07:20 +02:00
2014-10-14 02:18:21 +02:00
2015-03-23 11:14:17 +01:00
2014-01-03 14:37:13 +00:00
2015-02-18 14:53:49 +01:00
2014-12-10 12:49:39 +01:00
2014-05-21 10:22:59 -07:00
2014-12-22 15:40:49 +01:00
2014-12-16 14:08:17 +01:00
2014-12-16 14:08:17 +01:00
2015-03-04 06:35:43 +01:00
2014-12-01 14:08:58 -05:00
2013-07-14 19:36:56 -04:00
2015-04-03 15:26:15 +02:00
2014-07-31 08:05:42 -07:00
2014-10-17 13:40:55 -07:00
2012-06-20 14:23:17 +02:00
2014-04-24 10:26:38 +02:00
2014-07-28 15:25:40 -07:00
2013-08-09 07:54:00 -07:00
2014-04-24 10:02:58 +02:00
2014-04-10 19:51:32 -07:00
2014-06-04 16:53:57 -07:00
2014-01-06 21:25:18 -08:00
2014-06-04 16:53:57 -07:00
2015-03-10 13:56:10 +01:00
2015-01-20 12:50:14 +01:00
2012-09-05 10:52:25 +02:00
2015-03-24 19:42:38 +01:00
2015-03-24 19:42:38 +01:00
2015-03-17 09:25:27 +01:00
2015-03-23 11:14:17 +01:00
2013-11-06 09:49:02 +02:00
2014-09-15 17:53:35 -07:00
2014-12-16 14:08:17 +01:00
2015-03-07 11:12:43 +01:00
2015-04-01 13:17:39 +02:00
2014-07-16 12:29:36 -06:00
2015-02-12 18:54:13 -08:00
2014-11-04 20:13:28 +01:00
2015-04-03 15:26:15 +02:00
2015-03-23 08:52:46 +01:00
2014-05-05 16:07:44 -07:00
2015-04-02 12:06:41 +02:00
2011-06-14 22:48:51 -04:00
2013-01-22 10:08:00 -08:00
2013-08-22 10:19:35 -07:00
2015-03-04 06:16:21 +01:00
2013-08-06 14:20:18 -07:00
2013-08-02 16:17:47 -07:00
2014-10-17 13:40:52 -07:00
2014-10-17 13:40:52 -07:00
2013-07-31 14:25:51 +02:00
2012-03-28 18:11:12 +01:00
2012-04-20 13:51:38 -07:00
2015-03-23 11:14:17 +01:00
2015-01-22 21:45:07 +01:00
2013-09-30 19:55:51 +02:00
2012-11-13 15:48:27 -05:00
2013-07-16 15:14:48 -07:00
2015-03-31 11:45:19 +02:00
2014-02-19 17:12:24 +01:00
2014-01-06 21:25:18 -08:00
2015-01-23 10:53:52 +01:00
2015-03-23 11:14:17 +01:00
2015-03-06 08:32:58 +01:00
2014-11-04 20:43:14 +01:00
2014-08-01 15:09:45 -07:00
2014-11-10 10:46:35 +01:00
2011-08-10 19:26:46 -05:00
2014-07-23 15:01:53 -07:00
2011-08-04 16:13:53 -07:00
2014-11-11 15:14:30 -07:00
2015-02-13 21:21:41 -08:00
2015-03-13 12:44:28 +01:00