Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 300524B7A21 for ; Thu, 17 Sep 2026 16:24:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789662299; cv=none; b=mPyF4ydXsIkDRJjSHH7l9TT9iZFdZZbaCoBBf+g1x4D+aXm8nMaxQWWBhNwPnioEgJ8Iud1JZzyfNcCx/26niHN1+2YGjf/OrdUucoq4osG+saiZW39mYTvvWeL0OLsIf4ilVU9CFR47gTPc51GViXdfevBt/1qSiCUFKCXYy/8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789662299; c=relaxed/simple; bh=nWI2O8nf00sf/SDRwgGujC0FndzT28ikhpTqDjQtvBE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=RPY/efmPWbOBCcZ0lSip9XV4AzGLIfLYixEKpi036XV/VMIwtm0DDAk3/vdEMH0shqXhlEu4BaOgcBVjFUo4O5b2BVRJwqNA1PyMVpa5WFuPxFIlcWcNcTHc4DBO3o/cu6fLO+VM4x59HpMD89mPjKC/tFeOC+1d0j4YthOvb00= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=uHKvDP4V; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="uHKvDP4V" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 85AD11F000FF; Thu, 17 Sep 2026 16:24:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789662298; bh=vRFhvrc3+/zvkQKjD1omevszSBwZcmQm1++pnt/4HVQ=; h=From:To:Cc:Subject:Date:Reply-To; b=uHKvDP4VAX8oRC4+2mAi+LpTLqVzPo+UXjSLLHScKDt8VUscRl2jP2Sp9dr13bmvu yfoHtbfMnXkppQ+YbYuzUm8YacTb0+V84D4srXW4ERBpTGTnLKS/+WHcDDmUH/UvaM l6+/b8HYUv/fxHb31sDIkt2LkSYfd0FViGoZZwjY= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-90307: RDMA/srp: fix heap information leak on a truncated SRP_CRED_REQ Date: Thu, 17 Sep 2026 17:12:17 +0100 Message-ID: <2026091755-CVE-2026-90307-19b0@gregkh> X-Mailer: git-send-email 2.55.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=4602; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=BuENvhgdLMaEH4ndIO+R/j97GLaTZzKryazEbjVtVaQ=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlrBKa3vHUulJv88uaMyD+3gha1FO0q3ytzxfuN8crbJ /PjOZ+s74hlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJyCsxzA8P/WG48pdRxKSJ TF4rjWuruH/3FjHM05IU6+Hd5lCsE8K94Y5ATP/BghtNAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: RDMA/srp: fix heap information leak on a truncated SRP_CRED_REQ srp_recv_done() passes wc->byte_len to srp_process_rsp(). It passes nothing to srp_process_cred_req() and srp_process_aer_req(), which read fixed-size fields from the receive buffer without checking that those fields were received. The buffer size is max_ti_iu_len, which comes from the login response and is not validated. A target that advertises 8 and then sends an 8-byte SRP_CRED_REQ makes the initiator read req->tag from beyond the end of the buffer. req->tag is copied into the SRP_CRED_RSP and sent back, so those bytes reach the target. SRP_AER_REQ behaves the same way and also reads req->lun. The leak is 8 bytes per response. max_ti_iu_len also decides which slab cache the buffer comes from. With 8 the buffer is a kmalloc-8 object and the read is entirely outside it: BUG: KASAN: slab-out-of-bounds in srp_recv_done+0x172b/0x1aa0 Read of size 8 at addr ffff888104714da8 by task kworker/u8:3/50 which belongs to the cache kmalloc-8 of size 8 The buggy address is located 0 bytes to the right of allocated 8-byte region [ffff888104714da0, ffff888104714da8) Without KASAN the returned bytes are whatever is next in the slab. One run returned ".strtab". rsp->data[3] in srp_process_rsp() has the same problem: only resp_data_len is checked before it is read. Drop a request that is shorter than the structure being parsed, and check byte_len before the tsk_mgmt read. The Linux kernel CVE team has assigned CVE-2026-90307 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.37 with commit bb12588a38e6db85e01dceadff7bc161fc92e7d2 and fixed in 5.10.270 with commit 3f7fdf561f1ec3b523c39708df00bd808671668d Issue introduced in 2.6.37 with commit bb12588a38e6db85e01dceadff7bc161fc92e7d2 and fixed in 5.15.221 with commit 138eb2f0ef02adfe6ad126afad5b54c56b5046ee Issue introduced in 2.6.37 with commit bb12588a38e6db85e01dceadff7bc161fc92e7d2 and fixed in 6.1.188 with commit 3787f4c3e0d813d6c56be9f6dfaf66f8551fb0a7 Issue introduced in 2.6.37 with commit bb12588a38e6db85e01dceadff7bc161fc92e7d2 and fixed in 6.6.157 with commit 0e7ba617514902501514d577647d866e670dad90 Issue introduced in 2.6.37 with commit bb12588a38e6db85e01dceadff7bc161fc92e7d2 and fixed in 6.12.110 with commit 001adf2fe87d1ab677c014a97467bbea5153ae5f Issue introduced in 2.6.37 with commit bb12588a38e6db85e01dceadff7bc161fc92e7d2 and fixed in 6.18.52 with commit dc2272c00d7c00ee2a69b57f7ca9caaefcbdb8cd Issue introduced in 2.6.37 with commit bb12588a38e6db85e01dceadff7bc161fc92e7d2 and fixed in 7.2.6 with commit fa1b33fdab3e79dce83721ead3220200a2dbec22 Issue introduced in 2.6.37 with commit bb12588a38e6db85e01dceadff7bc161fc92e7d2 and fixed in 7.3-rc1 with commit 961ac0f0c5e414abdd6b33fae84b311d9fde0bd0 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-90307 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: drivers/infiniband/ulp/srp/ib_srp.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: 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