IB/isert: reject login PDUs declaring more data than was received
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
CVE-2026-90413
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-90413
Linux
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Linux
Source reference: /containers/cna/affected/1/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "b8d26b3be8b33682cf163274ed07479a70554633",
"lessThan": "b1f3313e7b3e396e4985fea5c709477387e0a065",
"versionType": "git"
},
{
"status": "affected",
"version": "b8d26b3be8b33682cf163274ed07479a70554633",
"lessThan": "228aaa620fe6a7bc8b5b21dd348b4836b1760c61",
"versionType": "git"
},
{
"status": "affected",
"version": "b8d26b3be8b33682cf163274ed07479a70554633",
"lessThan": "0d9c0586af703890afe1bd0cfe641e3a3af1c32d",
"versionType": "git"
},
{
"status": "affected",
"version": "b8d26b3be8b33682cf163274ed07479a70554633",
"lessThan": "44fe800ec13386c88bd5b32bcd1deaa1e17535d5",
"versionType": "git"
},
{
"status": "affected",
"version": "b8d26b3be8b33682cf163274ed07479a70554633",
"lessThan": "71ec8bbfa4a183f1e623662f9cfbcd702e433bdb",
"versionType": "git"
},
{
"status": "affected",
"version": "b8d26b3be8b33682cf163274ed07479a70554633",
"lessThan": "c345d9d0b3eefc990bb90cf565325785aab06aab",
"versionType": "git"
},
{
"status": "affected",
"version": "b8d26b3be8b33682cf163274ed07479a70554633",
"lessThan": "48812c8103071d550d9ab4a3431be5bdc52255bc",
"versionType": "git"
},
{
"status": "affected",
"version": "b8d26b3be8b33682cf163274ed07479a70554633",
"lessThan": "2488b5b4827e5415768afc8daf097e8eb83c98df",
"versionType": "git"
}
],
"programFiles": [
"drivers/infiniband/ulp/isert/ib_isert.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "3.10"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "3.10",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "5.10.270",
"versionType": "semver",
"lessThanOrEqual": "5.10.*"
},
{
"status": "unaffected",
"version": "5.15.221",
"versionType": "semver",
"lessThanOrEqual": "5.15.*"
},
{
"status": "unaffected",
"version": "6.1.188",
"versionType": "semver",
"lessThanOrEqual": "6.1.*"
},
{
"status": "unaffected",
"version": "6.6.157",
"versionType": "semver",
"lessThanOrEqual": "6.6.*"
},
{
"status": "unaffected",
"version": "6.12.110",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.18.52",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "7.2.6",
"versionType": "semver",
"lessThanOrEqual": "7.2.*"
},
{
"status": "unaffected",
"version": "7.3",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"drivers/infiniband/ulp/isert/ib_isert.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-90413
Source reference:
/cveMetadata/cveId
Publisher severity
critical
Source reference: /containers/cna/metrics
- Event
- #36733 · Revision 1
- Added to Heist Feed
- Publisher date