Native annotation parsing code of deprecated annotations causes crash

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 24
    • Affects Version/s: None
    • Component/s: hotspot
    • b17

      As reported by [~mschoene]

      While looking at native annotation parsing code, during fuzzing two crashes were observed with product builds during. This seems to be related to parsing of "Deprecated" annotations. There is no related source, the original class file was modified via jasmtools and then bit-level mutations were applied.

      # Java VM: Java HotSpot(TM) 64-Bit Server VM (22.0.2+9-70, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
      # Problematic frame:
      # V [libjvm.so+0x5dafde] parse_annotations(ConstantPool const*, unsigned char const*, int, AnnotationCollector*, ClassLoaderData*, bool) [clone .part.0]+0x64e

      and

      # V [libjvm.so+0x5daf9b] parse_annotations(ConstantPool const*, unsigned char const*, int, AnnotationCollector*, ClassLoaderData*, bool) [clone .part.0]+0x60b
      #

            Assignee:
            David Holmes
            Reporter:
            Lois Foltan
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: