CVE-2025-38095
dma-buf: insert memory barrier before updating num_fences
Check your servers for CVE-2025-38095
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-38095 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
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.
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.23%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 14.2% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 15 Oct 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- total: full control of the component or of its data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from a590d0fdbaa56f482ff515e1040b6d9b1b200d63, before 90eb79c4ed98a4e24a62ccf61c199ab0f680fa8f affected from a590d0fdbaa56f482ff515e1040b6d9b1b200d63, before d0b7f11dd68b593bd970e5735be00e8d89bace30 affected from a590d0fdbaa56f482ff515e1040b6d9b1b200d63, before 3becc659f9cb76b481ad1fb71f54d5c8d6332d3f affected from a590d0fdbaa56f482ff515e1040b6d9b1b200d63, before c9d2b9a80d06a58f37e0dc8c827075639b443927 affected from a590d0fdbaa56f482ff515e1040b6d9b1b200d63, before fe1bebd0edb22e3536cbc920ec713331d1367ad4 affected from a590d0fdbaa56f482ff515e1040b6d9b1b200d63, before 08680c4dadc6e736c75bc2409d833f03f9003c51 affected from a590d0fdbaa56f482ff515e1040b6d9b1b200d63, before 72c7d62583ebce7baeb61acce6057c361f73be4a
Other versions: unaffected
|
| Linux |
affected 5.0 unaffected before 5.0 unaffected from 5.10.241 up to and including 5.10.* unaffected from 5.15.192 up to and including 5.15.* unaffected from 6.1.140 up to and including 6.1.* unaffected from 6.6.92 up to and including 6.6.* unaffected from 6.12.30 up to and including 6.12.* unaffected from 6.14.8 up to and including 6.14.* unaffected 6.15 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-38095 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-38095
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2025-38095
trivy image --scanners vuln IMAGE | grep CVE-2025-38095
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/90eb79c4ed98a4e24a62ccf61c199ab0f680fa8f git.kernel.org
- https://git.kernel.org/stable/c/d0b7f11dd68b593bd970e5735be00e8d89bace30 git.kernel.org
- https://git.kernel.org/stable/c/3becc659f9cb76b481ad1fb71f54d5c8d6332d3f git.kernel.org
- https://git.kernel.org/stable/c/c9d2b9a80d06a58f37e0dc8c827075639b443927 git.kernel.org
- https://git.kernel.org/stable/c/fe1bebd0edb22e3536cbc920ec713331d1367ad4 git.kernel.org
- https://git.kernel.org/stable/c/08680c4dadc6e736c75bc2409d833f03f9003c51 git.kernel.org
- https://git.kernel.org/stable/c/72c7d62583ebce7baeb61acce6057c361f73be4a git.kernel.org
- https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html lists.debian.org
- https://lists.debian.org/debian-lts-announce/2025/08/msg00010.html lists.debian.org
Source: the record CVE-2025-38095 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse