CVE-2026-139116: drbd: take req_lock to skip the initial sync as peer
In the Linux kernel, the following vulnerability has been resolved:
drbd: take reqlock to skip the initial sync as peer
drbdsetstate() must be called with reqlock held. drbdadmnewcuuid() does, receiveuuids() 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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
Hold req_lock when calling _drbd_set_state() in the peer’s initial-sync skip path (receive_uuids()).
Event History
Frequently Asked Questions
Which deployments are affected?
The issue affects Linux kernel deployments using DRBD. It concerns the peer-side UUID receive path during DRBD state handling.
What condition triggers the fault?
A concurrent state change can be lost when the peer processes received UUIDs without holding req_lock while calling _drbd_set_state(). The resulting state may incorrectly return to Secondary or mark a failed disk UpToDate even though work for the lost state change has already been queued.
What fix is available?
The vulnerability is resolved by ensuring req_lock is held when the initial sync is skipped as a peer. The supplied Linux stable-tree references identify the relevant upstream fixes.