aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStéphane Lesimple <speed47_github@speed47.net>2018-01-21 13:28:42 +0100
committerStéphane Lesimple <speed47_github@speed47.net>2018-01-21 16:13:17 +0100
commit0aa5857a76abb624b1186496c00d431ec0ffeca3 (patch)
tree894858de389cc9ae23b42c96bff7898c67183185
parentb3b7f634e69523fb26f699510d5df30670e9877f (diff)
downloadspectre-meltdown-checker-0aa5857a76abb624b1186496c00d431ec0ffeca3.tar.lz
spectre-meltdown-checker-0aa5857a76abb624b1186496c00d431ec0ffeca3.tar.xz
spectre-meltdown-checker-0aa5857a76abb624b1186496c00d431ec0ffeca3.zip
fix(cpu): Pentium Exxxx series are not vulnerable
Pentium E series are not in the vulnerable list from Intel, and Spectre2 PoC reportedly doesn't work on an E5200
-rwxr-xr-xspectre-meltdown-checker.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/spectre-meltdown-checker.sh b/spectre-meltdown-checker.sh
index 9cf78df..6077d3e 100755
--- a/spectre-meltdown-checker.sh
+++ b/spectre-meltdown-checker.sh
@@ -205,7 +205,12 @@ is_cpu_vulnerable()
# model name : Genuine Intel(R) CPU N270 @ 1.60GHz
# model name : Intel(R) Atom(TM) CPU N270 @ 1.60GHz
# model name : Intel(R) Atom(TM) CPU 330 @ 1.60GHz
- if grep -qE '^model name.+ Intel\(R\) (Atom\(TM\) CPU +(S|D|N|230|330)|CPU N[0-9]{3} )' /proc/cpuinfo; then
+ #
+ # https://github.com/crozone/SpectrePoC/issues/1 ^F E5200:
+ # model name : Pentium(R) Dual-Core CPU E5200 @ 2.50GHz
+ if grep -qE -e '^model name.+ Intel\(R\) (Atom\(TM\) CPU +(S|D|N|230|330)|CPU N[0-9]{3} )' \
+ -e '^model name.+ Pentium\(R\) Dual-Core[[:space:]]+CPU[[:space:]]+E[0-9]{4}K? ' \
+ /proc/cpuinfo; then
variant1=vuln
[ -z "$variant2" ] && variant2=immune
[ -z "$variant3" ] && variant3=immune