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

Use-after-free during library unloading on Linux

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 20
    • 20
    • hotspot
    • b26

    Description

      os::dll_unload retrieves the library name from the dynamic loader, then calls dlclose, and then references the library name. dlclose frees the memory storing the library name, leading to use-after-free.

      Attachments

        Issue Links

          Activity

            People

              jcking Justin King
              jcking Justin King
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: