# class: fix possible memory leak in \_\_class_register()

CVE record · `CVE-2022-50578`

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

Published by the CVE Program (CNA: Linux) at 22 Oct 2025, 13:23 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: `ced6473e7486702f530a49f886b73195e4977734 to before 4efa5443817c1b6de22d401aeca5b2481e835f8c` (git)
  - affected: `ced6473e7486702f530a49f886b73195e4977734 to before 3bb9c92c27624ad076419a70f2b1a30cd1f8bbbd` (git)
  - affected: `ced6473e7486702f530a49f886b73195e4977734 to before 3e0efc3f3f5e5c73996782f8db69963e501bb878` (git)
  - affected: `ced6473e7486702f530a49f886b73195e4977734 to before 18a7200646958cf8e1b8a933de08122fc50676cd` (git)
  - affected: `ced6473e7486702f530a49f886b73195e4977734 to before 417ef049e3fd3b0d2593c1d5ffa3d0d5d0a018a7` (git)
  - affected: `ced6473e7486702f530a49f886b73195e4977734 to before e764ad5918a099ebeb909ccff83893a714e497e1` (git)
  - affected: `ced6473e7486702f530a49f886b73195e4977734 to before abaedb68a769e6bf36836b55a2f49b531c5f3f7b` (git)
  - affected: `ced6473e7486702f530a49f886b73195e4977734 to before 8c3e8a6bdb5253b97ad532570f8b5db5f7a06407` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `4.10`
  - unaffected: `before 4.10` (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.0024, the 15th percentile, on 19 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 22 Oct 2025. New records show when each source confirmed them.

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/4efa5443817c1b6de22d401aeca5b2481e835f8c>
- <https://git.kernel.org/stable/c/3bb9c92c27624ad076419a70f2b1a30cd1f8bbbd>
- <https://git.kernel.org/stable/c/3e0efc3f3f5e5c73996782f8db69963e501bb878>
- <https://git.kernel.org/stable/c/18a7200646958cf8e1b8a933de08122fc50676cd>
- <https://git.kernel.org/stable/c/417ef049e3fd3b0d2593c1d5ffa3d0d5d0a018a7>
- <https://git.kernel.org/stable/c/e764ad5918a099ebeb909ccff83893a714e497e1>
- <https://git.kernel.org/stable/c/abaedb68a769e6bf36836b55a2f49b531c5f3f7b>
- <https://git.kernel.org/stable/c/8c3e8a6bdb5253b97ad532570f8b5db5f7a06407>

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

---

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