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.
{ "vanir_signatures": [ { "target": { "function": "ceph_encode_dentry_release", "file": "fs/ceph/caps.c" }, "digest": { "length": 1032.0, "function_hash": "26316493959642383678527115910209025863" }, "id": "CVE-2023-52583-11629b24", "deprecated": false, "signature_version": "v1", "signature_type": "Function", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a9c15d6e8aee074fae66c04d114f20b84274fcca" }, { "target": { "function": "ceph_encode_dentry_release", "file": "fs/ceph/caps.c" }, "digest": { "length": 1032.0, "function_hash": "26316493959642383678527115910209025863" }, "id": "CVE-2023-52583-1bfbf854", "deprecated": false, "signature_version": "v1", "signature_type": "Function", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6ab4fd508fad942f1f1ba940492f2735e078e980" }, { "target": { "function": "ceph_encode_dentry_release", "file": "fs/ceph/caps.c" }, "digest": { "length": 1269.0, "function_hash": "220834806835345655176291815715790509454" }, "id": "CVE-2023-52583-31ff074f", "deprecated": false, "signature_version": "v1", "signature_type": "Function", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@196b87e5c00ce021e164a5de0f0d04f4116a9160" }, { "target": { "file": "fs/ceph/caps.c" }, "digest": { "threshold": 0.9, "line_hashes": [ "146765377916698863081737624504928318849", "23772543178343128892122680307190225285", "285837044130431970061595272112657612496", "335552635267860366350830561161693971836", "212698810762588604322480682570536735697", "102527152053683272415335659639387344318", "61997770130281905394676237742572173982", "89407822856901627866014054630339090201", "41480840571031369650515662381897906490", "327800361900810639281547530485811824951", "236142708617722871607151400377614962290", "1487477827167641294458935611751081233", "149030505289207138737365800935021187470", "22049577694240695758576800641028436359", "282948203257902572085400536797739604049", "172639981586732981350995040123408769516", "239804600263031900065479545332607763558", "111894580158671526221567385459274910131" ] }, "id": "CVE-2023-52583-32a81f88", "deprecated": false, "signature_version": "v1", "signature_type": "Line", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a9c15d6e8aee074fae66c04d114f20b84274fcca" }, { "target": { "file": "fs/ceph/caps.c" }, "digest": { "threshold": 0.9, "line_hashes": [ "146765377916698863081737624504928318849", "23772543178343128892122680307190225285", "285837044130431970061595272112657612496", "81631017216550593439797907681161072442", "227300878631077954456210338473990457182", "24823364281558550323785004285106762026", "11153198935983120716013743967647978829", "61997770130281905394676237742572173982", "89407822856901627866014054630339090201", "41480840571031369650515662381897906490", "327800361900810639281547530485811824951", "236142708617722871607151400377614962290", "1487477827167641294458935611751081233", "149030505289207138737365800935021187470", "22049577694240695758576800641028436359", "282948203257902572085400536797739604049", "41294970139252850872862832489805129854", "1839276690157040466038824538403413066", "80242298480296704593468320263774788715" ] }, "id": "CVE-2023-52583-33a32d6a", "deprecated": false, "signature_version": "v1", "signature_type": "Line", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@76cb2aa3421fee4fde706dec41b1344bc0a9ad67" }, { "target": { "function": "ceph_encode_dentry_release", "file": "fs/ceph/caps.c" }, "digest": { "length": 1294.0, "function_hash": "323356835521597157763287283607003954733" }, "id": "CVE-2023-52583-4f58888e", "deprecated": false, "signature_version": "v1", "signature_type": "Function", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@76cb2aa3421fee4fde706dec41b1344bc0a9ad67" }, { "target": { "file": "fs/ceph/caps.c" }, "digest": { "threshold": 0.9, "line_hashes": [ "146765377916698863081737624504928318849", "23772543178343128892122680307190225285", "285837044130431970061595272112657612496", "335552635267860366350830561161693971836", "212698810762588604322480682570536735697", "102527152053683272415335659639387344318", "61997770130281905394676237742572173982", "89407822856901627866014054630339090201", "41480840571031369650515662381897906490", "327800361900810639281547530485811824951", "236142708617722871607151400377614962290", "1487477827167641294458935611751081233", "149030505289207138737365800935021187470", "22049577694240695758576800641028436359", "282948203257902572085400536797739604049", "172639981586732981350995040123408769516", "239804600263031900065479545332607763558", "111894580158671526221567385459274910131" ] }, "id": "CVE-2023-52583-63652d03", "deprecated": false, "signature_version": "v1", "signature_type": "Line", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@eb55ba8aa7fb7aad54f40fbf4d8dcdfdba0bebf6" }, { "target": { "file": "fs/ceph/caps.c" }, "digest": { "threshold": 0.9, "line_hashes": [ "146765377916698863081737624504928318849", "23772543178343128892122680307190225285", "285837044130431970061595272112657612496", "335552635267860366350830561161693971836", "212698810762588604322480682570536735697", "102527152053683272415335659639387344318", "61997770130281905394676237742572173982", "89407822856901627866014054630339090201", "41480840571031369650515662381897906490", "327800361900810639281547530485811824951", "236142708617722871607151400377614962290", "1487477827167641294458935611751081233", "149030505289207138737365800935021187470", "22049577694240695758576800641028436359", "282948203257902572085400536797739604049", "172639981586732981350995040123408769516", "239804600263031900065479545332607763558", "111894580158671526221567385459274910131" ] }, "id": "CVE-2023-52583-68f62f43", "deprecated": false, "signature_version": "v1", "signature_type": "Line", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6ab4fd508fad942f1f1ba940492f2735e078e980" }, { "target": { "file": "fs/ceph/caps.c" }, "digest": { "threshold": 0.9, "line_hashes": [ "146765377916698863081737624504928318849", "23772543178343128892122680307190225285", "285837044130431970061595272112657612496", "81631017216550593439797907681161072442", "227300878631077954456210338473990457182", "24823364281558550323785004285106762026", "11153198935983120716013743967647978829", "61997770130281905394676237742572173982", "89407822856901627866014054630339090201", "41480840571031369650515662381897906490", "327800361900810639281547530485811824951", "236142708617722871607151400377614962290", "1487477827167641294458935611751081233", "149030505289207138737365800935021187470", "22049577694240695758576800641028436359", "282948203257902572085400536797739604049", "41294970139252850872862832489805129854", "1839276690157040466038824538403413066", "80242298480296704593468320263774788715" ] }, "id": "CVE-2023-52583-74629676", "deprecated": false, "signature_version": "v1", "signature_type": "Line", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b493ad718b1f0357394d2cdecbf00a44a36fa085" }, { "target": { "file": "fs/ceph/caps.c" }, "digest": { "threshold": 0.9, "line_hashes": [ "146765377916698863081737624504928318849", "23772543178343128892122680307190225285", "285837044130431970061595272112657612496", "335552635267860366350830561161693971836", "212698810762588604322480682570536735697", "102527152053683272415335659639387344318", "61997770130281905394676237742572173982", "89407822856901627866014054630339090201", "41480840571031369650515662381897906490", "327800361900810639281547530485811824951", "236142708617722871607151400377614962290", "1487477827167641294458935611751081233", "149030505289207138737365800935021187470", "22049577694240695758576800641028436359", "282948203257902572085400536797739604049", "172639981586732981350995040123408769516", "239804600263031900065479545332607763558", "111894580158671526221567385459274910131" ] }, "id": "CVE-2023-52583-7cabcf20", "deprecated": false, "signature_version": "v1", "signature_type": "Line", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7f2649c94264d00df6b6ac27161e9f4372a3450e" }, { "target": { "function": "ceph_encode_dentry_release", "file": "fs/ceph/caps.c" }, "digest": { "length": 1032.0, "function_hash": "26316493959642383678527115910209025863" }, "id": "CVE-2023-52583-8890ba16", "deprecated": false, "signature_version": "v1", "signature_type": "Function", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@eb55ba8aa7fb7aad54f40fbf4d8dcdfdba0bebf6" }, { "target": { "function": "ceph_encode_dentry_release", "file": "fs/ceph/caps.c" }, "digest": { "length": 1032.0, "function_hash": "26316493959642383678527115910209025863" }, "id": "CVE-2023-52583-a4bef457", "deprecated": false, "signature_version": "v1", "signature_type": "Function", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7f2649c94264d00df6b6ac27161e9f4372a3450e" }, { "target": { "file": "fs/ceph/caps.c" }, "digest": { "threshold": 0.9, "line_hashes": [ "146765377916698863081737624504928318849", "23772543178343128892122680307190225285", "285837044130431970061595272112657612496", "335552635267860366350830561161693971836", "212698810762588604322480682570536735697", "102527152053683272415335659639387344318", "61997770130281905394676237742572173982", "89407822856901627866014054630339090201", "41480840571031369650515662381897906490", "327800361900810639281547530485811824951", "236142708617722871607151400377614962290", "1487477827167641294458935611751081233", "149030505289207138737365800935021187470", "22049577694240695758576800641028436359", "282948203257902572085400536797739604049", "172639981586732981350995040123408769516", "239804600263031900065479545332607763558", "111894580158671526221567385459274910131" ] }, "id": "CVE-2023-52583-b0f38c16", "deprecated": false, "signature_version": "v1", "signature_type": "Line", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e016e358461b89b231626fcf78c5c38e35c44fd3" }, { "target": { "function": "ceph_encode_dentry_release", "file": "fs/ceph/caps.c" }, "digest": { "length": 1032.0, "function_hash": "26316493959642383678527115910209025863" }, "id": "CVE-2023-52583-c73b2ad8", "deprecated": false, "signature_version": "v1", "signature_type": "Function", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e016e358461b89b231626fcf78c5c38e35c44fd3" }, { "target": { "function": "ceph_encode_dentry_release", "file": "fs/ceph/caps.c" }, "digest": { "length": 1294.0, "function_hash": "323356835521597157763287283607003954733" }, "id": "CVE-2023-52583-db840c7a", "deprecated": false, "signature_version": "v1", "signature_type": "Function", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b493ad718b1f0357394d2cdecbf00a44a36fa085" }, { "target": { "file": "fs/ceph/caps.c" }, "digest": { "threshold": 0.9, "line_hashes": [ "146765377916698863081737624504928318849", "23772543178343128892122680307190225285", "285837044130431970061595272112657612496", "335552635267860366350830561161693971836", "212698810762588604322480682570536735697", "102527152053683272415335659639387344318", "61997770130281905394676237742572173982", "89407822856901627866014054630339090201", "41480840571031369650515662381897906490", "327800361900810639281547530485811824951", "236142708617722871607151400377614962290", "1487477827167641294458935611751081233", "149030505289207138737365800935021187470", "22049577694240695758576800641028436359", "282948203257902572085400536797739604049", "172639981586732981350995040123408769516", "239804600263031900065479545332607763558", "111894580158671526221567385459274910131" ] }, "id": "CVE-2023-52583-ddfc0001", "deprecated": false, "signature_version": "v1", "signature_type": "Line", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@196b87e5c00ce021e164a5de0f0d04f4116a9160" } ] }