tabanKG@linux-shua:~> uname -r
4.4.120-45-default
tabanKG@linux-shua:~> git clone *github.com/speed47/spectre-meltdown-checker.git
Cloning into 'spectre-meltdown-checker'...
remote: Counting objects: 652, done.
remote: Compressing objects: 100% (17/17), done.
remote: Total 652 (delta 15), reused 16 (delta 7), pack-reused 628
Receiving objects: 100% (652/652), 263.27 KiB | 302.00 KiB/s, done.
Resolving deltas: 100% (398/398), done.
tabanKG@linux-shua:~> ls
bin IBM LOGOS spectre-meltdown-checker
DELL INDIAN-RAILWAYS man Templates
Desktop Indian-Railways-VIDEOS Music Videos
Documents jEdit Pictures
Downloads LEARN-Videos Public
Hot-Spot Linux-Tools public_html
tabanKG@linux-shua:~> su
Password:
linux-shua:/home/tabanKG # chmod 777 spectre-meltdown-checker/
linux-shua:/home/tabanKG # ls
.adobe .e .inputrc Public
.bash_history .elementary jEdit public_html
.bashrc .emacs .kde4 spectre-meltdown-checker
bin .esd_auth LEARN-Videos Templates
.cache .fonts Linux-Tools .themes
.cinnamon .gnu-emacs .local .thunderbird
.claws-mail .gtkrc-2.0 LOGOS .urlview
.config Hot-Spot .macromedia Videos
.dbus .hplip man .Xauthority
DELL .i18n .mozilla .xim.template
Desktop IBM .mplayer .xinitrc.template
.dmrc .ICEauthority Music .xsession-errors
Documents .icons .muttrc .xsession-errors-:0
Downloads INDIAN-RAILWAYS Pictures .xsession-errors.old
.dvipsrc Indian-Railways-VIDEOS .profile
linux-shua:/home/tabanKG # cd spectre-meltdown-checker/ls
bash: cd: spectre-meltdown-checker/ls: No such file or directory
linux-shua:/home/tabanKG # cd spectre-meltdown-checker/
linux-shua:/home/tabanKG/spectre-meltdown-checker # ls
.git LICENSE README.md spectre-meltdown-checker.sh
linux-shua:/home/tabanKG/spectre-meltdown-checker # chmod 777 *
linux-shua:/home/tabanKG/spectre-meltdown-checker # ls
.git LICENSE README.md spectre-meltdown-checker.sh
linux-shua:/home/tabanKG/spectre-meltdown-checker # ls -ltr
total 116
-rwxrwxrwx 1 tabanKG users 69078 Mar 22 07:24 spectre-meltdown-checker.sh
-rwxrwxrwx 1 tabanKG users 4346 Mar 22 07:24 README.md
-rwxrwxrwx 1 tabanKG users 35147 Mar 22 07:24 LICENSE
drwxr-xr-x 8 tabanKG users 4096 Mar 22 07:24 .git
linux-shua:/home/tabanKG/spectre-meltdown-checker # ./spectre-meltdown-checker.sh
Spectre and Meltdown mitigation detection tool v0.35
Checking for vulnerabilities on current system
Kernel is Linux 4.4.120-45-default #1 SMP Wed Mar 14 20:51:49 UTC 2018 (623211f) x86_64
CPU is Intel(R) Core(TM) i5-4210U CPU @ 1.70GHz
Hardware check
* Hardware support (CPU microcode) for mitigation techniques
* Indirect Branch Restricted Speculation (IBRS)
* SPEC_CTRL MSR is available: YES
* CPU indicates IBRS capability: YES (SPEC_CTRL feature bit)
* Indirect Branch Prediction Barrier (IBPB)
* PRED_CMD MSR is available: YES
* CPU indicates IBPB capability: YES (SPEC_CTRL feature bit)
* Single Thread Indirect Branch Predictors (STIBP)
* SPEC_CTRL MSR is available: YES
* CPU indicates STIBP capability: YES
* Enhanced IBRS (IBRS_ALL)
* CPU indicates ARCH_CAPABILITIES MSR availability: NO
* ARCH_CAPABILITIES MSR advertises IBRS_ALL capability: NO
* CPU explicitly indicates not being vulnerable to Meltdown (RDCL_NO): NO
* CPU microcode is known to cause stability problems: NO (model 69 stepping 1 ucode 0x23)
* CPU vulnerability to the three speculative execution attacks variants
* Vulnerable to Variant 1: YES
* Vulnerable to Variant 2: YES
* Vulnerable to Variant 3: YES
CVE-2017-5753 [bounds check bypass] aka 'Spectre Variant 1'
* Mitigated according to the /sys interface: YES (kernel confirms that the mitigation is active)
* Kernel has array_index_mask_nospec: YES (1 occurence(s) found of 64 bits array_index_mask_nospec())
* Kernel has the Red Hat/Ubuntu patch: NO
> STATUS: NOT VULNERABLE (Mitigation: __user pointer sanitization)
CVE-2017-5715 [branch target injection] aka 'Spectre Variant 2'
* Mitigated according to the /sys interface: YES (kernel confirms that the mitigation is active)
* Mitigation 1
* Kernel is compiled with IBRS/IBPB support: YES
* Currently enabled features
* IBRS enabled for Kernel space: UNKNOWN
* IBRS enabled for User space: UNKNOWN
* IBPB enabled: UNKNOWN
* Mitigation 2
* Kernel compiled with retpoline option: YES
* Kernel compiled with a retpoline-aware compiler: YES (kernel reports full retpoline compilation)
> STATUS: NOT VULNERABLE (Mitigation: Full generic retpoline + IBPB - vulnerable module loaded)
CVE-2017-5754 [rogue data cache load] aka 'Meltdown' aka 'Variant 3'
* Mitigated according to the /sys interface: YES (kernel confirms that the mitigation is active)
* Kernel supports Page Table Isolation (PTI): YES
* PTI enabled and active: YES
* Running as a Xen PV DomU: NO
> STATUS: NOT VULNERABLE (Mitigation: PTI)
A false sense of security is worse than no security at all, see --disclaimer
linux-shua:/home/tabanKG/spectre-meltdown-checker #