mirror of
				https://github.com/speed47/spectre-meltdown-checker.git
				synced 2025-10-31 20:50:55 +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:
		| @@ -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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user