Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6070579
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T09:56:58+00:00 2026-05-23T09:56:58+00:00

In the page fault handler of the linux kernel using some opcode disassembly I

  • 0

In the page fault handler of the linux kernel using some opcode disassembly I am seeing that on the x86 architecture the CALL or 0xE8 instruction occasionally throws a write fault and ESI and EDI are both NULL. I was wondering if there is a specific reason for this as CALL takes a memory address and just changes EIP to that value and that doesn’t require a page since it’s just EIP + relative_offset. If anyone could clear this up it would be much appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T09:56:59+00:00Added an answer on May 23, 2026 at 9:56 am

    The call instruction doesn’t just change eip – it also has to write the current eip (updated to point to the next instruction) to the stack before that change. A jmp-type instruction would act as you suggest but call is slightly different in that you have to be able to ret to the current location later on.

    I can’t be sure since you haven’t given us the code, full register contents and page tables (that would be a large amount of information for a question), but it seems to me the likeliest explanation is that the stack is currently switched out and needs to be bought back in.

    The other possibility I originally thought of was that the address you were jumping to was non-resident but I don’t think that would cause a fault on the call itself.

    It would cause a fault very quickly afterwards as the CPU tried to fetch the next instruction but I don’t think that’s what your description indicates, since:

    • you state it’s happening on the call; and
    • that would be a read fault, not a write one.

    The esi and edi values are a non-issue – they take no part in a call.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using Linux 2.6.26 kernel version and I am trying to change the
I'm using Django+Appengine on a page that has both a normal HTML request to
What does the Linux /proc/meminfo Mapped topic mean? I have seen several one-liners that
I made changes in sched.c in Linux kernel 2.4 (homework), and now the system
I'm wondering if there's a way to write-protect every page in a Linux process'
I have a httpservice that returns xml data. <mx:HTTPService id=httpService url=data/Software.xml resultFormat=e4x result=httpResult_handler(event) fault=Alert.show('XML
When a page fault exception is raised because the content CPU is trying to
I'm writing up a document about page faulting and am trying to get some
I've written a sidebar addon: which fetches the current page's URL makes a call
As per the linux design on x86 and ppc, the 4g virtual address space

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.