CVE-2025-38095
dma-buf: insert memory barrier before updating num_fences
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.
INFO
Published Date :
July 3, 2025, 8:15 a.m.
Last Modified :
Dec. 16, 2025, 5:18 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | MEDIUM | [email protected] |
Solution
- Update the Linux kernel to the latest version.
- Apply the security patch for the dma-buf vulnerability.
- Verify the memory barrier logic in dma-buf.
Public PoC/Exploit Available at Github
CVE-2025-38095 has a 1 public
PoC/Exploit available at Github.
Go to the Public Exploits tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2025-38095.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2025-38095 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2025-38095
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
None
Shell
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2025-38095 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2025-38095 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Dec. 16, 2025
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H Added CWE CWE-476 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:6.15:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.15:rc2:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.15:rc3:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.6.92 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.12.30 *cpe:2.3:o:linux:linux_kernel:6.15:rc4:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.15:rc5:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.13 up to (excluding) 6.14.8 *cpe:2.3:o:linux:linux_kernel:6.15:rc6:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.15.192 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 6.1.140 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.0 up to (excluding) 5.10.241 Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* Added Reference Type kernel.org: https://git.kernel.org/stable/c/08680c4dadc6e736c75bc2409d833f03f9003c51 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/3becc659f9cb76b481ad1fb71f54d5c8d6332d3f Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/72c7d62583ebce7baeb61acce6057c361f73be4a Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/90eb79c4ed98a4e24a62ccf61c199ab0f680fa8f Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/c9d2b9a80d06a58f37e0dc8c827075639b443927 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/d0b7f11dd68b593bd970e5735be00e8d89bace30 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/fe1bebd0edb22e3536cbc920ec713331d1367ad4 Types: Patch Added Reference Type CVE: https://lists.debian.org/debian-lts-announce/2025/08/msg00010.html Types: Mailing List, Third Party Advisory Added Reference Type CVE: https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html Types: Mailing List, Third Party Advisory -
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 03, 2025
Action Type Old Value New Value Added Reference https://lists.debian.org/debian-lts-announce/2025/08/msg00010.html -
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 03, 2025
Action Type Old Value New Value Added Reference https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Sep. 09, 2025
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/d0b7f11dd68b593bd970e5735be00e8d89bace30 -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Aug. 28, 2025
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/90eb79c4ed98a4e24a62ccf61c199ab0f680fa8f -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jul. 03, 2025
Action Type Old Value New Value Added 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. Added Reference https://git.kernel.org/stable/c/08680c4dadc6e736c75bc2409d833f03f9003c51 Added Reference https://git.kernel.org/stable/c/3becc659f9cb76b481ad1fb71f54d5c8d6332d3f Added Reference https://git.kernel.org/stable/c/72c7d62583ebce7baeb61acce6057c361f73be4a Added Reference https://git.kernel.org/stable/c/c9d2b9a80d06a58f37e0dc8c827075639b443927 Added Reference https://git.kernel.org/stable/c/fe1bebd0edb22e3536cbc920ec713331d1367ad4