Project

General

Profile

Actions

Bug #38355

closed

msg/async: sendmsg points to unaddressable bytes in AsyncConnection::_try_send

Added by Sage Weil about 5 years ago. Updated about 5 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

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

Description

  <kind>SyscallParam</kind>
  <what>Syscall param sendmsg(msg.msg_iov[3]) points to unaddressable byte(s)</what>
  <stack>
    <frame>
      <ip>0xD64DD5D</ip>
      <obj>/usr/lib64/libpthread-2.17.so</obj>
    </frame>
    <frame>
      <ip>0x105F89E</ip>
      <obj>/usr/bin/ceph-osd</obj>
      <fn>PosixConnectedSocketImpl::send(ceph::buffer::list&amp;, bool)</fn>
      <dir>/usr/src/debug/ceph-14.0.1-3757-g12d29fa/src/msg/async</dir>
      <file>PosixStack.cc</file>
      <line>84</line>
    </frame>
    <frame>
      <ip>0x101D745</ip>
      <obj>/usr/bin/ceph-osd</obj>
      <fn>AsyncConnection::_try_send(bool)</fn>
      <dir>/usr/src/debug/ceph-14.0.1-3757-g12d29fa/src/msg/async</dir>
      <file>Stack.h</file>
      <line>107</line>
    </frame>
    <frame>
      <ip>0x101DCDC</ip>
      <obj>/usr/bin/ceph-osd</obj>
      <fn>AsyncConnection::write(ceph::buffer::list&amp;, std::function&lt;void (long)&gt;, bool)</fn>
      <dir>/usr/src/debug/ceph-14.0.1-3757-g12d29fa/src/msg/async</dir>
      <file>AsyncConnection.cc</file>
      <line>293</line>
    </frame>
    <frame>
      <ip>0x1047F6F</ip>
      <obj>/usr/bin/ceph-osd</obj>
      <fn>ProtocolV2::write(std::string const&amp;, CtFun&lt;ProtocolV2&gt;*, ceph::buffer::list&amp;)</fn>
      <dir>/usr/src/debug/ceph-14.0.1-3757-g12d29fa/src/msg/async</dir>
      <file>ProtocolV2.cc</file>
      <line>1209</line>
    </frame>
    <frame>
      <ip>0x104F433</ip>
      <obj>/usr/bin/ceph-osd</obj>
      <fn>ProtocolV2::send_auth_request(std::vector&lt;unsigned int, std::allocator&lt;unsigned int&gt; &gt;&amp;)</fn>
      <dir>/usr/src/debug/ceph-14.0.1-3757-g12d29fa/src/msg/async</dir>
...

/a/sage-2019-02-15_22:48:00-rados:verify-wip-v2-leaks-distro-basic-smithi/3595919
/a/sage-2019-02-15_22:48:00-rados:verify-wip-v2-leaks-distro-basic-smithi/3595922
/a/sage-2019-02-15_22:48:00-rados:verify-wip-v2-leaks-distro-basic-smithi/3595930

http://pulpito.ceph.com/sage-2019-02-15_22:48:00-rados:verify-wip-v2-leaks-distro-basic-smithi/

Actions #1

Updated by Sage Weil about 5 years ago

  • Status changed from 12 to Resolved

Pretty sure this is fixed by 774bd9d99ed9d9f0630dba9658d756812b5e3253

Actions #2

Updated by Greg Farnum about 5 years ago

  • Project changed from RADOS to Messengers
Actions

Also available in: Atom PDF