Paper/Archive/CVE-2026-53176

CVE-2026-53176

Linux Linux — IB/isert: Reject login PDUs shorter than ISER_HEADERS_LEN

Description · from the CVE record

In the Linux kernel, the following vulnerability has been resolved: IB/isert: Reject login PDUs shorter than ISER_HEADERS_LEN In drivers/infiniband/ulp/isert/ib_isert.c, isert_login_recv_done() computes the login request payload length as wc->byte_len minus ISER_HEADERS_LEN with no lower bound, and login_req_len is a signed int. A remote iSER initiator can post a login Send work request carrying fewer than ISER_HEADERS_LEN (76) bytes, so the subtraction underflows and login_req_len becomes negative. isert_rx_login_req() then reads that negative length back into a signed int, takes size = min(rx_buflen, MAX_KEY_VALUE_PAIRS), and because the min() is signed it keeps the negative value; the value is then passed as the memcpy() length and sign-extended to a multi-gigabyte size_t. The copy into the 8192-byte login->req_buf runs far out of bounds and faults, crashing the target node. The login phase precedes iSCSI authentication, so no credentials are required to reach this path. Reject any login PDU shorter than ISER_HEADERS_LEN before the subtraction, mirroring the existing early return on a failed work completion, so login_req_len can never go negative. The upper bound was already safe: a posted login buffer cannot deliver more than ISER_RX_PAYLOAD_SIZE, so the difference stays at or below MAX_KEY_VALUE_PAIRS and the existing min() clamps it; only the missing lower bound needs to be added.

Affected

ProductAffectedFixed inSource
Linuxb8d26b3be8b33682cf163274ed07479a70554633 – < 75ee6e4aa096aa9e7b2dd5c8ff98356e30aceefb75ee6e4aa096aa9e7b2dd5c8ff98356e30aceefbCNA
Linuxb8d26b3be8b33682cf163274ed07479a70554633 – < e8a013c0c3ca2f6708341a56612a3f6d6921620ae8a013c0c3ca2f6708341a56612a3f6d6921620aCNA
Linuxb8d26b3be8b33682cf163274ed07479a70554633 – < bd22740d7f14cb1c0289444cfd2c8d2938667c1dbd22740d7f14cb1c0289444cfd2c8d2938667c1dCNA
Linuxb8d26b3be8b33682cf163274ed07479a70554633 – < c1234229399f4af12c553b1b0ffd978eeba65548c1234229399f4af12c553b1b0ffd978eeba65548CNA
Linuxb8d26b3be8b33682cf163274ed07479a70554633 – < c5584e089b5af7b3bf8bd5e8ca0560cbf32b0a47c5584e089b5af7b3bf8bd5e8ca0560cbf32b0a47CNA
Linuxb8d26b3be8b33682cf163274ed07479a70554633 – < df422fd273c96c2ee5beb80fc21adc8c70c29260df422fd273c96c2ee5beb80fc21adc8c70c29260CNA
Linuxb8d26b3be8b33682cf163274ed07479a70554633 – < 1ca40b243277c9e88be5e00bd3e083f71aefb93e1ca40b243277c9e88be5e00bd3e083f71aefb93eCNA
Linuxb8d26b3be8b33682cf163274ed07479a70554633 – < 29e7b925ae6df64894e82ab6419994dc25580a8a29e7b925ae6df64894e82ab6419994dc25580a8aCNA
Linux3.10–CNA
Red Hat Enterprise Linux 10see advisory0:6.12.0-211.56.1.el10_2redhat-SADP
Red Hat Enterprise Linux 8see advisory0:4.18.0-553.164.1.rt7.505.el8_10redhat-SADP
Red Hat Enterprise Linux 8see advisory0:4.18.0-553.164.1.el8_10redhat-SADP

Scores by source

Linux (CNA)9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
redhat-SADP (CNA)6.5CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CISA ADPSSVCExploitation: none · Automatable: yes · Technical impact: total

References

refgit.kernel.org/stable/c/75ee6e4aa096aa9e7b2dd5c8ff98356e30aceefbrefgit.kernel.org/stable/c/e8a013c0c3ca2f6708341a56612a3f6d6921620arefgit.kernel.org/stable/c/bd22740d7f14cb1c0289444cfd2c8d2938667c1drefgit.kernel.org/stable/c/c1234229399f4af12c553b1b0ffd978eeba65548refgit.kernel.org/stable/c/c5584e089b5af7b3bf8bd5e8ca0560cbf32b0a47refgit.kernel.org/stable/c/df422fd273c96c2ee5beb80fc21adc8c70c29260refgit.kernel.org/stable/c/1ca40b243277c9e88be5e00bd3e083f71aefb93erefgit.kernel.org/stable/c/29e7b925ae6df64894e82ab6419994dc25580a8arefaccess.redhat.com/security/cve/CVE-2026-53176refbugzilla.redhat.com/show_bug.cgi?id=2492741refsecurity.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-53176.jsonadvisoryaccess.redhat.com/errata/RHSA-2026:68507advisoryaccess.redhat.com/errata/RHSA-2026:68570advisoryaccess.redhat.com/errata/RHSA-2026:68531advisoryaccess.redhat.com/errata/RHSA-2026:68532