CVE-2026-139116

drbd: take req_lock to skip the initial sync as peer

Published Nov 30, 2026 CVSS n/a EPSS n/a KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

drbd: take req_lock to skip the initial sync as peer

_drbd_set_state() must be called with req_lock held. drbd_adm_new_c_uuid()
does, receive_uuids() on the peer doesn't, so a concurrent state change
gets lost: the device is Secondary again, or its failed disk UpToDate,
while the work for the lost change is already queued.

Analysis

AI-generated

Technical impact

A race condition in the Linux kernel’s DRBD component can cause a lost or incorrect state transition. The function _drbd_set_state() must be called while holding the req_lock, but the path executed by drbd_adm_new_c_uuid() lacks this lock. Consequently, a concurrent state change can be lost or overwritten, leaving the device marked as Secondary again or falsely reporting a failed disk as UpToDate while queued work remains pending. This flaw can lead to data inconsistency or uncontrolled replication state, compromising the integrity and availability of replicated storage.

Affected Systems

This vulnerability appears in the Linux kernel, specifically within the DRBD (Distributed Replicated Block Device) module. Any distribution that ships a kernel containing this code and that employs DRBD is potentially affected. No specific affected kernel release numbers are supplied in the available references.

Risk and Exploitability

No CVSS or EPSS score is provided, nor is the issue listed in the CISA KEV catalog. The absence of exploitation metrics suggests low public exploitation activity, but the race condition could be abused by a local privileged user or an attacker controlling DRBD configuration to force inconsistent state and disrupt replication. The potential damage includes data loss, corruption, or service interruptions.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Linux kernel to a version that includes the DRBD patch enforcing req_lock during state transitions.
  • If an update is not immediately possible, limit or disable access to DRBD administrative interfaces to reduce the opportunity for the race condition to be triggered.
  • As a temporary containment, monitor DRBD logs for abnormal state changes and consider performing a manual sync whenever suspicious behavior is observed.

Generated by OpenCVE AI on December 1, 2026 at 09:47 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-754
Type Values Removed Values Added
First Time appeared Linux linux
Vendors & Products Linux linux
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: drbd: take req_lock to skip the initial sync as peer _drbd_set_state() must be called with req_lock held. drbd_adm_new_c_uuid() does, receive_uuids() on the peer doesn't, so a concurrent state change gets lost: the device is Secondary again, or its failed disk UpToDate, while the work for the lost change is already queued.
Title drbd: take req_lock to skip the initial sync as peer
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-754

    Improper Check for Unusual or Exceptional Conditions

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:31 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:18 PM
Modified
Nov 30, 2026, 2:18 PM