linux-stable/arch/x86/kernel/cpu/microcode
Maciej S. Szmigiero 413c89154c x86/microcode/AMD: Check the equivalence table size when scanning it
Currently, the code scanning the CPU equivalence table read from a
microcode container file assumes that it actually contains a terminating
zero entry.

Check also the size of this table to make sure that no reads past its
end happen, in case there's no terminating zero entry at the end of the
table.

 [ bp: Adjust to new changes. ]

Signed-off-by: Maciej S. Szmigiero <mail@maciej.szmigiero.name>
Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: x86@kernel.org
Link: https://lkml.kernel.org/r/20181107170218.7596-16-bp@alien8.de
2018-11-19 10:55:12 +01:00
..
amd.c x86/microcode/AMD: Check the equivalence table size when scanning it 2018-11-19 10:55:12 +01:00
core.c x86/microcode: Make revision and processor flags world-readable 2018-09-02 14:09:13 +02:00
intel.c x86/microcode: Update the new microcode revision unconditionally 2018-09-02 14:10:54 +02:00
Makefile x86/microcode/intel: Remove intel_lib.c 2016-10-25 12:28:59 +02:00