IBM Support

IV46426: ALGORITHMID INITIALIZATION BLOCK NOT SYNCHRONIZED

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

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 SR16 FP4
    .
    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 SR16 FP4, 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

    IV46426

  • Reported component name

    SECURITY

  • Reported component ID

    620700125

  • Reported release

    260

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-07-31

  • Closed date

    2013-08-22

  • Last modified date

    2013-09-25

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

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

    IV46427

Fix information

  • Fixed component name

    SECURITY

  • Fixed component ID

    620700125

Applicable component levels

  • R260 PSY

       UP

  • R600 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":"260","Edition":"","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
07 December 2020