# rapidio: fix possible UAF when kfifo_alloc() fails

CVE record · `CVE-2022-50245`

- **Identifiers:** `CVE-2022-50245`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 15 Sept 2025
- **Updated:** 11 May 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 15 Sept 2025, 14:02 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: `e8de370188d098bb49483c287b44925957c3c9b6 to before 2a6c75adf8192f07ddcdd4a1a13488c890a73919` (git)
  - affected: `e8de370188d098bb49483c287b44925957c3c9b6 to before 2dfd60724d271a6ab99f93f40f38f2ced1ddbb87` (git)
  - affected: `e8de370188d098bb49483c287b44925957c3c9b6 to before a253dde0403a153075ffb254f6f7b2635e49e97a` (git)
  - affected: `e8de370188d098bb49483c287b44925957c3c9b6 to before 311b488405ac45af46756b1c8f1d27007b68b07e` (git)
  - affected: `e8de370188d098bb49483c287b44925957c3c9b6 to before 5ee850645e42f541ce1ea8130c2b27cc495f965c` (git)
  - affected: `e8de370188d098bb49483c287b44925957c3c9b6 to before 2f5cc7fd73fd6253cc71214f0dd499cc62feb469` (git)
  - affected: `e8de370188d098bb49483c287b44925957c3c9b6 to before 2ba06e57f933f0eac242e8b389433da1cc00d4d5` (git)
  - affected: `e8de370188d098bb49483c287b44925957c3c9b6 to before cb87af2c19c0993f6e21f75b963a5599c5a73e76` (git)
  - affected: `e8de370188d098bb49483c287b44925957c3c9b6 to before 02d7d89f816951e0862147d751b1150d67aaebdd` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `4.6`
  - unaffected: `before 4.6` (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

No source has published a CVSS score for this record yet.

- **CISA KEV:** Not listed.
- **EPSS:** 0.0018, the 7th percentile, on 20 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 15 Sept 2025. New records show when each source confirmed them.

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/2a6c75adf8192f07ddcdd4a1a13488c890a73919>
- <https://git.kernel.org/stable/c/2dfd60724d271a6ab99f93f40f38f2ced1ddbb87>
- <https://git.kernel.org/stable/c/a253dde0403a153075ffb254f6f7b2635e49e97a>
- <https://git.kernel.org/stable/c/311b488405ac45af46756b1c8f1d27007b68b07e>
- <https://git.kernel.org/stable/c/5ee850645e42f541ce1ea8130c2b27cc495f965c>
- <https://git.kernel.org/stable/c/2f5cc7fd73fd6253cc71214f0dd499cc62feb469>
- <https://git.kernel.org/stable/c/2ba06e57f933f0eac242e8b389433da1cc00d4d5>
- <https://git.kernel.org/stable/c/cb87af2c19c0993f6e21f75b963a5599c5a73e76>
- <https://git.kernel.org/stable/c/02d7d89f816951e0862147d751b1150d67aaebdd>

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-50245>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

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