Scott Wood
558b523d46
x86/ima: Check EFI_RUNTIME_SERVICES before using
...
Checking efi_enabled(EFI_BOOT) is not sufficient to ensure that
EFI runtime services are available, e.g. if efi=noruntime is used.
Without this, I get an oops on a PREEMPT_RT kernel where efi=noruntime is
the default.
Fixes: 399574c64eaf94e8 ("x86/ima: retry detecting secure boot mode")
Cc: stable@vger.kernel.org (linux-5.0)
Signed-off-by: Scott Wood <swood@redhat.com>
Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
2019-05-19 20:27:12 -04:00
..
2019-05-07 13:01:40 -07:00
2019-05-06 15:32:35 -07:00
2019-05-15 08:46:44 -07:00
2019-05-06 09:49:40 +02:00
2019-05-08 13:13:58 +02:00
2019-04-30 12:38:01 +02:00
2019-04-08 17:52:46 +02:00
2018-11-07 21:36:09 +01:00
2019-03-23 12:11:49 +01:00
2018-09-15 10:16:25 +02:00
2018-07-20 01:11:36 +02:00
2019-04-17 15:37:02 +02:00
2018-12-08 12:24:35 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-11-23 07:59:59 +01:00
2018-03-27 12:01:48 +02:00
2017-11-02 11:10:55 +01:00
2018-12-03 10:49:13 +01:00
2019-04-05 13:18:38 +02:00
2018-11-23 07:59:59 +01:00
2017-12-17 13:59:55 +01:00
2019-04-17 15:24:18 +02:00
2019-04-17 15:27:10 +02:00
2018-09-06 14:33:12 +02:00
2019-04-30 21:49:46 +02:00
2019-02-04 08:27:30 +01:00
2019-04-01 10:29:32 -07:00
2017-11-02 11:10:55 +01:00
2018-09-11 23:36:50 +02:00
2018-04-09 18:27:33 +02:00
2019-05-10 12:33:09 -04:00
2019-05-10 12:33:09 -04:00
2019-05-15 16:05:47 -07:00
2018-11-20 09:43:10 +01:00
2018-11-20 09:43:10 +01:00
2018-07-20 01:11:41 +02:00
2019-04-17 15:37:02 +02:00
2019-03-21 12:24:38 +01:00
2019-03-22 17:08:17 +01:00
2018-04-27 16:44:29 +02:00
2017-11-02 11:10:55 +01:00
2018-08-05 09:53:13 +02:00
2019-04-17 15:01:09 +02:00
2019-05-19 20:27:12 -04:00
2017-11-02 11:10:55 +01:00
2018-04-02 20:16:12 +02:00
2019-04-17 15:31:42 +02:00
2019-04-17 15:41:48 +02:00
2017-11-02 11:10:55 +01:00
2018-08-05 09:53:13 +02:00
2018-07-03 10:56:27 +02:00
2019-04-17 15:31:42 +02:00
2017-12-12 11:32:24 +01:00
2018-11-23 07:59:59 +01:00
2019-04-30 12:37:55 +02:00
2017-07-18 11:37:58 +02:00
2019-03-10 17:32:04 -07:00
2019-04-30 12:37:53 +02:00
2018-06-12 16:19:22 -07:00
2019-04-19 17:58:57 +02:00
2019-02-20 22:48:52 +01:00
2019-04-08 12:13:34 +02:00
2018-07-30 13:53:48 +02:00
2019-01-11 16:09:25 +01:00
2019-05-18 11:49:57 +09:00
2017-11-02 11:10:55 +01:00
2019-04-30 12:37:55 +02:00
2019-03-19 12:10:56 +01:00
2018-10-29 07:13:28 +01:00
2017-11-02 11:10:55 +01:00
2019-05-14 07:57:29 -07:00
2018-10-30 09:55:31 +01:00
2018-10-30 09:55:31 +01:00
2018-09-03 16:50:35 +02:00
2019-04-08 12:13:34 +02:00
2018-12-06 06:56:46 -08:00
2019-04-08 17:52:46 +02:00
2018-08-02 14:33:19 +02:00
2018-12-13 21:06:17 +01:00
2018-07-24 09:46:42 +02:00
2019-04-16 12:19:36 +02:00
2018-04-27 16:44:29 +02:00
2017-11-07 15:35:57 +01:00
2017-11-02 11:10:55 +01:00
2019-05-07 10:24:10 -07:00
2019-05-07 10:24:10 -07:00
2019-05-07 10:24:10 -07:00
2018-12-06 11:49:15 +01:00
2018-12-18 14:26:09 +01:00
2018-10-31 08:54:16 -07:00
2018-11-23 07:59:59 +01:00
2017-11-02 11:10:55 +01:00
2019-05-06 15:32:35 -07:00
2018-01-31 08:39:40 +01:00
2017-11-02 11:10:55 +01:00
2018-05-19 14:03:14 +02:00
2019-04-17 15:37:02 +02:00
2019-05-06 16:11:45 -07:00
2018-04-25 10:40:56 -05:00
2019-05-07 10:24:10 -07:00
2018-08-05 09:53:13 +02:00
2019-05-06 16:33:06 -07:00
2019-04-29 12:37:57 +02:00
2017-11-02 11:10:55 +01:00
2018-11-01 12:59:25 +01:00
2018-12-08 12:24:35 +01:00
2018-11-12 14:22:56 +01:00
2018-10-31 08:54:16 -07:00
2018-10-23 19:07:25 +01:00
2017-12-23 21:13:01 +01:00
2019-04-19 19:42:57 +02:00
2017-11-02 11:10:55 +01:00
2018-12-08 12:24:35 +01:00
2019-05-16 09:05:11 +02:00
2018-10-02 10:14:32 +02:00
2017-11-13 19:07:38 -08:00
2019-05-10 12:20:36 +02:00
2018-09-21 15:30:54 +02:00
2019-03-06 23:03:26 +01:00
2017-07-26 13:18:20 +02:00
2019-03-06 23:03:26 +01:00
2019-01-26 11:19:13 +01:00
2017-09-28 09:39:03 +02:00
2019-04-08 12:13:34 +02:00
2019-05-06 16:13:31 -07:00
2018-11-06 21:35:11 +01:00
2018-10-10 10:44:22 +02:00