kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
From: greg@kroah.com (Greg KH)
To: kernelnewbies@lists.kernelnewbies.org
Subject: Syscall hijacking x64- unable to handle kernel paging request at ffffffff91000018
Date: Thu, 5 Oct 2017 20:41:48 +0200	[thread overview]
Message-ID: <20171005184148.GA9713@kroah.com> (raw)
In-Reply-To: <59d6741c98b5d6.49716035@wp.pl>

On Thu, Oct 05, 2017 at 08:04:12PM +0200, Wiktoria Lewicka wrote:
> I write kernel module which replace syscall  and have a problem.
> Module can't be loaded because is some problem in memory. I tried fix
> it for 3 hours, but it still not work. This code is working, when I
> choose memory closer sys_call_table (eg. int3 adress from
> /proc/kallsyms), but it isn't always works. Problem is usually, when
> function which search syscall table points to adress which end is 18
> (eg ffffffff91000018, ffffffff81000018). Why its not work? I know, I
> shouldn't do this, but I would like to fix this code for experience in
> kernel memory.

If you know you shouldn't be doing this, then you know why this doesn't
work, and why no one will help you.

Sorry, don't do this, it's not working for a good reason :)

good luck!

greg k-h

  reply	other threads:[~2017-10-05 18:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-05 18:04 Syscall hijacking x64- unable to handle kernel paging request at ffffffff91000018 Wiktoria Lewicka
2017-10-05 18:41 ` Greg KH [this message]
2017-10-05 19:08 ` valdis.kletnieks at vt.edu

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=20171005184148.GA9713@kroah.com \
    --to=greg@kroah.com \
    --cc=kernelnewbies@lists.kernelnewbies.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;
as well as URLs for NNTP newsgroup(s).