CVE-2025-38095

dma-buf: insert memory barrier before updating num_fences

MEDIUM
5.5
CVSS Score
Published: July 3, 2025 at 07:44 AM UTC
Updated: October 15, 2026 at 10:18 PM UTC
2 products affected across 2 vendorsLinux KernelDebian Linux

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.0 ≤ v < 5.10.2415.11 ≤ v < 5.15.1925.16 ≤ v < 6.1.1406.13 ≤ v < 6.14.86.2 ≤ v < 6.6.926.7 ≤ v < 6.12.306.156.15 rc16.15 rc26.15 rc36.15 rc46.15 rc56.15 rc6a590d0fdbaa56f482ff515e1040b6d9b1b200d63
Vendor states this is fixed in 08680c4dadc6e736c75bc2409d833f03f9003c51 (fixed)
Vendor states this is fixed in 3becc659f9cb76b481ad1fb71f54d5c8d6332d3f (fixed)
Vendor states this is fixed in 72c7d62583ebce7baeb61acce6057c361f73be4a (fixed)
Vendor states this is fixed in 90eb79c4ed98a4e24a62ccf61c199ab0f680fa8f (fixed)
Vendor states this is fixed in c9d2b9a80d06a58f37e0dc8c827075639b443927 (fixed)
Vendor states this is fixed in d0b7f11dd68b593bd970e5735be00e8d89bace30 (fixed)
Vendor states this is fixed in fe1bebd0edb22e3536cbc920ec713331d1367ad4 (fixed)
Vendor states this is fixed in 5.0 (unaffected)
Vendor states this is fixed in 5.10.241 (unaffected)
Vendor states this is fixed in 5.15.192 (unaffected)
Vendor states this is fixed in 6.1.140 (unaffected)
Vendor states this is fixed in 6.12.30 (unaffected)
Vendor states this is fixed in 6.14.8 (unaffected)
Vendor states this is fixed in 6.15 (unaffected)
Vendor states this is fixed in 6.6.92 (unaffected)

References (9)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/08680c4dadc6e736c75bc2409d833f03f9003c51
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/3becc659f9cb76b481ad1fb71f54d5c8d6332d3f
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/72c7d62583ebce7baeb61acce6057c361f73be4a
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/90eb79c4ed98a4e24a62ccf61c199ab0f680fa8f
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c9d2b9a80d06a58f37e0dc8c827075639b443927
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/d0b7f11dd68b593bd970e5735be00e8d89bace30
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/fe1bebd0edb22e3536cbc920ec713331d1367ad4
Mailing ListThird Party Advisory
Source: af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2025/08/msg00010.html

SSVC — Action Prioritization

SSVCNo known exploitNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-476

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card