{"id":"CVE-2026-90307","revision":"49b7389ae77b40e6b1687dfe1eb342b1","records":[{"revision":"49b7389ae77b40e6b1687dfe1eb342b1","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-90307","aliases":[],"title":"RDMA/srp: fix heap information leak on a truncated SRP_CRED_REQ","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/srp: fix heap information leak on a truncated SRP_CRED_REQ\n\nsrp_recv_done() passes wc->byte_len to srp_process_rsp(). It passes\nnothing to srp_process_cred_req() and srp_process_aer_req(), which read\nfixed-size fields from the receive buffer without checking that those\nfields were received.\n\nThe buffer size is max_ti_iu_len, which comes from the login response\nand is not validated. A target that advertises 8 and then sends an\n8-byte SRP_CRED_REQ makes the initiator read req->tag from beyond the\nend of the buffer. req->tag is copied into the SRP_CRED_RSP and sent\nback, so those bytes reach the target. SRP_AER_REQ behaves the same way\nand also reads req->lun.\n\nThe leak is 8 bytes per response. max_ti_iu_len also decides which slab\ncache the buffer comes from. With 8 the buffer is a kmalloc-8 object and\nthe read is entirely outside it:\n\n  BUG: KASAN: slab-out-of-bounds in srp_recv_done+0x172b/0x1aa0\n  Read of size 8 at addr ffff888104714da8 by task kworker/u8:3/50\n   which belongs to the cache kmalloc-8 of size 8\n  The buggy address is located 0 bytes to the right of\n   allocated 8-byte region [ffff888104714da0, ffff888104714da8)\n\nWithout KASAN the returned bytes are whatever is next in the slab. One\nrun returned \".strtab\".\n\nrsp->data[3] in srp_process_rsp() has the same problem: only\nresp_data_len is checked before it is read.\n\nDrop a request that is shorter than the structure being parsed, and\ncheck byte_len before the tsk_mgmt read.","state":0,"publishedAt":"2026-09-17T16:08:29.045+00:00","modifiedAt":"2026-10-19T09:01:24.98+00:00","affected":[{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"drivers/infiniband/ulp/srp/ib_srp.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"bb12588a38e6db85e01dceadff7bc161fc92e7d2\",\n                            \"lessThan\": \"3f7fdf561f1ec3b523c39708df00bd808671668d\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"bb12588a38e6db85e01dceadff7bc161fc92e7d2\",\n                            \"lessThan\": \"138eb2f0ef02adfe6ad126afad5b54c56b5046ee\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"bb12588a38e6db85e01dceadff7bc161fc92e7d2\",\n                            \"lessThan\": \"3787f4c3e0d813d6c56be9f6dfaf66f8551fb0a7\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"bb12588a38e6db85e01dceadff7bc161fc92e7d2\",\n                            \"lessThan\": \"0e7ba617514902501514d577647d866e670dad90\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"bb12588a38e6db85e01dceadff7bc161fc92e7d2\",\n                            \"lessThan\": \"001adf2fe87d1ab677c014a97467bbea5153ae5f\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"bb12588a38e6db85e01dceadff7bc161fc92e7d2\",\n                            \"lessThan\": \"dc2272c00d7c00ee2a69b57f7ca9caaefcbdb8cd\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"bb12588a38e6db85e01dceadff7bc161fc92e7d2\",\n                            \"lessThan\": \"fa1b33fdab3e79dce83721ead3220200a2dbec22\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"bb12588a38e6db85e01dceadff7bc161fc92e7d2\",\n                            \"lessThan\": \"961ac0f0c5e414abdd6b33fae84b311d9fde0bd0\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        }\n                    ]\n                }"},{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"affected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"drivers/infiniband/ulp/srp/ib_srp.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"2.6.37\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \"0\",\n                            \"lessThan\": \"2.6.37\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"5.10.270\",\n                            \"lessThanOrEqual\": \"5.10.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"5.15.221\",\n                            \"lessThanOrEqual\": \"5.15.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.1.188\",\n                            \"lessThanOrEqual\": \"6.1.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.6.157\",\n                            \"lessThanOrEqual\": \"6.6.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.12.110\",\n                            \"lessThanOrEqual\": \"6.12.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.18.52\",\n                            \"lessThanOrEqual\": \"6.18.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.2.6\",\n                            \"lessThanOrEqual\": \"7.2.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.3\",\n                            \"lessThanOrEqual\": \"*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"original_commit_for_fix\"\n                        }\n                    ]\n                }"}],"metrics":[],"references":["https://git.kernel.org/stable/c/3f7fdf561f1ec3b523c39708df00bd808671668d","https://git.kernel.org/stable/c/138eb2f0ef02adfe6ad126afad5b54c56b5046ee","https://git.kernel.org/stable/c/3787f4c3e0d813d6c56be9f6dfaf66f8551fb0a7","https://git.kernel.org/stable/c/0e7ba617514902501514d577647d866e670dad90","https://git.kernel.org/stable/c/001adf2fe87d1ab677c014a97467bbea5153ae5f","https://git.kernel.org/stable/c/dc2272c00d7c00ee2a69b57f7ca9caaefcbdb8cd","https://git.kernel.org/stable/c/fa1b33fdab3e79dce83721ead3220200a2dbec22","https://git.kernel.org/stable/c/961ac0f0c5e414abdd6b33fae84b311d9fde0bd0"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-90307","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-90307","identifiers":["CVE-2026-90307"]},"retained":false,"historicalAffected":[]}],"coverage":[]}