# powercap: intel_rapl: fix UBSAN shift-out-of-bounds issue

CVE record · `CVE-2022-50366`

- **Identifiers:** `CVE-2022-50366`
- **State:** Confirmed
- **Severity:** CVSS 7.1 High
- **Critical:** No
- **CNA:** Linux
- **Weakness (CWE):** [CWE-125](https://cwe.mitre.org/data/definitions/125.html)
- **Tags:** [Memory corruption](https://agentprime.io/advisories/tag/memory-corruption.md)
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 17 Sept 2025
- **Updated:** 11 May 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 17 Sept 2025, 14:56 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: `2d281d8196e38dd3a4ee9af26621ddde8329f269 to before 42f79dbb9514f726ff21df25f09cb0693b0b2445` (git)
  - affected: `2d281d8196e38dd3a4ee9af26621ddde8329f269 to before 3eb0ba70376f6ee40fa843fc9cee49269370b0b3` (git)
  - affected: `2d281d8196e38dd3a4ee9af26621ddde8329f269 to before 4ebba43384722adbd325baec3a12c572d94488eb` (git)
  - affected: `2d281d8196e38dd3a4ee9af26621ddde8329f269 to before 49a6ffdaed60f0eb52c198fafebc05994e16e305` (git)
  - affected: `2d281d8196e38dd3a4ee9af26621ddde8329f269 to before 708b9abe1b4a2f050a483db4b7edfc446b13df1f` (git)
  - affected: `2d281d8196e38dd3a4ee9af26621ddde8329f269 to before 139bbbd01114433b80fe59f5e1330615aadf9752` (git)
  - affected: `2d281d8196e38dd3a4ee9af26621ddde8329f269 to before 6216b685b8f48ab7b721a6fd5acbf526b41c13e8` (git)
  - affected: `2d281d8196e38dd3a4ee9af26621ddde8329f269 to before 1d94af37565e4d3c26b0d63428e093a37d5b4c32` (git)
  - affected: `2d281d8196e38dd3a4ee9af26621ddde8329f269 to before 2d93540014387d1c73b9ccc4d7895320df66d01b` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `3.13`
  - unaffected: `before 3.13` (semver)
  - unaffected: `4.9.331 to 4.9.*, inclusive` (semver)
  - unaffected: `4.14.296 to 4.14.*, inclusive` (semver)
  - unaffected: `4.19.262 to 4.19.*, inclusive` (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

- 7.1 High, CVSS 3.1: `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`, from ADP (CISA-ADP)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0023, the 13th 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 17 Sept 2025. New records show when each source confirmed them.

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/42f79dbb9514f726ff21df25f09cb0693b0b2445>
- <https://git.kernel.org/stable/c/3eb0ba70376f6ee40fa843fc9cee49269370b0b3>
- <https://git.kernel.org/stable/c/4ebba43384722adbd325baec3a12c572d94488eb>
- <https://git.kernel.org/stable/c/49a6ffdaed60f0eb52c198fafebc05994e16e305>
- <https://git.kernel.org/stable/c/708b9abe1b4a2f050a483db4b7edfc446b13df1f>
- <https://git.kernel.org/stable/c/139bbbd01114433b80fe59f5e1330615aadf9752>
- <https://git.kernel.org/stable/c/6216b685b8f48ab7b721a6fd5acbf526b41c13e8>
- <https://git.kernel.org/stable/c/1d94af37565e4d3c26b0d63428e093a37d5b4c32>
- <https://git.kernel.org/stable/c/2d93540014387d1c73b9ccc4d7895320df66d01b>

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

---

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