# CVE-2026-90413: IB/isert: reject login PDUs declaring more data than was received

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.1
- **CVSS:** 9.1 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.84% (percentile 55, 2026-11-26)
- **Published:** 2026-09-17T16:09:39.383Z
- **Modified:** 2026-10-19T09:19:35.470Z

## Who should check

- Anyone running Linux \>= b8d26b3be8b33682cf163274ed07479a70554633, \< b1f3313e7b3e396e4985fea5c709477387e0a065; \>= b8d26b3be8b33682cf163274ed07479a70554633, \< 228aaa620fe6a7bc8b5b21dd348b4836b1760c61; \>= b8d26b3be8b33682cf163274ed07479a70554633, \< 0d9c0586af703890afe1bd0cfe641e3a3af1c32d; \>= b8d26b3be8b33682cf163274ed07479a70554633, \< 44fe800ec13386c88bd5b32bcd1deaa1e17535d5; \>= b8d26b3be8b33682cf163274ed07479a70554633, \< 71ec8bbfa4a183f1e623662f9cfbcd702e433bdb; \>= b8d26b3be8b33682cf163274ed07479a70554633, \< c345d9d0b3eefc990bb90cf565325785aab06aab; \>= b8d26b3be8b33682cf163274ed07479a70554633, \< 48812c8103071d550d9ab4a3431be5bdc52255bc; \>= b8d26b3be8b33682cf163274ed07479a70554633, \< 2488b5b4827e5415768afc8daf097e8eb83c98df
- Anyone running Linux 3.10

## 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.

## Affected and fixed versions

- Linux: \>= b8d26b3be8b33682cf163274ed07479a70554633, \< b1f3313e7b3e396e4985fea5c709477387e0a065; \>= b8d26b3be8b33682cf163274ed07479a70554633, \< 228aaa620fe6a7bc8b5b21dd348b4836b1760c61; \>= b8d26b3be8b33682cf163274ed07479a70554633, \< 0d9c0586af703890afe1bd0cfe641e3a3af1c32d; \>= b8d26b3be8b33682cf163274ed07479a70554633, \< 44fe800ec13386c88bd5b32bcd1deaa1e17535d5; \>= b8d26b3be8b33682cf163274ed07479a70554633, \< 71ec8bbfa4a183f1e623662f9cfbcd702e433bdb; \>= b8d26b3be8b33682cf163274ed07479a70554633, \< c345d9d0b3eefc990bb90cf565325785aab06aab; \>= b8d26b3be8b33682cf163274ed07479a70554633, \< 48812c8103071d550d9ab4a3431be5bdc52255bc; \>= b8d26b3be8b33682cf163274ed07479a70554633, \< 2488b5b4827e5415768afc8daf097e8eb83c98df (cvelist)
- Linux: 3.10 (cvelist)

## Mitigation

- Upgrade Linux to 2488b5b4827e5415768afc8daf097e8eb83c98df or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-90413. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-90413.md
Affected: Linux >= b8d26b3be8b33682cf163274ed07479a70554633, < b1f3313e7b3e396e4985fea5c709477387e0a065; >= b8d26b3be8b33682cf163274ed07479a70554633, < 228aaa620fe6a7bc8b5b21dd348b4836b1760c61; >= b8d26b3be8b33682cf163274ed07479a70554633, < 0d9c0586af703890afe1bd0cfe641e3a3af1c32d; >= b8d26b3be8b33682cf16327…
Fixed in: Linux 228aaa620fe6a7bc8b5b21dd348b4836b1760c61, Linux 0d9c0586af703890afe1bd0cfe641e3a3af1c32d, Linux 44fe800ec13386c88bd5b32bcd1deaa1e17535d5, Linux 71ec8bbfa4a183f1e623662f9cfbcd702e433bdb, Linux 48812c8103071d550d9ab4a3431be5bdc52255bc, Linux 2488b5b4827e5415768afc8daf097e8eb83c98df

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-90413 being exploited?

There is no confirmed exploitation: CVE-2026-90413 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.84% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-90413?

Critical: CVSS 9.1 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-90413?

Linux \>= b8d26b3be8b33682cf163274ed07479a70554633, \< b1f3313e7b3e396e4985fea5c709477387e0a065; \>= b8d26b3be8b33682cf163274ed07479a70554633, \< 228aaa620fe6a7bc8b5b21dd348b4836b1760c61; \>= b8d26b3be8b33682cf163274ed07479a70554633, \< 0d9c0586af703890afe1bd0cfe641e3a3af1c32d; \>= b8d26b3be8b33682cf163274ed07479a70554633, \< 44fe800ec13386c88bd5b32bcd1deaa1e17535d5; \>= b8d26b3be8b33682cf163274ed07479a70554633, \< 71ec8bbfa4a183f1e623662f9cfbcd702e433bdb; \>= b8d26b3be8b33682cf163274ed07479a70554633, \< c345d9d0b3eefc990bb90cf565325785aab06aab; \>= b8d26b3be8b33682cf163274ed07479a70554633, \< 48812c8103071d550d9ab4a3431be5bdc52255bc; \>= b8d26b3be8b33682cf163274ed07479a70554633, \< 2488b5b4827e5415768afc8daf097e8eb83c98df; Linux 3.10.

### Is there a fix for CVE-2026-90413?

Yes. Fixed in Linux 228aaa620fe6a7bc8b5b21dd348b4836b1760c61, Linux 0d9c0586af703890afe1bd0cfe641e3a3af1c32d, Linux 44fe800ec13386c88bd5b32bcd1deaa1e17535d5, Linux 71ec8bbfa4a183f1e623662f9cfbcd702e433bdb, Linux 48812c8103071d550d9ab4a3431be5bdc52255bc, Linux 2488b5b4827e5415768afc8daf097e8eb83c98df. Upgrade Linux to 2488b5b4827e5415768afc8daf097e8eb83c98df or later.

### How do I check if I'm affected by CVE-2026-90413?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/b1f3313e7b3e396e4985fea5c709477387e0a065>
- other: <https://git.kernel.org/stable/c/228aaa620fe6a7bc8b5b21dd348b4836b1760c61>
- other: <https://git.kernel.org/stable/c/0d9c0586af703890afe1bd0cfe641e3a3af1c32d>
- other: <https://git.kernel.org/stable/c/44fe800ec13386c88bd5b32bcd1deaa1e17535d5>
- other: <https://git.kernel.org/stable/c/71ec8bbfa4a183f1e623662f9cfbcd702e433bdb>
- other: <https://git.kernel.org/stable/c/c345d9d0b3eefc990bb90cf565325785aab06aab>
- other: <https://git.kernel.org/stable/c/48812c8103071d550d9ab4a3431be5bdc52255bc>
- other: <https://git.kernel.org/stable/c/2488b5b4827e5415768afc8daf097e8eb83c98df>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-90413>

HTML: <https://flawdb.com/CVE-2026-90413> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-90413>
