Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1794823235; b=hFNAfsbvx/U98nQM8eNroCKFN8GltjmiEk7gMOzmUVAlIuR4sHNtGl+fVqXU7Xq6xxhg feNF/BlbJqNogBvbkYlcCDZQIVXz9QZDcU2rr/dqw8iFCM9dzNVgw4Zb3w3+4XHG3eLwY 3iathzNU+Arwzp1/FfnrkSFIZSF4Q0JfHmWZpANStZle4c0otHtEEqqHlvfp6nbUukeUN HD+oUe3SqQjeA6YVA1oSNHSyrAfsIw36wFhMR3eU3OV6woCwAignDivd2/Ei8gs/eTntv JnC8fbgValiOACsvPAFo9+ll+RidfXqa+D6voFw8JxzlrO8d4YGxzu7H9VLKone6tSA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794823235; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: Reply-To:MIME-Version:Lines:X-Developer-Signature:X-Developer-Key: Content-Transfer-Encoding; bh=gs3cNNl3OBtp+xgYJWeEw69Hz5WgPxCO7pCKw9I/Q+A=; b=FilmJ0Nq408Z4AbCzUwQ/5zrUnOEPaHyrOwe/2FoOSDcZuy1gtQbpufcQY+RinJivRJF S0xgWhAjdfbP8FH8mFzmf/SlnJwp7WmhFdd1TFpTNmDXgWa/R/sEb9cJLkQRkXEkMHsCF Lr07C68OarykJdhPP3sYj95Cq7r1+dLehg3Jb0pnzfj1pDJiC6cGvhynWcx4s2LSCmoiT ioF+9X8UHgTM+RNR9nA6M+XupZl55xjPESihlH9Sl/2G+kO1HSKz3nL8niiZqxe/q5SBa lhwjq2eD++ey5Aiy+HFFI2ONPuAGI5kEvkxTwQ32ApV3U6z2KPKLLm5J2knIGt2afog== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=BJxgcWWw; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 135D5606A31C for ; Mon, 16 Nov 2026 10:00:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=BJxgcWWw Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6519F1F000C4; Mon, 16 Nov 2026 10:00:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1794823234; bh=gs3cNNl3OBtp+xgYJWeEw69Hz5WgPxCO7pCKw9I/Q+A=; h=From:To:Cc:Subject:Date:Reply-To; b=BJxgcWWwN9Vpso22VqJRXKaW0hDfXxKIl3E8sRp7qJo5KwVEWuDewKgTcOoRq6/Vl YRrNpPfAJ66oYYnqeQPQECcnv91xV3XmbzhvgFrJoYfG/c7GZ5wPMmo9wQasBMA73x wZAtn8bTJzdXLwrXrQg5U5XN14b0E1c4Zbr5fJ0A= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99292: smb: client: fix slab-out-of-bounds write in id_mode_to_cifs_acl() Date: Mon, 16 Nov 2026 10:59:41 +0100 Message-ID: <2026111638-CVE-2026-99292-8170@gregkh> X-Mailer: git-send-email 2.56.0 Reply-To: , X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3340; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=REqQRQ91EFgs11FmouLxWZeJ6nkyoLXMX9pxUWVdino=; b=owGbwMvMwCRo6H6F97bub03G02pJDFm/rnDFioi3h73iXl8dbBZwgblBJ+jMPaZPYdYhpyUt7 qrob//YEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABN5PZFhrvz8iTfOv1NQ6rgR 75Oot1jVI2NHGcOCjm+83jp2S8IjzJ8w8t2c/PFI7od3AA== 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 slab-out-of-bounds write in id_mode_to_cifs_acl() In id_mode_to_cifs_acl(), while the chown branch reserves sizeof(struct smb_ntsd) + 2 * sizeof(struct smb_sid) (plus sizeof(struct smb_acl) and the worst-case ACE space after commit 0ee150794c75 ("smb: client: fix heap overflow in DACL owner/group rewrite")), the chmod branch only adds 2 * sizeof(struct smb_ace) or 5 * sizeof(struct smb_ace) to secdesclen (or 1 * sizeof(struct smb_ace) on posix). However, the chmod branch also invokes build_sec_desc() -> copy_sec_desc(), which unconditionally writes the Owner SID at pnntsd + sidsoffset and the Group SID at pnntsd + sidsoffset + sizeof(struct smb_sid) (2 * 68 = 136 bytes total), and set_chmod_dacl() always writes a struct smb_acl header (8 bytes) even when the source descriptor has dacloffset == 0. When a security descriptor has compact or overlapping Owner/Group SIDs (or dacloffset == 0), calling chmod() under-allocates pnntsd and writes past the end of the slab buffer. Reserve sizeof(struct smb_acl) + 2 * sizeof(struct smb_sid) (plus sizeof(struct smb_ntsd) on the posix path) in the chmod branch of id_mode_to_cifs_acl(). The Linux kernel CVE team has assigned CVE-2026-99292 to this issue. Affected and fixed versions =========================== Issue introduced in 3.8 with commit 7ee0b4c635c091eb3c805977ba886bae2fd33f0c and fixed in 6.12.117 with commit cde80904e285a7ac29ba2e06bc23a60b09b05f54 Issue introduced in 3.8 with commit 7ee0b4c635c091eb3c805977ba886bae2fd33f0c and fixed in 6.18.61 with commit ba57bfe1a9fa1566757cd3f3310ccdf88f4b7673 Issue introduced in 3.8 with commit 7ee0b4c635c091eb3c805977ba886bae2fd33f0c and fixed in 7.3.2 with commit be1bcc9147facd85dc2ebe48688afde6d5590f10 Issue introduced in 3.8 with commit 7ee0b4c635c091eb3c805977ba886bae2fd33f0c and fixed in 7.4-rc1 with commit a377a3645c7d0246af0bc4ef24db94bb2670bdde 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-99292 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/cifsacl.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/cde80904e285a7ac29ba2e06bc23a60b09b05f54 https://git.kernel.org/stable/c/ba57bfe1a9fa1566757cd3f3310ccdf88f4b7673 https://git.kernel.org/stable/c/be1bcc9147facd85dc2ebe48688afde6d5590f10 https://git.kernel.org/stable/c/a377a3645c7d0246af0bc4ef24db94bb2670bdde