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 08ADD3D6476 for ; Mon, 10 Aug 2026 12:11:25 +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=1786363887; cv=none; b=gGyBnbZFt3cAKbcyPZ2YWHOESGpzDXJ/dwL9gi3EFkxLsKrrB+gOAElZpUu1Fehr4ObBV013FWkGa8889+C5mOzLx6DFVquw/ThnYWcfXqTpmWJaacJs1iFmJ4szOOGbAYGXvAr0BEf4PE9NAaK0yKsba3iOpLKsrDqQHobgJaM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786363887; c=relaxed/simple; bh=3sQ+0OeU7T77B347670mT+NCM1MODscDWxIJA0MMqWQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Y3DgVo3DGE4029cz9DYRMRTSwLOh4tnBENVJ+CbwY5AMsTifnsnJrBS/2naw4eGrpgWauDz1tpK8RMnjG0si+twzPJtZ+GVoaHpAQqS0bWyPczt3erRaqj2YGuqV+g75/HXvwELB94KWilS+VTDaSNw5wQFGSyQwiXwTigulhok= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=VvckESTU; 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="VvckESTU" Received: by smtp.kernel.org (Postfix) with ESMTPSA id CB9831F00A3A; Mon, 10 Aug 2026 12:11:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786363884; bh=sJtpwTKpnELH21xf6kb92h8dx0KuAJJT/QKR10ansiI=; h=From:To:Cc:Subject:Date:Reply-To; b=VvckESTUrHbJfmCp2aybdS1Zj6VLiVDjBbTlQGAlZAtmGm1CXqr6x1eF0GpvyCEE5 nlAzsSbLL1XbGdz7Mc8yqtNRu2cezkYHfMgLTM2o6Jevt0JWIeECM23oblRQ7HBSQ/ 87fUYPk19OBCkAyGETfUILLykNd/aTW8nS8dKbW8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-68343: smb: client: validate DFS referral PathConsumed Date: Mon, 10 Aug 2026 14:01:00 +0200 Message-ID: <2026081037-CVE-2026-68343-843c@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=2926; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=EkUUfYBDVO0k/X0Yx8JpbTOqxVSt3IFCy9ZJ87ku4ws=; b=owGbwMvMwCRo6H6F97bub03G02pJDFmVezZesXhiL/cvfJ3BBoVkxfoCA4bAt9kiz7w6Lq0+W 7poQ29iRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAExknjnDgplcq488KzT6mBC4 IYKrY6vDuuPCQgzzUxzafh8xiC7mkNshxmurJl4/ZWEAAA== 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: validate DFS referral PathConsumed parse_dfs_referrals() validates that the response contains the fixed referral entry array and, on for-next, the per-referral string offsets. However, the response also contains a PathConsumed value that is later used for DFS path parsing. If a malformed response provides a PathConsumed value larger than the search name, later DFS parsing can advance beyond the end of the path. Validate PathConsumed against the search name length before storing it in the parsed referral. The Linux kernel CVE team has assigned CVE-2026-68343 to this issue. Affected and fixed versions =========================== Issue introduced in 4.11 with commit 4ecce920e13ace16a5ba45efe8909946c28fb2ad and fixed in 6.6.148 with commit 5b439f39f33ec15d319ced3b025e122346fba987 Issue introduced in 4.11 with commit 4ecce920e13ace16a5ba45efe8909946c28fb2ad and fixed in 6.12.101 with commit 285bd4a5f3f156aa5869843b47a1b1380b774241 Issue introduced in 4.11 with commit 4ecce920e13ace16a5ba45efe8909946c28fb2ad and fixed in 6.18.42 with commit 2fdd6d196c656b376cc251e1e9ff110b3ed522e1 Issue introduced in 4.11 with commit 4ecce920e13ace16a5ba45efe8909946c28fb2ad and fixed in 7.1.6 with commit 9f88a99ed511651b2dc2177d6854b2d1b8322e75 Issue introduced in 4.11 with commit 4ecce920e13ace16a5ba45efe8909946c28fb2ad and fixed in 7.2-rc5 with commit f6f5ee2aa33b350c671721b965251c42cebb962e 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-68343 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/misc.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/5b439f39f33ec15d319ced3b025e122346fba987 https://git.kernel.org/stable/c/285bd4a5f3f156aa5869843b47a1b1380b774241 https://git.kernel.org/stable/c/2fdd6d196c656b376cc251e1e9ff110b3ed522e1 https://git.kernel.org/stable/c/9f88a99ed511651b2dc2177d6854b2d1b8322e75 https://git.kernel.org/stable/c/f6f5ee2aa33b350c671721b965251c42cebb962e