IBM Support

IV46427: ALGORITHMID INITIALIZATION BLOCK NOT SYNCHRONIZED

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: N/A
    .
    Stack Trace: at
    java/util/HashMap.getEntry(HashMap.java:381(Compiled Code))
     at java/util/HashMap.get(HashMap.java:351(Compiled Code))
     at
    com/ibm/security/x509/AlgorithmId.algOID(AlgorithmId.java:1212(C
    ompiled Code))
     at
    com/ibm/security/x509/AlgorithmId.get(AlgorithmId.java:393(Compi
    led Code))
     at javax/crypto/EncryptedPrivateKeyInfo.<init>(Bytecode
    PC:28(Compiled Code))
    .
    The problem happens when method AlgorithmId.algOID was invoked
    concurrently from different threads.
    

Local fix

  • N/A
    

Problem summary

  • The problem happens because a static HashMap in AlgorithmId is
    accessed (read&write) by multiple threads at the same time
    without synchronization.
    

Problem conclusion

  • This defect will be fixed in:
    7.0.0 SR6
    6.0.1 SR7
    6.0.0 SR15
    5.0.0 SR16FP4
    .
    A fix is made to IBMPKCS to synchronize the code block which
    access the static HashMap
    The associated Hursley CMVC defect is 197253 and 199355
    The associated Austin CMVC defect is 114235 and 114297
    JVMs affected: Java 5.0, Java 6.0, Java 626, and Java 7.0.
    The fix was delivered for Java 5.0 SR16FP4, Java 6.0 SR15, Java
    626 SR7, and Java 7.0 SR6.
    The affected jar is "ibmpkcs.jar".
    The build level of this jar for the affected releases is
    "20130729"
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV46427

  • Reported component name

    JAVA 5 SECURITY

  • Reported component ID

    620500125

  • Reported release

    500

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-07-31

  • Closed date

    2013-08-22

  • Last modified date

    2013-08-22

  • APAR is sysrouted FROM one or more of the following:

    IV46426

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    JAVA 5 SECURITY

  • Fixed component ID

    620500125

Applicable component levels

  • R500 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSNVBF","label":"Runtimes for Java Technology"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"5.0","Edition":"","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
07 December 2020