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

    • Bug
    • Resolution: Fixed
    • Major
    • 0.3.17
    • NTCore
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: