CVE Database
/

CVE-2022-50343

Back to search

CVE-2022-50343

Published: Sep 16, 2025

Modified: May 11, 2026

PUBLISHED

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().

VendorProductVersions

Linux

Linux

affected
1fa5ae857bb14f6046205171d98506d8112dd74e - < 3b4676f274a6b5d001176f15d0542100bbf4b59a
affected
1fa5ae857bb14f6046205171d98506d8112dd74e - < c482cb0deb57924335103fe592c379a076d867f8
affected
1fa5ae857bb14f6046205171d98506d8112dd74e - < 80fad2e53eaed2b3a2ff596575f65669e13ceda5
affected
1fa5ae857bb14f6046205171d98506d8112dd74e - < 440afd7fd9b164fdde6fc9da8c47d3d7f20dcce8
affected
1fa5ae857bb14f6046205171d98506d8112dd74e - < 88fa351b20ca300693a206ccd3c4b0e0647944d8

+4 more versions

Linux

Linux

affected
2.6.30
unaffected
0 - < 2.6.30
unaffected
4.9.337 - <= 4.9.*
unaffected
4.14.303 - <= 4.14.*
unaffected
4.19.270 - <= 4.19.*

+6 more versions

Security Training

Train your team to recognize and prevent security threats with our comprehensive security awareness program.

Start Training

Vulnerability Scanning

Discover vulnerabilities in your applications and infrastructure before attackers do.

Scan Now