Skip to content

qa: run rbd:valgrind on all distros - #61689

Closed
badone wants to merge 1 commit into
ceph:mainfrom
badone:wip-remove-centos-only-rbd-valgrind-restriction
Closed

badone wants to merge 1 commit into
ceph:mainfrom
badone:wip-remove-centos-only-rbd-valgrind-restriction

Conversation

@badone

@badone badone commented Feb 7, 2025 •

Copy link
Copy Markdown
Contributor

Fixes: https://tracker.ceph.com/issues/69859

Contribution Guidelines

  • To sign and title your commits, please refer to Submitting Patches to Ceph.

  • If you are submitting a fix for a stable branch (e.g. "quincy"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.

  • When filling out the below checklist, you may click boxes directly in the GitHub web UI. When entering or editing the entire PR message in the GitHub web UI editor, you may also select a checklist item by adding an x between the brackets: [x]. Spaces and capitalization matter when checking off items this way.

Checklist

  • Tracker (select at least one)
    • References tracker ticket
    • Very recent bug; references commit where it was introduced
    • New feature (ticket optional)
    • Doc update (no ticket needed)
    • Code cleanup (no ticket needed)
  • Component impact
    • Affects Dashboard, opened tracker ticket
    • Affects Orchestrator, opened tracker ticket
    • No impact that needs to be tracked
  • Documentation (select at least one)
    • Updates relevant documentation
    • No doc update is appropriate
  • Tests (select at least one)
Show available Jenkins commands
  • jenkins retest this please
  • jenkins test classic perf
  • jenkins test crimson perf
  • jenkins test signed
  • jenkins test make check
  • jenkins test make check arm64
  • jenkins test submodules
  • jenkins test dashboard
  • jenkins test dashboard cephadm
  • jenkins test api
  • jenkins test docs
  • jenkins render docs
  • jenkins test ceph-volume all
  • jenkins test ceph-volume tox
  • jenkins test windows
  • jenkins test rook e2e

@badone
badone requested a review from a team as a code owner February 7, 2025 04:47
Comment thread qa/suites/rbd/valgrind/distro Resolved
@badone
badone force-pushed the wip-remove-centos-only-rbd-valgrind-restriction branch from ba46d6c to d2b8e6c Compare February 10, 2025 01:37
@idryomov

Copy link
Copy Markdown
Contributor

jenkins test make check

@idryomov

Copy link
Copy Markdown
Contributor

jenkins test api

@idryomov

Copy link
Copy Markdown
Contributor

jenkins test make check arm64

@idryomov

Copy link
Copy Markdown
Contributor

@idryomov

Copy link
Copy Markdown
Contributor

We have a suppression for "Conditional jump or move depends on uninitialised value(s)" in EVP_DecryptFinal_ex(), but it's not picked up on Ubuntu:

2025-02-10T09:39:05.809 INFO:tasks.workunit.client.0.smithi142.stderr:==29381== Thread 5 msgr-worker-2:
2025-02-10T09:39:05.809 INFO:tasks.workunit.client.0.smithi142.stderr:==29381== Conditional jump or move depends on uninitialised value(s)
2025-02-10T09:39:05.809 INFO:tasks.workunit.client.0.smithi142.stderr:==29381==    at 0x571D2A4: ??? (in /usr/lib/x86_64-linux-gnu/libcrypto.so.3)
2025-02-10T09:39:05.809 INFO:tasks.workunit.client.0.smithi142.stderr:==29381==    by 0x571D581: ??? (in /usr/lib/x86_64-linux-gnu/libcrypto.so.3)
2025-02-10T09:39:05.809 INFO:tasks.workunit.client.0.smithi142.stderr:==29381==    by 0x561E0F4: EVP_DecryptFinal_ex (in /usr/lib/x86_64-linux-gnu/libcrypto.so.3)
2025-02-10T09:39:05.810 INFO:tasks.workunit.client.0.smithi142.stderr:==29381==    by 0x4F4B03C: ceph::crypto::onwire::AES128GCM_OnWireRxHandler::authenticated_decrypt_update_final(ceph::buffer::v15_2_0::list&) (crypto_onwire.cc:261)
2025-02-10T09:39:05.810 INFO:tasks.workunit.client.0.smithi142.stderr:==29381==    by 0x4F4BA33: ceph::msgr::v2::FrameAssembler::disassemble_preamble(ceph::buffer::v15_2_0::list&) (frames_v2.cc:280)
2025-02-10T09:39:05.810 INFO:tasks.workunit.client.0.smithi142.stderr:==29381==    by 0x4F35CF1: ProtocolV2::handle_read_frame_preamble_main(std::unique_ptr<ceph::buffer::v15_2_0::ptr_node, ceph::buffer::v15_2_0::ptr_node::disposer>&&, int) (ProtocolV2.cc:1110)
2025-02-10T09:39:05.810 INFO:tasks.workunit.client.0.smithi142.stderr:==29381==    by 0x4F2C638: ProtocolV2::run_continuation(Ct<ProtocolV2>&) (ProtocolV2.cc:49)
2025-02-10T09:39:05.810 INFO:tasks.workunit.client.0.smithi142.stderr:==29381==    by 0x4F03851: AsyncConnection::process() (AsyncConnection.cc:488)
2025-02-10T09:39:05.810 INFO:tasks.workunit.client.0.smithi142.stderr:==29381==    by 0x4F4807F: EventCenter::process_events(unsigned int, std::chrono::duration<unsigned long, std::ratio<1l, 1000000000l> >*) (Event.cc:463)
2025-02-10T09:39:05.810 INFO:tasks.workunit.client.0.smithi142.stderr:==29381==    by 0x4F48589: std::_Function_handler<void (), NetworkStack::add_thread(Worker*)::{lambda()#1}>::_M_invoke(std::_Any_data const&) (Stack.cc:50)
2025-02-10T09:39:05.810 INFO:tasks.workunit.client.0.smithi142.stderr:==29381==    by 0x59AC2B2: ??? (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.30)
2025-02-10T09:39:05.810 INFO:tasks.workunit.client.0.smithi142.stderr:==29381==    by 0x5C95B42: start_thread (pthread_create.c:442)

https://qa-proxy.ceph.com/teuthology/dis-2025-02-10_09:10:48-rbd:valgrind-wip-dis-testing-distro-default-smithi/8123414/teuthology.log

The reason is most likely that ??? is reported instead of ossl_gcm_stream_final() and gcm_cipher_internal():

{
  uninitialized value in gcm_cipher_internal
  Memcheck:Cond
  ...
  fun:gcm_cipher_internal
  ...
  fun:ossl_gcm_stream_final
  fun:EVP_DecryptFinal_ex
  ...
}

See https://tracker.ceph.com/issues/61566 for some context.

@idryomov idryomov mentioned this pull request Feb 10, 2025
4 of 14 tasks
@badone

badone commented Feb 10, 2025

Copy link
Copy Markdown
Contributor Author

We have a suppression for "Conditional jump or move depends on uninitialised value(s)" in EVP_DecryptFinal_ex(), but it's not picked up on Ubuntu:

2025-02-10T09:39:05.809 INFO:tasks.workunit.client.0.smithi142.stderr:==29381== Thread 5 msgr-worker-2:
2025-02-10T09:39:05.809 INFO:tasks.workunit.client.0.smithi142.stderr:==29381== Conditional jump or move depends on uninitialised value(s)
2025-02-10T09:39:05.809 INFO:tasks.workunit.client.0.smithi142.stderr:==29381==    at 0x571D2A4: ??? (in /usr/lib/x86_64-linux-gnu/libcrypto.so.3)
2025-02-10T09:39:05.809 INFO:tasks.workunit.client.0.smithi142.stderr:==29381==    by 0x571D581: ??? (in /usr/lib/x86_64-linux-gnu/libcrypto.so.3)
2025-02-10T09:39:05.809 INFO:tasks.workunit.client.0.smithi142.stderr:==29381==    by 0x561E0F4: EVP_DecryptFinal_ex (in /usr/lib/x86_64-linux-gnu/libcrypto.so.3)
2025-02-10T09:39:05.810 INFO:tasks.workunit.client.0.smithi142.stderr:==29381==    by 0x4F4B03C: ceph::crypto::onwire::AES128GCM_OnWireRxHandler::authenticated_decrypt_update_final(ceph::buffer::v15_2_0::list&) (crypto_onwire.cc:261)
2025-02-10T09:39:05.810 INFO:tasks.workunit.client.0.smithi142.stderr:==29381==    by 0x4F4BA33: ceph::msgr::v2::FrameAssembler::disassemble_preamble(ceph::buffer::v15_2_0::list&) (frames_v2.cc:280)
2025-02-10T09:39:05.810 INFO:tasks.workunit.client.0.smithi142.stderr:==29381==    by 0x4F35CF1: ProtocolV2::handle_read_frame_preamble_main(std::unique_ptr<ceph::buffer::v15_2_0::ptr_node, ceph::buffer::v15_2_0::ptr_node::disposer>&&, int) (ProtocolV2.cc:1110)
2025-02-10T09:39:05.810 INFO:tasks.workunit.client.0.smithi142.stderr:==29381==    by 0x4F2C638: ProtocolV2::run_continuation(Ct<ProtocolV2>&) (ProtocolV2.cc:49)
2025-02-10T09:39:05.810 INFO:tasks.workunit.client.0.smithi142.stderr:==29381==    by 0x4F03851: AsyncConnection::process() (AsyncConnection.cc:488)
2025-02-10T09:39:05.810 INFO:tasks.workunit.client.0.smithi142.stderr:==29381==    by 0x4F4807F: EventCenter::process_events(unsigned int, std::chrono::duration<unsigned long, std::ratio<1l, 1000000000l> >*) (Event.cc:463)
2025-02-10T09:39:05.810 INFO:tasks.workunit.client.0.smithi142.stderr:==29381==    by 0x4F48589: std::_Function_handler<void (), NetworkStack::add_thread(Worker*)::{lambda()#1}>::_M_invoke(std::_Any_data const&) (Stack.cc:50)
2025-02-10T09:39:05.810 INFO:tasks.workunit.client.0.smithi142.stderr:==29381==    by 0x59AC2B2: ??? (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.30)
2025-02-10T09:39:05.810 INFO:tasks.workunit.client.0.smithi142.stderr:==29381==    by 0x5C95B42: start_thread (pthread_create.c:442)

https://qa-proxy.ceph.com/teuthology/dis-2025-02-10_09:10:48-rbd:valgrind-wip-dis-testing-distro-default-smithi/8123414/teuthology.log

The reason is most likely that ??? is reported instead of ossl_gcm_stream_final() and gcm_cipher_internal():

{
  uninitialized value in gcm_cipher_internal
  Memcheck:Cond
  ...
  fun:gcm_cipher_internal
  ...
  fun:ossl_gcm_stream_final
  fun:EVP_DecryptFinal_ex
  ...
}

See https://tracker.ceph.com/issues/61566 for some context.

So this looks like a failure in symbol resolution on Ubuntu. Is there something we are doing differently when building on Ubuntu that is resulting in not enough information in the binary for these symbols to be resolved. I think we can agree that all things being equal this should work as it's designed to and I guess the fact the symbols are not getting resolved is likely a bug in the way we are building ceph (or perhaps running valgrind maybe) on that platform? We really should have test coverage on supported OS as I'm sure you understand and agree Ilya.

@badone badone mentioned this pull request Feb 11, 2025
4 of 14 tasks
@idryomov

idryomov commented Feb 11, 2025 •

Copy link
Copy Markdown
Contributor

So this looks like a failure in symbol resolution on Ubuntu. Is there something we are doing differently when building on Ubuntu that is resulting in not enough information in the binary for these symbols to be resolved.

I'm not sure if it's us building Ceph differently or Ubuntu building its libraries differently. Note that ??? frames are coming from inside the same library as EVP_DecryptFinal_ex frame:

at 0x571D2A4: ??? (in /usr/lib/x86_64-linux-gnu/libcrypto.so.3)
by 0x571D581: ??? (in /usr/lib/x86_64-linux-gnu/libcrypto.so.3)
by 0x561E0F4: EVP_DecryptFinal_ex (in /usr/lib/x86_64-linux-gnu/libcrypto.so.3)
by 0x4F4B03C: ceph::crypto::onwire::AES128GCM_OnWireRxHandler::authenticated_decrypt_update_final(ceph::buffer::v15_2_0::list&) (crypto_onwire.cc:261)

I think we can agree that all things being equal this should work as it's designed to and I guess the fact the symbols are not getting resolved is likely a bug in the way we are building ceph (or perhaps running valgrind maybe) on that platform?

We are calling EVP_DecryptFinal_ex() from one place in Ceph. If the symbol issue turns out to be hairy, we can consider making that suppression blanket (i.e. not conditioned on ossl_gcm_stream_final() and gcm_cipher_internal() specifically, but rather on that callsite and anything inside of libcrypto). For example:

  obj:*libcrypto*
  ...
  obj:*libcrypto*
  fun:EVP_DecryptFinal_ex
  fun:*AES128GCM_OnWireRxHandler::authenticated_decrypt_update_final*
}

cc @cbodley @rzarzynski

We really should have test coverage on supported OS as I'm sure you understand and agree Ilya.

Very much agreed -- all I wanted to say is that this PR can't be merged as is.

@rzarzynski

Copy link
Copy Markdown
Contributor

If the symbol issue turns out to be hairy, we can consider making that suppression blanket (i.e. not conditioned on ossl_gcm_stream_final() and gcm_cipher_internal() specifically, but rather on that callsite and anything inside of libcrypto). For example:

Agreed.

@rzarzynski rzarzynski left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very appreciating this PR. +1 assuming the supression problem getd resolved.

@badone

badone commented Feb 13, 2025

Copy link
Copy Markdown
Contributor Author

I'm wondering if we are just missing some debuginfo packages here and if we get the right ones installed it may "just work?" I'll do some tests.

@github-actions

Copy link
Copy Markdown

This pull request has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs for another 30 days.
If you are a maintainer or core committer, please follow-up on this pull request to identify what steps should be taken by the author to move this proposed change forward.
If you are the author of this pull request, thank you for your proposed contribution. If you believe this change is still appropriate, please ensure that any feedback has been addressed and ask for a code review.

@github-actions github-actions Bot added the stale label Apr 14, 2025
@github-actions

Copy link
Copy Markdown

This pull request has been automatically closed because there has been no activity for 90 days. Please feel free to reopen this pull request (or open a new one) if the proposed change is still appropriate. Thank you for your contribution!

@github-actions github-actions Bot closed this May 14, 2025
@badone

badone commented Jul 22, 2025

Copy link
Copy Markdown
Contributor Author

Keeping this on my radar.

@badone badone reopened this Jul 22, 2025
@github-actions github-actions Bot removed the stale label Jul 22, 2025
@github-actions

Copy link
Copy Markdown

This pull request has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs for another 30 days.
If you are a maintainer or core committer, please follow-up on this pull request to identify what steps should be taken by the author to move this proposed change forward.
If you are the author of this pull request, thank you for your proposed contribution. If you believe this change is still appropriate, please ensure that any feedback has been addressed and ask for a code review.

@github-actions github-actions Bot added the stale label Sep 21, 2025
@github-actions

Copy link
Copy Markdown

This pull request has been automatically closed because there has been no activity for 90 days. Please feel free to reopen this pull request (or open a new one) if the proposed change is still appropriate. Thank you for your contribution!

@github-actions github-actions Bot closed this Oct 21, 2025
@idryomov idryomov mentioned this pull request Nov 11, 2025
4 of 14 tasks
idryomov added a commit to idryomov/ceph that referenced this pull request Nov 12, 2025
gcm_cipher_internal() and ossl_gcm_stream_final() make it to the stack
trace only on CentOS Stream 9.  On Ubuntu 22.04 and Rocky 10, it looks
as follows:

Thread 4 msgr-worker-1:
Conditional jump or move depends on uninitialised value(s)
   at 0x70A36D4: ??? (in /usr/lib64/libcrypto.so.3.2.2)
   by 0x70A39A1: ??? (in /usr/lib64/libcrypto.so.3.2.2)
   by 0x6F8A09C: EVP_DecryptFinal_ex (in /usr/lib64/libcrypto.so.3.2.2)
   by 0xB498C1F: ceph::crypto::onwire::AES128GCM_OnWireRxHandler::authenticated_decrypt_update_final(ceph::buffer::v15_2_0::list&) (crypto_onwire.cc:271)
   by 0xB4992D7: ceph::msgr::v2::FrameAssembler::disassemble_preamble(ceph::buffer::v15_2_0::list&) (frames_v2.cc:281)
   by 0xB482D98: ProtocolV2::handle_read_frame_preamble_main(std::unique_ptr<ceph::buffer::v15_2_0::ptr_node, ceph::buffer::v15_2_0::ptr_node::disposer>&&, int) (ProtocolV2.cc:1149)
   by 0xB475318: ProtocolV2::run_continuation(Ct<ProtocolV2>&) (ProtocolV2.cc:54)
   by 0xB457012: AsyncConnection::process() (AsyncConnection.cc:495)
   by 0xB49E61A: EventCenter::process_events(unsigned int, std::chrono::duration<unsigned long, std::ratio<1l, 1000000000l> >*) (Event.cc:492)
   by 0xB49EA9D: UnknownInlinedFun (Stack.cc:50)
   by 0xB49EA9D: UnknownInlinedFun (invoke.h:61)
   by 0xB49EA9D: UnknownInlinedFun (invoke.h:111)
   by 0xB49EA9D: std::_Function_handler<void (), NetworkStack::add_thread(Worker*)::{lambda()ceph#1}>::_M_invoke(std::_Any_data const&) (std_function.h:290)
   by 0xBB11063: ??? (in /usr/lib64/libstdc++.so.6.0.33)
   by 0x4F17119: start_thread (in /usr/lib64/libc.so.6)

The proposal to amend the existing suppression so that it's tied to the
specific callsite rather than libcrypto internals [1] received a thumbs
up from Radoslaw.

[1] ceph#61689 (comment)

Fixes: https://tracker.ceph.com/issues/69859
Signed-off-by: Ilya Dryomov <[email protected]>
idryomov added a commit to idryomov/ceph that referenced this pull request Jan 30, 2026
gcm_cipher_internal() and ossl_gcm_stream_final() make it to the stack
trace only on CentOS Stream 9.  On Ubuntu 22.04 and Rocky 10, it looks
as follows:

Thread 4 msgr-worker-1:
Conditional jump or move depends on uninitialised value(s)
   at 0x70A36D4: ??? (in /usr/lib64/libcrypto.so.3.2.2)
   by 0x70A39A1: ??? (in /usr/lib64/libcrypto.so.3.2.2)
   by 0x6F8A09C: EVP_DecryptFinal_ex (in /usr/lib64/libcrypto.so.3.2.2)
   by 0xB498C1F: ceph::crypto::onwire::AES128GCM_OnWireRxHandler::authenticated_decrypt_update_final(ceph::buffer::v15_2_0::list&) (crypto_onwire.cc:271)
   by 0xB4992D7: ceph::msgr::v2::FrameAssembler::disassemble_preamble(ceph::buffer::v15_2_0::list&) (frames_v2.cc:281)
   by 0xB482D98: ProtocolV2::handle_read_frame_preamble_main(std::unique_ptr<ceph::buffer::v15_2_0::ptr_node, ceph::buffer::v15_2_0::ptr_node::disposer>&&, int) (ProtocolV2.cc:1149)
   by 0xB475318: ProtocolV2::run_continuation(Ct<ProtocolV2>&) (ProtocolV2.cc:54)
   by 0xB457012: AsyncConnection::process() (AsyncConnection.cc:495)
   by 0xB49E61A: EventCenter::process_events(unsigned int, std::chrono::duration<unsigned long, std::ratio<1l, 1000000000l> >*) (Event.cc:492)
   by 0xB49EA9D: UnknownInlinedFun (Stack.cc:50)
   by 0xB49EA9D: UnknownInlinedFun (invoke.h:61)
   by 0xB49EA9D: UnknownInlinedFun (invoke.h:111)
   by 0xB49EA9D: std::_Function_handler<void (), NetworkStack::add_thread(Worker*)::{lambda()ceph#1}>::_M_invoke(std::_Any_data const&) (std_function.h:290)
   by 0xBB11063: ??? (in /usr/lib64/libstdc++.so.6.0.33)
   by 0x4F17119: start_thread (in /usr/lib64/libc.so.6)

The proposal to amend the existing suppression so that it's tied to the
specific callsite rather than libcrypto internals [1] received a thumbs
up from Radoslaw.

[1] ceph#61689 (comment)

Fixes: https://tracker.ceph.com/issues/74672
Signed-off-by: Ilya Dryomov <[email protected]>
amathuria pushed a commit to ceph/ceph-ci that referenced this pull request Feb 2, 2026
gcm_cipher_internal() and ossl_gcm_stream_final() make it to the stack
trace only on CentOS Stream 9.  On Ubuntu 22.04 and Rocky 10, it looks
as follows:

Thread 4 msgr-worker-1:
Conditional jump or move depends on uninitialised value(s)
   at 0x70A36D4: ??? (in /usr/lib64/libcrypto.so.3.2.2)
   by 0x70A39A1: ??? (in /usr/lib64/libcrypto.so.3.2.2)
   by 0x6F8A09C: EVP_DecryptFinal_ex (in /usr/lib64/libcrypto.so.3.2.2)
   by 0xB498C1F: ceph::crypto::onwire::AES128GCM_OnWireRxHandler::authenticated_decrypt_update_final(ceph::buffer::v15_2_0::list&) (crypto_onwire.cc:271)
   by 0xB4992D7: ceph::msgr::v2::FrameAssembler::disassemble_preamble(ceph::buffer::v15_2_0::list&) (frames_v2.cc:281)
   by 0xB482D98: ProtocolV2::handle_read_frame_preamble_main(std::unique_ptr<ceph::buffer::v15_2_0::ptr_node, ceph::buffer::v15_2_0::ptr_node::disposer>&&, int) (ProtocolV2.cc:1149)
   by 0xB475318: ProtocolV2::run_continuation(Ct<ProtocolV2>&) (ProtocolV2.cc:54)
   by 0xB457012: AsyncConnection::process() (AsyncConnection.cc:495)
   by 0xB49E61A: EventCenter::process_events(unsigned int, std::chrono::duration<unsigned long, std::ratio<1l, 1000000000l> >*) (Event.cc:492)
   by 0xB49EA9D: UnknownInlinedFun (Stack.cc:50)
   by 0xB49EA9D: UnknownInlinedFun (invoke.h:61)
   by 0xB49EA9D: UnknownInlinedFun (invoke.h:111)
   by 0xB49EA9D: std::_Function_handler<void (), NetworkStack::add_thread(Worker*)::{lambda()#1}>::_M_invoke(std::_Any_data const&) (std_function.h:290)
   by 0xBB11063: ??? (in /usr/lib64/libstdc++.so.6.0.33)
   by 0x4F17119: start_thread (in /usr/lib64/libc.so.6)

The proposal to amend the existing suppression so that it's tied to the
specific callsite rather than libcrypto internals [1] received a thumbs
up from Radoslaw.

[1] ceph/ceph#61689 (comment)

Fixes: https://tracker.ceph.com/issues/74672
Signed-off-by: Ilya Dryomov <[email protected]>
idryomov added a commit to idryomov/ceph that referenced this pull request Feb 9, 2026
gcm_cipher_internal() and ossl_gcm_stream_final() make it to the stack
trace only on CentOS Stream 9.  On Ubuntu 22.04 and Rocky 10, it looks
as follows:

Thread 4 msgr-worker-1:
Conditional jump or move depends on uninitialised value(s)
   at 0x70A36D4: ??? (in /usr/lib64/libcrypto.so.3.2.2)
   by 0x70A39A1: ??? (in /usr/lib64/libcrypto.so.3.2.2)
   by 0x6F8A09C: EVP_DecryptFinal_ex (in /usr/lib64/libcrypto.so.3.2.2)
   by 0xB498C1F: ceph::crypto::onwire::AES128GCM_OnWireRxHandler::authenticated_decrypt_update_final(ceph::buffer::v15_2_0::list&) (crypto_onwire.cc:271)
   by 0xB4992D7: ceph::msgr::v2::FrameAssembler::disassemble_preamble(ceph::buffer::v15_2_0::list&) (frames_v2.cc:281)
   by 0xB482D98: ProtocolV2::handle_read_frame_preamble_main(std::unique_ptr<ceph::buffer::v15_2_0::ptr_node, ceph::buffer::v15_2_0::ptr_node::disposer>&&, int) (ProtocolV2.cc:1149)
   by 0xB475318: ProtocolV2::run_continuation(Ct<ProtocolV2>&) (ProtocolV2.cc:54)
   by 0xB457012: AsyncConnection::process() (AsyncConnection.cc:495)
   by 0xB49E61A: EventCenter::process_events(unsigned int, std::chrono::duration<unsigned long, std::ratio<1l, 1000000000l> >*) (Event.cc:492)
   by 0xB49EA9D: UnknownInlinedFun (Stack.cc:50)
   by 0xB49EA9D: UnknownInlinedFun (invoke.h:61)
   by 0xB49EA9D: UnknownInlinedFun (invoke.h:111)
   by 0xB49EA9D: std::_Function_handler<void (), NetworkStack::add_thread(Worker*)::{lambda()ceph#1}>::_M_invoke(std::_Any_data const&) (std_function.h:290)
   by 0xBB11063: ??? (in /usr/lib64/libstdc++.so.6.0.33)
   by 0x4F17119: start_thread (in /usr/lib64/libc.so.6)

The proposal to amend the existing suppression so that it's tied to the
specific callsite rather than libcrypto internals [1] received a thumbs
up from Radoslaw.

[1] ceph#61689 (comment)

Fixes: https://tracker.ceph.com/issues/74672
Signed-off-by: Ilya Dryomov <[email protected]>
(cherry picked from commit d85265e)
idryomov added a commit to idryomov/ceph that referenced this pull request Feb 12, 2026
gcm_cipher_internal() and ossl_gcm_stream_final() make it to the stack
trace only on CentOS Stream 9.  On Ubuntu 22.04 and Rocky 10, it looks
as follows:

Thread 4 msgr-worker-1:
Conditional jump or move depends on uninitialised value(s)
   at 0x70A36D4: ??? (in /usr/lib64/libcrypto.so.3.2.2)
   by 0x70A39A1: ??? (in /usr/lib64/libcrypto.so.3.2.2)
   by 0x6F8A09C: EVP_DecryptFinal_ex (in /usr/lib64/libcrypto.so.3.2.2)
   by 0xB498C1F: ceph::crypto::onwire::AES128GCM_OnWireRxHandler::authenticated_decrypt_update_final(ceph::buffer::v15_2_0::list&) (crypto_onwire.cc:271)
   by 0xB4992D7: ceph::msgr::v2::FrameAssembler::disassemble_preamble(ceph::buffer::v15_2_0::list&) (frames_v2.cc:281)
   by 0xB482D98: ProtocolV2::handle_read_frame_preamble_main(std::unique_ptr<ceph::buffer::v15_2_0::ptr_node, ceph::buffer::v15_2_0::ptr_node::disposer>&&, int) (ProtocolV2.cc:1149)
   by 0xB475318: ProtocolV2::run_continuation(Ct<ProtocolV2>&) (ProtocolV2.cc:54)
   by 0xB457012: AsyncConnection::process() (AsyncConnection.cc:495)
   by 0xB49E61A: EventCenter::process_events(unsigned int, std::chrono::duration<unsigned long, std::ratio<1l, 1000000000l> >*) (Event.cc:492)
   by 0xB49EA9D: UnknownInlinedFun (Stack.cc:50)
   by 0xB49EA9D: UnknownInlinedFun (invoke.h:61)
   by 0xB49EA9D: UnknownInlinedFun (invoke.h:111)
   by 0xB49EA9D: std::_Function_handler<void (), NetworkStack::add_thread(Worker*)::{lambda()ceph#1}>::_M_invoke(std::_Any_data const&) (std_function.h:290)
   by 0xBB11063: ??? (in /usr/lib64/libstdc++.so.6.0.33)
   by 0x4F17119: start_thread (in /usr/lib64/libc.so.6)

The proposal to amend the existing suppression so that it's tied to the
specific callsite rather than libcrypto internals [1] received a thumbs
up from Radoslaw.

[1] ceph#61689 (comment)

Fixes: https://tracker.ceph.com/issues/74672
Signed-off-by: Ilya Dryomov <[email protected]>
(cherry picked from commit d85265e)
afreen23 pushed a commit to rhcs-dashboard/ceph that referenced this pull request Jul 29, 2026
gcm_cipher_internal() and ossl_gcm_stream_final() make it to the stack
trace only on CentOS Stream 9.  On Ubuntu 22.04 and Rocky 10, it looks
as follows:

Thread 4 msgr-worker-1:
Conditional jump or move depends on uninitialised value(s)
   at 0x70A36D4: ??? (in /usr/lib64/libcrypto.so.3.2.2)
   by 0x70A39A1: ??? (in /usr/lib64/libcrypto.so.3.2.2)
   by 0x6F8A09C: EVP_DecryptFinal_ex (in /usr/lib64/libcrypto.so.3.2.2)
   by 0xB498C1F: ceph::crypto::onwire::AES128GCM_OnWireRxHandler::authenticated_decrypt_update_final(ceph::buffer::v15_2_0::list&) (crypto_onwire.cc:271)
   by 0xB4992D7: ceph::msgr::v2::FrameAssembler::disassemble_preamble(ceph::buffer::v15_2_0::list&) (frames_v2.cc:281)
   by 0xB482D98: ProtocolV2::handle_read_frame_preamble_main(std::unique_ptr<ceph::buffer::v15_2_0::ptr_node, ceph::buffer::v15_2_0::ptr_node::disposer>&&, int) (ProtocolV2.cc:1149)
   by 0xB475318: ProtocolV2::run_continuation(Ct<ProtocolV2>&) (ProtocolV2.cc:54)
   by 0xB457012: AsyncConnection::process() (AsyncConnection.cc:495)
   by 0xB49E61A: EventCenter::process_events(unsigned int, std::chrono::duration<unsigned long, std::ratio<1l, 1000000000l> >*) (Event.cc:492)
   by 0xB49EA9D: UnknownInlinedFun (Stack.cc:50)
   by 0xB49EA9D: UnknownInlinedFun (invoke.h:61)
   by 0xB49EA9D: UnknownInlinedFun (invoke.h:111)
   by 0xB49EA9D: std::_Function_handler<void (), NetworkStack::add_thread(Worker*)::{lambda()#1}>::_M_invoke(std::_Any_data const&) (std_function.h:290)
   by 0xBB11063: ??? (in /usr/lib64/libstdc++.so.6.0.33)
   by 0x4F17119: start_thread (in /usr/lib64/libc.so.6)

The proposal to amend the existing suppression so that it's tied to the
specific callsite rather than libcrypto internals [1] received a thumbs
up from Radoslaw.

[1] ceph#61689 (comment)

Fixes: https://tracker.ceph.com/issues/74672
Signed-off-by: Ilya Dryomov <[email protected]>
(cherry picked from commit 0d50fc8)
mertsunacoglu pushed a commit to mertsunacoglu/ceph that referenced this pull request Aug 26, 2026
gcm_cipher_internal() and ossl_gcm_stream_final() make it to the stack
trace only on CentOS Stream 9.  On Ubuntu 22.04 and Rocky 10, it looks
as follows:

Thread 4 msgr-worker-1:
Conditional jump or move depends on uninitialised value(s)
   at 0x70A36D4: ??? (in /usr/lib64/libcrypto.so.3.2.2)
   by 0x70A39A1: ??? (in /usr/lib64/libcrypto.so.3.2.2)
   by 0x6F8A09C: EVP_DecryptFinal_ex (in /usr/lib64/libcrypto.so.3.2.2)
   by 0xB498C1F: ceph::crypto::onwire::AES128GCM_OnWireRxHandler::authenticated_decrypt_update_final(ceph::buffer::v15_2_0::list&) (crypto_onwire.cc:271)
   by 0xB4992D7: ceph::msgr::v2::FrameAssembler::disassemble_preamble(ceph::buffer::v15_2_0::list&) (frames_v2.cc:281)
   by 0xB482D98: ProtocolV2::handle_read_frame_preamble_main(std::unique_ptr<ceph::buffer::v15_2_0::ptr_node, ceph::buffer::v15_2_0::ptr_node::disposer>&&, int) (ProtocolV2.cc:1149)
   by 0xB475318: ProtocolV2::run_continuation(Ct<ProtocolV2>&) (ProtocolV2.cc:54)
   by 0xB457012: AsyncConnection::process() (AsyncConnection.cc:495)
   by 0xB49E61A: EventCenter::process_events(unsigned int, std::chrono::duration<unsigned long, std::ratio<1l, 1000000000l> >*) (Event.cc:492)
   by 0xB49EA9D: UnknownInlinedFun (Stack.cc:50)
   by 0xB49EA9D: UnknownInlinedFun (invoke.h:61)
   by 0xB49EA9D: UnknownInlinedFun (invoke.h:111)
   by 0xB49EA9D: std::_Function_handler<void (), NetworkStack::add_thread(Worker*)::{lambda()#1}>::_M_invoke(std::_Any_data const&) (std_function.h:290)
   by 0xBB11063: ??? (in /usr/lib64/libstdc++.so.6.0.33)
   by 0x4F17119: start_thread (in /usr/lib64/libc.so.6)

The proposal to amend the existing suppression so that it's tied to the
specific callsite rather than libcrypto internals [1] received a thumbs
up from Radoslaw.

[1] ceph#61689 (comment)

Fixes: https://tracker.ceph.com/issues/74672
Signed-off-by: Ilya Dryomov <[email protected]>
(cherry picked from commit d85265e)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants