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=1795154010; b=SLlgLQZGVMLSWNzirPzon8hg9C7y565beQfOeEJ1RtcWoXZKy2oJ0c28c76XQSxWbTXg CHocaAA9KiAW3PtZmje6U9zqtijo4P0n4rRtoUeX9rAGqIJiS2mQ5W5izbK+avq+LWzrM fha7nSOG5dCX9yBL3MVlsxaquDMmafM3XJpGWItMmAZL0251Yu9RTIIWGGxtJH9kVXMZD vNq2QN6cpjhQPcJU9DE3K1unWilxJOUb9cxCfAyZnXEvksWis8iRdpmRXZptqlOgY30uv QqLTG4oYP/s6AUe5CD4fmTxdoIOnlYFclMLGLTN5Z2J7co2ecgG667GwjQYgdDdU+Vg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795154010; 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=0FxKXQSelnQGnm6tEGZ/E7dsY9GMifd1wnnK0HzolSE=; b=18or4WYp6vuJJTFPSXGj4B6ZoFmNrGVMrw3VfQg4XA3CCWxFDWdF8MANU1Br3YHCy98b vbsQYpWe8lyiT8miyF5MicoXyU61lOQ0YKFKH79JW3E5i2FG/jgljgLdnA80JUargL9rN yED7/IZSAdqRcLAIcDzdTDpBb+42hGZh77R25ltN/5b0jwrz1Q8bFv8NZCIa9N5pe5vdq hnKmf0usIvH9NEbHiNDKcQrVVOBgU+HJWsKyRuT55+SH7L0hHXIaFA9Qq3ZRadiQp2rB8 6GmPh0kWh5a0wGVLxAP2nbXxib8W5el0s/9Jis0M9zMUsp/TMmHN0BA0w28gGwkpKCA== 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=i2gDSSV2; 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 82A32606A335 for ; Fri, 20 Nov 2026 05:53:30 +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=i2gDSSV2 Received: by smtp.kernel.org (Postfix) with ESMTPSA id D017F1F000CF; Fri, 20 Nov 2026 05:53:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1795154010; bh=0FxKXQSelnQGnm6tEGZ/E7dsY9GMifd1wnnK0HzolSE=; h=From:To:Cc:Subject:Date:Reply-To; b=i2gDSSV2dslppWO3xYIEBnI9a9UggnrH1hTREgjEkBKrS7Z6j0ScvRSLTwhzJux7b vaysHQW2yC6sQPXHV1O9ouyzDBmYdMGVXvvwuyH9ef7vbHv7wYKJRPungLhwd2vSaS WSutOGLnDgbRi/Hb/6RapLJPaONwZfk+o+prT7Ws= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99569: f2fs: release a removed xattr node in roll-forward recovery Date: Fri, 20 Nov 2026 06:49:15 +0100 Message-ID: <2026112015-CVE-2026-99569-b0ab@gregkh> X-Mailer: git-send-email 2.56.1 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=3244; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=4KuCq9uijYtITuQ5J1P4YxG6gF2NINkDvfL8+PSplSM=; b=owGbwMvMwCRo6H6F97bub03G02pJDFn/70fHFdy4O2P+TxlNBffzRZNb1GZcsUq5vXdxpFDpz 7/Pd0+90BHLwiDIxCArpsjyZRvP0f0VhxS9DG1Pw8xhZQIZwsDFKQAT+biCYa70y+DsK+Ee7Mz6 biwFrP/DDrw5yMswP0bq/1GN6xMcI5/7zbhkq8XCJfXTBAA= 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: f2fs: release a removed xattr node in roll-forward recovery When xattrs shrink enough to fit in the inline xattr area, write_all_xattrs() truncates the xattr node and clears i_xattr_nid. If the file is then fsynced without a checkpoint, only the inode block is written, with i_xattr_nid of 0. Roll-forward recovery starts from the checkpointed inode, whose i_xattr_nid still points to the old xattr node. f2fs_recover_inline_xattr() copies only the inline xattr area, and f2fs_update_inode() writes the old i_xattr_nid back. So the inode keeps the stale xattr node: - The node block is never released, and fsck reports "nonzero bytes in xattr space after end of list". - If the inline xattr list ends exactly at the end of the inline area, its terminator is read from the stale node, and the removed xattrs come back after recovery. When the fsynced inode has no xattr node but the checkpointed one has, release the old xattr node as truncate_node() does: check its block address, invalidate the block and drop its node cache, which may still be dirty. The Linux kernel CVE team has assigned CVE-2026-99569 to this issue. Affected and fixed versions =========================== Issue introduced in 3.15 with commit 28cdce0459ccea71ea734d7903d39910d1c6a05d and fixed in 6.12.118 with commit 246a50b23bf2042c77b167272db121d03c8dd473 Issue introduced in 3.15 with commit 28cdce0459ccea71ea734d7903d39910d1c6a05d and fixed in 6.18.64 with commit c06cfda3b67692651438876663ae7cdc187eb214 Issue introduced in 3.15 with commit 28cdce0459ccea71ea734d7903d39910d1c6a05d and fixed in 7.3.5 with commit 6d9c89d6dd18c0cfec33bdb468bf4b86c0ca7cea Issue introduced in 3.15 with commit 28cdce0459ccea71ea734d7903d39910d1c6a05d and fixed in 7.4-rc1 with commit f5924de8867c09206ba631b9faed63862ec00a10 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-99569 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/f2fs/node.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/246a50b23bf2042c77b167272db121d03c8dd473 https://git.kernel.org/stable/c/c06cfda3b67692651438876663ae7cdc187eb214 https://git.kernel.org/stable/c/6d9c89d6dd18c0cfec33bdb468bf4b86c0ca7cea https://git.kernel.org/stable/c/f5924de8867c09206ba631b9faed63862ec00a10