# tee: fix NULL pointer dereference in tee_shm_put

CVE record · `CVE-2025-39865`

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

Published by the CVE Program (CNA: Linux) at 19 Sept 2025, 15:26 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: `c05d8f66ec3470e5212c4d08c46d6cb5738d600d to before f266188603c34e6e234fb0dfc3185f0ba98d71b7` (git)
  - affected: `492eb7afe858d60408b2da09adc78540c4d16543 to before 4377eac565c297fdfccd2f8e9bf94ee84ff6172f` (git)
  - affected: `dfd0743f1d9ea76931510ed150334d571fbab49d to before 25e315bc8ad363bd1194e49062f183ad4011957e` (git)
  - affected: `dfd0743f1d9ea76931510ed150334d571fbab49d to before add1ecc8f3ad8df22e3599c5c88d7907cc2a3079` (git)
  - affected: `dfd0743f1d9ea76931510ed150334d571fbab49d to before 963fca19fe34c496e04f7dd133b807b76a5434ca` (git)
  - affected: `dfd0743f1d9ea76931510ed150334d571fbab49d to before 5e07a4235bb85d9ef664411e4ff4ac34783c18ff` (git)
  - affected: `dfd0743f1d9ea76931510ed150334d571fbab49d to before e4a718a3a47e89805c3be9d46a84de1949a98d5d` (git)
  - affected: `3d556a28bbfe34a80b014db49908b0f1bcb1ae80` (git)
  - affected: `b4a661b4212b8fac8853ec3b68e4a909dccc88a1` (git)
  - affected: `940e68e57ab69248fabba5889e615305789db8a7` (git)
  - affected: `5.10.89 to before 5.10.243` (semver)
  - affected: `5.15.12 to before 5.15.192` (semver)
  - and 3 more
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `5.16`
  - unaffected: `before 5.16` (semver)
  - unaffected: `5.10.243 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.192 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.151 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.105 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.46 to 6.12.*, inclusive` (semver)
  - unaffected: `6.16.6 to 6.16.*, inclusive` (semver)
  - unaffected: `6.17 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> The Linux kernel tee subsystem is affected by a NULL pointer dereference in tee_shm_put, which can crash the kernel during the OP-TEE shared memory cache shutdown path. The source gives few details on what an attacker would need to trigger it. Upgrade to a fixed stable release, such as 5.10.243, 5.15.192, 6.1.151, or 6.6.105 or later in those series.

Written 16 Nov 2026.

## 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 6th percentile, on 20 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 19 Sept 2025, 15:26 UTC: [Confirmed by the CVE List](https://www.cve.org/CVERecord?id=CVE-2025-39865)
- 19 Sept 2025, 16:15 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2025-39865)

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/f266188603c34e6e234fb0dfc3185f0ba98d71b7>
- <https://git.kernel.org/stable/c/4377eac565c297fdfccd2f8e9bf94ee84ff6172f>
- <https://git.kernel.org/stable/c/25e315bc8ad363bd1194e49062f183ad4011957e>
- <https://git.kernel.org/stable/c/add1ecc8f3ad8df22e3599c5c88d7907cc2a3079>
- <https://git.kernel.org/stable/c/963fca19fe34c496e04f7dd133b807b76a5434ca>
- <https://git.kernel.org/stable/c/5e07a4235bb85d9ef664411e4ff4ac34783c18ff>
- <https://git.kernel.org/stable/c/e4a718a3a47e89805c3be9d46a84de1949a98d5d>

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

---

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