[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <49D65700.5060202@zytor.com>
Date: Fri, 03 Apr 2009 11:35:44 -0700
From: "H. Peter Anvin" <hpa@...or.com>
To: Andreas Robinson <andr345@...il.com>
CC: John Stoffel <john@...ffel.org>, Alain Knaff <alain@...ff.lu>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/2] lib: add fast lzo decompressor
Andreas Robinson wrote:
>
> The kernel and initramfs images are implicitly trusted, but that is not
> unique to this implementation. None of the decompressors check the data
> e.g by comparing checksums, AFAICT.
>
That's not true. At least the gzip decompressor definitely checks the
resulting CRC32. Being a CRC32, it's a test against corruption, not
malicious injection, but if you have malicious injection problems this
can't help you anyway.
However, corruption problems can and do happen during boot, and it's
really important that we get some kind of useful notification.
-hpa
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists