# arm64/ptrace: Fix stack-out-of-bounds read in regs_get_kernel_stack_nth()

CVE record · `CVE-2025-38320`

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

Published by the CVE Program (CNA: Linux) at 10 Jul 2025, 08:14 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: `0a8ea52c3eb157dd65e224fc95b7c9c99fcba9f7 to before 64773b3ea09235168a549a195cba43bb867c4a17` (git)
  - affected: `0a8ea52c3eb157dd65e224fc95b7c9c99fcba9f7 to before 67abac27d806e8f9d4226ec1528540cf73af673a` (git)
  - affected: `0a8ea52c3eb157dd65e224fc95b7c9c99fcba9f7 to before 92750bfe7b0d8dbcaf578c091a65eda1c5f9ad38` (git)
  - affected: `0a8ea52c3eb157dd65e224fc95b7c9c99fcba9f7 to before 01f91d415a8375d85e0c7d3615cd4a168308bb7c` (git)
  - affected: `0a8ea52c3eb157dd65e224fc95b7c9c99fcba9f7 to before 21da6d3561f373898349ca7167c9811c020da695` (git)
  - affected: `0a8ea52c3eb157dd65e224fc95b7c9c99fcba9f7 to before 22f935bc86bdfbde04009f05eee191d220cd8c89` (git)
  - affected: `0a8ea52c3eb157dd65e224fc95b7c9c99fcba9f7 to before 422e565b7889ebfd9c8705a3fc786642afe61fca` (git)
  - affected: `0a8ea52c3eb157dd65e224fc95b7c9c99fcba9f7 to before 39dfc971e42d886e7df01371cd1bef505076d84c` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `4.8`
  - unaffected: `before 4.8` (semver)
  - unaffected: `5.4.295 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.239 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.186 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.142 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.95 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.35 to 6.12.*, inclusive` (semver)
  - unaffected: `6.15.4 to 6.15.*, inclusive` (semver)
  - unaffected: `6.16 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.0022, the 12th percentile, on 20 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 10 Jul 2025, 08:14 UTC: [Confirmed by the CVE List](https://www.cve.org/CVERecord?id=CVE-2025-38320)
- 10 Jul 2025, 09:15 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2025-38320)

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/64773b3ea09235168a549a195cba43bb867c4a17>
- <https://git.kernel.org/stable/c/67abac27d806e8f9d4226ec1528540cf73af673a>
- <https://git.kernel.org/stable/c/92750bfe7b0d8dbcaf578c091a65eda1c5f9ad38>
- <https://git.kernel.org/stable/c/01f91d415a8375d85e0c7d3615cd4a168308bb7c>
- <https://git.kernel.org/stable/c/21da6d3561f373898349ca7167c9811c020da695>
- <https://git.kernel.org/stable/c/22f935bc86bdfbde04009f05eee191d220cd8c89>
- <https://git.kernel.org/stable/c/422e565b7889ebfd9c8705a3fc786642afe61fca>
- <https://git.kernel.org/stable/c/39dfc971e42d886e7df01371cd1bef505076d84c>

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

---

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