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 C66363B6C12 for ; Tue, 6 Oct 2026 08:46:38 +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=1791276400; cv=none; b=mRr4d1q5s/3JrNXZuIUbcf7WVFEaOo9EhRzjpVc31Rn9mCQAL4B+DlW9LLjalT34mB9yboBnLKZ2VUb3/U6JheCn6nDF82UnnZyha9UmETk0wvs6o3Z1PHmIRttHULpjU5tw2pQwX+7shfBDoMtL1pf11sJFsCBgNZdCN1qg2nA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791276400; c=relaxed/simple; bh=7OyjcyjNXo6vSqjEvlLjIJ6352Mt2p3Yb4JM+38hTtU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=sMYYuGNYpiJrYWs1IizTkg4J/UPnhx0L/IiGYU8ewTyXRK/vZ/C8Qp6sfu7wSJ3+6rivaBfMV5WNeiOOumMC8mVBG10HlpEBvyTBAbk15ZhIb5R8mQC1vn2f+cVSos8J4kVOYZlNJXG1f8Bse20htJfAJhJda34Btpa6G0ge3ZQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=SxyJX0Cb; 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="SxyJX0Cb" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2BEA51F000FF; Tue, 6 Oct 2026 08:46:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1791276398; bh=pprygQMpSWaWNBDkPqggMjU/L3CKTElZG6xHHjfPhNU=; h=From:To:Cc:Subject:Date:Reply-To; b=SxyJX0CbDI+cGnnWd+srhCpcHYOfyLroKt3UAeq/AF3cUJAerILkpTiRJIAEUMRaN wUg136ZpPH/Rr/E0MGvA1ONZyJeNjAkypv1Lj6vu5/GSwJbzK5U3TEnfkRb5BxUvpp 9GiJ5Ncga6W/AaFtmi9iQTxwHl3i7gex0LDUB/QE= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98168: smb: client: fix reparse buffer bounds in cifs_query_reparse_point() Date: Tue, 6 Oct 2026 10:44:29 +0200 Message-ID: <2026100630-CVE-2026-98168-3c57@gregkh> X-Mailer: git-send-email 2.56.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=2976; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=5pU5LlK/RUj6C4amrY2exiXkU7Qm4av+LGyGVKDOO8w=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlHtrzjaI9UmLcwe+r9b4maQdMC9DuLj3d6Pnx2JfV/+ s7VMWeCO2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAiewMYZrOkH/R4sNVdsmLX I8Ol9RlBnufXnmdY0PTybFUF03KdzsKPRVyTXy+f+XcSLwA= 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 reparse buffer bounds in cifs_query_reparse_point() In cifs_query_reparse_point(), the start >= end check before casting to struct reparse_data_buffer * only ensures the start pointer is within the response. It fails to verify that there is enough space remaining for the fixed 8-byte header of the structure. If a server provides a DataOffset that leaves less than 8 bytes remaining, the check passes, but subsequent reads of ReparseTag and ReparseDataLength will occur out-of-bounds. Fix this by ensuring the remaining space is at least the size of the reparse_data_buffer structure before accessing its fields. The Linux kernel CVE team has assigned CVE-2026-98168 to this issue. Affected and fixed versions =========================== Issue introduced in 6.12.34 with commit 48ca7139ab7f0bbed95ff7a901ea497017769657 and fixed in 6.12.112 with commit 3d67f155fe5813cfb02a551a9a12d6ea06a902e9 Issue introduced in 6.16 with commit 56e84c64fc257a95728ee73165456b025c48d408 and fixed in 6.18.54 with commit d1152c96a3002e3df6b9a5b007cecaa7b19b4f79 Issue introduced in 6.16 with commit 56e84c64fc257a95728ee73165456b025c48d408 and fixed in 7.2.8 with commit 8dc5db3a0e583ea8d31d0613cefd99e93e095c3c Issue introduced in 6.16 with commit 56e84c64fc257a95728ee73165456b025c48d408 and fixed in 7.3-rc4 with commit 5f0306e731e2f46e91419eae57eee3a241c055e0 Issue introduced in 6.6.94 with commit 848d78e3625f15de09d34a562dc49a98b78a62f3 Issue introduced in 6.15.3 with commit c13b779d26b3702fba8f7d5fe757aba5bda85fd0 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-98168 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/cifssmb.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/3d67f155fe5813cfb02a551a9a12d6ea06a902e9 https://git.kernel.org/stable/c/d1152c96a3002e3df6b9a5b007cecaa7b19b4f79 https://git.kernel.org/stable/c/8dc5db3a0e583ea8d31d0613cefd99e93e095c3c https://git.kernel.org/stable/c/5f0306e731e2f46e91419eae57eee3a241c055e0