How to check Linux for Spectre and Meltdown vulnerability?

Installation

The script must be run as root user. You can view the source code here. Use the wget command or curl command to grab the source code on your Linux box:

$ cd /tmp/
$ wget https://raw.githubusercontent.com/speed47/spectre-meltdown-checker/master/spectre-meltdown-checker.sh

OR

$ git clone https://github.com/speed47/spectre-meltdown-checker.git

How to check Linux for Spectre and Meltdown vulnerability

Run the script as root user using sudo command or su command:


$ sudo sh spectre-meltdown-checker.sh


Another output from my CentOS 7.x server where Meltdown/Spectre v1 was patched with Kernel:


$ sudo sh spectre-meltdown-checker.sh

 

Was this answer helpful? 0 Users Found This Useful (0 Votes)