
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-38708 is a vulnerability in the Linux kernel's DRBD (Distributed Replicated Block Device) component, discovered and disclosed on September 4, 2025. The vulnerability specifically affects the write conflict handling mechanism in DRBD when the 'two-primaries' feature is enabled (NVD).
The vulnerability stems from a missing kref_get call in the handle_write_conflicts function of DRBD. When 'two-primaries' is enabled, DRBD attempts to detect concurrent writes and handle write conflicts to ensure identical data across nodes when writing to the same sector simultaneously. The missing reference count management (kref_get) results in a premature drbd_destroy_device and subsequent use-after-free condition, which can lead to kernel crashes (NVD).
The vulnerability can result in kernel crashes due to use-after-free conditions. However, the real-world impact is limited since the vulnerable code path is primarily encountered in test cases rather than production environments. This is because most production deployments using 'two-primaries' properly handle concurrent writes through distributed lock managers or proper write coordination in virtualization environments (NVD).
In DRBD 9, the approach to handling write conflicts has been modified. Instead of attempting to handle concurrent writes intelligently, the system now disconnects when detecting write conflicts, placing the responsibility on upper layers to prevent concurrent write submissions. Users should ensure proper write coordination at the application layer or upgrade to DRBD 9 for improved handling (NVD).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."