Description
In the Linux kernel, the following vulnerability has been resolved:

drbd: reject data replies with an out-of-range payload size

recv_dless_read() receives a P_DATA_REPLY from a peer into the bio of an
outstanding read request. The peer-supplied payload length reaches it as
the signed int data_size, and two peer-controlled inputs can make it
negative. With a negotiated data-integrity-alg the digest length is
subtracted first, so a reply whose payload is smaller than the digest
underflows data_size. With no integrity algorithm (the default) data_size
is assigned from the unsigned h95/h100 wire length and drbdd() never
bounds it for a payload-carrying command, so a length above INT_MAX casts
it negative; this path needs no non-default feature. The bio receive loop
then computes expect = min_t(int, data_size, bv_len), which is negative,
and drbd_recv_all_warn(mapped, expect) receives with a size_t of SIZE_MAX
into the first mapped page.

The sibling receive path read_in_block() is not affected: it uses an
unsigned size and rejects it against DRBD_MAX_BIO_SIZE before receiving.
Reject a data reply whose size is negative after the optional digest
subtraction, covering both triggers.

Impact: a malicious or man-in-the-middle DRBD peer copies attacker-chosen
bytes past a bio page in the receiver, corrupting kernel memory. A node
that reads from its peer (a diskless node, or read-balancing to the peer)
is exposed in the default configuration; data-integrity-alg is not
required.
Published: 2026-08-15
Score: n/a
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The flaw occurs when a DRBD peer replies with a P_DATA_REPLY that contains a payload length controlled by the peer. Because the length is signed, an attacker can force it to become negative. The kernel then performs a size calculation that underflows and casts the negative value to a very large size_t. When the kernel copies this payload into a bio page, it writes beyond the allocated buffer, corrupting kernel memory. Depending on the attacker’s goals, such memory corruption can lead to arbitrary code execution or a kernel panic. The vulnerability is only exploitable when the node is actively reading from a partner DRBD node, i.e. a diskless node or one that balances read traffic to the peer.

Affected Systems

All Linux kernel installations that include the DRBD data‑replication block device are susceptible, regardless of kernel version or distribution, because the flawed code path exists in every release until the patch from the listed kernel commits is applied. No specific version constraints are provided in the CVE data.

Risk and Exploitability

The CVSS score is not supplied, and EPSS is unavailable, but the nature of the bug—unbounded kernel memory writes—implies a high severity. The vulnerability has been fixed in the kernel through a series of commits; however, until a system is updated, an attacker who can position himself as the DRBD peer or tamper with the network can trigger the fault. The vulnerability is not listed in CISA KEV, and no public exploitation has been reported, but the potential impact warrants immediate remediation.

Generated by OpenCVE AI on August 15, 2026 at 07:40 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the kernel to a version that includes the security patches for DRBD issued in the referenced kernel commits.
  • Restrict DRBD peer connections to trusted, internal hosts; consider disabling DRBD ports or using network segmentation or firewall rules to block unsolicited DRBD traffic.
  • If you cannot update immediately, enable the data‑integrity algorithm in DRBD configuration, which adds a digest to replies and causes the negative length to be detected and rejected.

Generated by OpenCVE AI on August 15, 2026 at 07:40 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 15 Aug 2026 06:00:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: drbd: reject data replies with an out-of-range payload size recv_dless_read() receives a P_DATA_REPLY from a peer into the bio of an outstanding read request. The peer-supplied payload length reaches it as the signed int data_size, and two peer-controlled inputs can make it negative. With a negotiated data-integrity-alg the digest length is subtracted first, so a reply whose payload is smaller than the digest underflows data_size. With no integrity algorithm (the default) data_size is assigned from the unsigned h95/h100 wire length and drbdd() never bounds it for a payload-carrying command, so a length above INT_MAX casts it negative; this path needs no non-default feature. The bio receive loop then computes expect = min_t(int, data_size, bv_len), which is negative, and drbd_recv_all_warn(mapped, expect) receives with a size_t of SIZE_MAX into the first mapped page. The sibling receive path read_in_block() is not affected: it uses an unsigned size and rejects it against DRBD_MAX_BIO_SIZE before receiving. Reject a data reply whose size is negative after the optional digest subtraction, covering both triggers. Impact: a malicious or man-in-the-middle DRBD peer copies attacker-chosen bytes past a bio page in the receiver, corrupting kernel memory. A node that reads from its peer (a diskless node, or read-balancing to the peer) is exposed in the default configuration; data-integrity-alg is not required.
Title drbd: reject data replies with an out-of-range payload size
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-15T05:51:42.741Z

Reserved: 2026-08-09T03:40:39.899Z

Link: CVE-2026-72014

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-15T06:21:00.173

Modified: 2026-08-15T06:21:00.173

Link: CVE-2026-72014

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-15T08:45:05Z

Weaknesses

No weakness.