mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Reg : Spectre & Meltdown
       [not found] ` <MA1PR0101MB1189DC9B8899A77FBAED00FEECEB0@MA1PR0101MB1189.INDPRD01.PROD.OUTLOOK.COM>
@ 2018-01-15 21:14   ` Mohammed Azfar
  2018-01-15 21:17     ` David Lang
  0 siblings, 1 reply; 5+ messages in thread
From: Mohammed Azfar @ 2018-01-15 21:14 UTC (permalink / raw)
  To: kernelnewbies, linux-kernel

Hi Team

please share your suggestions about this.

I tired an online tool to check the vulnerability of spectre and meltdown, this is after upgrading 4.4.111-1 kernel version in centos 7. But its still showing in vulnerable state, im running this script in AWS instance.  Please advice me.

Script : https://raw.githubusercontent.com/speed47/spectre-meltdown-checker/master/spectre-meltdown-checker.sh

Output : 

Spectre and Meltdown mitigation detection tool v0.24


Checking for vulnerabilities against live running kernel Linux 4.4.111-1.el7.elrepo.x86_64 #1 SMP Wed Jan 10 13:12:02 EST 2018 x86_64


CVE-2017-5753 [bounds check bypass] aka 'Spectre Variant 1'
* Checking count of LFENCE opcodes in kernel:  NO  (only 35 opcodes found, should be >= 70)
> STATUS:  VULNERABLE  (heuristic to be improved when official patches become available)


CVE-2017-5715 [branch target injection] aka 'Spectre Variant 2'
* Mitigation 1
*   Hardware (CPU microcode) support for mitigation:  YES
*   Kernel support for IBRS:  NO
*   IBRS enabled for Kernel space:  NO
*   IBRS enabled for User space:  NO
* Mitigation 2
*   Kernel compiled with retpoline option:  NO
*   Kernel compiled with a retpoline-aware compiler:  NO
> STATUS:  VULNERABLE  (IBRS hardware + kernel support OR kernel with retpoline are needed to mitigate the vulnerability)


CVE-2017-5754 [rogue data cache load] aka 'Meltdown' aka 'Variant 3'
* Kernel supports Page Table Isolation (PTI):  YES
* PTI enabled and active:  YES
> STATUS:  NOT VULNERABLE  (PTI mitigates the vulnerability)


A false sense of security is worse than no security at all, see --disclaimer


--
Thanks


Mohammed Azfar

        

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Reg : Spectre & Meltdown
  2018-01-15 21:14   ` Reg : Spectre & Meltdown Mohammed Azfar
@ 2018-01-15 21:17     ` David Lang
  2018-01-15 23:57       ` Akemi Yagi
  0 siblings, 1 reply; 5+ messages in thread
From: David Lang @ 2018-01-15 21:17 UTC (permalink / raw)
  To: Mohammed Azfar; +Cc: kernelnewbies, linux-kernel

you are running a RedHat kernel, you will have to ask them about what they have 
included in it.
k

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Reg : Spectre & Meltdown
  2018-01-15 21:17     ` David Lang
@ 2018-01-15 23:57       ` Akemi Yagi
  2018-01-16  0:50         ` David Lang
  0 siblings, 1 reply; 5+ messages in thread
From: Akemi Yagi @ 2018-01-15 23:57 UTC (permalink / raw)
  To: linux-kernel

On Mon, 15 Jan 2018 13:17:17 -0800, David Lang wrote:

> you are running a RedHat kernel, you will have to ask them about what they have 
> included in it.
> k

I see that he OP is running kernel 4.4.111 as provided by ELRepo 
( http://elrepo.org/tiki/kernel-ml ).

Mohammed, try updating the microcode by downloading the latest file 
from Intel. That should take care of the issue.

Akemi

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Reg : Spectre & Meltdown
  2018-01-15 23:57       ` Akemi Yagi
@ 2018-01-16  0:50         ` David Lang
  2018-01-16  1:05           ` Akemi Yagi
  0 siblings, 1 reply; 5+ messages in thread
From: David Lang @ 2018-01-16  0:50 UTC (permalink / raw)
  To: Akemi Yagi; +Cc: linux-kernel

the 4.4.112 patches that Greg just posted include a bunch of work for these 
vulnerabilities.

Who knows what has been backported to the kernel he is running.
k

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Reg : Spectre & Meltdown
  2018-01-16  0:50         ` David Lang
@ 2018-01-16  1:05           ` Akemi Yagi
  0 siblings, 0 replies; 5+ messages in thread
From: Akemi Yagi @ 2018-01-16  1:05 UTC (permalink / raw)
  To: David Lang; +Cc: linux-kernel

On Mon, Jan 15, 2018 at 4:50 PM, David Lang <david@lang.hm> wrote:
> the 4.4.112 patches that Greg just posted include a bunch of work for these
> vulnerabilities.
>
> Who knows what has been backported to the kernel he is running.
> k

In RHEL (therefore CentOS), microcode comes from the microcode_ctl
package which is currently at 2.1-22.2.el7. If you get the latest from
Intel ( https://downloadcenter.intel.com/download/27431/Linux-Processor-Microcode-Data-File
), that will update the microcode on your system to "date =
2017-11-20". As far as I can see, that changes the test result of
'Spectre Variant 2' from vuln to Not vuln.

Akemi

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-01-16  1:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <MA1PR0101MB118900C3BC708AE48A0F305FEC110@MA1PR0101MB1189.INDPRD01.PROD.OUTLOOK.COM>
     [not found] ` <MA1PR0101MB1189DC9B8899A77FBAED00FEECEB0@MA1PR0101MB1189.INDPRD01.PROD.OUTLOOK.COM>
2018-01-15 21:14   ` Reg : Spectre & Meltdown Mohammed Azfar
2018-01-15 21:17     ` David Lang
2018-01-15 23:57       ` Akemi Yagi
2018-01-16  0:50         ` David Lang
2018-01-16  1:05           ` Akemi Yagi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome