LiveActive security incident?Get immediate response
CVE Record

CVE-2022-50343: rapidio: fix possible name leaks when rio_add_device() fails

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

MediumCVSS 5.5Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

CVE-2022-50343 is a Linux kernel RapidIO bug where a failed device-add path can leak an allocated device name. The documented impact is availability, not data theft or tampering. Exploitation requires local access with low privileges, so business urgency is moderate and depends on whether affected kernels and RapidIO functionality are present.

Executive priority

Handle through normal kernel patch governance, with higher priority for critical systems using RapidIO or custom kernels. There is no cited active exploitation, but the availability impact justifies timely remediation in scheduled maintenance.

Technical view

The flaw is a CWE-401 memory leak in RapidIO error handling. If rio_add_device() fails after dev_set_name(), the allocated name may not be released. The fix uses put_device() on the error path so kobject_cleanup() and rio_release_dev() free the name and device object.

Likely exposure

Exposure is limited to Linux systems running affected kernel versions or vendor kernels that include the vulnerable RapidIO code without the stable fix. The source bundle does not prove all listed kernels are vulnerable in every distribution because vendors may backport patches independently.

Exploitation context

The CVSS vector is local, low complexity, low privileges, no user interaction, with high availability impact only. The source bundle marks KEV as false and provides no evidence of active exploitation or public weaponization.

Researcher notes

The evidence is limited to the CVE description, CVSS, affected-version metadata, and Linux stable commit references. The affected-version list contains unusual duplicate hash-like entries, so distribution-specific validation is necessary before declaring exposure.

Mitigation direction

  • Update affected Linux kernels to vendor builds containing the referenced stable fixes.
  • Confirm distribution advisories because vendors may backport fixes without changing upstream version numbers.
  • Prioritize systems where RapidIO support is enabled or operationally relevant.
  • If immediate patching is not possible, follow vendor guidance for risk reduction.

Validation and detection

  • Inventory Linux kernel versions and vendor package revisions across managed assets.
  • Check whether RapidIO support is enabled, loaded, or required on in-scope systems.
  • Compare installed kernels against vendor advisories and the referenced stable commits.
  • Verify remediation through package metadata or source showing the corrected put_device() error path.
Prepared
Confidence
medium
Sources
11

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-401: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2022-50343 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Medium
CVSS
5.5 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
10Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
5.5CVSS 3.1MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H1.83.6Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

5.5Medium
CVSS 3.1 vector shape for CVE-2022-50343Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
LinuxLinux1fa5ae857bb14f6046205171d98506d8112dd74e, 1fa5ae857bb14f6046205171d98506d8112dd74e, 1fa5ae857bb14f6046205171d98506d8112dd74e, 1fa5ae857bb14f6046205171d98506d8112dd74e, 1fa5ae857bb14f6046205171d98506d8112dd74e, 1fa5ae857bb14f6046205171d98506d8112dd74e, 1fa5ae857bb14f6046205171d98506d8112dd74e, 1fa5ae857bb14f6046205171d98506d8112dd74e, 1fa5ae857bb14f6046205171d98506d8112dd74eunaffected
LinuxLinux2.6.30, 0, 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.2affected
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-401 · source CWE mapping

Missing Release of Memory after Effective Lifetime

Missing Release of Memory after Effective Lifetime represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.