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=1793187490; b=KVZwMo+t8HyiXyIo5OVMZygRPY4Du4Nc1JyNi1OJr+IFUsMCRUJSbI+cwhVBJHbRBiuF /bQ0u5oUjrTpj8T69gyCbjFuNC9oP/xULyzMvhM7Nlv1gibI5elTwpGERHc6Nxpks5Muk 9ec9zuYB5n4b5Ut9OL6pVaomv9GujY6sH6OGP/jHXR8mZJucaPpjWLxlrG9K+TlRD5uAt e0PsefTZhRIIcETauW7M+uZ5NauswNu0MTvmtQCbqAFqCzwhXxaRvHG+A3unAJX9+1/+N iFp4SpiLvYMz4jBqf4gg8Gu1SGGU/0zCrP85lfnTOEI5Frl4jCIgP6Y3rHPRdmWthGg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793187490; 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=NMTosIsOKBJNi6Jo3yatcQvvF8d/J5/sZGNo2Df3k3s=; b=fTxDskdmGRLSo7Mr+IgCuI85++Rpe8klcti0rKSAQGdA2/dSxJWIsNbQbjw5HCkehsNv bM1RKD268jVquDb4WF+MY4bY9joANNPCNHw+Ihob4fM8KWX7/n4V+BUWjasms0acoX8to IkOKhOj4JVYzQrsHo4G2izZXp5a+7lPSuFWXa+sJTxs+koOkEdlhJmouIUvRyBV5ONL0f R7sOaQy9muLxi3dQrvqv/DpABt4nKoJm6GNNh0zHIVCktEKf83PrTAc15NlN4a1UsAtkA 8gtEtYxN8IbXtcdzFSMubd9Gf6VMnpRCNI75G8m6ANrIBvOh6WLmYTqUV9q9tRb7Vdg== 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=QaLbJDIo; 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 8E7B6606A31C for ; Wed, 28 Oct 2026 11:38:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=QaLbJDIo Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8D4EB1F01825; Wed, 28 Oct 2026 11:38:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1793187490; bh=NMTosIsOKBJNi6Jo3yatcQvvF8d/J5/sZGNo2Df3k3s=; h=From:To:Cc:Subject:Date:Reply-To; b=QaLbJDIod2YuQdtE4cH0ep/8gs17/WL3Vsxdpb+kbpNP6BWZIMW9+x8NY/80QFiU6 yBfrEoqyE4QFlEHGnE5dOcjGyLzhaUdGdaPU4DItZYv5+/zok41OJ3aF0yIgWH3jUN +MdstjU+SMoP0COZrY3O2BxYvuNAXa52u0FEoEK0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99110: smb: client: fix heap overflow in cifs_do_set_acl() Date: Wed, 28 Oct 2026 11:34:57 +0100 Message-ID: <2026102854-CVE-2026-99110-66b3@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=2717; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=n2FrpyR5lkGkwjAXV30xPO36TKUk/L2n5kV+5ttcvGQ=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkPz5+byr1aa8umWYFrc5kiVBZdn6XwiMey+ENxyh8FF uudOvE9HbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjARTXmG+a5LUuwaQ/T31Jr8 TJgaxJ/CKtLryzA//n5zm++u4NPSm9ZUBk7hPL/s2MZuAA== 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 heap overflow in cifs_do_set_acl() cifs_set_acl() validates ACL size using posix_acl_xattr_size(): 4 + (count * 8) // 4-byte header + 8 bytes per ACE cifs_do_set_acl() then calls posix_acl_to_cifs() to write the CIFS wire format into the same buffer: 6 + (count * 10) // 6-byte header + 10 bytes per ACE An ACL that passes the xattr-based check in cifs_set_acl() can overflow the heap when posix_acl_to_cifs() writes the larger CIFS format. Validate the CIFS format size against the remaining buffer space and USHRT_MAX before converting--data_count is __u16, so sizes above USHRT_MAX truncate the on-wire packet length, causing the server to apply a partial ACL. Replace MaxDataCount = 1000 with min(CIFSMaxBufSize, USHRT_MAX). The Linux kernel CVE team has assigned CVE-2026-99110 to this issue. Affected and fixed versions =========================== Issue introduced in 6.2 with commit dc1af4c4b4721abfa07b351063825acc7e69cc66 and fixed in 6.18.59 with commit d96f3365ce61c5f39602955af43c8174548dee98 Issue introduced in 6.2 with commit dc1af4c4b4721abfa07b351063825acc7e69cc66 and fixed in 7.2.13 with commit 596b4062e6c75bdd85a7f2b7f2087a872dc420ac Issue introduced in 6.2 with commit dc1af4c4b4721abfa07b351063825acc7e69cc66 and fixed in 7.3 with commit 1dac61e2c29d1a71784604b48cf3b1234a65ec29 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-99110 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/d96f3365ce61c5f39602955af43c8174548dee98 https://git.kernel.org/stable/c/596b4062e6c75bdd85a7f2b7f2087a872dc420ac https://git.kernel.org/stable/c/1dac61e2c29d1a71784604b48cf3b1234a65ec29