Uploaded image for project: 'Core ReactOS'
  1. Core ReactOS
  2. CORE-4380

About the idle thread stack / read-only segments in the Kernel

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Fix Version/s: 0.3.17
    • Component/s: NTCore
    • Labels:
      None
    • Environment:

      Operating System: ReactOS
      Platform: x86 Hardware

      Description

      Unlike usual kernel stacks, which have an unmapped "guard" page at the end, the idle thread stack (_P0BootStack in ke/i386/boot.S) is not limited, and can unforbiddenly grow until it damages all kernel data.

      I first thought that .rdata segment will protect .data from this fate, but it seems that .rdata pages are not read-only. (Bug?)

        Attachments

          Activity

            People

            • Assignee:
              ThePhysicist Timo Kreuzer
              Reporter:
              hto hto
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: