Project

General

Profile

Bug #18148

Fix unsafe d_parent handling in kcephfs

Added by Jeff Layton 12 months ago. Updated 10 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
12/05/2016
Due date:
% Done:

0%

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

Description

As Zheng points out, there are several places in the kernel client that access d_parent without proper locking:

As we discussed, please write a patch that guarantees safe access to d_parent when parent is not locked.
(__choose_mds, build_dentry_path and probably ceph_encode_dentry_release)

History

#1 Updated by Jeff Layton 11 months ago

#2 Updated by Zheng Yan 10 months ago

  • Status changed from New to Resolved

by commits c3f4688a08fd86f1bf8e055724c84b7a40a09733

Also available in: Atom PDF