Actions
Bug #18311
closedDecode errors on backtrace will crash MDS
% Done:
0%
Source:
Tags:
Backport:
jewel, kraken
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
MDS
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
Noticed by inspection:
void MDCache::_open_ino_backtrace_fetched(inodeno_t ino, bufferlist& bl, int err) { dout(10) << "_open_ino_backtrace_fetched ino " << ino << " errno " << err << dendl; assert(opening_inodes.count(ino)); open_ino_info_t& info = opening_inodes[ino]; CInode *in = get_inode(ino); if (in) { dout(10) << " found cached " << *in << dendl; open_ino_finish(ino, info, in->authority().first); return; } inode_backtrace_t backtrace; if (err == 0) { ::decode(backtrace, bl);
That decode needs a try/catch!
Updated by John Spray over 7 years ago
- Status changed from New to Fix Under Review
Updated by John Spray over 7 years ago
- Status changed from Fix Under Review to Pending Backport
- Backport set to jewel kraken
Updated by Nathan Cutler over 7 years ago
- Backport changed from jewel kraken to jewel, kraken
Updated by Nathan Cutler over 7 years ago
- Copied to Backport #18462: jewel: Decode errors on backtrace will crash MDS added
Updated by Nathan Cutler over 7 years ago
- Copied to Backport #18463: kraken: Decode errors on backtrace will crash MDS added
Updated by John Spray about 7 years ago
- Status changed from Pending Backport to Resolved
Actions