# perf/x86/intel/uncore: Fix reference count leak in hswep_has_limit_sbox()

CVE record · `CVE-2022-50318`

- **Identifiers:** `CVE-2022-50318`
- **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:** 23 May 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 15 Sept 2025, 14:48 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: `a8e87042482fd2d31c5cee62875b2ae75759ae8b to before 5a96c10a56037db006ba6769307a9731cf6073be` (git)
  - affected: `319a06e58ed7f1443f7133c05513de470f90628d to before e293263248f25c6b8aa1caf7c1103d40aa03311e` (git)
  - affected: `6f8315e5d9511ed1cf28ee2afbc9f89ff693de7b to before c0539d5d474ee6fa4ebc41f927a0f98f81244f25` (git)
  - affected: `9d480158ee86ad606d3a8baaf81e6b71acbfd7d5 to before 3485f197518061371568f842405159aa9e4df551` (git)
  - affected: `9d480158ee86ad606d3a8baaf81e6b71acbfd7d5 to before 48f32b9a74e2ac8e854bb87bfefdbc745125a123` (git)
  - affected: `9d480158ee86ad606d3a8baaf81e6b71acbfd7d5 to before bd66877c0b3b42eed0ecee0bd2a2a505c1e54177` (git)
  - affected: `9d480158ee86ad606d3a8baaf81e6b71acbfd7d5 to before 1ff9dd6e7071a561f803135c1d684b13c7a7d01d` (git)
  - affected: `d2c79105a90323a2a93484c85f9ac419ae9b183d` (git)
  - affected: `4.19.189 to before 4.19.270` (semver)
  - affected: `5.4.115 to before 5.4.229` (semver)
  - affected: `5.10.33 to before 5.10.163` (semver)
  - affected: `5.11.17 to before 5.12` (semver)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `5.12`
  - unaffected: `before 5.12` (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.0017, the 5th 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-50318](https://www.cve.org/CVERecord?id=CVE-2022-50318)
- [NVD: CVE-2022-50318](https://nvd.nist.gov/vuln/detail/CVE-2022-50318)

### References from the CNA

- <https://git.kernel.org/stable/c/5a96c10a56037db006ba6769307a9731cf6073be>
- <https://git.kernel.org/stable/c/e293263248f25c6b8aa1caf7c1103d40aa03311e>
- <https://git.kernel.org/stable/c/c0539d5d474ee6fa4ebc41f927a0f98f81244f25>
- <https://git.kernel.org/stable/c/3485f197518061371568f842405159aa9e4df551>
- <https://git.kernel.org/stable/c/48f32b9a74e2ac8e854bb87bfefdbc745125a123>
- <https://git.kernel.org/stable/c/bd66877c0b3b42eed0ecee0bd2a2a505c1e54177>
- <https://git.kernel.org/stable/c/1ff9dd6e7071a561f803135c1d684b13c7a7d01d>

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

---

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