From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8CCDE442391 for ; Fri, 4 Sep 2026 15:17:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788535075; cv=none; b=qaAUQlRFtdoxOiYRXya2w05Bbwlldc1uBvH/U8JPDCaIyX16Pe6ju+DIxnk8pRrPZ5SuMJpoAiYfKH0N0QN0yq1Ko6QljU6gubjEaSl5eaEXPiDN19UqXBJiaYxiEcz/8OhIJe6BTN8GCQ1SWhfsVyuDftERyVJlW+WfP9yKzXQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788535075; c=relaxed/simple; bh=0SBGIIJ0TePj8WdFVAHu6zup/aJQ9SB20fe1jnurMDk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=uW5Kg69/Hc06p9oib8uodBVZfWtObjhUlLdHVhiZeuhrfLEKWC3bAk8RDxjjT46sDJY/VWJ6umO22KABG1x19b/8U97+zmnd8qG91CFHArYNqBX3bp/JAIQRUf74fYOA+qJ9525AWO/f0v9qf8SGPaCODVRAK5tc5gq7VR35S7k= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=C+UYTWJe; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="C+UYTWJe" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8121D1F00A3D; Fri, 4 Sep 2026 15:17:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1788535074; bh=w98xJiyNZfOiBzyWqUdpIzg9cvImootAc6rMTHdQnsI=; h=From:To:Cc:Subject:Date:Reply-To; b=C+UYTWJeJ7aRuB7+98PprlpqoPcj3BW+MvAiBTVv3BH5KkBVNvP/bnJSe1X7KPm8O Qp0r5qtgxX2/gEw1rRM3OSnTAr3jffJdjD9vuPAIoyLUUydwOWfXtB8Kaw6ZYMIzQY 6i/XPGjDo51/o9vcc/R/j5uxAPQevbtrIqzzTlCw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-80805: xfs: validate attr entry pointer before field access Date: Fri, 4 Sep 2026 17:11:44 +0200 Message-ID: <2026090410-CVE-2026-80805-cbde@gregkh> X-Mailer: git-send-email 2.55.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3910; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Uk7zJICaaRc8EwMr5zwYokfy3Op94qzvbdS6n4R/WMo=; b=owGbwMvMwCRo6H6F97bub03G02pJDFmz7vf1rmpmCLm//9rNZO1Vb873Sbud+Lf13Ke110K7n i0+7ifV0hHLwiDIxCArpsjyZRvP0f0VhxS9DG1Pw8xhZQIZwsDFKQATmRbLsGC9pv2qCfJv/ni3 G+YXbnjfOyPLOZlhfrHHNvujE4+6mPrlz/yVubRthr7oVwA= 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: validate attr entry pointer before field access xfs_attr3_leaf_verify_entry() accesses lentry/rentry fields (namelen, valuelen) before checking if the entry pointer itself is within bounds. If nameidx is crafted to point near the end of the buffer, these field accesses can read out-of-bounds before the bounds check at name_end > buf_end is performed. Add explicit bounds checks for entry pointers before accessing their fields. Use offsetof() to check that the start of the flexible array member (nameval/name) is within bounds, which ensures all preceding fields are safe to access. The Linux kernel CVE team has assigned CVE-2026-80805 to this issue. Affected and fixed versions =========================== Issue introduced in 5.5 with commit c84760659dcf237902d4cc997cd5f55cb3b2807f and fixed in 5.10.267 with commit 0f82586741e39926542f621bafa424e237a04fa4 Issue introduced in 5.5 with commit c84760659dcf237902d4cc997cd5f55cb3b2807f and fixed in 5.15.218 with commit 134d82a2b5e3eba3ebf58753a1387b22f26ca1de Issue introduced in 5.5 with commit c84760659dcf237902d4cc997cd5f55cb3b2807f and fixed in 6.1.185 with commit 03a12253dd2a036545bdb0110a4e0b8dc70f8e7c Issue introduced in 5.5 with commit c84760659dcf237902d4cc997cd5f55cb3b2807f and fixed in 6.6.154 with commit e99120b5944a16d0bc27e52b33de78bcdaaabf5c Issue introduced in 5.5 with commit c84760659dcf237902d4cc997cd5f55cb3b2807f and fixed in 6.12.106 with commit 98a42bb9d60d42898c3494de351a1bf508348cde Issue introduced in 5.5 with commit c84760659dcf237902d4cc997cd5f55cb3b2807f and fixed in 6.18.47 with commit 184c1a80421a5b5ddcd262e47980ce2e67fee211 Issue introduced in 5.5 with commit c84760659dcf237902d4cc997cd5f55cb3b2807f and fixed in 7.1.11 with commit 9f92e749fc08b7ff3d9da190c4d1b2273745b282 Issue introduced in 5.5 with commit c84760659dcf237902d4cc997cd5f55cb3b2807f and fixed in 7.2.1 with commit c35da2bac6f7cb9a9be73f188b4fcc324615c327 Issue introduced in 5.5 with commit c84760659dcf237902d4cc997cd5f55cb3b2807f and fixed in 7.3-rc1 with commit b7eea80be25f3334f131d52982b3131aba77b97d 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-80805 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/libxfs/xfs_attr_leaf.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/0f82586741e39926542f621bafa424e237a04fa4 https://git.kernel.org/stable/c/134d82a2b5e3eba3ebf58753a1387b22f26ca1de https://git.kernel.org/stable/c/03a12253dd2a036545bdb0110a4e0b8dc70f8e7c https://git.kernel.org/stable/c/e99120b5944a16d0bc27e52b33de78bcdaaabf5c https://git.kernel.org/stable/c/98a42bb9d60d42898c3494de351a1bf508348cde https://git.kernel.org/stable/c/184c1a80421a5b5ddcd262e47980ce2e67fee211 https://git.kernel.org/stable/c/9f92e749fc08b7ff3d9da190c4d1b2273745b282 https://git.kernel.org/stable/c/c35da2bac6f7cb9a9be73f188b4fcc324615c327 https://git.kernel.org/stable/c/b7eea80be25f3334f131d52982b3131aba77b97d