CVE-2025-38095

published 3 Jul 2025 · updated 15 Oct 2026

dma-buf: insert memory barrier before updating num_fences

7.8HighCVSS 7.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 08680c4dadc6e736c75bc2409d833f03f9003c51, Kernel 3becc659f9cb76b481ad1fb71f54d5c8d6332d3f, Kernel 72c7d62583ebce7baeb61acce6057c361f73be4a and 4 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.0, >=a590d0fdbaa56f482ff515e1040b6d9b1b200d63 <08680c4dadc6e736c75bc2409d833f03f9003c51, >=a590d0fdbaa56f482ff515e1040b6d9b1b200d63 <3becc659f9cb76b481ad1fb71f54d5c8d6332d3f, >=a590d0fdbaa56f482ff515e1040b6d9b1b200d63 <72c7d62583ebce7baeb61acce6057c361f73be4a, >=a590d0fdbaa56f482ff515e1040b6d9b1b200d63 <90eb79c4ed98a4e24a62ccf61c199ab0f680fa8f, >=a590d0fdbaa56f482ff515e1040b6d9b1b200d63 <c9d2b9a80d06a58f37e0dc8c827075639b443927, >=a590d0fdbaa56f482ff515e1040b6d9b1b200d63 <d0b7f11dd68b593bd970e5735be00e8d89bace30, >=a590d0fdbaa56f482ff515e1040b6d9b1b200d63 <fe1bebd0edb22e3536cbc920ec713331d1367ad408680c4dadc6e736c75bc2409d833f03f9003c51, 3becc659f9cb76b481ad1fb71f54d5c8d6332d3f, 72c7d62583ebce7baeb61acce6057c361f73be4a, 90eb79c4ed98a4e24a62ccf61c199ab0f680fa8f, c9d2b9a80d06a58f37e0dc8c827075639b443927, d0b7f11dd68b593bd970e5735be00e8d89bace30, fe1bebd0edb22e3536cbc920ec713331d1367ad4

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-38095 severity on Zeptric[![CVE-2025-38095](https://zeptric.io/badge/cve/CVE-2025-38095.svg)](https://zeptric.io/cve/CVE-2025-38095)