CVE-2022-50857 (GCVE-0-2022-50857)
Vulnerability from cvelistv5
Published
2025-12-30 12:15
Modified
2025-12-30 12:15
Severity ?
VLAI Severity ?
EPSS score ?
Summary
In the Linux kernel, the following vulnerability has been resolved:
rapidio: rio: fix possible name leak in rio_register_mport()
If device_register() returns error, the name allocated by dev_set_name()
need be freed. It should use put_device() to give up the reference in the
error path, so that the name can be freed in kobject_cleanup(), and
list_del() is called to delete the port from rio_mports.
References
Impacted products
| Vendor | Product | Version | ||
|---|---|---|---|---|
| Linux | Linux |
Version: 2aaf308b95b24649a6dcfed89cd956e972089b2a Version: 2aaf308b95b24649a6dcfed89cd956e972089b2a Version: 2aaf308b95b24649a6dcfed89cd956e972089b2a Version: 2aaf308b95b24649a6dcfed89cd956e972089b2a Version: 2aaf308b95b24649a6dcfed89cd956e972089b2a Version: 2aaf308b95b24649a6dcfed89cd956e972089b2a Version: 2aaf308b95b24649a6dcfed89cd956e972089b2a Version: 2aaf308b95b24649a6dcfed89cd956e972089b2a Version: 2aaf308b95b24649a6dcfed89cd956e972089b2a |
||
{
"containers": {
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"drivers/rapidio/rio.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "0a71344f99289250e4d5b8adbac76f444485c840",
"status": "affected",
"version": "2aaf308b95b24649a6dcfed89cd956e972089b2a",
"versionType": "git"
},
{
"lessThan": "117fede82e9d6ea3de30746d500eb5edc2eb8310",
"status": "affected",
"version": "2aaf308b95b24649a6dcfed89cd956e972089b2a",
"versionType": "git"
},
{
"lessThan": "a73a626c0510d203e369aeb26c4d6ec9c75af027",
"status": "affected",
"version": "2aaf308b95b24649a6dcfed89cd956e972089b2a",
"versionType": "git"
},
{
"lessThan": "1bbad5793f404cf218757e3beb600eca6080330f",
"status": "affected",
"version": "2aaf308b95b24649a6dcfed89cd956e972089b2a",
"versionType": "git"
},
{
"lessThan": "97d9eb45ffa67ffa112a6659953321b8f7db0065",
"status": "affected",
"version": "2aaf308b95b24649a6dcfed89cd956e972089b2a",
"versionType": "git"
},
{
"lessThan": "a47de2fd3f88a7788be19f94ade72c2244a98045",
"status": "affected",
"version": "2aaf308b95b24649a6dcfed89cd956e972089b2a",
"versionType": "git"
},
{
"lessThan": "4ddbeae5f224d924cf0b12460dda88c7480aa452",
"status": "affected",
"version": "2aaf308b95b24649a6dcfed89cd956e972089b2a",
"versionType": "git"
},
{
"lessThan": "9abba4aa60874c5216fc8de7dededadc791de696",
"status": "affected",
"version": "2aaf308b95b24649a6dcfed89cd956e972089b2a",
"versionType": "git"
},
{
"lessThan": "e92a216d16bde65d21a3227e0fb2aa0794576525",
"status": "affected",
"version": "2aaf308b95b24649a6dcfed89cd956e972089b2a",
"versionType": "git"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"drivers/rapidio/rio.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "3.15"
},
{
"lessThan": "3.15",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "4.9.*",
"status": "unaffected",
"version": "4.9.337",
"versionType": "semver"
},
{
"lessThanOrEqual": "4.14.*",
"status": "unaffected",
"version": "4.14.303",
"versionType": "semver"
},
{
"lessThanOrEqual": "4.19.*",
"status": "unaffected",
"version": "4.19.270",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.4.*",
"status": "unaffected",
"version": "5.4.229",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.10.*",
"status": "unaffected",
"version": "5.10.163",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.15.*",
"status": "unaffected",
"version": "5.15.86",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.0.*",
"status": "unaffected",
"version": "6.0.16",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.1.*",
"status": "unaffected",
"version": "6.1.2",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "6.2",
"versionType": "original_commit_for_fix"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "4.9.337",
"versionStartIncluding": "3.15",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "4.14.303",
"versionStartIncluding": "3.15",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "4.19.270",
"versionStartIncluding": "3.15",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.4.229",
"versionStartIncluding": "3.15",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.10.163",
"versionStartIncluding": "3.15",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.15.86",
"versionStartIncluding": "3.15",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.0.16",
"versionStartIncluding": "3.15",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.1.2",
"versionStartIncluding": "3.15",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.2",
"versionStartIncluding": "3.15",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nrapidio: rio: fix possible name leak in rio_register_mport()\n\nIf device_register() returns error, the name allocated by dev_set_name()\nneed be freed. It should use put_device() to give up the reference in the\nerror path, so that the name can be freed in kobject_cleanup(), and\nlist_del() is called to delete the port from rio_mports."
}
],
"providerMetadata": {
"dateUpdated": "2025-12-30T12:15:31.873Z",
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux"
},
"references": [
{
"url": "https://git.kernel.org/stable/c/0a71344f99289250e4d5b8adbac76f444485c840"
},
{
"url": "https://git.kernel.org/stable/c/117fede82e9d6ea3de30746d500eb5edc2eb8310"
},
{
"url": "https://git.kernel.org/stable/c/a73a626c0510d203e369aeb26c4d6ec9c75af027"
},
{
"url": "https://git.kernel.org/stable/c/1bbad5793f404cf218757e3beb600eca6080330f"
},
{
"url": "https://git.kernel.org/stable/c/97d9eb45ffa67ffa112a6659953321b8f7db0065"
},
{
"url": "https://git.kernel.org/stable/c/a47de2fd3f88a7788be19f94ade72c2244a98045"
},
{
"url": "https://git.kernel.org/stable/c/4ddbeae5f224d924cf0b12460dda88c7480aa452"
},
{
"url": "https://git.kernel.org/stable/c/9abba4aa60874c5216fc8de7dededadc791de696"
},
{
"url": "https://git.kernel.org/stable/c/e92a216d16bde65d21a3227e0fb2aa0794576525"
}
],
"title": "rapidio: rio: fix possible name leak in rio_register_mport()",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"assignerShortName": "Linux",
"cveId": "CVE-2022-50857",
"datePublished": "2025-12-30T12:15:31.873Z",
"dateReserved": "2025-12-30T12:06:07.135Z",
"dateUpdated": "2025-12-30T12:15:31.873Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"vulnerability-lookup:meta": {
"nvd": "{\"cve\":{\"id\":\"CVE-2022-50857\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-12-30T13:16:00.437\",\"lastModified\":\"2025-12-30T13:16:00.437\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nrapidio: rio: fix possible name leak in rio_register_mport()\\n\\nIf device_register() returns error, the name allocated by dev_set_name()\\nneed be freed. It should use put_device() to give up the reference in the\\nerror path, so that the name can be freed in kobject_cleanup(), and\\nlist_del() is called to delete the port from rio_mports.\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/0a71344f99289250e4d5b8adbac76f444485c840\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/117fede82e9d6ea3de30746d500eb5edc2eb8310\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/1bbad5793f404cf218757e3beb600eca6080330f\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/4ddbeae5f224d924cf0b12460dda88c7480aa452\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/97d9eb45ffa67ffa112a6659953321b8f7db0065\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/9abba4aa60874c5216fc8de7dededadc791de696\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/a47de2fd3f88a7788be19f94ade72c2244a98045\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/a73a626c0510d203e369aeb26c4d6ec9c75af027\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/e92a216d16bde65d21a3227e0fb2aa0794576525\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}"
}
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…
Loading…