Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8274632

Possible pointer overflow in PretouchTask chunk claiming

    XMLWordPrintable

Details

    • gc
    • b18
    • Verified

    Backports

      Description

        PretouchTask unconditionally (atomically) adds _chunk_size to _cur_addr to claim the next chunk. That addition can overflow. There is followup code that attempts to detect and handle overflow, but since pointer arithmetic overflow is UB, that isn't reliable.

        Attachments

          Issue Links

            Activity

              People

                kbarrett Kim Barrett
                kbarrett Kim Barrett
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: