CVE-2022-50857 json
rapidio: rio: fix possible name leak in rio_register_mport()
published 2025-12-30 10 mo ago modified 2026-06-17 4 mo ago also EUVD-2022-55841
- cvss
- —
- not scored
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 15%
- public exploits
- 0
- none known
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.
Patch / fix
- Linux Linux 4.9.337, 4.14.303, 4.19.270, 5.4.229, 5.10.163, 5.15.86, 6.0.16, 6.1.2, 6.2
- linux Debian 14, Debian 13, Debian 12 6.1.4-1
debian advisories DEBIAN-CVE-2022-50857
- linux Ubuntu 18.04 LTS 4.15.0-208.220
- linux Ubuntu 20.04 LTS 5.4.0-144.161
- linux Ubuntu 22.04 LTS 5.15.0-69.76
- linux-aws Ubuntu 18.04 LTS 4.15.0-1153.166
- linux-aws Ubuntu 20.04 LTS 5.4.0-1097.105
- linux-aws Ubuntu 22.04 LTS 5.15.0-1033.37
- linux-gcp Ubuntu 20.04 LTS 5.4.0-1101.110
- linux-gcp Ubuntu 22.04 LTS 5.15.0-1031.38
ubuntu advisories UBUNTU-CVE-2022-50857
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- git.kernel.org/stable/c/0a71344f99289250e4d5b8adbac76f444485c840 commit
- git.kernel.org/stable/c/117fede82e9d6ea3de30746d500eb5edc2eb8310 commit
- git.kernel.org/stable/c/a73a626c0510d203e369aeb26c4d6ec9c75af027 commit
- git.kernel.org/stable/c/1bbad5793f404cf218757e3beb600eca6080330f commit
- git.kernel.org/stable/c/97d9eb45ffa67ffa112a6659953321b8f7db0065 commit
- git.kernel.org/stable/c/a47de2fd3f88a7788be19f94ade72c2244a98045 commit
- git.kernel.org/stable/c/4ddbeae5f224d924cf0b12460dda88c7480aa452 commit
- git.kernel.org/stable/c/9abba4aa60874c5216fc8de7dededadc791de696 commit
- git.kernel.org/stable/c/e92a216d16bde65d21a3227e0fb2aa0794576525 commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-50857 updated
kernel: rapidio: rio: fix possible name leak in rio_register_mport()
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 more Red Hat Enterprise Linux 10 kernelnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.24% chance of exploitation in the next 30 days, higher than 15% of all scored CVEs (FIRST EPSS, 2026-11-08).
Affected products
- Linux Linux
Classification
- Technology feeds
References
- git.kernel.org /stable/c/0a71344f99289250e4d5b8adbac76f444485c840
- git.kernel.org /stable/c/117fede82e9d6ea3de30746d500eb5edc2eb8310
- git.kernel.org /stable/c/a73a626c0510d203e369aeb26c4d6ec9c75af027
- git.kernel.org /stable/c/1bbad5793f404cf218757e3beb600eca6080330f
- git.kernel.org /stable/c/97d9eb45ffa67ffa112a6659953321b8f7db0065
- git.kernel.org /stable/c/a47de2fd3f88a7788be19f94ade72c2244a98045
- git.kernel.org /stable/c/4ddbeae5f224d924cf0b12460dda88c7480aa452
- git.kernel.org /stable/c/9abba4aa60874c5216fc8de7dededadc791de696
- git.kernel.org /stable/c/e92a216d16bde65d21a3227e0fb2aa0794576525
Sources
- CVE List CVE-2022-50857
- NVD CVE-2022-50857
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.