Skip to main content
← All vulnerabilities
CVE-2026-90413

IB/isert: reject login PDUs declaring more data than was received

Affects Linux kernels with the IB/isert iSER target driver in use; fixed in stable releases 5.10.270, 5.15.221, 6.1.188, 6.6.157, 6.12.110, 6.18.52 and 7.2.6.

Published
Last modified
published
Not listed in CISA KEV
Unclear
Fix
Fixed in 5.10.270, 5.15.221, 6.1.188, 6.6.157, 6.12.110, and 2 more
None on Exploit-DB, Metasploit or GitHub

Summary

The iSCSI target login handling in the Linux kernel's InfiniBand iSER (isert) driver is affected, so systems exporting iSCSI targets over iSER/RDMA fabrics are exposed. A remote initiator that sends a login PDU declaring more data than it actually transmits can cause the kernel to read past the end of a fixed-size buffer, which can crash the system before authentication.

Summarized by anthropic/claude-haiku-5.5. Verify details against the original sources.

Read the original description

In the Linux kernel, the following vulnerability has been resolved: IB/isert: reject login PDUs declaring more data than was received isert_login_recv_done() records how many bytes the HCA actually placed in the login buffer, but nothing compares that against the length the login PDU's BHS declares. isert_rx_login_req() copies min(login_req_len, MAX_KEY_VALUE_PAIRS) bytes into login->req_buf, and the login code then reads the declared length back out of that buffer - for the first PDU in iscsi_target_locate_portal(), payload_length = ntoh24(login_req->dlength); tmpbuf = kmemdup_nul(login->req_buf, payload_length, GFP_KERNEL); and for the ones after it in iscsi_decode_text_input(), reached from iscsi_target_do_login(). login->req_buf is a fixed MAX_KEY_VALUE_PAIRS (8192) byte allocation, so an initiator that declares more than it sends reads off the end of it, before authentication and with the length under its control: BUG: KASAN: slab-out-of-bounds in kmemdup_nul+0x43/0x80 Read of size 8193 at addr ffff8881056a8000 by task iscsi_np/167 __asan_memcpy+0x23/0x60 kmemdup_nul+0x43/0x80 iscsi_target_locate_portal+0x48d/0x1180 iscsi_target_login_thread+0x19a9/0x3350 Allocated by task 167: __kmalloc_cache_noprof+0x158/0x370 iscsi_target_login_thread+0x971/0x3350 which belongs to the cache kmalloc-8k of size 8192 allocated 8192-byte region Falsifying the second login PDU instead reaches the other reader, on the same buffer: BUG: KASAN: slab-out-of-bounds in kmemdup_nul+0x43/0x80 Read of size 8193 at addr ffff888104d10000 by task kworker/1:1/50 Workqueue: isert_login_wq iscsi_target_do_login_rx __asan_memcpy+0x23/0x60 kmemdup_nul+0x43/0x80 iscsi_decode_text_input+0xc6/0x11c0 iscsi_target_do_login+0x261/0x1470 iscsi_target_do_login_rx+0x51d/0x7d0 iscsit over TCP is not exposed: iscsit_get_login_rx() validates the declared length with iscsi_target_check_login_request() and then reads exactly that many bytes off the socket, so the declared length governs how much arrives rather than how much is copied out of an already-filled buffer. isert does not call iscsi_target_check_login_request() at all. Reject a login PDU whose declared DataSegmentLength exceeds what was received, in both paths that reach isert_rx_login_req(): isert_get_login_rx() for the first login PDU and isert_login_recv_done() for the ones after it. dlength <= login_req_len is allowed because the received count can include up to three bytes of iSCSI padding. Once the check is in place the copy out can no longer exceed the copy in: the posted login SGE is ISER_RX_PAYLOAD_SIZE, so login_req_len cannot exceed MAX_KEY_VALUE_PAIRS and the min() in isert_rx_login_req() is login_req_len. Like the existing short-PDU check added by 29e7b925ae6d, the reject in isert_login_recv_done() returns without completing login_req_comp, so a malformed subsequent PDU leaves the login to be torn down by the login timer rather than failing immediately. The first-PDU path returns an error and fails straight away. Reproduced on 7.2.0-rc4 with soft-RoCE (rdma_rxe) under KASAN, using an initiator that sends the real key=value payload while declaring 8193 in the BHS, on the first login PDU and on the second in separate runs. The reported read size tracks the declared value exactly; 16384 and 61440 behave the same. Unpatched 3 of 3 runs report on each of the two paths, patched 0 of 3 on both, run alternately in a single session, and a normal login still completes on the patched build.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • Linux Linux

    From b8d26b3be8b33682cf163274ed07479a70554633 · fixed in b1f3313e7b3e396e4985fea5c709477387e0a065; From b8d26b3be8b33682cf163274ed07479a70554633 · fixed in 228aaa620fe6a7bc8b5b21dd348b4836b1760c61; From b8d26b3be8b33682cf163274ed07479a70554633 · fixed in 0d9c0586af703890afe1bd0cfe641e3a3af1c32d; From b8d26b3be8b33682cf163274ed07479a70554633 · fixed in 44fe800ec13386c88bd5b32bcd1deaa1e17535d5; From b8d26b3be8b33682cf163274ed07479a70554633 · fixed in 71ec8bbfa4a183f1e623662f9cfbcd702e433bdb; From b8d26b3be8b33682cf163274ed07479a70554633 · fixed in c345d9d0b3eefc990bb90cf565325785aab06aab; From b8d26b3be8b33682cf163274ed07479a70554633 · fixed in 48812c8103071d550d9ab4a3431be5bdc52255bc; From b8d26b3be8b33682cf163274ed07479a70554633 · fixed in 2488b5b4827e5415768afc8daf097e8eb83c98df

  • Linux Linux

    3.10

  • KernelLinux

    From 3.10.0 · fixed in 5.10.270; From 5.11.0 · fixed in 5.15.221; From 5.16.0 · fixed in 6.1.188; From 6.2.0 · fixed in 6.6.157; From 6.7.0 · fixed in 6.12.110; From 6.13.0 · fixed in 6.18.52; From 6.19.0 · fixed in 7.2.6

References 8

git.kernel.org

FAQ

Questions about CVE-2026-90413

What does this mean?

A login PDU can declare more data than the initiator actually sends. The driver then reads past the end of the received data, returning kernel memory, with the read length set by the initiator before authentication.Source: git.kernel.org

Am I affected, and how do I check?

Kernels from 3.10.0 up to the fixed versions for each branch are in scope, but only where the IB/isert iSER target driver is in use. Check the running kernel with uname -r and whether the isert module is loaded with lsmod | grep isert.Source: git.kernel.org

What should I do about it?

Upgrade to the fixed stable release for your branch: 5.10.270, 5.15.221, 6.1.188, 6.6.157, 6.12.110, 6.18.52, or 7.2.6.Source: git.kernel.org

Is it being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.Source: cve.now feed data