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=1795099476; b=DijwFpr27uMlTCpKc2EaOdu9OV33Owx1GgpM5nN+ZVvpcOphEvtKcx1uEhy8sNZBLaWe TEAI0ymf9BBXYcoaj5jwzi7TlfLjm+uw3/45tDs5I2qIsj7HgGRfJ6e/yFZq1KbjQPwtZ xctYtUPVyXEdckqoXpy1eoSrW1M8y/9MoT7mIPef7HRsyTRSn9cT9XEYe7xV5FCzaLHlV 7L4dj2OWxvIlSjSK3VRSbGCNDZOfRG8TjlSuVbU1LKL/cEku+6wjN8VLneDAZi8Q+/BaQ 52d3uw+gyfODLtCuCxBfmr5gEmCnCmrNp1fN28iqF3l8Efkm3S6V+FRI/RRAFdM4CvQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795099476; 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=C5oZTXcCoH7qWztU6VeiJb5K6aGIyGweerlf5Drq0QU=; b=gc87JsTeNDfwjB8PeWIKWk6XGbKA/r2vjjiW8Nk5j5z1jRpIYT7xYYqIKXO83HjVNYlL +VZPsEI1rzkV/Lby4IlhZo5+V2+ChM4J8imvIChz8BawFvQkmxSTcWQvlYqMD8qLHRP/B uDHtQTxhyATGIY/04OPS2zBmnRM1b8SiwSDCqhgJo1VJWQNeiSxq6nWpGbLsD1BVFTghm q5IlQaPkb6+DU/ILklxFxyknjitUvvKl6Un8mh0pxgXPAsbqpdPHiEZsTS1p3PG/S3Dq2 rk6SB+EoOMrvEusaU8eumWl59cyjISdqR4bNcvWdakU1WxkOGyb9iO7Mf1dWQX7sF3A== 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=WsHQesOh; 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 29CE1606A324 for ; Thu, 19 Nov 2026 14:44: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=WsHQesOh Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8E2EB1F000C5; Thu, 19 Nov 2026 14:44:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1795099475; bh=C5oZTXcCoH7qWztU6VeiJb5K6aGIyGweerlf5Drq0QU=; h=From:To:Cc:Subject:Date:Reply-To; b=WsHQesOhDAyMQP6yjV4JXwavk89e4ONxsxGeEVVHx33OaYSgtogOFmJ4vWIRWFY1O arx5kb8Obi1RAGrfcscW3G0JooSOXjYmfOYN7f66hj5fMlgogK8lhvQd3sIC1qfSRR qTYw6fCGiI/S0PpVTN3jr2qeso5W6nFU4RKVINnk= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99413: xfs: fix buffer overruns in xfs_ioc_attr_list Date: Thu, 19 Nov 2026 15:25:11 +0100 Message-ID: <2026111959-CVE-2026-99413-73a9@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=2540; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=llxVG1NBJEcgqDNnrVVhy4X3wzdfhx4s815VCRk3GNg=; b=owGbwMvMwCRo6H6F97bub03G02pJDFn/2er1na2yV5d+PFX44uuszD0Xdi5ilbi450+qWU+ds XhF0vRVHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRwmkMC3YeLXtWtmOlYJHJ reSrZZmb93koHGCYn+mrtG7tV5kJ/rsNmvZVsD53Y/dOAQA= 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: xfs: fix buffer overruns in xfs_ioc_attr_list When we converted the al_offset array in struct xfs_attrlist into a VLA, the size of the object shrank by 4 bytes. Unfortunately, the buffer size validation in the attrlist ioctl wasn't updated to notice this, so the al_offset[0] assignment blindly writes off the end of the buffer. LOLLM noticed the omitted check and complained. The Linux kernel CVE team has assigned CVE-2026-99413 to this issue. Affected and fixed versions =========================== Issue introduced in 6.5 with commit 371baf5c9750a258fee21d0cb8c8d683bb057429 and fixed in 6.12.117 with commit 426ba9b807dfda7a0f41754ce8689b2fda4ad36d Issue introduced in 6.5 with commit 371baf5c9750a258fee21d0cb8c8d683bb057429 and fixed in 6.18.61 with commit 173eb03891f4cf7f390521e66cdc5f203dbed591 Issue introduced in 6.5 with commit 371baf5c9750a258fee21d0cb8c8d683bb057429 and fixed in 7.3.2 with commit 4fe8b75e3917113da8ae9d69a08ba9257e97b7c1 Issue introduced in 6.5 with commit 371baf5c9750a258fee21d0cb8c8d683bb057429 and fixed in 7.4-rc1 with commit 0b9081a774ee7b9dff1e9ac3765b73c1d6bba5b2 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-99413 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/xfs/xfs_handle.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/426ba9b807dfda7a0f41754ce8689b2fda4ad36d https://git.kernel.org/stable/c/173eb03891f4cf7f390521e66cdc5f203dbed591 https://git.kernel.org/stable/c/4fe8b75e3917113da8ae9d69a08ba9257e97b7c1 https://git.kernel.org/stable/c/0b9081a774ee7b9dff1e9ac3765b73c1d6bba5b2