title: ceph: fix deadlock or deadcode of misusing dget()
description: In the Linux kernel, the following vulnerability has been resolved:
ceph: fix deadlock or deadcode of misusing dget()
The lock order is incorrect between denty and its parent, we should
always make sure that the parent get the lock first.
But since this deadcode is never used and the parent dir will always
be set from the callers, let's just remove it.
affected:
{
product: Linux
vendor: Linux
defaultStatus: unaffected
repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
versions:
version: 1da177e4c3f4, lessThan: eb55ba8aa7fb, status: affected, versionType: git
version: 1da177e4c3f4, lessThan: 6ab4fd508fad, status: affected, versionType: git
version: 1da177e4c3f4, lessThan: e016e358461b, status: affected, versionType: git
version: 1da177e4c3f4, lessThan: a9c15d6e8aee, status: affected, versionType: git
version: 1da177e4c3f4, lessThan: 7f2649c94264, status: affected, versionType: git
version: 1da177e4c3f4, lessThan: 196b87e5c00c, status: affected, versionType: git
version: 1da177e4c3f4, lessThan: 76cb2aa3421f, status: affected, versionType: git
version: 1da177e4c3f4, lessThan: b493ad718b1f, status: affected, versionType: git
}
{
product: Linux
vendor: Linux
defaultStatus: affected
repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
versions:
version: 4.19.307, lessThanOrEqual: 4.19.*, status: unaffected, versionType: custom
version: 5.4.269, lessThanOrEqual: 5.4.*, status: unaffected, versionType: custom
version: 5.10.210, lessThanOrEqual: 5.10.*, status: unaffected, versionType: custom
version: 5.15.149, lessThanOrEqual: 5.15.*, status: unaffected, versionType: custom
version: 6.1.77, lessThanOrEqual: 6.1.*, status: unaffected, versionType: custom
version: 6.6.16, lessThanOrEqual: 6.6.*, status: unaffected, versionType: custom
version: 6.7.4, lessThanOrEqual: 6.7.*, status: unaffected, versionType: custom
version: 6.8, lessThanOrEqual: *, status: unaffected, versionType: original_commit_for_fix
}
