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 2E2583AF657 for ; Thu, 28 May 2026 09:40:01 +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=1779961203; cv=none; b=eRd5YtUPqcqBrSZ7l8pSEK4V6oLbS6ts9auecpgrYApUw/v5Tz4XCbS8i97xYRr4ANP7Fx/aII2m/xf/GNYvkiJAH7MEdcJwI691M6jqhZn54/K8UTVakY6si1WpOZKBhlAa74RTN/+Tqu87LFr7vTTos++EE7W2zTOSFNwlenc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779961203; c=relaxed/simple; bh=CAfgRrbGgKNHuLtKADAeIV7z6wr2LOTU6OwGCyGLHfE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=H0Vl/XtRncPJvDbPiipBavD4tqwP1zZdkZRHWb50kXP8XCv1+4hPU4b84uM0FiAF3yyKFlTrUuqOAAWhe9LqM+sTXHwxxH+IevWh2WHJeXPYspwxz1b1ZKElDpBhKcldRBO2LanN9Uf8zO3RZztJOosr8B3mCjKGuGZpASQ6P0g= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=ChWjlBss; 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="ChWjlBss" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3450F1F000E9; Thu, 28 May 2026 09:40:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1779961201; bh=FCjlGi8QXP862krMCinA9vRnluxZxBqpV14AnIfcOSs=; h=From:To:Cc:Subject:Date:Reply-To; b=ChWjlBssct7nnGZUlv5o65gtJidHapEVxFnWPu9t1JknEV5yF6wQzDB48I9a80h95 j2eLedGE9oDQxHpGz1oFzzzvjvHCfCwAkO+EX/3rsvXkj6k74HILmkUsy0rhwmE7Xv y9jaoz1PtQwaaAqXXw/EBgTA2VQEa2X9q4VLjln0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-46155: smb/client: fix out-of-bounds read in smb2_compound_op() Date: Thu, 28 May 2026 11:37:00 +0200 Message-ID: <2026052823-CVE-2026-46155-a53c@gregkh> X-Mailer: git-send-email 2.54.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=2918; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=K4Ku6BDP45qKB/Z3weJIky4EahGtjzdSdHEUnfWND7U=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkSPNN/dKRsOv564/lXfe9nftGx2dh7btZ3d6lbTRWtN QKP7j936YhlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJ2CswLJgq9M9bNPTR5rO3 zjUm1Cd8We14Po5hni2vQpyFN8eltXGLZ3I8kTXuS+z9DgA= 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: smb/client: fix out-of-bounds read in smb2_compound_op() If a server sends a truncated response but a large OutputBufferLength, and terminates the EA list early, check_wsl_eas() returns success without validating that the entire OutputBufferLength fits within iov_len. Then smb2_compound_op() does: memcpy(idata->wsl.eas, data[0], size[0]); Where size[0] is OutputBufferLength. If iov_len is smaller than size[0], memcpy can read beyond the end of the rsp_iov allocation and leak adjacent kernel heap memory. The Linux kernel CVE team has assigned CVE-2026-46155 to this issue. Affected and fixed versions =========================== Issue introduced in 6.6.32 with commit 7449d736bbbd160c76b01b8fcdf72f58a8757d4b and fixed in 6.6.140 with commit dffb44b2e06a2908e249f0f93156fc987eee1d1c Issue introduced in 6.9 with commit ea41367b2a602f602ea6594fc4a310520dcc64f4 and fixed in 6.12.88 with commit 9b3af35645ff9cd334edc130249f9a2fb2bea25f Issue introduced in 6.9 with commit ea41367b2a602f602ea6594fc4a310520dcc64f4 and fixed in 6.18.30 with commit 512d33bc8ea4ea5c19728ee118715f4b1f4d1926 Issue introduced in 6.9 with commit ea41367b2a602f602ea6594fc4a310520dcc64f4 and fixed in 7.0.7 with commit a16f70a71be4b5a4eccf39a9bf09b47285f4cb7c Issue introduced in 6.9 with commit ea41367b2a602f602ea6594fc4a310520dcc64f4 and fixed in 7.1-rc3 with commit 8d09328dfda089675e4c049f3f256064a1d1996b 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-46155 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: fs/smb/client/smb2inode.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/dffb44b2e06a2908e249f0f93156fc987eee1d1c https://git.kernel.org/stable/c/9b3af35645ff9cd334edc130249f9a2fb2bea25f https://git.kernel.org/stable/c/512d33bc8ea4ea5c19728ee118715f4b1f4d1926 https://git.kernel.org/stable/c/a16f70a71be4b5a4eccf39a9bf09b47285f4cb7c https://git.kernel.org/stable/c/8d09328dfda089675e4c049f3f256064a1d1996b