diff options
| author | Boris Ostrovsky <[email protected]> | 2025-03-27 23:05:02 +0000 |
|---|---|---|
| committer | Borislav Petkov (AMD) <[email protected]> | 2025-03-28 11:49:02 +0000 |
| commit | 31ab12df723543047c3fc19cb8f8c4498ec6267f (patch) | |
| tree | 3aeda4f014d6f52ec82ed069deec34fb16e3e962 /lib/vsprintf.c | |
| parent | x86/mm/pat: Fix VM_PAT handling when fork() fails in copy_page_range() (diff) | |
| download | kernel-31ab12df723543047c3fc19cb8f8c4498ec6267f.tar.gz kernel-31ab12df723543047c3fc19cb8f8c4498ec6267f.zip | |
x86/microcode/AMD: Fix __apply_microcode_amd()'s return value
When verify_sha256_digest() fails, __apply_microcode_amd() should propagate
the failure by returning false (and not -1 which is promoted to true).
Fixes: 50cef76d5cb0 ("x86/microcode/AMD: Load only SHA256-checksummed patches")
Signed-off-by: Boris Ostrovsky <[email protected]>
Signed-off-by: Borislav Petkov (AMD) <[email protected]>
Cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/vsprintf.c')
0 files changed, 0 insertions, 0 deletions
