# dma-buf: insert memory barrier before updating num_fences

CVE record · `CVE-2025-38095`

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

Published by the CVE Program (CNA: Linux) at 3 Jul 2025, 07:44 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: `a590d0fdbaa56f482ff515e1040b6d9b1b200d63 to before 90eb79c4ed98a4e24a62ccf61c199ab0f680fa8f` (git)
  - affected: `a590d0fdbaa56f482ff515e1040b6d9b1b200d63 to before d0b7f11dd68b593bd970e5735be00e8d89bace30` (git)
  - affected: `a590d0fdbaa56f482ff515e1040b6d9b1b200d63 to before 3becc659f9cb76b481ad1fb71f54d5c8d6332d3f` (git)
  - affected: `a590d0fdbaa56f482ff515e1040b6d9b1b200d63 to before c9d2b9a80d06a58f37e0dc8c827075639b443927` (git)
  - affected: `a590d0fdbaa56f482ff515e1040b6d9b1b200d63 to before fe1bebd0edb22e3536cbc920ec713331d1367ad4` (git)
  - affected: `a590d0fdbaa56f482ff515e1040b6d9b1b200d63 to before 08680c4dadc6e736c75bc2409d833f03f9003c51` (git)
  - affected: `a590d0fdbaa56f482ff515e1040b6d9b1b200d63 to before 72c7d62583ebce7baeb61acce6057c361f73be4a` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `5.0`
  - unaffected: `before 5.0` (semver)
  - unaffected: `5.10.241 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.192 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.140 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.92 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.30 to 6.12.*, inclusive` (semver)
  - unaffected: `6.14.8 to 6.14.*, inclusive` (semver)
  - unaffected: `6.15 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.0022, the 12th 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 3 Jul 2025. New records show when each source confirmed them.

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/90eb79c4ed98a4e24a62ccf61c199ab0f680fa8f>
- <https://git.kernel.org/stable/c/d0b7f11dd68b593bd970e5735be00e8d89bace30>
- <https://git.kernel.org/stable/c/3becc659f9cb76b481ad1fb71f54d5c8d6332d3f>
- <https://git.kernel.org/stable/c/c9d2b9a80d06a58f37e0dc8c827075639b443927>
- <https://git.kernel.org/stable/c/fe1bebd0edb22e3536cbc920ec713331d1367ad4>
- <https://git.kernel.org/stable/c/08680c4dadc6e736c75bc2409d833f03f9003c51>
- <https://git.kernel.org/stable/c/72c7d62583ebce7baeb61acce6057c361f73be4a>

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

---

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