Re: [PATCH 5/8] x86, microcode, intel: don't use fields from unknown format header
From: Borislav Petkov
Date: Thu Jul 24 2014 - 12:29:30 EST
On Thu, Jul 24, 2014 at 12:07:40PM -0300, Henrique de Moraes Holschuh wrote:
> Suppose you have a box that takes ldrver 1 microcode, and Intel
> releases microcode for a new type of core that has a ldrver of 2, and
> it happens to not be the last one in the microcode collection sent by
> userspace (via the early initrd or /dev/cpu/microcode). We might well
> abort before we find the correct microcode update for that box.
And? The ldrver 2 header will enter microcode_sanity_check() and abort
there. A bit later. Same deal.
If you want to *skip* over ldrver 2 ucode headers but continue looping
over the ucode data, then you need to do more than that.
So what exactly are you trying to fix here?
--
Regards/Gruss,
Boris.
Sent from a fat crate under my desk. Formatting is fine.
--
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/