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=1795154028; b=neS+G7DdX492ucUnRG1RIKz3B3vGs2p5UWvvDLEbry3mSXQLLl2bCOtpm1MAPj012Rsy fRECvqw8gFAerGhd+FYXTWFPfQK9xM+TS/TMrF4zDvMyCcaW7GksD1Hj+nV10shc+A1yC CLvrBTG6dEGavM6jdv4FyhmaBZEObW81uJBuwykHRkE6cVukupNdRZuV8A2r2yfHcbrqM EAXjrRP1Iub/IWS6Q/kdhlqWEcxiJELRe397HuVyDYKO9bgHNsnirfEdgmLGSL7G3r3ad oyZwK6hyP8aRAgA+heTI/obGS4mv0jzHu5i2oOUTzu/hHCtJB0LSFRUo7PQB7NdUw8Q== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795154028; 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=ERIXvd9uoJvknByvIqmxVSJvnXnoQERc5dsFqvhijVQ=; b=J6w5rnT9G3TXz96DucPDmIQoi+4yZdX9+Ae+8wKQvVxrNsluJ9QnvzIoUbDEfr0h3u93 2BhVkmIdAMZM6fWo7Sdcl63olGuVe/pbd/WLVN4PKkiJgWPLUdN8+5+NmENyXwB3J91Ni 7EuFo6g4LMvYSxVW49qjLmgK7o0pLJcGstF2IV5nNoKBaObmxTY+e0c1/VlyrKRn5hBaf M0zOPSRnib2AteY9usJvhg5GbnYwSOf9EWZJ9/lLuWPY/QdZ5avC7k4HZ+gCljl+TJ1WI Ku95DDrghd5fd/3r2DY9r8w3KzzVZsfRO8K8r0Agq7snRX2PbPlaTfaI4q73u5vXULA== 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=MtWQz85R; 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 11447606A320 for ; Fri, 20 Nov 2026 05:53:48 +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=MtWQz85R Received: by smtp.kernel.org (Postfix) with ESMTPSA id 60AC21F000CA; Fri, 20 Nov 2026 05:53:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1795154027; bh=ERIXvd9uoJvknByvIqmxVSJvnXnoQERc5dsFqvhijVQ=; h=From:To:Cc:Subject:Date:Reply-To; b=MtWQz85RxCTEuMo10dGkhf/50OQUyYCOogwEsOfBfMdiQXNaVN7LsDBQ8lMIYtkZE wlIaRdyPa7Df6Gyl4EB/0gtxtLJkYN4X1aP7Pkzo806yZ4HzAff8oxI+BhLFQxynY0 40W39W+e8Fbtl48Hwn6TkT3jHbbg/lKXgIGdGmok= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99575: f2fs: return -EIO for a lost inode block after cp_error Date: Fri, 20 Nov 2026 06:49:21 +0100 Message-ID: <2026112017-CVE-2026-99575-0069@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=2928; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=DaM2Cfh77U2/HXzmHq0LvLVn20q0U1Cwyj2EJwH7V+U=; b=owGbwMvMwCRo6H6F97bub03G02pJDFn/78c+5vVu1n7wtS6b7bSOleZezs8Sa8uDzjRfOT9v8 sJ9clWJHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRu3cY5ukp2PnumpNkzmvA ysecsfVgvbk0J8P8NLc33h/+r7atZnpdwu1bx67av8weAA== 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: return -EIO for a lost inode block after cp_error After cp_error, dirty node caches are dropped without being written. If such an inode was never written, its NAT entry is still NEW_ADDR, and reading its inode block returns -ENOENT. f2fs_get_dnode_of_data() passes that -ENOENT up, and callers take it as a hole. Since the inode block is missing, the next offset can only advance one block, so fiemap walks block by block up to maxbytes, about 2^30 blocks, while holding the inode lock. It took hours in a power-off recovery test after shutdown and blocked unlink and umount on the file. Return -EIO instead of -ENOENT when the inode block itself is missing after cp_error or shutdown. A missing direct or indirect node is still reported as -ENOENT. The Linux kernel CVE team has assigned CVE-2026-99575 to this issue. Affected and fixed versions =========================== Issue introduced in 5.14 with commit 28607bf3aa6f9762b32dc7f1ed0488823c0651b8 and fixed in 6.12.118 with commit 9960426b20021e2a92916f7836b53ca53f4deeee Issue introduced in 5.14 with commit 28607bf3aa6f9762b32dc7f1ed0488823c0651b8 and fixed in 6.18.64 with commit 935bcf17f7052198a3ec82c55642c8e58f3a483c Issue introduced in 5.14 with commit 28607bf3aa6f9762b32dc7f1ed0488823c0651b8 and fixed in 7.3.5 with commit 86dfdf4f2aeaf68905e9b08752d72624a05dd471 Issue introduced in 5.14 with commit 28607bf3aa6f9762b32dc7f1ed0488823c0651b8 and fixed in 7.4-rc1 with commit 53b12b63304b34a3850a901c4de3cc6ad08e0aee 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-99575 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/9960426b20021e2a92916f7836b53ca53f4deeee https://git.kernel.org/stable/c/935bcf17f7052198a3ec82c55642c8e58f3a483c https://git.kernel.org/stable/c/86dfdf4f2aeaf68905e9b08752d72624a05dd471 https://git.kernel.org/stable/c/53b12b63304b34a3850a901c4de3cc6ad08e0aee