All of lore.kernel.org
 help / color / mirror / Atom feed
From: zerons <zeronsaxm@gmail.com>
To: "kernel-hardening@lists.openwall.com"
	<kernel-hardening@lists.openwall.com>
Subject: [kernel-hardening] get NULL pointer dereferences or #GP fault to infomation leakage
Date: Sat, 19 Nov 2016 19:50:16 +0800	[thread overview]
Message-ID: <bf475a29-58cc-7b87-0821-9d23f01851b3@gmail.com> (raw)

I wonder if this could be an issue.

Test on Ubuntu 16.04 with linux kernel 4.4.x, x86_64.

When a NULL-pointer-deref or a #GP fault
(e.g: access to 0xdead0000-xxxxxxxx) happens in kernel space,
it seems that the kernel would kill the current process, then
output the Oops message or "general protection fault" message.

So we can get these messages via `dmesg` or reading the /var/log/...

I think this may be a way to bypass the KASLR, could it be?

             reply	other threads:[~2016-11-19 11:50 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-19 11:50 zerons [this message]
2016-11-19 16:36 ` [kernel-hardening] get NULL pointer dereferences or #GP fault to infomation leakage Thomas Garnier
2016-11-20  2:12   ` zerons
2016-11-20 16:49     ` Thomas Garnier
2016-11-20 23:21       ` zerons

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=bf475a29-58cc-7b87-0821-9d23f01851b3@gmail.com \
    --to=zeronsaxm@gmail.com \
    --cc=kernel-hardening@lists.openwall.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.