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=1795100888; b=Hbn7/WJsazYbXH9BzbioxLLTWuVJGwoNf3+r7zc3CTjTz7r/BDF7u4Oj4n2HzaQ3S4wq jbZVcwdDbnmNbxQJO4gU0j/S+X7d0lhJNdVpx5qBFVqJp8IBcu6W3hKSiGbHa6n3qVFyP tAwNeO3gL0AQCg0mtfqs/Pu4q3d3LysBaudm8DKUUiZQB2ZiyVV+UAg31SLnyaQOEEX8t d0FTE/fMUSuHKdcBd5umH4WKtoipP1ArnHCPiwj+xf2bvGGvwlQtzbNyCTnpACqD1nkzI L8mwRDtArBJHidJyBeEHMy10I+R1eaUcvhRjm6vuLsjlWWSk6/+zMuB0h87vCpVjjHA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795100888; 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=QGO0uBjqAitT70clp8bptWqXeeHss3R2fuHsGwmpC10=; b=Ks+U3zcW8pXt3wUWDQVp02JNMIxqKMAA8hiXHvHF4JUxX8VBtHn1oq+JRgjyrD7i1UZU fcObDWgtCBhVZJHCxtrWYMWimSNjO2Pt0zT4cAma//Mf4/hwe/DoWlig7IZagidb679QR f/Bz9E9ZvKNSp/qbK4eKnrig6NYuimDMeNvh2QqYVKywb0WQnxi1ZDu3RGTs8u9vnl4Lj gvzgPHN4Wv0+qTpEyxGUmnbBQBAUmpvD9cXKL9GKBdkmAz2tIA12EjTdnkl5FG3MyN90Y 1Bimh1BuskFF6ls38IdtDIZGpXWztJePzQkwG+56zg1XnTYRsCcU3Y16rxk34rz5PQw== 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=TVRSa+vN; 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 4317C606A7C8 for ; Thu, 19 Nov 2026 15:08:08 +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=TVRSa+vN Received: by smtp.kernel.org (Postfix) with ESMTPSA id 617FA1F000C5; Thu, 19 Nov 2026 15:08:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1795100888; bh=QGO0uBjqAitT70clp8bptWqXeeHss3R2fuHsGwmpC10=; h=From:To:Cc:Subject:Date:Reply-To; b=TVRSa+vNkbBfzyb9wjRzRfuboHUHH2kavuehw7P+nVkFrrIAZaRuQbnfNacDKS7DJ g/PYy5qhNQgHrg0TMYD1B0nua4diyQK1SwmrW6jLho2UFRAK5+7tQUKh/p08EITk84 ol5/LDHGLrIGlD14VEodV0xKFfvOwHby+djJzgq0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99532: ksmbd: validate security descriptor offsets before pointer arithmetic Date: Thu, 19 Nov 2026 15:27:10 +0100 Message-ID: <2026111922-CVE-2026-99532-ef0e@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=2974; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=H4GGUHuYWF5pt7d2pEEblzosiwu4wu26j31a8HDtWhc=; b=owGbwMvMwCRo6H6F97bub03G02pJDFn/2aZpm4l/MJ2zp/dEXaAiD/PR+Vsu5BxcPvnlm3c7F 8740t1a3hHLwiDIxCArpsjyZRvP0f0VhxS9DG1Pw8xhZQIZwsDFKQATaU9jWLA2wy1xsX7xhzAX hwt8LNd3nf7x6RjDgimLi8NeuJxdlsF7dcM1kUDW4O2bJwMA 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: ksmbd: validate security descriptor offsets before pointer arithmetic parse_sec_desc() constructs SID and DACL pointers by adding untrusted 32-bit offsets to the security descriptor before checking their bounds. The existing checks reject offsets into the descriptor header, but do not reject offsets beyond the descriptor's length. On a 32-bit kernel, a large offset can wrap the pointer before the descriptor. The end-only checks in parse_sid() and parse_dacl() can then accept it, allowing an authenticated SMB2 SET_INFO request to access memory outside the security descriptor and fault the kernel. Check each nonzero offset against acl_len before constructing its pointer. Initialize the optional owner and group SID pointers to NULL so an omitted SID remains absent when parsing the DACL. The Linux kernel CVE team has assigned CVE-2026-99532 to this issue. Affected and fixed versions =========================== Issue introduced in 5.15 with commit 0626e6641f6b467447c81dd7678a69c66f7746cf and fixed in 6.12.117 with commit f2eca58cf5de3554f7083c0ae5f78a93e2fe88c3 Issue introduced in 5.15 with commit 0626e6641f6b467447c81dd7678a69c66f7746cf and fixed in 6.18.61 with commit e8aa0ac634f0d30a5df8106791ba67b17f71e2ae Issue introduced in 5.15 with commit 0626e6641f6b467447c81dd7678a69c66f7746cf and fixed in 7.3.2 with commit e14b640498c4c5dae35ee1c605a76527f01fdc8b Issue introduced in 5.15 with commit 0626e6641f6b467447c81dd7678a69c66f7746cf and fixed in 7.4-rc1 with commit 3474e1a304fbf9f7c996b24adcd519e031227a90 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-99532 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/server/smbacl.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/f2eca58cf5de3554f7083c0ae5f78a93e2fe88c3 https://git.kernel.org/stable/c/e8aa0ac634f0d30a5df8106791ba67b17f71e2ae https://git.kernel.org/stable/c/e14b640498c4c5dae35ee1c605a76527f01fdc8b https://git.kernel.org/stable/c/3474e1a304fbf9f7c996b24adcd519e031227a90