{"id":"CVE-2026-72014","aliases":["CVE-2026-72014"],"related":[],"kind":"vulnerability","state":"published","title":"drbd: reject data replies with an out-of-range payload size","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrbd: reject data replies with an out-of-range payload size\n\nrecv_dless_read() receives a P_DATA_REPLY from a peer into the bio of an\noutstanding read request. The peer-supplied payload length reaches it as\nthe signed int data_size, and two peer-controlled inputs can make it\nnegative. With a negotiated data-integrity-alg the digest length is\nsubtracted first, so a reply whose payload is smaller than the digest\nunderflows data_size. With no integrity algorithm (the default) data_size\nis assigned from the unsigned h95/h100 wire length and drbdd() never\nbounds it for a payload-carrying command, so a length above INT_MAX casts\nit negative; this path needs no non-default feature. The bio receive loop\nthen computes expect = min_t(int, data_size, bv_len), which is negative,\nand drbd_recv_all_warn(mapped, expect) receives with a size_t of SIZE_MAX\ninto the first mapped page.\n\nThe sibling receive path read_in_block() is not affected: it uses an\nunsigned size and rejects it against DRBD_MAX_BIO_SIZE before receiving.\nReject a data reply whose size is negative after the optional digest\nsubtraction, covering both triggers.\n\nImpact: a malicious or man-in-the-middle DRBD peer copies attacker-chosen\nbytes past a bio page in the receiver, corrupting kernel memory. A node\nthat reads from its peer (a diskless node, or read-balancing to the peer)\nis exposed in the default configuration; data-integrity-alg is not\nrequired.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrbd: reject data replies with an out-of-range payload size\n\nrecv_dless_read() receives a P_DATA_REPLY from a peer into the bio of an\noutstanding read request. The peer-supplied payload length reaches it as\nthe signed int data_size, and two peer-controlled inputs can make it\nnegative. With a negotiated data-integrity-alg the digest length is\nsubtracted first, so a reply whose payload is smaller than the digest\nunderflows data_size. With no integrity algorithm (the default) data_size\nis assigned from the unsigned h95/h100 wire length and drbdd() never\nbounds it for a payload-carrying command, so a length above INT_MAX casts\nit negative; this path needs no non-default feature. The bio receive loop\nthen computes expect = min_t(int, data_size, bv_len), which is negative,\nand drbd_recv_all_warn(mapped, expect) receives with a size_t of SIZE_MAX\ninto the first mapped page.\n\nThe sibling receive path read_in_block() is not affected: it uses an\nunsigned size and rejects it against DRBD_MAX_BIO_SIZE before receiving.\nReject a data reply whose size is negative after the optional digest\nsubtraction, covering both triggers.\n\nImpact: a malicious or man-in-the-middle DRBD peer copies attacker-chosen\nbytes past a bio page in the receiver, corrupting kernel memory. A node\nthat reads from its peer (a diskless node, or read-balancing to the peer)\nis exposed in the default configuration; data-integrity-alg is not\nrequired.","source":"cvelist"}],"published":"2026-08-15T05:51:42.741Z","modified":"2026-10-19T22:17:21.883Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-190"],"affected":[{"ranges":[{"type":"git","introduced":"b411b3637fa71fce9cf2acf0639009500f5892fe","fixed":"bca33f5442c3094511719d9db792ce3165d87e76","status":"affected"},{"type":"git","introduced":"b411b3637fa71fce9cf2acf0639009500f5892fe","fixed":"741a682535deffe9ab7e5c89caf83571efbc9dd9","status":"affected"},{"type":"git","introduced":"b411b3637fa71fce9cf2acf0639009500f5892fe","fixed":"f14e87d7b166490bceb9603b39310e51595d05b9","status":"affected"},{"type":"git","introduced":"b411b3637fa71fce9cf2acf0639009500f5892fe","fixed":"f16866c62656865854106b79bcf6e4ca97a51a92","status":"affected"},{"type":"git","introduced":"b411b3637fa71fce9cf2acf0639009500f5892fe","fixed":"5f59a8142000f0b8f75c432209ead73c424a745d","status":"affected"},{"type":"git","introduced":"b411b3637fa71fce9cf2acf0639009500f5892fe","fixed":"38cc4867540ae8beedfe41a1a1a6ed37052c77d6","status":"affected"},{"type":"git","introduced":"b411b3637fa71fce9cf2acf0639009500f5892fe","fixed":"648d4317326e6aa3f8c05cbf0fd14cc2eba6ca99","status":"affected"},{"type":"git","introduced":"b411b3637fa71fce9cf2acf0639009500f5892fe","fixed":"bd910a7660d280595ef94cb6d193951d855d330f","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.33","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.33","status":"unaffected"},{"type":"semver","introduced":"5.10.261","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.212","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.178","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.145","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.97","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.40","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.5","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/bca33f5442c3094511719d9db792ce3165d87e76","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/741a682535deffe9ab7e5c89caf83571efbc9dd9","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f14e87d7b166490bceb9603b39310e51595d05b9","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f16866c62656865854106b79bcf6e4ca97a51a92","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5f59a8142000f0b8f75c432209ead73c424a745d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/38cc4867540ae8beedfe41a1a1a6ed37052c77d6","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/648d4317326e6aa3f8c05cbf0fd14cc2eba6ca99","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bd910a7660d280595ef94cb6d193951d855d330f","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2026-10-16T15:49:59.402Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-72014","url":"https://www.cve.org/CVERecord?id=CVE-2026-72014","licence":"CVE Terms of Use","modified":"2026-10-19T21:09:12.925Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-72014","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-72014","licence":"Public domain","modified":"2026-10-19T22:17:21.883Z"}],"updatedAt":"2026-11-25T22:59:32.974Z","epss":{"score":0.00684,"percentile":0.53817,"date":"2026-12-01T12:00:22.000Z"}}