VDB

CVE-2025-38095

CVE-2025-38095 PUBLISHED CVSS 7.8 HIGH

dma-buf: insert memory barrier before updating num_fences

Reported by linux · Published July 3, 2025

In the Linux kernel, the following vulnerability has been resolved: dma-buf: insert memory barrier before updating num_fences smp_store_mb() inserts memory barrier after storing operation. It is different with what the comment is originally aiming so Null pointer dereference can be happened if memory update is reordered.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel6.12Amazon Linux6.12.30-34.92.amzn2023
kernel-libbpfAmazon Linux6.1.140-154.222.amzn2023
python3-perf6.12Amazon Linux6.12.30-34.92.amzn2023
kernel-livepatch-6.1.140-154.222Amazon Linux1.0-0.amzn2023
LinuxLinux5.0

Risk scores

CVSS 3.1
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
LinuxLinuxa590d0fdbaa56f482ff515e1040b6d9b1b200d63, a590d0fdbaa56f482ff515e1040b6d9b1b200d63, a590d0fdbaa56f482ff515e1040b6d9b1b200d63
LinuxLinux5.0, 0, 5.10.241
amazon:2023kernel6.120
amazon:2023kernel-libbpf0
amazon:2023python3-perf6.120
amazon:2023kernel-livepatch-6.1.140-154.2220
LinuxLinux6.15, *, *
amazon:2023bpftool0
amazon:2023kernel-libbpf-static0
amazon:2023kernel-modules-extra-common0
amazon:2023perf0
amazon:2023kernel0
amazon:2023kernel-libbpf-devel0
amazon:2023kernel-tools0
amazon:2023kernel-modules-extra0
amazon:2023perf6.120
linuxlinux_kernel5.0, 5.0, 5.0
amazon:2023python3-perf0
amazon:2023kernel6.12-modules-extra0
amazon:2023kernel-headers0

…and 3 more

Timeline

  • Jul 2, 2025 CVE Published
  • Jul 3, 2025 EPSS Score (30 in total, the first dated here)
  • Oct 12, 2025 PoC Published (13 in total, the first dated here)
  • Mar 29, 2026 Distribution Patch (222 in total, the first dated here)
  • Mar 29, 2026 Security Advisory (235 in total, the first dated here)
  • Jun 9, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-38095
vulnetix vdb fixes CVE-2025-38095

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-38095/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›