Data Race Vulnerability in Linux Kernel vxlan Package

linux Updated 02 Oct 2025

Summary

18/06/2025
N/A
No i
Unrated
Not published

CVE-2025-38037: In the Linux kernel, the following vulnerability has been resolved: vxlan: Annotate FDB data races The 'used' and 'updated' fields in the FDB entry structure can be accessed concurrently by multiple threads, leading to r... 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, providing essential services for hardware and software interaction. The vxlan (Virtual Extensible LAN) feature allows for the encapsulation of Layer 2 Ethernet frames in Layer 4 UDP packets, enabling the creation of virtualized network overlays. This functionality is crucial for modern cloud and data center environments, where network segmentation and isolation are necessary. However, the vxlan implementation has been found to have a data race vulnerability, which can lead to inconsistent behavior and potential system instability.

Vulnerability Detail

The vulnerability, identified as CVE-2025-38037, arises from concurrent access to the 'used' and 'updated' fields in the Forwarding Database (FDB) entry structure within the vxlan implementation. This data race can lead to unexpected behavior, including crashes or data corruption, as multiple threads may read and write to these fields simultaneously. The issue was reported by the Kernel Concurrency Sanitizer, highlighting the risks associated with this concurrency flaw. The vulnerability can be exploited under specific conditions, particularly in high-load environments where multiple threads interact with the vxlan functionality.

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

As a temporary workaround, users can suppress the reports generated by the Kernel Concurrency Sanitizer by annotating the accesses to the 'used' and 'updated' fields using the following commands in a bash script:

#!/bin/bash set +H echo whitelist > /sys/kernel/debug/kcsan echo !vxlan_xmit > /sys/kernel/debug/kcsan

Additionally, users can reproduce the issue using the following commands: ip link add name vx0 up type vxlan id 10010 dstport 4789 local 192.0.2.1 bridge fdb add 00:11:22:33:44:55 dev vx0 self static dst 198.51.100.1 taskset -c 0 mausezahn vx0 -a own -b 00:11:22:33:44:55 -c 0 -q & taskset -c 2 mausezahn vx0 -a own -b 00:11:22:33:44:55 -c 0 -q &

Conclusion

The CVE-2025-38037 vulnerability in the Linux kernel's vxlan implementation poses significant risks due to data races in concurrent access. Users are advised to update their kernel packages to the patched version to mitigate these risks. For those unable to update immediately, a workaround is available to suppress error reports. Monitoring for updates is crucial for maintaining system security.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2025-38037 is a data race vulnerability in the vxlan implementation of the Linux kernel, which can lead to inconsistent behavior and potential system crashes.

You can use Vulert, which monitors open-source vulnerabilities in your software. By using the Vulert playground, you can check if your application is affected without needing to sign up.

The risks include system instability, crashes, and data corruption due to concurrent access to shared resources in the vxlan implementation.

Yes, a patched version (6.12.32-1) is available for Debian 13. Users of Debian 11 and 12 should monitor for updates as the urgency for a fix has not yet been assigned.

As a temporary measure, you can suppress the reports generated by the Kernel Concurrency Sanitizer by following the provided workaround instructions.

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