# rapidio: fix possible name leaks when rio_add_device() fails

CVE record · `CVE-2022-50343`

- **Identifiers:** `CVE-2022-50343`
- **State:** Confirmed
- **Severity:** CVSS 5.5 Medium
- **Critical:** No
- **CNA:** Linux
- **Weakness (CWE):** [CWE-401](https://cwe.mitre.org/data/definitions/401.html)
- **Tags:** [Denial of service](https://agentprime.io/advisories/tag/dos.md)
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 16 Sept 2025
- **Updated:** 11 May 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 16 Sept 2025, 16:11 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `1fa5ae857bb14f6046205171d98506d8112dd74e to before 3b4676f274a6b5d001176f15d0542100bbf4b59a` (git)
  - affected: `1fa5ae857bb14f6046205171d98506d8112dd74e to before c482cb0deb57924335103fe592c379a076d867f8` (git)
  - affected: `1fa5ae857bb14f6046205171d98506d8112dd74e to before 80fad2e53eaed2b3a2ff596575f65669e13ceda5` (git)
  - affected: `1fa5ae857bb14f6046205171d98506d8112dd74e to before 440afd7fd9b164fdde6fc9da8c47d3d7f20dcce8` (git)
  - affected: `1fa5ae857bb14f6046205171d98506d8112dd74e to before 88fa351b20ca300693a206ccd3c4b0e0647944d8` (git)
  - affected: `1fa5ae857bb14f6046205171d98506d8112dd74e to before ec3f04f74f50d0b6bac04d795c93c2b852753a7a` (git)
  - affected: `1fa5ae857bb14f6046205171d98506d8112dd74e to before c413f65011ff8caffabcde0e1c3ceede48a48d6f` (git)
  - affected: `1fa5ae857bb14f6046205171d98506d8112dd74e to before 85fbf58b15c09d3a6a03098c1e42ebfe9002f39d` (git)
  - affected: `1fa5ae857bb14f6046205171d98506d8112dd74e to before f9574cd48679926e2a569e1957a5a1bcc8a719ac` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `2.6.30`
  - unaffected: `before 2.6.30` (semver)
  - unaffected: `4.9.337 to 4.9.*, inclusive` (semver)
  - unaffected: `4.14.303 to 4.14.*, inclusive` (semver)
  - unaffected: `4.19.270 to 4.19.*, inclusive` (semver)
  - unaffected: `5.4.229 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.163 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.86 to 5.15.*, inclusive` (semver)
  - unaffected: `6.0.16 to 6.0.*, inclusive` (semver)
  - unaffected: `6.1.2 to 6.1.*, inclusive` (semver)
  - unaffected: `6.2 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

- 5.5 Medium, CVSS 3.1: `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`, from ADP (CISA-ADP)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0017, the 6th percentile, on 16 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the CVE Program, published 16 Sept 2025. New records show when each source confirmed them.

## Sources

- [CVE List: CVE-2022-50343](https://www.cve.org/CVERecord?id=CVE-2022-50343)
- [NVD: CVE-2022-50343](https://nvd.nist.gov/vuln/detail/CVE-2022-50343)

### References from the CNA

- <https://git.kernel.org/stable/c/3b4676f274a6b5d001176f15d0542100bbf4b59a>
- <https://git.kernel.org/stable/c/c482cb0deb57924335103fe592c379a076d867f8>
- <https://git.kernel.org/stable/c/80fad2e53eaed2b3a2ff596575f65669e13ceda5>
- <https://git.kernel.org/stable/c/440afd7fd9b164fdde6fc9da8c47d3d7f20dcce8>
- <https://git.kernel.org/stable/c/88fa351b20ca300693a206ccd3c4b0e0647944d8>
- <https://git.kernel.org/stable/c/ec3f04f74f50d0b6bac04d795c93c2b852753a7a>
- <https://git.kernel.org/stable/c/c413f65011ff8caffabcde0e1c3ceede48a48d6f>
- <https://git.kernel.org/stable/c/85fbf58b15c09d3a6a03098c1e42ebfe9002f39d>
- <https://git.kernel.org/stable/c/f9574cd48679926e2a569e1957a5a1bcc8a719ac>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2022-50343>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2022-50343/>. Everything for agents: <https://agentprime.io/llms.txt>.
