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=1795098485; b=ha73PIkhVH2+Nak0UVRCcwtsK7ppqRXNx4FAiBz3CSh+rvZcLsVPK/qrNY6Y+wQNTkJD Hst1CFHOUZa0ByKmkBsOy48a63Q3aglT14bcP/hd2Bz/AKeZ3FjOiJ61eee4WGTfP+8L+ xtw+u+rmm/xqRQoKE5Undxcc+OuggtwCxShEx4D8NbJ0VKGqLkQ3Cg+aa4fQ7MIEGFCzg u9Erc4xC5/TzA4feDioXBTZkAkJS14kQaKzxixwWQSIxPhGx07QJnuNYfPISxc7AKgicS imPL6050yZ3k3QbCluAXrOZxZJ8LV9FEQIVV47pgNGtrbLDHRVpuwOK3PZDgAkpuZbA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795098485; 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=PYRtbJlMUeI7VVMI5yPt15vAHXQz1C6riZYXry9+yaI=; b=GHVtBwpAMf5bLcP1TwzqMATAHK0XrXrnCnCZfZJJUDwHIXHRYzroIUTt8PiFUNcnkNTt QqwVkRcY+xgL5mtoVXgrr09qU4tLGvPy6u1al/szIzJQnqCMu/uiHmzAhAPD6mxoTKG2r uX3s7VhIFA9DU0T1sTytOY4L0FYWX3Jy4Wn1jEZ+rD4x937bpOkbga6eaAhnFi3Wo6v4x kNh7/1ikGfhPvtkTH91AYrSz/THisLKWirIOzhQXa7tcg2Z7kgeHGdpqSgZ7PT+1kZ422 ElMj2gy42XX6DLMbXJs8GyDrRm/V8B4C9YANLtWXhZRh4entQSsz9wzHEdJ44BTlRlQ== 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=uuWd0Wso; 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 BC52F606A33C for ; Thu, 19 Nov 2026 14:28:05 +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=uuWd0Wso Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9DFF81F000C6; Thu, 19 Nov 2026 14:28:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1795098485; bh=PYRtbJlMUeI7VVMI5yPt15vAHXQz1C6riZYXry9+yaI=; h=From:To:Cc:Subject:Date:Reply-To; b=uuWd0WsoRAw5dxhs65VhAB+1EYA/YxyXlvLRpVFre/RFAWw1+IoMGSoFSAx4VwS/1 fDgfQc2vh8P9ijEHm1LPDHWg3l1VlmJXK6e5vHVHybuxdTgb0B+az+NyxDsj6jvWVX e5p2WVTXYvLywOuE8uMCaBlStSLcRwOVAF8FzVfo= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99323: ksmbd: fix invalid pointer dereference when get_inode_acl() fails Date: Thu, 19 Nov 2026 15:23:41 +0100 Message-ID: <2026111942-CVE-2026-99323-1846@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=3155; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=me1UxpGTFCVy0GED+FelPXuU+7EvMCnRmmuEcaKsax4=; b=owGbwMvMwCRo6H6F97bub03G02pJDFn/2fIeO6dPt9W7s2uDirb5d/WDpfG7Ny5/9+KIioP2D eX/EUYrO2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAiBxUYFix6dfGdSZfa4867 +45c9b2TO/FQoALD/Ko7ZjbvFse/M922O/2r162wai+VBgA= 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: fix invalid pointer dereference when get_inode_acl() fails When get_inode_acl() fails, it returns an ERR_PTR(), but ksmbd_acls_fattr() stored that pointer in smb_fattr without checking for errors. Later callers then passed the error pointer to security descriptor helpers or posix_acl_release(), resulting in an invalid pointer dereference. This was reproduced on an XFS-backed share when xfs_get_acl() returned ERR_PTR(-ENOMEM). Querying the SMB ACL from a CIFS client triggered the crash: BUG: unable to handle page fault for address: fffffffffffffff8 RIP: smb_acl_sec_desc_scratch_len+0x58/0x90 [ksmbd] Call Trace: smb2_query_info+0x40d/0x17c0 [ksmbd] handle_ksmbd_work+0x1ca/0x770 [ksmbd] Fix this by checking the return values from get_inode_acl() in ksmbd_acls_fattr(). Treat -EOPNOTSUPP as indicating that no ACL is available, and propagate all other errors to the callers. Update smb2_open() and smb2_get_info_sec() to handle these errors. The Linux kernel CVE team has assigned CVE-2026-99323 to this issue. Affected and fixed versions =========================== Issue introduced in 5.15 with commit e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 and fixed in 6.12.117 with commit 5a04348b4492fe993ed709e601f01877e5dab220 Issue introduced in 5.15 with commit e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 and fixed in 6.18.61 with commit 4a7f332fd43eee2541197d6e1e297b9ef2e1b07f Issue introduced in 5.15 with commit e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 and fixed in 7.3.2 with commit 44950fdcc645041912fecc257c01a1f253abf05e Issue introduced in 5.15 with commit e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 and fixed in 7.4-rc1 with commit 19d180c7baab7126af5848ed87d5f7b5add0cef2 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-99323 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/smb2pdu.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/5a04348b4492fe993ed709e601f01877e5dab220 https://git.kernel.org/stable/c/4a7f332fd43eee2541197d6e1e297b9ef2e1b07f https://git.kernel.org/stable/c/44950fdcc645041912fecc257c01a1f253abf05e https://git.kernel.org/stable/c/19d180c7baab7126af5848ed87d5f7b5add0cef2