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=1795153979; b=zq2GIqPW6pk8us+Dk+oowLQh2IMYAe0e5b+ij7wLo8EBl5WfQqYHloZlQfbsCvWx1AHM qw4rayHBYWPUS8ctO4ffnrnJkT0Erz/EuN8rKKamxg8xZvYXbxSoyENFMOFgLKM+KyX24 zNTJ80xRzToXE8zzCcBiKxeKKxtmKmzZ9/OZhI4rSNA4QBmrEqu/CwYd56oecWC46PE16 Vockbrb8FivIwZLMyxkVIJLmSKwSfPckn6hSCQvVzX6b99znGG/mijrOSnyc9uTWJ/35c u6vSe0/MpHWhJvnFQmR9l5Cszp1wHadCbnQ3Np4Le2Wjs4pHbLPklgRu+JelNGGqMtA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795153979; 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=ml/po1ScejC28Wn8HmLK0W4oVII3RnSGDFi4Tnn0t3I=; b=AFy9t9xpiwzeBkioq4vX/bhr3ShDCT8WGVNHzS4BqUiUw/bOVhQPgGVR0ho1OaEz81lP JKdUkiUtf+MNo416KNDimIXkJbZ49K2H5ozDwg2UVEttMoOwCGMHlM30tCyY1RxEPkxGR pq3Js2V6x/tn4X+TxwGhB+yAyGtIyx6Yo2yhW88UsMVAAXZmsosXfK0mVRi3XAsaqdNGY 4BO7vxoWQMOZuQ6ArhDFEqoOxWRWCGXQV62Fzjr602F68Z9EGQOlgONRSG0c5h1SCBb/1 cbk5RvgMZaVXmXeb975m1IgNLjQQ3dGt6XY26MdUmVb2RAa7xTeHfKQgR2wjeE2bc1A== 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=s9chAZGG; 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 77084606A320 for ; Fri, 20 Nov 2026 05:52:58 +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=s9chAZGG Received: by smtp.kernel.org (Postfix) with ESMTPSA id 352DE1F000C4; Fri, 20 Nov 2026 05:52:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1795153978; bh=ml/po1ScejC28Wn8HmLK0W4oVII3RnSGDFi4Tnn0t3I=; h=From:To:Cc:Subject:Date:Reply-To; b=s9chAZGGtEu17zwF3dKyI+bjsdVhP4oBNMoMpXZvPu2PZ5VN1csRETZTyQLMeGrQY VfOuaENss/bjLXOBwK0wqwxNswCOSIPQFClJqB0b9uV+7pV1qfQrE83Tcx4UaHmm5K YMPSmDTHsncgRJeIiKNya2JnEcSrgYyg3v6Uz9Xk= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99584: f2fs: fix to avoid folio->mapping dereference in is_{meta, node}_folio() Date: Fri, 20 Nov 2026 06:49:30 +0100 Message-ID: <2026112020-CVE-2026-99584-bf00@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=2544; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=E+V2Uij3OlxzQ4mUJcgDHHFMOFKCsgGGNPHbg8+IWVI=; b=owGbwMvMwCRo6H6F97bub03G02pJDFn/7yes+esSaDJbcWrVk8XfV2c1ttswlQQ+ZF72KUPgy qbtmct0OmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAi7yMZFpzI9Dor73ig4e6T 5UrXpDcydOxhOMMwV/K/y7IdXJMCWYqsS7clhMSx2E4vBAA= 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: fix to avoid folio->mapping dereference in is_{meta, node}_folio() Otherwise, it may cause NULL pointer dereference in race condition: Thread A Thread B - f2fs_setattr - f2fs_truncate - f2fs_truncate_blocks - f2fs_do_truncate_blocks - f2fs_truncate_inode_blocks - truncate_dnode - truncate_node - invalidate_mapping_pages - folio->mapping = NULL - folio_lock - is_node_folio - F2FS_F_SB(folio): dereference on folio->mapping The Linux kernel CVE team has assigned CVE-2026-99584 to this issue. Affected and fixed versions =========================== Issue introduced in 6.16 with commit 019a8912425e231511042a4eae48b7a9e459453c and fixed in 6.18.64 with commit ecf2796547582f1518f36bba370904934e659a46 Issue introduced in 6.16 with commit 019a8912425e231511042a4eae48b7a9e459453c and fixed in 7.3.5 with commit f56399666631be3d755a16fa9658e088d81c99b7 Issue introduced in 6.16 with commit 019a8912425e231511042a4eae48b7a9e459453c and fixed in 7.4-rc1 with commit b5a71253c5c7e1139eab2f3e1e13e0bf2cbcaac7 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-99584 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/checkpoint.c fs/f2fs/data.c fs/f2fs/f2fs.h fs/f2fs/gc.c fs/f2fs/node.c fs/f2fs/segment.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/ecf2796547582f1518f36bba370904934e659a46 https://git.kernel.org/stable/c/f56399666631be3d755a16fa9658e088d81c99b7 https://git.kernel.org/stable/c/b5a71253c5c7e1139eab2f3e1e13e0bf2cbcaac7