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 C52923AFAEC for ; Thu, 28 May 2026 09:42:31 +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=1779961352; cv=none; b=VtFKOag4EIPWrbyKRi63ZHS0gniyX6YZN7a2P9Z78HvO3Y6LFO3DRozS0hiGMVzUWtyOkGsOKEZwelqRYd/BCz9fKBdRMHBkqQSF8j5ItJjPjU/G76UVujt36x3gURh/JZ6Ye9qT7e7zqgC9dIA9hx9+jOoLAORp1HUCeZy1ZeE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779961352; c=relaxed/simple; bh=jPAUHdc3FHsY3QllxBV4eVWZTKQa/seK47ppBMnYKXY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=jrV3/8zpt2+0huVM8oqfU+fApxX8f1AqPhMiJV21IlyW/zr9ut9wiWaCiGnuHKixQOTb0tew9l8NsT8jY1YtZ3u4ZXHy260tdlz/hgFI+WdczuLLl20CkamOQaC/1PJDyV+v/Yjw4llRlb2UYD+pPy5J6rgAMgFgxKnJbpUHWYs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=DYpcKFwF; 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="DYpcKFwF" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2EBA71F000E9; Thu, 28 May 2026 09:42:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1779961351; bh=YiaSulWaO7/0drxCBgaV2lSVkp054nH7B26RjCHXvvg=; h=From:To:Cc:Subject:Date:Reply-To; b=DYpcKFwFbtwIiAfqSA2oanB/nXYXVhTaxKPZHTfmZ5ak/XwASsf9RQfl2L60KV47S XOVVlDnim5owYDuVfHu52L49FKotd682noJB0pgyQWV9enxoq9Q0TBrxhczScrDWT4 t7rHtbns/SMbQfUdsRaFLd7erUR1qm2wNAbY8URI= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-46185: smb/client: fix out-of-bounds read in symlink_data() Date: Thu, 28 May 2026 11:37:30 +0200 Message-ID: <2026052830-CVE-2026-46185-42df@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=2914; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=wvJnbPRR3QMol6w6aJF1Cfc1hUH1fnn9ANhwPl9E81Y=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkSPPMklHd4z2Qs2qyS8M+8NvUp692/867c43M6skf6Y VmjUf3jjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjIv9kMC2501GlG3ciZ+cvx VJnFe7nPC/QOxjLMlTUQDFl9IGPGpcjDrWcsKjc9e5E6BQA= 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 symlink_data() Since smb2_check_message() returns success without length validation for the symlink error response, in symlink_data() it is possible for iov->iov_len to be smaller than sizeof(struct smb2_err_rsp). If the buffer only contains the base SMB2 header (64 bytes), accessing err->ErrorContextCount (at offset 66) or err->ByteCount later in symlink_data() will cause an out-of-bounds read. The Linux kernel CVE team has assigned CVE-2026-46185 to this issue. Affected and fixed versions =========================== Issue introduced in 6.1 with commit 76894f3e2f71177747b8b4763fb180e800279585 and fixed in 6.6.140 with commit ef6495d4df6e7af8f3de67e65150881c880f696c Issue introduced in 6.1 with commit 76894f3e2f71177747b8b4763fb180e800279585 and fixed in 6.12.88 with commit 15dc0a4de743a1aaa7b859b3aea79f08c695396c Issue introduced in 6.1 with commit 76894f3e2f71177747b8b4763fb180e800279585 and fixed in 6.18.30 with commit b8c8a704f0bc133deb171f6aeb6f3a684203e212 Issue introduced in 6.1 with commit 76894f3e2f71177747b8b4763fb180e800279585 and fixed in 7.0.7 with commit b9561402489d41149f63e001a74384863b7b30a6 Issue introduced in 6.1 with commit 76894f3e2f71177747b8b4763fb180e800279585 and fixed in 7.1-rc3 with commit d62b8d236fab503c6fec1d3e9a38bea71feaca20 Issue introduced in 6.0.16 with commit 2d046892a493d9760c35fdaefc3017f27f91b621 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-46185 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/smb2misc.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/ef6495d4df6e7af8f3de67e65150881c880f696c https://git.kernel.org/stable/c/15dc0a4de743a1aaa7b859b3aea79f08c695396c https://git.kernel.org/stable/c/b8c8a704f0bc133deb171f6aeb6f3a684203e212 https://git.kernel.org/stable/c/b9561402489d41149f63e001a74384863b7b30a6 https://git.kernel.org/stable/c/d62b8d236fab503c6fec1d3e9a38bea71feaca20