Seeing intermittent crash for TLSv1.3

Rahul Shukla srahul.292919 at gmail.com
Tue Apr 23 01:18:58 UTC 2024


Hi Hubert,
Thanks for the quick reply.I believe RAM is fine. We have other machines as
well where we can see this issue. We tried on windows today and now we are
consistently seeing this crash there.
The only problem is that we are not able to see this crash when we are
running our debug modules with Purify or Valgrind. So no clue what is
causing it.


--Rahul



On Mon, Apr 22, 2024 at 11:02 PM Hubert Kario <hkario at redhat.com> wrote:

> Have you double-checked that the RAM in that PC is fine?
> Run memtest86+ for 24h, if possible.
>
> On Monday, 22 April 2024 18:27:51 CEST, Rahul Shukla wrote:
> > Hi All,
> > I'm experiencing an intermittent crash with TLSv1.3. Despite my
> > efforts to analyze it using Valgrind or Purify, I'm unable to
> > replicate the issue. Does anyone have any insights into this??
> >
> >
> > #0  0x0000724208ea1743 in unlink_chunk
> > (p=p at entry=0x7241ec4c9550, av=0x7241ec000030) at
> > ./malloc/malloc.c:1634
> > #1  0x0000724208ea462b in _int_malloc
> > (av=av at entry=0x7241ec000030, bytes=bytes at entry=80) at
> > ./malloc/malloc.c:4307
> > #2  0x0000724208ea5139 in __GI___libc_malloc (bytes=80) at
> > ./malloc/malloc.c:3329
> > #3  0x00005a11a31f06ce in CRYPTO_zalloc ()
> > #4  0x00005a11a318d321 in bn_expand2 ()
> > #5  0x00005a11a318feab in BN_lshift1 ()
> > #6  0x00005a11a32e0481 in BN_mod_lshift1_quick ()
> > #7  0x00005a11a31b5f35 in ossl_ec_GFp_simple_ladder_step ()
> > #8  0x00005a11a31ad34d in ossl_ec_scalar_mul_ladder ()
> > #9  0x00005a11a31addf1 in ossl_ec_wNAF_mul ()
> > #10 0x00005a11a31abc3d in EC_POINT_mul ()
> > #11 0x00005a11a31a8d7f in ossl_ec_key_simple_generate_key ()
> > #12 0x00005a11a31a8061 in ossl_ec_key_gen ()
> > #13 0x00005a11a31a7fce in EC_KEY_generate_key ()
> > #14 0x00005a11a3297b38 in ec_gen ()
> > #15 0x00005a11a31d6c2b in evp_keymgmt_util_gen ()
> > #16 0x00005a11a31e2aa7 in EVP_PKEY_generate ()
> > #17 0x00005a11a311a317 in ssl_generate_pkey_group ()
> > #18 0x00005a11a31462bc in tls_construct_ctos_key_share ()
> > #19 0x00005a11a31443c3 in tls_construct_extensions ()
> > #20 0x00005a11a314f92d in tls_construct_client_hello ()
> > #21 0x00005a11a314e667 in state_machine ()
> > #22 0x00005a11a3125184 in SSL_do_handshake ()
> > .....
> >
> >
> > TIA.
> >
> > -Rahul
>
> --
> Regards,
> Hubert Kario
> Principal Quality Engineer, RHEL Crypto team
> Web: www.cz.redhat.com
> Red Hat Czech s.r.o., Purkyňova 115, 612 00, Brno, Czech Republic
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mta.openssl.org/pipermail/openssl-users/attachments/20240423/e4604139/attachment-0001.htm>


More information about the openssl-users mailing list