Project

General

Profile

Bug #43646

common: bufferlist::last_p is not updated by operator=(const bufferlist&)

Added by Radoslaw Zarzynski about 4 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
Normal
Category:
common
Target version:
-
% Done:

0%

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

Description

This can lead to write-after-free, and thus to memory corruption.


Related issues

Copied to Ceph - Backport #43722: nautilus: common: bufferlist::last_p is not updated by operator=(const bufferlist&) Resolved
Copied to Ceph - Backport #43723: mimic: common: bufferlist::last_p is not updated by operator=(const bufferlist&) Rejected

History

#1 Updated by Radoslaw Zarzynski about 4 years ago

  • Backport set to mimic,nautilus

#2 Updated by Radoslaw Zarzynski about 4 years ago

  • Status changed from In Progress to Pending Backport

#3 Updated by Nathan Cutler about 4 years ago

  • Copied to Backport #43722: nautilus: common: bufferlist::last_p is not updated by operator=(const bufferlist&) added

#4 Updated by Nathan Cutler about 4 years ago

  • Copied to Backport #43723: mimic: common: bufferlist::last_p is not updated by operator=(const bufferlist&) added

#5 Updated by Nathan Cutler about 4 years ago

  • Pull request ID set to 32702

#6 Updated by Nathan Cutler about 3 years ago

  • Status changed from Pending Backport to Resolved

While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".

Also available in: Atom PDF