# cxl: fix possible null-ptr-deref in cxl_guest_init_afu|adapter()

CVE record · `CVE-2022-50481`

- **Identifiers:** `CVE-2022-50481`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 4 Oct 2025
- **Updated:** 5 Nov 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 4 Oct 2025, 15:16 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: `14baf4d9c739e6e69150512d2eb23c71fffcc192 to before 96fba6fb95bdede80583c262ac185da09661f264` (git)
  - affected: `14baf4d9c739e6e69150512d2eb23c71fffcc192 to before 1ae581696b7a799afa39a664c4b721569643f58a` (git)
  - affected: `14baf4d9c739e6e69150512d2eb23c71fffcc192 to before d775a1da5a52b4f4bb02f2707ba420d1bec48dbb` (git)
  - affected: `14baf4d9c739e6e69150512d2eb23c71fffcc192 to before 60b2ed21a65f3f5318666ccd765c3507991370cf` (git)
  - affected: `14baf4d9c739e6e69150512d2eb23c71fffcc192 to before 170e8c2d2b61e15e7f7cfeded81bc1e959a15ed8` (git)
  - affected: `14baf4d9c739e6e69150512d2eb23c71fffcc192 to before e5021bbf11b024cc65ea1e84c377df484183be4b` (git)
  - affected: `14baf4d9c739e6e69150512d2eb23c71fffcc192 to before b32559ee4e6667c5c3daf4ec5454c277d1f255d2` (git)
  - affected: `14baf4d9c739e6e69150512d2eb23c71fffcc192 to before ab44c182353be101c3be9465e1d15d42130c53c4` (git)
  - affected: `14baf4d9c739e6e69150512d2eb23c71fffcc192 to before 61c80d1c3833e196256fb060382db94f24d3d9a7` (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

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> The Linux kernel cxl driver from 4.6 has a possible null pointer dereference in guest AFU and adapter initialization when device registration fails. The source gives few details on attacker requirements. Upgrade to a fixed release, such as 4.9.337, 4.14.303, 4.19.270 or 5.4.229 or later.

Written 16 Nov 2026.

## 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.0016, the 5th percentile, on 20 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 4 Oct 2025, 15:16 UTC: [Confirmed by the CVE List](https://www.cve.org/CVERecord?id=CVE-2022-50481)
- 4 Oct 2025, 16:15 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2022-50481)

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/96fba6fb95bdede80583c262ac185da09661f264>
- <https://git.kernel.org/stable/c/1ae581696b7a799afa39a664c4b721569643f58a>
- <https://git.kernel.org/stable/c/d775a1da5a52b4f4bb02f2707ba420d1bec48dbb>
- <https://git.kernel.org/stable/c/60b2ed21a65f3f5318666ccd765c3507991370cf>
- <https://git.kernel.org/stable/c/170e8c2d2b61e15e7f7cfeded81bc1e959a15ed8>
- <https://git.kernel.org/stable/c/e5021bbf11b024cc65ea1e84c377df484183be4b>
- <https://git.kernel.org/stable/c/b32559ee4e6667c5c3daf4ec5454c277d1f255d2>
- <https://git.kernel.org/stable/c/ab44c182353be101c3be9465e1d15d42130c53c4>
- <https://git.kernel.org/stable/c/61c80d1c3833e196256fb060382db94f24d3d9a7>

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

---

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