Improve CET tests
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest8 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | x86: cet: Pass virtual addresses to invlpgx86/ | +1 | 0 replies | |
| 2/8 | x86: cet: Remove unnecessary memory zeroing for shadow stackx86/ | +1 | 0 replies | |
| 3/8 | x86: cet: Directly check for #CP exception in run_in_user()x86/ | +4 | 0 replies | |
| 4/8 | x86: cet: Validate #CP error codelib/ x86/ | +6 | 0 replies | |
| 5/8 | x86: cet: Use report_skip()x86/ | +2 | 0 replies | |
| 6/8 | x86: cet: Drop unnecessary castingx86/ | +2 | 0 replies | |
| 7/8 | x86: cet: Validate writing unaligned values to SSP MSR causes #GPx86/ | +5 | 0 replies | |
| 8/8 | x86: cet: Validate CET states during VMX transitionslib/ x86/ x86/ +1 more | +95 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [kvm-unit-tests PATCH v1 0/8] Improve CET tests
Fix a bug in the current CET tests (the first patch) and do some cleanups and add more tests for CET nested support.
New CET tests reveal that consistency checks are missing for CET states during nested VM-entry [*]
*: https://lore.kernel.org/kvm/[email protected]/
Chao Gao (7):
x86: cet: Remove unnecessary memory zeroing for shadow stack
x86: cet: Directly check for #CP exception in run_in_user()
x86: cet: Validate #CP error code
x86: cet: Use report_skip()
x86: cet: Drop unnecessary casting
x86: cet: Validate writing unaligned values to SSP MSR causes #GP
x86: cet: Validate CET states during VMX transitions
Yang Weijiang (1):
x86: cet: Fix parameter issue when flush TLBs for shadow stack
lib/x86/msr.h | 1 + lib/x86/usermode.c | 4 +++ x86/cet.c | 43 ++++++++---------------- x86/unittests.cfg | 7 ++++ x86/vmx.h | 8 +++-- x86/vmx_tests.c | 81 ++++++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 112 insertions(+), 32 deletions(-)
base-commit: 695740795adee59b48599e2f1a6bf19866a77779
Signature · 1 line
2.47.1