U.S. flag   An official website of the United States government
Dot gov

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Https

Secure .gov websites use HTTPS
A lock (Dot gov) or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.

CVE-2022-50343 Detail

Description

In the Linux kernel, the following vulnerability has been resolved: rapidio: fix possible name leaks when rio_add_device() fails Patch series "rapidio: fix three possible memory leaks". This patchset fixes three name leaks in error handling. - patch #1 fixes two name leaks while rio_add_device() fails. - patch #2 fixes a name leak while rio_register_mport() fails. This patch (of 2): If rio_add_device() 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 the 'rdev' can be freed in rio_release_dev().


Metrics

NVD enrichment efforts reference publicly available information to associate vector strings. CVSS information contributed by other sources is also displayed.
CVSS 4.0 Severity and Vector Strings:

NIST CVSS score
NIST: NVD
N/A
NVD assessment not yet provided.

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to [email protected].

URL Source(s) Tag(s)
https://git.kernel.org/stable/c/3b4676f274a6b5d001176f15d0542100bbf4b59a kernel.org
https://git.kernel.org/stable/c/440afd7fd9b164fdde6fc9da8c47d3d7f20dcce8 kernel.org
https://git.kernel.org/stable/c/80fad2e53eaed2b3a2ff596575f65669e13ceda5 kernel.org
https://git.kernel.org/stable/c/85fbf58b15c09d3a6a03098c1e42ebfe9002f39d kernel.org
https://git.kernel.org/stable/c/88fa351b20ca300693a206ccd3c4b0e0647944d8 kernel.org
https://git.kernel.org/stable/c/c413f65011ff8caffabcde0e1c3ceede48a48d6f kernel.org
https://git.kernel.org/stable/c/c482cb0deb57924335103fe592c379a076d867f8 kernel.org
https://git.kernel.org/stable/c/ec3f04f74f50d0b6bac04d795c93c2b852753a7a kernel.org
https://git.kernel.org/stable/c/f9574cd48679926e2a569e1957a5a1bcc8a719ac kernel.org

Weakness Enumeration

CWE-ID CWE Name Source

Change History

1 change records found show changes

Quick Info

CVE Dictionary Entry:
CVE-2022-50343
NVD Published Date:
09/16/2025
NVD Last Modified:
09/16/2025
Source:
kernel.org