Project

General

Profile

Bug #20779

rgw: usage logging on tenated buckets causes invalid memory reads

Added by Radoslaw Zarzynski 5 months ago. Updated 3 months ago.

Status:
Resolved
Priority:
Normal
Target version:
-
Start date:
07/26/2017
Due date:
% Done:

0%

Source:
Development
Tags:
Backport:
kraken,jewel
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Release:
Needs Doc:
No

Description

Valgrind reports:

<error>
  <unique>0x0</unique>
  <tid>70</tid>
  <threadname>civetweb-worker</threadname>
  <kind>InvalidRead</kind>
  <what>Invalid read of size 1</what>
  <stack>
    <frame>
      <ip>0x5D21D11</ip>
      <obj>/usr/lib/ceph/libceph-common.so.0</obj>
      <fn>check_utf8</fn>
    </frame>
    <frame>
      <ip>0x369CDB</ip>
      <obj>/usr/bin/radosgw</obj>
      <fn>rgw_log_op(RGWRados*, RGWREST*, req_state*, std::string const&amp;, OpsLogSocket*)</fn>
    </frame>
    <frame>
      <ip>0x3D981B</ip>
      <obj>/usr/bin/radosgw</obj>
      <fn>process_request(RGWRados*, RGWREST*, RGWRequest*, std::string const&amp;, rgw::auth::StrategyRegistry const&amp;, RGWRestfulIO*, OpsLogSocket*)</fn>
    </frame>
    <frame>
      <ip>0x2C3C76</ip>
      <obj>/usr/bin/radosgw</obj>
      <fn>RGWCivetWebFrontend::process(mg_connection*)</fn>
    </frame>
  ...
  </stack>
  ..
</error>


Related issues

Copied to rgw - Backport #20812: kraken: rgw: usage logging on tenated buckets causes invalid memory reads Rejected
Copied to rgw - Backport #20813: jewel: rgw: usage logging on tenated buckets causes invalid memory reads Resolved

History

#1 Updated by Radoslaw Zarzynski 5 months ago

  • Status changed from New to In Progress

#2 Updated by Radoslaw Zarzynski 5 months ago

  • Status changed from In Progress to Need Review

#3 Updated by Radoslaw Zarzynski 5 months ago

  • Backport set to kraken,jewel

#4 Updated by Yuri Weinstein 5 months ago

Radoslaw Zarzynski wrote:

PR: https://github.com/ceph/ceph/pull/16604.

merged

#5 Updated by Radoslaw Zarzynski 5 months ago

  • Status changed from Need Review to Pending Backport

#6 Updated by Nathan Cutler 5 months ago

  • Copied to Backport #20812: kraken: rgw: usage logging on tenated buckets causes invalid memory reads added

#7 Updated by Nathan Cutler 5 months ago

  • Copied to Backport #20813: jewel: rgw: usage logging on tenated buckets causes invalid memory reads added

#8 Updated by Nathan Cutler 3 months ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF