DNA View

CVE-2025-38708

Low
Low Medium High Critical
CVSS Score
Published: Sep 04, 2025
Last Modified: Nov 03, 2025

Vulnerability 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.

Available Security Patches

5 patches available from vendors

View All Patches
Canonical (Ubuntu)

USN-7938-1

USN-7938-1: Linux kernel (Azure) vulnerabilities

Severity
Unknown
Released
Dec 16, 2025
Restart Required
Security Update
Canonical (Ubuntu)

USN-7910-2

USN-7910-2: Linux kernel (Azure) vulnerabilities

Severity
Unknown
Released
Dec 05, 2025
Restart Required
Security Update
Canonical (Ubuntu)

USN-7909-4

USN-7909-4: Linux kernel vulnerabilities

Severity
Unknown
Released
Dec 05, 2025
Restart Required
Security Update
Microsoft

2025-Sep-CVE-2025-38708

CVE-2025-38708: drbd: add missing kref_get in handle_write_conflicts

Severity
Unknown
Released
Oct 05, 2025
Security Update
SUSE

CVE-2025-38708

CVE-2025-38708

Severity
Unknown
Released
Sep 22, 2025
Security Update

Severity Details

out of 10.0
Low

Key Information

Published Date
September 04, 2025