Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(385)

Issue 3328013: Change ROM hash calculation to trust FMAP (Closed)

Created:
10 years, 3 months ago by Hung-Te
Modified:
9 years, 7 months ago
Reviewers:
Randall Spangler
CC:
chromium-os-reviews_chromium.org, sosa+cc_chromium.org, seano+cc_chromium.org, ericli, petkov+cc_chromium.org
Visibility:
Public.

Description

Change ROM hash calculation to trust FMAP Allowing the FMAP to override our default layout may be an exploit here, because vendor can provide fake (non-used) GBB/BSTUB in unused area. However since the flash memory layout may change, we need to trust FMAP. BUG=chrome-os-partner:920 TEST=none Change-Id: Icabd2febb04930a024ef5800ee09e3436de724ab

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -3 lines) Patch
M client/site_tests/hardware_Components/hardware_Components.py View 1 chunk +5 lines, -3 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Hung-Te
10 years, 3 months ago (2010-09-09 11:53:41 UTC) #1
Randall Spangler
LGTM The actual BIOS could read its data from somewhere different than the FMAP even ...
10 years, 3 months ago (2010-09-09 22:22:30 UTC) #2
Hung-Te
Hey Randall, I just got some other idea. What about putting the offsets and sizes ...
10 years, 3 months ago (2010-09-10 12:12:44 UTC) #3
Randall
Hi Hung-te, On Fri, Sep 10, 2010 at 5:12 AM, <hungte@chromium.org> wrote: > Hey Randall, ...
10 years, 3 months ago (2010-09-10 15:38:45 UTC) #4
Hung-Te
10 years, 3 months ago (2010-09-13 04:04:59 UTC) #5
On 2010/09/10 15:38:45, Randall wrote:
> Can you just add the FMAP itself to the hashed RO data?
   That would also limit the RW parts.
   Anyway we can do this first.

> How about storing a "read only hash version" along with the 
> raw hash?
   I just realized that there's no any hash values in component
   database yet, so we can simply push this change into ToT.

Powered by Google App Engine
This is Rietveld 408576698