FKIE_CVE-2022-50857
Vulnerability from fkie_nvd - Published: 2025-12-30 13:16 - Updated: 2026-06-17 05:24
Severity
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 |
|---|
{
"affected": [
{
"affectedData": [
{
"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"
}
]
}
],
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}
],
"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."
}
],
"id": "CVE-2022-50857",
"lastModified": "2026-06-17T05:24:18.380",
"metrics": {},
"published": "2025-12-30T13:16:00.437",
"references": [
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"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"
}
],
"sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"vulnStatus": "Deferred"
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…