diff options
| author | David Kaplan <[email protected]> | 2025-06-25 15:58:05 +0000 |
|---|---|---|
| committer | Borislav Petkov (AMD) <[email protected]> | 2025-06-26 11:32:31 +0000 |
| commit | 98b5dab4d22181c931f2bf63c060416badbb49ab (patch) | |
| tree | 8837530b7a6d4f0c0286f50a55b476a7ae7b7eea /net/unix/af_unix.c | |
| parent | x86/bugs: Use IBPB for retbleed if used by SRSO (diff) | |
| download | kernel-98b5dab4d22181c931f2bf63c060416badbb49ab.tar.gz kernel-98b5dab4d22181c931f2bf63c060416badbb49ab.zip | |
x86/bugs: Clean up SRSO microcode handling
SRSO microcode only exists for Zen3/Zen4 CPUs. For those CPUs, the microcode
is required for any mitigation other than Safe-RET to be effective. Safe-RET
can still protect user->kernel and guest->host attacks without microcode.
Clarify this in the code and ensure that SRSO_MITIGATION_UCODE_NEEDED is
selected for any mitigation besides Safe-RET if the required microcode isn't
present.
Signed-off-by: David Kaplan <[email protected]>
Signed-off-by: Borislav Petkov (AMD) <[email protected]>
Link: https://lore.kernel.org/[email protected]
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
