Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for validation of cpu vulnerabilities #114

Closed
artem-sidorenko opened this issue May 15, 2019 · 5 comments · Fixed by #138
Closed

Support for validation of cpu vulnerabilities #114

artem-sidorenko opened this issue May 15, 2019 · 5 comments · Fixed by #138

Comments

@artem-sidorenko
Copy link
Member

Is your feature request related to a problem? Please describe.

There are several CPU vulnerabilities, where the fixes expose via sysfs the state of protection. E.g. /sys/devices/system/cpu/vulnerabilities/mds for new MDS vulnerability.

Describe the solution you'd like

This baseline should include the validation of this options.

@artem-sidorenko
Copy link
Member Author

@chris-rock @atomic111 @rndmh3ro @mcgege opinions on this?

@chris-rock
Copy link
Member

+1 on that

@mcgege
Copy link
Member

mcgege commented May 15, 2019

+1 good idea!

@rndmh3ro
Copy link
Member

I also like the idea!

Should be as easy as searching for "Vulnerable" on all files in the folder:

root:~$ grep . /sys/devices/system/cpu/vulnerabilities/*
/sys/devices/system/cpu/vulnerabilities/l1tf:Mitigation: PTE Inversion
/sys/devices/system/cpu/vulnerabilities/mds:Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown
/sys/devices/system/cpu/vulnerabilities/meltdown:Mitigation: PTI
/sys/devices/system/cpu/vulnerabilities/spec_store_bypass:Vulnerable
/sys/devices/system/cpu/vulnerabilities/spectre_v1:Mitigation: __user pointer sanitization
/sys/devices/system/cpu/vulnerabilities/spectre_v2:Mitigation: Full generic retpoline, IBPB: conditional, IBRS_FW, STIBP: disabled, RSB filling

@atomic111
Copy link
Member

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants