Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 B7B15392B94 for ; Tue, 13 Jan 2026 15:29:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768318192; cv=none; b=A4SJdAlJWmAdk8OV5bI4zeVKvuoGhPc17qEW6DUhJuW12/+8r8f2ohBCjTMRGn1t4Xrij02yJIbjIN3kPzKzGKhQl26uF7qXqnUAoCI0LGxxEeXre9Q4qzcJB7GqYHyjy2RNaHAOdL09EQK/Jo3PzMVQVHjPWJa89huInSvVgwA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768318192; c=relaxed/simple; bh=S72N11LtVtkedIrQJOgtZbJaGdlqcIOXYveI23Y0GFU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=PDGoG84EXRUqI6Hx5qNXu9oJzfi07LBtpc4RYnQJVPRuFKDRp5B/Qov3akElWcDrOx9T+jzrmEsxtxb2pq/fnQEvxrrML+Qvoh9rp53B4KMhnQaqkEbwKpLxn4Kza3+74ojvrhY8+8FU32SEgkSuRxouR06seOdTKKh0UPKRghQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=EEqO5Dpp; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="EEqO5Dpp" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3C6D0C19421; Tue, 13 Jan 2026 15:29:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1768318192; bh=S72N11LtVtkedIrQJOgtZbJaGdlqcIOXYveI23Y0GFU=; h=From:To:Cc:Subject:Date:Reply-To:From; b=EEqO5DppIlATC2ZsZZ5gIt9MOh5JkGfygrmXaMYDv9RZ2QVVQeDleo7416xczrQ6Y sK7G8CoU+0Ay/L9jZvhZ0LkKW3TTRxs+UhpHB3mzf96Geg0ZiHB4crrw8tlNdsf6DR Bg4qsPZBDDZ5FwcQRwAQGVV/tlV3hIVu0bMr73z8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-68784: xfs: fix a UAF problem in xattr repair Date: Tue, 13 Jan 2026 16:29:10 +0100 Message-ID: <2026011302-CVE-2025-68784-b1e0@gregkh> X-Mailer: git-send-email 2.52.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=2204; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=y7VX5akdQCUfAJ7P40Q0y+RuPiUjHD+cp4AqdnZl9qo=; b=owGbwMvMwCRo6H6F97bub03G02pJDJlpKfueCLcW15ac+5ux4fL7nsezfwolra87OdXHImzhT xEFFt+jHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRaj6GBTPLbRQeSJVkZ+Ww S2hrWBWbbE5ewbBgz77K2TfuPZ7x86h4B9/zXSEbNHb7AAA= 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 a UAF problem in xattr repair The xchk_setup_xattr_buf function can allocate a new value buffer, which means that any reference to ab->value before the call could become a dangling pointer. Fix this by moving an assignment to after the buffer setup. The Linux kernel CVE team has assigned CVE-2025-68784 to this issue. Affected and fixed versions =========================== Issue introduced in 6.10 with commit e47dcf113ae348678143cc935a1183059c02c9ad and fixed in 6.12.64 with commit 1e2d3aa19c7962b9474b22893160cb460494c45f Issue introduced in 6.10 with commit e47dcf113ae348678143cc935a1183059c02c9ad and fixed in 6.18.3 with commit d29ed9ff972afe17c215cab171761d7a15d7063f Issue introduced in 6.10 with commit e47dcf113ae348678143cc935a1183059c02c9ad and fixed in 6.19-rc2 with commit 5990fd756943836978ad184aac980e2b36ab7e01 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-2025-68784 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/scrub/attr_repair.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/1e2d3aa19c7962b9474b22893160cb460494c45f https://git.kernel.org/stable/c/d29ed9ff972afe17c215cab171761d7a15d7063f https://git.kernel.org/stable/c/5990fd756943836978ad184aac980e2b36ab7e01