Project

General

Profile

Actions

Bug #38827

closed

valgrind: UninitCondition in ceph::crypto::onwire::AES128GCM_OnWireRxHandler::authenticated_decrypt_update_final()

Added by Kefu Chai about 5 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
High
Category:
Correctness/Safety
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
nautilus
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(RADOS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

<error>
  <unique>0x0</unique>
  <tid>12</tid>
  <threadname>msgr-worker-2</threadname>
  <kind>UninitCondition</kind>
  <what>Conditional jump or move depends on uninitialised value(s)</what>
  <stack>
    <frame>
      <ip>0x10430C7C</ip>
      <obj>/usr/lib64/libcrypto.so.1.0.2k</obj>
    </frame>
    <frame>
      <ip>0x1042CBD6</ip>
      <obj>/usr/lib64/libcrypto.so.1.0.2k</obj>
      <fn>EVP_DecryptFinal_ex</fn>
    </frame>
    <frame>
      <ip>0x5368F14</ip>
      <obj>/usr/lib64/ceph/libceph-common.so.0</obj>
      <fn>ceph::crypto::onwire::AES128GCM_OnWireRxHandler::authenticated_decrypt_update_final(ceph::buffer::v14_2_0::list&amp;&amp;, unsigned int)</fn>
      <dir>/usr/src/debug/ceph-14.2.0-165-gba7267b/src/msg/async</dir>
      <file>crypto_onwire.cc</file>
      <line>267</line>
    </frame>
    <frame>
      <ip>0x5358151</ip>
      <obj>/usr/lib64/ceph/libceph-common.so.0</obj>
      <fn>ProtocolV2::handle_read_frame_epilogue_main(std::unique_ptr&lt;ceph::buffer::v14_2_0::ptr_node, ceph::buffer::v14_2_0::ptr_node::disposer&gt;&amp;&amp;, int)</fn>
      <dir>/usr/src/debug/ceph-14.2.0-165-gba7267b/src/msg/async</dir>
      <file>ProtocolV2.cc</file>
      <line>1264</line>
    </frame>
...

/a/kchai-2019-03-20_05:45:48-rados-wip-kefu-testing-2019-03-20-1120-distro-basic-smithi/3751697/remote/smithi039/log/valgrind/mon.a.log.gz


Related issues 2 (0 open2 closed)

Related to RADOS - Bug #44362: osd: uninitialized memory in sendmsgCan't reproduceYehuda Sadeh

Actions
Copied to RADOS - Backport #41534: nautilus: valgrind: UninitCondition in ceph::crypto::onwire::AES128GCM_OnWireRxHandler::authenticated_decrypt_update_final()ResolvedNathan CutlerActions
Actions

Also available in: Atom PDF