CVE-2025-38708
Last modified
CVE-2025-38708 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. In the Linux kernel, the following vulnerability has been resolved: drbd: add missing kref_get in handle_write_conflicts With `two-primaries` enabled, DRBD tries to detect "concurrent" writes and handle write conflicts, so that even if you write to the same sector simultaneously on both nodes, they end up with the identical data once the writes are completed. In handling "superseeded" writes, we forgot a kref_get, resulting in a premature drbd_destroy_device and use after free, and further to kernel crashes with symptoms. Relevance: No one should use DRBD as a random data generator, and apparently all users of "two-primaries" handle concurrent writes correctly on layer up. That is cluster file systems use some distributed lock manager, and live migration in virtualization environments stops writes on one node before starting writes on the other node. Which means that other than for "test cases", this code path is never taken in real life. FYI, in DRBD 9, things are handled differently nowadays. We still detect "write conflicts", but no longer try to be smart about them. We decided to disconnect hard instead: upper layers must not submit concurrent writes. EPSS estimates a 0.16% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: drbd: add missing kref_get in handle_write_conflicts With `two-primaries` enabled, DRBD tries to detect "concurrent" writes and handle write conflicts, so that even if you write to the same sector simultaneously on both nodes, they end up with the identical data once the writes are completed. In handling "superseeded" writes, we forgot a kref_get, resulting in a premature drbd_destroy_device and use after free, and further to kernel crashes with symptoms. Relevance: No one should use DRBD as a random data generator, and apparently all users of "two-primaries" handle concurrent writes correctly on layer up. That is cluster file systems use some distributed lock manager, and live migration in virtualization environments stops writes on one node before starting writes on the other node. Which means that other than for "test cases", this code path is never taken in real life. FYI, in DRBD 9, things are handled differently nowadays. We still detect "write conflicts", but no longer try to be smart about them. We decided to disconnect hard instead: upper layers must not submit concurrent writes. If they do, that's their fault.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 4.5, < 5.4.297 |
| Linux | Linux Kernel | >= 5.5, < 5.10.241 |
| Linux | Linux Kernel | >= 5.11, < 5.15.190 |
| Linux | Linux Kernel | >= 5.16, < 6.1.149 |
| Linux | Linux Kernel | >= 6.2, < 6.6.103 |
| Linux | Linux Kernel | >= 6.7, < 6.12.43 |
| Linux | Linux Kernel | >= 6.13, < 6.15.11 |
| Linux | Linux Kernel | >= 6.16, < 6.16.2 |
| Debian | Debian Linux | 11.0 |
References
- https://lists.debian.org/debian-lts-announce/2025/10/msg00007.htmlMailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2025/10/msg00008.htmlMailing List, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2025-38708?
How severe is CVE-2025-38708?
How do I fix CVE-2025-38708?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-38702In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-38703In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-38704In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-38705In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-38706In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-38707In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-38709In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-3871Broken access control in Fortra's GoAnywhere MFT prior to 7.…5.3
- CVE-2025-38710In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-38711In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-38712In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-38713In the Linux kernel, the following vulnerability has been re…7.1
Are you affected by CVE-2025-38708?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
