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.
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49109.json"
}[
{
"signature_version": "v1",
"deprecated": false,
"signature_type": "Line",
"digest": {
"line_hashes": [
"178430424591595131208597849401663690223",
"153790245164847354731488668458641499486",
"316046587749750889714824760275840176907",
"60620017906473480069683328130861124251",
"258546188182844119893270450032839218525",
"276371295226653225579357261623248901849",
"109478855126725923653638827127565707219",
"242045128158939912028207798832851468038",
"300498771439064115331475271372815496932",
"313314076708261257333451405501698500193",
"318615214345002219485247528402468930889",
"122875869360822382833333971791369657276",
"84340912010081374774571095130931118454"
],
"threshold": 0.9
},
"target": {
"file": "fs/ceph/inode.c"
},
"id": "CVE-2022-49109-1a935eb8",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b2d9bb3f06abddefdfa740b0a604575b6797e1bf"
},
{
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function",
"digest": {
"function_hash": "227967929393801788852282062776486251036",
"length": 999.0
},
"target": {
"file": "fs/ceph/inode.c",
"function": "ceph_get_snapdir"
},
"id": "CVE-2022-49109-1bd3048a",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3ae7163598c611a8892698e0c056fe794e52b44b"
},
{
"signature_version": "v1",
"deprecated": false,
"signature_type": "Line",
"digest": {
"line_hashes": [
"178430424591595131208597849401663690223",
"153790245164847354731488668458641499486",
"316046587749750889714824760275840176907",
"60620017906473480069683328130861124251",
"258546188182844119893270450032839218525",
"276371295226653225579357261623248901849",
"109478855126725923653638827127565707219",
"242045128158939912028207798832851468038",
"300498771439064115331475271372815496932",
"313314076708261257333451405501698500193",
"318615214345002219485247528402468930889",
"122875869360822382833333971791369657276",
"84340912010081374774571095130931118454"
],
"threshold": 0.9
},
"target": {
"file": "fs/ceph/inode.c"
},
"id": "CVE-2022-49109-283624ba",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9cd21981dedfb4fe9f344529e4be35727cb10940"
},
{
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function",
"digest": {
"function_hash": "227967929393801788852282062776486251036",
"length": 999.0
},
"target": {
"file": "fs/ceph/inode.c",
"function": "ceph_get_snapdir"
},
"id": "CVE-2022-49109-503353cb",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@322794d3355c33adcc4feace0045d85a8e4ed813"
},
{
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function",
"digest": {
"function_hash": "227967929393801788852282062776486251036",
"length": 999.0
},
"target": {
"file": "fs/ceph/inode.c",
"function": "ceph_get_snapdir"
},
"id": "CVE-2022-49109-67c28ac4",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9cd21981dedfb4fe9f344529e4be35727cb10940"
},
{
"signature_version": "v1",
"deprecated": false,
"signature_type": "Line",
"digest": {
"line_hashes": [
"178430424591595131208597849401663690223",
"153790245164847354731488668458641499486",
"316046587749750889714824760275840176907",
"60620017906473480069683328130861124251",
"258546188182844119893270450032839218525",
"276371295226653225579357261623248901849",
"109478855126725923653638827127565707219",
"242045128158939912028207798832851468038",
"300498771439064115331475271372815496932",
"313314076708261257333451405501698500193",
"318615214345002219485247528402468930889",
"122875869360822382833333971791369657276",
"84340912010081374774571095130931118454"
],
"threshold": 0.9
},
"target": {
"file": "fs/ceph/inode.c"
},
"id": "CVE-2022-49109-6fab4f8a",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@322794d3355c33adcc4feace0045d85a8e4ed813"
},
{
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function",
"digest": {
"function_hash": "227967929393801788852282062776486251036",
"length": 999.0
},
"target": {
"file": "fs/ceph/inode.c",
"function": "ceph_get_snapdir"
},
"id": "CVE-2022-49109-75842290",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b2d9bb3f06abddefdfa740b0a604575b6797e1bf"
},
{
"signature_version": "v1",
"deprecated": false,
"signature_type": "Line",
"digest": {
"line_hashes": [
"178430424591595131208597849401663690223",
"153790245164847354731488668458641499486",
"316046587749750889714824760275840176907",
"60620017906473480069683328130861124251",
"258546188182844119893270450032839218525",
"276371295226653225579357261623248901849",
"109478855126725923653638827127565707219",
"242045128158939912028207798832851468038",
"300498771439064115331475271372815496932",
"313314076708261257333451405501698500193",
"318615214345002219485247528402468930889",
"122875869360822382833333971791369657276",
"84340912010081374774571095130931118454"
],
"threshold": 0.9
},
"target": {
"file": "fs/ceph/inode.c"
},
"id": "CVE-2022-49109-d611f691",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3ae7163598c611a8892698e0c056fe794e52b44b"
}
]