Breaking News: Hijacked Releases of Microsoft’s Official agent-framework Steals Azure and CI Credentials
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2025-38708

kernel: drbd: add missing kref_get in handle_write_conflicts

Overview

Published
4 Sep 2025
Modified
19 Oct 2026
High CVE
0 Registry packages
134 OS packages
9 Linux distributions
Yes Fix available

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.

Source: OX vulnerability database

Severity

7.8 · HIGH

CVSS 3.1 base score, scored by NVD.

Attack vector
Local
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Weakness: CWE-416

Affected packages · 0

No registry package. This ID affects operating system packages only.

Operating systems · 68 fixes

Azure Linux 1 release · 1 package

fixed 1
kernel
Azure Linux fixes for CVE-2025-38708
ReleasePackageFixed in
3.0 kernel 0:6.6.104.2-1.azl3

Oracle Linux 3 releases · 2 packages

fixed 4
kernel-uek bpftool
Oracle Linux fixes for CVE-2025-38708
ReleasePackageFixed in
7 kernel-uek +7 5.4.17-2136.348.3.el7uek
8 bpftool +13 5.15.0-314.193.5.3.el8uek
9 bpftool +3 5.15.0-314.193.5.3.el9uek
9 kernel-uek +34 6.12.0-104.43.4.2.el9uek

Photon OS 2 releases · 1 package

fixed 2
bpftool
Photon OS fixes for CVE-2025-38708
ReleasePackageFixed in
4.0 bpftool +9 5.10.241-1.ph4
5.0 bpftool +10 6.1.153-1.ph5

amazon linux 1 release · 3 packages

fixed 3
kernel-livepatch-6-1-150-174-273 bpftool bpftool6-12
amazon linux fixes for CVE-2025-38708
ReleasePackageFixed in
2023 kernel-livepatch-6-1-150-174-273 +1 1:1.0-0.amzn2023
2023 bpftool +20 1:6.1.150-174.273.amzn2023
2023 bpftool6-12 +20 1:6.12.46-66.121.amzn2023

debian 4 releases · 2 packages

fixed 5
linux linux-6-1
debian fixes for CVE-2025-38708
ReleasePackageFixed in
11 linux 5.10.244-1
11 linux-6-1 6.1.153-1~deb11u1
12 linux 6.1.153-1
13 linux 6.12.43-1
14 linux 6.16.3-1

echo 1 release · 1 package

fixed 1
linux
echo fixes for CVE-2025-38708
ReleasePackageFixed in
linux 1

root.io debian 3 releases · 2 packages

fixed 3
linux rootio-linux
root.io debian fixes for CVE-2025-38708
ReleasePackageFixed in
11 linux +1 5.10.244-1
12 linux +1 6.1.153-1
13 rootio-linux 6.12.43-1

root.io ubuntu 2 releases · 1 package

fixed 2
linux
root.io ubuntu fixes for CVE-2025-38708
ReleasePackageFixed in
22.04 linux +1 5.15.0-163.173
24.04 linux +1 6.8.0-100.100

ubuntu 3 releases · 37 packages

fixed 47
linux-nvidia-tegra-5-15 linux-ibm-5-15 linux-riscv-5-15 linux-intel-iotg-5-15 linux-oracle-5-15 linux-aws-5-15 +31
ubuntu fixes for CVE-2025-38708
ReleasePackageFixed in
20.04-ESM linux-nvidia-tegra-5-15 5.15.0-1049.49~20.04.1
20.04-ESM linux-ibm-5-15 5.15.0-1091.94~20.04.1
20.04-ESM linux-riscv-5-15 5.15.0-1092.96~20.04.1
20.04-ESM linux-intel-iotg-5-15 5.15.0-1092.98~20.04.1
20.04-ESM linux-oracle-5-15 5.15.0-1094.100~20.04.1
20.04-ESM linux-aws-5-15 5.15.0-1097.104~20.04.1

41 more rows

References

Show all 45 references

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.