I have a Lenovo laptop with a Intel Xeon E3-1200 v6/7th Gen Core Processor. It looks like I'm collecting vulnerabilities, lol. I used a guide to update my processors microcode as described here: https://wiki.gentoo.org/wiki/Intel_microcode. And after a reboot dmesg output says I have installed Intel microcode proper way:
Code: Select all
$ dmesg | grep microcode
[ 0.000000] microcode: microcode updated early to revision 0xd6, date = 2020-04-23
[ 0.575621] microcode: sig=0x906e9, pf=0x20, revision=0xd6
[ 0.576199] microcode: Microcode Update Driver: v2.2.
Code: Select all
$ lscpu | grep -i vulnerab
Vulnerability Itlb multihit: Processor vulnerable
Vulnerability L1tf: Mitigation; PTE Inversion
Vulnerability Mds: Mitigation; Clear CPU buffers; SMT vulnerable
Vulnerability Meltdown: Mitigation; PTI
Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp
Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Vulnerability Spectre v2: Mitigation; Full generic retpoline, IBPB conditional, IBRS_FW, STIBP conditional, RSB filling
Vulnerability Srbds: Mitigation; Microcode
Vulnerability Tsx async abort: Not affected
Code: Select all
$ dmesg | grep -iE '(spectre|mds|srbds)'
[ 0.100599] Spectre V1 : Mitigation: usercopy/swapgs barriers and __user pointer sanitization
[ 0.100601] Spectre V2 : Mitigation: Full generic retpoline
[ 0.100603] Spectre V2 : Spectre v2 / SpectreRSB mitigation: Filling RSB on context switch
[ 0.100604] Spectre V2 : Enabling Restricted Speculation for firmware calls
[ 0.100606] Spectre V2 : mitigation: Enabling conditional Indirect Branch Prediction Barrier
[ 0.100608] Spectre V2 : User space: Mitigation: STIBP via seccomp and prctl
[ 0.100617] SRBDS: Mitigation: Microcode
[ 0.100618] MDS: Mitigation: Clear CPU buffers
[ 0.109359] MDS CPU bug present and SMT on, data leak possible. See https://www.kernel.org/doc/html/latest/admin-guide/hw-vuln/mds.html for more details.
To summarize, I am interested in the question of how vulnerable my processor is. And Is there any complete guide to protection from such vulnerabilities?



