# ata: ahci: Match EM_MAX_SLOTS with SATA_PMP_MAX_PORTS

CVE record · `CVE-2022-50315`

- **Identifiers:** `CVE-2022-50315`
- **State:** Confirmed
- **Severity:** CVSS 7.8 High
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 15 Sept 2025
- **Updated:** 15 Oct 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 15 Sept 2025, 14:46 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: `18f7ba4c2f4be6b37d925931f04d6cc28d88d1ee to before f70bd4339cb68bc7e206af4c922bc0d249244403` (git)
  - affected: `18f7ba4c2f4be6b37d925931f04d6cc28d88d1ee to before da2ea4a961d9f89ed248734e7032350c260dc3a3` (git)
  - affected: `18f7ba4c2f4be6b37d925931f04d6cc28d88d1ee to before 67a00c299c5c143817c948fbc7de1a2fa1af38fb` (git)
  - affected: `18f7ba4c2f4be6b37d925931f04d6cc28d88d1ee to before 383b7c50f5445ff8dbbf03080905648d6980c39d` (git)
  - affected: `18f7ba4c2f4be6b37d925931f04d6cc28d88d1ee to before 303d0f761431d848dd8d7ff9fd9b8c101879cabe` (git)
  - affected: `18f7ba4c2f4be6b37d925931f04d6cc28d88d1ee to before 8fbe13de1cc7cef2564be3cbf60400b33eee023b` (git)
  - affected: `18f7ba4c2f4be6b37d925931f04d6cc28d88d1ee to before d6314d5f68764550c84d732ce901ddd3ac6b415f` (git)
  - affected: `18f7ba4c2f4be6b37d925931f04d6cc28d88d1ee to before 1e41e693f458eef2d5728207dbd327cd3b16580a` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `2.6.27`
  - unaffected: `before 2.6.27` (semver)
  - unaffected: `4.9.332 to 4.9.*, inclusive` (semver)
  - unaffected: `4.14.298 to 4.14.*, inclusive` (semver)
  - unaffected: `4.19.264 to 4.19.*, inclusive` (semver)
  - unaffected: `5.4.221 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.152 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.76 to 5.15.*, inclusive` (semver)
  - unaffected: `6.0.6 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.8 High, CVSS 3.1: `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`, from CNA (Linux)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0018, the 7th 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-50315](https://www.cve.org/CVERecord?id=CVE-2022-50315)
- [NVD: CVE-2022-50315](https://nvd.nist.gov/vuln/detail/CVE-2022-50315)

### References from the CNA

- <https://git.kernel.org/stable/c/f70bd4339cb68bc7e206af4c922bc0d249244403>
- <https://git.kernel.org/stable/c/da2ea4a961d9f89ed248734e7032350c260dc3a3>
- <https://git.kernel.org/stable/c/67a00c299c5c143817c948fbc7de1a2fa1af38fb>
- <https://git.kernel.org/stable/c/383b7c50f5445ff8dbbf03080905648d6980c39d>
- <https://git.kernel.org/stable/c/303d0f761431d848dd8d7ff9fd9b8c101879cabe>
- <https://git.kernel.org/stable/c/8fbe13de1cc7cef2564be3cbf60400b33eee023b>
- <https://git.kernel.org/stable/c/d6314d5f68764550c84d732ce901ddd3ac6b415f>
- <https://git.kernel.org/stable/c/1e41e693f458eef2d5728207dbd327cd3b16580a>

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

---

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