In the Linux kernel, the following vulnerability has been resolved:
nfsd: Fix a memory leak in an error handling path
If this memdup_user() call fails, the memory allocated in a previous call a few lines above should be freed. Otherwise it leaks.
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50348.json",
"cna_assigner": "Linux"
}[
{
"signature_type": "Line",
"signature_version": "v1",
"target": {
"file": "fs/nfsd/nfs4recover.c"
},
"id": "CVE-2022-50348-26f3d8e1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@aed8816305575b38dcc77feb6f1bc1d0ed32f5b8",
"digest": {
"line_hashes": [
"266706204814339082966864558407705743138",
"115141617322531460434745286931962645975",
"13648007486784058788452233343480111910",
"205344310000786317882658083647519462404",
"119257570929477139224928180028688824936"
],
"threshold": 0.9
}
},
{
"signature_type": "Line",
"signature_version": "v1",
"target": {
"file": "fs/nfsd/nfs4recover.c"
},
"id": "CVE-2022-50348-457e1f52",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@acc393aecda05bf64ed13b732931462e07a1bf08",
"digest": {
"line_hashes": [
"266706204814339082966864558407705743138",
"115141617322531460434745286931962645975",
"13648007486784058788452233343480111910",
"205344310000786317882658083647519462404",
"119257570929477139224928180028688824936"
],
"threshold": 0.9
}
},
{
"signature_type": "Function",
"signature_version": "v1",
"target": {
"file": "fs/nfsd/nfs4recover.c",
"function": "__cld_pipe_inprogress_downcall"
},
"id": "CVE-2022-50348-5cd78fa1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@cc3bca2110ac85cd964da997ef83d84cab0d49fb",
"digest": {
"function_hash": "305710381620461856474616362943462884712",
"length": 1485.0
}
},
{
"signature_type": "Function",
"signature_version": "v1",
"target": {
"file": "fs/nfsd/nfs4recover.c",
"function": "__cld_pipe_inprogress_downcall"
},
"id": "CVE-2022-50348-8195694d",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e060c4b9f33c1fca74df26d57a98e784295327e6",
"digest": {
"function_hash": "305710381620461856474616362943462884712",
"length": 1485.0
}
},
{
"signature_type": "Function",
"signature_version": "v1",
"target": {
"file": "fs/nfsd/nfs4recover.c",
"function": "__cld_pipe_inprogress_downcall"
},
"id": "CVE-2022-50348-c9adfd41",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@acc393aecda05bf64ed13b732931462e07a1bf08",
"digest": {
"function_hash": "305710381620461856474616362943462884712",
"length": 1485.0
}
},
{
"signature_type": "Line",
"signature_version": "v1",
"target": {
"file": "fs/nfsd/nfs4recover.c"
},
"id": "CVE-2022-50348-d12005dd",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e060c4b9f33c1fca74df26d57a98e784295327e6",
"digest": {
"line_hashes": [
"266706204814339082966864558407705743138",
"115141617322531460434745286931962645975",
"13648007486784058788452233343480111910",
"205344310000786317882658083647519462404",
"119257570929477139224928180028688824936"
],
"threshold": 0.9
}
},
{
"signature_type": "Line",
"signature_version": "v1",
"target": {
"file": "fs/nfsd/nfs4recover.c"
},
"id": "CVE-2022-50348-dbcbfa7c",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@cc3bca2110ac85cd964da997ef83d84cab0d49fb",
"digest": {
"line_hashes": [
"266706204814339082966864558407705743138",
"115141617322531460434745286931962645975",
"13648007486784058788452233343480111910",
"205344310000786317882658083647519462404",
"119257570929477139224928180028688824936"
],
"threshold": 0.9
}
},
{
"signature_type": "Function",
"signature_version": "v1",
"target": {
"file": "fs/nfsd/nfs4recover.c",
"function": "__cld_pipe_inprogress_downcall"
},
"id": "CVE-2022-50348-e17c6ff9",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@aed8816305575b38dcc77feb6f1bc1d0ed32f5b8",
"digest": {
"function_hash": "305710381620461856474616362943462884712",
"length": 1485.0
}
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50348.json"