Re: [PATCH] x86/microcode/AMD: check microcode file sanity before loading it

Maciej S. Szmigiero
2018-03-10T13:26:36Z

On 10.03.2018 14:12, Borislav Petkov wrote:
> On Sat, Mar 10, 2018 at 01:26:00PM +0100, Maciej S. Szmigiero wrote:
>> Without them, it is easy to crash the driver when just playing with
>> microcode files
>
> You're not supposed to play with the microcode files. If you do and
> something breaks, you get to keep the pieces.
>
> If the official microcode files have a problem, then I'm all ears.
> Anything else contrived which doesn't actually happen unless someone
> manipulates them is not an issue the microcode loader should protect
> against.
>

So, shall we remove data consistency checks of various root-only
syscalls then? :)

Maciej