# misc: ocxl: fix possible refcount leak in afu_ioctl()

CVE record · `CVE-2022-50742`

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

Published by the CVE Program (CNA: Linux) at 24 Dec 2025, 13:05 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: `060146614643ddc5978c73ffac0329762b4651c9 to before fc797285c40a9cc441357abb3521d3e51c743f67` (git)
  - affected: `060146614643ddc5978c73ffac0329762b4651c9 to before 7ba19a60c74fb0057d4daef2fa2cbfc9522f3ba1` (git)
  - affected: `060146614643ddc5978c73ffac0329762b4651c9 to before 11bd8bbdf8f6f5c1145bb158793107a57e3a1f07` (git)
  - affected: `060146614643ddc5978c73ffac0329762b4651c9 to before 843433a02e344d30fbb62dfd834c60631baaa527` (git)
  - affected: `060146614643ddc5978c73ffac0329762b4651c9 to before 66032c43291672bae8b93184d2806f05be3e16df` (git)
  - affected: `060146614643ddc5978c73ffac0329762b4651c9 to before c3b69ba5114c860d730870c03ab4ee45276e5e35` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `5.2`
  - unaffected: `before 5.2` (semver)
  - unaffected: `5.4.220 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.150 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.75 to 5.15.*, inclusive` (semver)
  - unaffected: `5.19.17 to 5.19.*, inclusive` (semver)
  - unaffected: `6.0.3 to 6.0.*, inclusive` (semver)
  - unaffected: `6.1 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.0025, the 16th percentile, on 19 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 24 Dec 2025, 13:16 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2022-50742)

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/fc797285c40a9cc441357abb3521d3e51c743f67>
- <https://git.kernel.org/stable/c/7ba19a60c74fb0057d4daef2fa2cbfc9522f3ba1>
- <https://git.kernel.org/stable/c/11bd8bbdf8f6f5c1145bb158793107a57e3a1f07>
- <https://git.kernel.org/stable/c/843433a02e344d30fbb62dfd834c60631baaa527>
- <https://git.kernel.org/stable/c/66032c43291672bae8b93184d2806f05be3e16df>
- <https://git.kernel.org/stable/c/c3b69ba5114c860d730870c03ab4ee45276e5e35>

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

---

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