{"id":"CVE-2026-89969","aliases":["CVE-2026-89969"],"related":[],"kind":"vulnerability","state":"published","title":"nvmet-tcp: fix out-of-bounds write when receiving an over-long PDU","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnvmet-tcp: fix out-of-bounds write when receiving an over-long PDU\n\nnvmet_tcp_try_recv_pdu() reads a PDU header into the fixed 128-byte\nqueue->pdu union, then computes the remaining payload length as\n\n\tqueue->left = hdr->hlen - queue->offset + hdgst;\n\nand reads that many more bytes into &queue->pdu + queue->offset, without\never bounding the result against sizeof(queue->pdu).\n\nA struct nvme_tcp_icreq_pdu is itself 128 bytes, exactly the size of the\nunion. Once a header digest has been negotiated (hdgst = 4), a second\nICReq passes the hlen == nvmet_tcp_pdu_size() check but yields\nqueue->left = 128 - 8 + 4 = 124, so bytes 8..132 are written into the\n128-byte buffer -- 4 bytes past its end, over queue->hdr_digest and\nqueue->data_digest. Those bytes are attacker-controlled (an ICReq\ncarries no digest), and the duplicate ICReq is only rejected later,\nafter the overflow. A remote unauthenticated host can thus corrupt\nkernel memory adjacent to the receive buffer.\n\nReject any PDU whose declared length would read past the end of\nqueue->pdu before the second recv.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnvmet-tcp: fix out-of-bounds write when receiving an over-long PDU\n\nnvmet_tcp_try_recv_pdu() reads a PDU header into the fixed 128-byte\nqueue->pdu union, then computes the remaining payload length as\n\n\tqueue->left = hdr->hlen - queue->offset + hdgst;\n\nand reads that many more bytes into &queue->pdu + queue->offset, without\never bounding the result against sizeof(queue->pdu).\n\nA struct nvme_tcp_icreq_pdu is itself 128 bytes, exactly the size of the\nunion. Once a header digest has been negotiated (hdgst = 4), a second\nICReq passes the hlen == nvmet_tcp_pdu_size() check but yields\nqueue->left = 128 - 8 + 4 = 124, so bytes 8..132 are written into the\n128-byte buffer -- 4 bytes past its end, over queue->hdr_digest and\nqueue->data_digest. Those bytes are attacker-controlled (an ICReq\ncarries no digest), and the duplicate ICReq is only rejected later,\nafter the overflow. A remote unauthenticated host can thus corrupt\nkernel memory adjacent to the receive buffer.\n\nReject any PDU whose declared length would read past the end of\nqueue->pdu before the second recv.","source":"cvelist"}],"published":"2026-09-16T10:32:49.603Z","modified":"2026-10-19T09:18:43.420Z","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":[],"affected":[{"ranges":[{"type":"git","introduced":"872d26a391da92ed8f0c0f5cb5fef428067b7f30","fixed":"a3f0bcfbaf3312a5754d1ce020a07d394669eb25","status":"affected"},{"type":"git","introduced":"872d26a391da92ed8f0c0f5cb5fef428067b7f30","fixed":"4f84d42c53c49557fb1ef285c683b0a81b576c74","status":"affected"},{"type":"git","introduced":"872d26a391da92ed8f0c0f5cb5fef428067b7f30","fixed":"58dc6035b79c4c73c0cbf9ec9f68a7f117b2b3e6","status":"affected"},{"type":"git","introduced":"872d26a391da92ed8f0c0f5cb5fef428067b7f30","fixed":"cf5f39d2b58f97e0cd1829c4a6aeef17f1607cca","status":"affected"},{"type":"git","introduced":"872d26a391da92ed8f0c0f5cb5fef428067b7f30","fixed":"3a385e0c39efbe34db8edd95900c123113ae3450","status":"affected"},{"type":"git","introduced":"872d26a391da92ed8f0c0f5cb5fef428067b7f30","fixed":"dbc4acbdb3ca8c81441368ad7409b8f77d4de8f6","status":"affected"},{"type":"git","introduced":"872d26a391da92ed8f0c0f5cb5fef428067b7f30","fixed":"d95d342bc0ea82dc79e6362b2f1f997431750e4c","status":"affected"},{"type":"git","introduced":"872d26a391da92ed8f0c0f5cb5fef428067b7f30","fixed":"14cc5a7e77731497d5bea70f3bb05df7eda982e4","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.0","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.0","status":"unaffected"},{"type":"semver","introduced":"5.10.270","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.221","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.188","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.157","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.110","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.51","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.5","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","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/a3f0bcfbaf3312a5754d1ce020a07d394669eb25","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4f84d42c53c49557fb1ef285c683b0a81b576c74","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/58dc6035b79c4c73c0cbf9ec9f68a7f117b2b3e6","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/cf5f39d2b58f97e0cd1829c4a6aeef17f1607cca","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3a385e0c39efbe34db8edd95900c123113ae3450","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/dbc4acbdb3ca8c81441368ad7409b8f77d4de8f6","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d95d342bc0ea82dc79e6362b2f1f997431750e4c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/14cc5a7e77731497d5bea70f3bb05df7eda982e4","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-89969","url":"https://www.cve.org/CVERecord?id=CVE-2026-89969","licence":"CVE Terms of Use","modified":"2026-10-19T08:55:42.820Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-89969","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89969","licence":"Public domain","modified":"2026-10-19T09:18:43.420Z"}],"updatedAt":"2026-11-25T22:59:38.997Z","epss":{"score":0.00714,"percentile":0.54924,"date":"2026-12-02T12:00:21.000Z"}}