public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "H. Peter Anvin" <hpa@zytor.com>
To: Kees Cook <keescook@chromium.org>, Dave Young <dyoung@redhat.com>
Cc: LKML <linux-kernel@vger.kernel.org>
Subject: Re: kaslr should avoid setup_data region
Date: Thu, 24 Apr 2014 16:46:11 -0700	[thread overview]
Message-ID: <5359A243.9010606@zytor.com> (raw)
In-Reply-To: <CAGXu5jKaog6X+jw6Zh3iHSHS8KFUbLEHm75=HbVORJ-crpr7Fw@mail.gmail.com>

On 04/24/2014 03:50 PM, Kees Cook wrote:
> Ah, it sounds like boot_params.hdr.setup_data contains a series of
> e820-like entries chained together as a linked list? Which loaders
> currently populate that? Looks like EFI? Seems like
> arch/x86/boot/compressed/eboot.c works on setup_data at least.
> 
> I won't be in a position to test EFI booting for a while. If someone
> else took this, that would make it get fixed much faster.
> 
> Do you have examples where this is actually causing failures?
> 
> -Kees

Syslinux can populate it with arbitrary data; in particular Syslinux
uses it to pass FDT information if requested.

	-hpa



  reply	other threads:[~2014-04-24 23:46 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-24  2:35 kaslr should avoid setup_data region Dave Young
2014-04-24  2:43 ` Kees Cook
2014-04-24  2:50   ` Dave Young
2014-04-24 22:50     ` Kees Cook
2014-04-24 23:46       ` H. Peter Anvin [this message]
2014-04-25  9:44       ` Dave Young
2014-05-05  8:58       ` Dave Young
2014-05-08  9:46       ` Dave Young
2014-05-08 19:31         ` Kees Cook
2014-05-09  3:21           ` Dave Young

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5359A243.9010606@zytor.com \
    --to=hpa@zytor.com \
    --cc=dyoung@redhat.com \
    --cc=keescook@chromium.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox