mirror of
https://github.com/speed47/spectre-meltdown-checker.git
synced 2024-12-27 04:20:32 +01:00
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
This commit is contained in:
parent
b3b7f634e6
commit
0aa5857a76
@ -205,7 +205,12 @@ is_cpu_vulnerable()
|
|||||||
# model name : Genuine Intel(R) CPU N270 @ 1.60GHz
|
# 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 N270 @ 1.60GHz
|
||||||
# model name : Intel(R) Atom(TM) CPU 330 @ 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
|
variant1=vuln
|
||||||
[ -z "$variant2" ] && variant2=immune
|
[ -z "$variant2" ] && variant2=immune
|
||||||
[ -z "$variant3" ] && variant3=immune
|
[ -z "$variant3" ] && variant3=immune
|
||||||
|
Loading…
Reference in New Issue
Block a user