CVE-2022-50857

Not scored yetLast modified Jun 17, 2026

Description

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.

Metrics

No CVSS score has been published yet.

Affected software

VendorProductVersions
LinuxLinux>= 2aaf308b95b24649a6dcfed89cd956e972089b2a, < 0a71344f99289250e4d5b8adbac76f444485c840; >= 2aaf308b95b24649a6dcfed89cd956e972089b2a, < 117fede82e9d6ea3de30746d500eb5edc2eb8310; >= 2aaf308b95b24649a6dcfed89cd956e972089b2a, < a73a626c0510d203e369aeb26c4d6ec9c75af027; >= 2aaf308b95b24649a6dcfed89cd956e972089b2a, < 1bbad5793f404cf218757e3beb600eca6080330f; >= 2aaf308b95b24649a6dcfed89cd956e972089b2a, < 97d9eb45ffa67ffa112a6659953321b8f7db0065; >= 2aaf308b95b24649a6dcfed89cd956e972089b2a, < a47de2fd3f88a7788be19f94ade72c2244a98045; >= 2aaf308b95b24649a6dcfed89cd956e972089b2a, < 4ddbeae5f224d924cf0b12460dda88c7480aa452; >= 2aaf308b95b24649a6dcfed89cd956e972089b2a, < 9abba4aa60874c5216fc8de7dededadc791de696; >= 2aaf308b95b24649a6dcfed89cd956e972089b2a, < e92a216d16bde65d21a3227e0fb2aa0794576525
LinuxLinux3.15

References

Timeline

Published
Dec 30, 2025
Last modified
Jun 17, 2026
NVD status
Deferred

Related CVEs from 2022

CVE-2022-50858In the Linux kernel, the following vulnerability has been resolved: mmc: alcor: fix return value check of mmc_add_host() mmc_add_host() maCVE-2022-50859In the Linux kernel, the following vulnerability has been resolved: cifs: Fix the error length of VALIDATE_NEGOTIATE_INFO message Commit dCVE-2022-508607.8In the Linux kernel, the following vulnerability has been resolved: apparmor: Fix memleak in alloc_ns() After changes in commit a1bd627b46CVE-2022-508617.5In the Linux kernel, the following vulnerability has been resolved: NFSD: Finish converting the NFSv2 GETACL result encoder The xdr_streamCVE-2022-50862In the Linux kernel, the following vulnerability has been resolved: bpf: prevent decl_tag from being referenced in func_proto Syzkaller waCVE-2022-50863In the Linux kernel, the following vulnerability has been resolved: wifi: rtw89: free unused skb to prevent memory leak This avoid potentiCVE-2022-50864In the Linux kernel, the following vulnerability has been resolved: nilfs2: fix shift-out-of-bounds due to too large exponent of block sizeCVE-2022-508657.5In the Linux kernel, the following vulnerability has been resolved: tcp: fix a signed-integer-overflow bug in tcp_add_backlog() The type oCVE-2022-50866In the Linux kernel, the following vulnerability has been resolved: ASoC: pxa: fix null-pointer dereference in filter() kasprintf() would CVE-2022-508677.8In the Linux kernel, the following vulnerability has been resolved: drm/msm/a6xx: Fix kvzalloc vs state_kcalloc usage adreno_show_object()CVE-2022-50868In the Linux kernel, the following vulnerability has been resolved: hwrng: amd - Fix PCI device refcount leak for_each_pci_dev() is implemCVE-2022-508697.8In the Linux kernel, the following vulnerability has been resolved: fs/ntfs3: Fix slab-out-of-bounds in r_page When PAGE_SIZE is 64K, if r
CVE-2022-50857: Unscored | Vulnix