CVE-2022-50857

Source
https://cve.org/CVERecord?id=CVE-2022-50857
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50857.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-50857
Downstream
Published
2025-12-30T12:15:31.873Z
Modified
2026-04-02T08:28:47.628773Z
Summary
rapidio: rio: fix possible name leak in rio_register_mport()
Details

In the Linux kernel, the following vulnerability has been resolved:

rapidio: rio: fix possible name leak in rioregistermport()

If deviceregister() returns error, the name allocated by devsetname() need be freed. It should use putdevice() to give up the reference in the error path, so that the name can be freed in kobjectcleanup(), and listdel() is called to delete the port from rio_mports.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50857.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
2aaf308b95b24649a6dcfed89cd956e972089b2a
Fixed
0a71344f99289250e4d5b8adbac76f444485c840
Fixed
117fede82e9d6ea3de30746d500eb5edc2eb8310
Fixed
a73a626c0510d203e369aeb26c4d6ec9c75af027
Fixed
1bbad5793f404cf218757e3beb600eca6080330f
Fixed
97d9eb45ffa67ffa112a6659953321b8f7db0065
Fixed
a47de2fd3f88a7788be19f94ade72c2244a98045
Fixed
4ddbeae5f224d924cf0b12460dda88c7480aa452
Fixed
9abba4aa60874c5216fc8de7dededadc791de696
Fixed
e92a216d16bde65d21a3227e0fb2aa0794576525

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50857.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.15.0
Fixed
4.9.337
Type
ECOSYSTEM
Events
Introduced
4.10.0
Fixed
4.14.303
Type
ECOSYSTEM
Events
Introduced
4.15.0
Fixed
4.19.270
Type
ECOSYSTEM
Events
Introduced
4.20.0
Fixed
5.4.229
Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
5.10.163
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.86
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.0.16
Type
ECOSYSTEM
Events
Introduced
6.1.0
Fixed
6.1.2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50857.json"