In the Linux kernel, the following vulnerability has been resolved:
ceph: fix inode reference leakage in cephgetsnapdir()
The cephgetinode() will search for or insert a new inode into the hash for the given vino, and return a reference to it. If new is non-NULL, its reference is consumed.
We should release the reference when in error handing cases.
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49109.json",
"cna_assigner": "Linux"
}"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49109.json"
[
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"178430424591595131208597849401663690223",
"153790245164847354731488668458641499486",
"316046587749750889714824760275840176907",
"60620017906473480069683328130861124251",
"258546188182844119893270450032839218525",
"276371295226653225579357261623248901849",
"109478855126725923653638827127565707219",
"242045128158939912028207798832851468038",
"300498771439064115331475271372815496932",
"313314076708261257333451405501698500193",
"318615214345002219485247528402468930889",
"122875869360822382833333971791369657276",
"84340912010081374774571095130931118454"
]
},
"signature_type": "Line",
"target": {
"file": "fs/ceph/inode.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b2d9bb3f06abddefdfa740b0a604575b6797e1bf",
"deprecated": false,
"id": "CVE-2022-49109-1a935eb8"
},
{
"digest": {
"length": 999.0,
"function_hash": "227967929393801788852282062776486251036"
},
"signature_type": "Function",
"target": {
"function": "ceph_get_snapdir",
"file": "fs/ceph/inode.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3ae7163598c611a8892698e0c056fe794e52b44b",
"deprecated": false,
"id": "CVE-2022-49109-1bd3048a"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"178430424591595131208597849401663690223",
"153790245164847354731488668458641499486",
"316046587749750889714824760275840176907",
"60620017906473480069683328130861124251",
"258546188182844119893270450032839218525",
"276371295226653225579357261623248901849",
"109478855126725923653638827127565707219",
"242045128158939912028207798832851468038",
"300498771439064115331475271372815496932",
"313314076708261257333451405501698500193",
"318615214345002219485247528402468930889",
"122875869360822382833333971791369657276",
"84340912010081374774571095130931118454"
]
},
"signature_type": "Line",
"target": {
"file": "fs/ceph/inode.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9cd21981dedfb4fe9f344529e4be35727cb10940",
"deprecated": false,
"id": "CVE-2022-49109-283624ba"
},
{
"digest": {
"length": 999.0,
"function_hash": "227967929393801788852282062776486251036"
},
"signature_type": "Function",
"target": {
"function": "ceph_get_snapdir",
"file": "fs/ceph/inode.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@322794d3355c33adcc4feace0045d85a8e4ed813",
"deprecated": false,
"id": "CVE-2022-49109-503353cb"
},
{
"digest": {
"length": 999.0,
"function_hash": "227967929393801788852282062776486251036"
},
"signature_type": "Function",
"target": {
"function": "ceph_get_snapdir",
"file": "fs/ceph/inode.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9cd21981dedfb4fe9f344529e4be35727cb10940",
"deprecated": false,
"id": "CVE-2022-49109-67c28ac4"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"178430424591595131208597849401663690223",
"153790245164847354731488668458641499486",
"316046587749750889714824760275840176907",
"60620017906473480069683328130861124251",
"258546188182844119893270450032839218525",
"276371295226653225579357261623248901849",
"109478855126725923653638827127565707219",
"242045128158939912028207798832851468038",
"300498771439064115331475271372815496932",
"313314076708261257333451405501698500193",
"318615214345002219485247528402468930889",
"122875869360822382833333971791369657276",
"84340912010081374774571095130931118454"
]
},
"signature_type": "Line",
"target": {
"file": "fs/ceph/inode.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@322794d3355c33adcc4feace0045d85a8e4ed813",
"deprecated": false,
"id": "CVE-2022-49109-6fab4f8a"
},
{
"digest": {
"length": 999.0,
"function_hash": "227967929393801788852282062776486251036"
},
"signature_type": "Function",
"target": {
"function": "ceph_get_snapdir",
"file": "fs/ceph/inode.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b2d9bb3f06abddefdfa740b0a604575b6797e1bf",
"deprecated": false,
"id": "CVE-2022-49109-75842290"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"178430424591595131208597849401663690223",
"153790245164847354731488668458641499486",
"316046587749750889714824760275840176907",
"60620017906473480069683328130861124251",
"258546188182844119893270450032839218525",
"276371295226653225579357261623248901849",
"109478855126725923653638827127565707219",
"242045128158939912028207798832851468038",
"300498771439064115331475271372815496932",
"313314076708261257333451405501698500193",
"318615214345002219485247528402468930889",
"122875869360822382833333971791369657276",
"84340912010081374774571095130931118454"
]
},
"signature_type": "Line",
"target": {
"file": "fs/ceph/inode.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3ae7163598c611a8892698e0c056fe794e52b44b",
"deprecated": false,
"id": "CVE-2022-49109-d611f691"
}
]