Memory Barrier Vulnerability in Linux Kernel - CVE-2025-38095

linux Updated 02 Oct 2025

Summary

03/07/2025
N/A
No i
Unrated
Not published

CVE-2025-38095: 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. Affects linux versions 5.10.103-1 – 6.9.9-1. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The Linux kernel is the core component of many operating systems, responsible for managing hardware and system resources. It provides essential services for all other parts of the operating system. This vulnerability affects various Debian versions of the Linux package, which is crucial for system stability and performance. The vulnerability arises from improper memory barrier implementation, which can lead to critical system errors.

Vulnerability Detail

CVE-2025-38095 is a vulnerability in the Linux kernel related to the dma-buf subsystem. The issue stems from the lack of a proper memory barrier before updating the num_fences variable. The smp_store_mb() function, which is supposed to insert a memory barrier after a store operation, does not align with the intended behavior described in the comments. This discrepancy can lead to a null pointer dereference if memory updates are reordered, potentially causing system crashes or instability.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

Currently, there are no specific workarounds provided for this vulnerability. The best course of action is to apply the available patches as soon as they are released.

Conclusion

CVE-2025-38095 is a significant vulnerability in the Linux kernel that can lead to serious system issues if not addressed. Users are advised to update their Linux packages to the patched versions as soon as they are available to ensure system stability and security.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2025-38095 is a vulnerability in the Linux kernel that can lead to null pointer dereference due to improper memory barrier implementation.

Debian 11, 12, and 13 are affected by this vulnerability.

You can use tools like Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected.

While there are no specific workarounds, it is crucial to plan for an update as soon as possible to mitigate the risk of system instability.

Vulert uses a manifest file like package-lock.json to monitor and alert in real-time for open-source vulnerabilities without requiring code access or installation.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback