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 2BA5E4D09E3 for ; Wed, 16 Sep 2026 10:34: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=1789554904; cv=none; b=gxHjGzlpBwcCTexdiwCmZ3s2ZT2CD6yWUAFhzYErVQcSB5olbADptACTfc09QxghnqNJRynAEKwIN22lhmGqGQJ1Jqqs2rKuDXJeB1yGFUHBvjA5RmH9kETk77YEJ9CsSFps6pXEhYiIEzowNSc8FB9DuPf9YYLIRpfS3GxpuHA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789554904; c=relaxed/simple; bh=hfwtLWHnVmTOT6lfkQHBVieQs2czM9gU4HCIMqOnxbI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Cg2VTxS1n+OlYrsW4ySJ2EI16n0jL653LZQPT7DNj5AV+8JpxI3bq+KryNHLS6uSA6aGo4BbLHNYoJ5r7q9WqqoCNXbmB6m76Sv4Oz+4y1kRHorchFMttKLlEMSSYc7pt05LgTUsyMzCIlXmFjWlP5u5o7lCdDHUGHvb71FIFNY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=XRgVD/Ng; 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="XRgVD/Ng" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8842A1F00893; Wed, 16 Sep 2026 10:34:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789554893; bh=VNQpscc3gNHwuESYUmMTkO9dsJYirf776L1Bw8ka6e0=; h=From:To:Cc:Subject:Date:Reply-To; b=XRgVD/NgIbNI/1Awx1Bd0Hr0Pt+AsYc0/G7E28bAHMImExRBiz3vpJac8rsK4C2Ec o0EPah0UQkjFB00s5ZUpotJpd5EV2Unl7YP7Mk33LDqk2rT8wjzYPGVuJXNOGKNH9x Kan37pB8a6OhB7tXwf31xZWCRYLlEFmnmcK0176s= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-89837: f2fs: fix dentry folio leak in find_in_level Date: Wed, 16 Sep 2026 11:29:27 +0100 Message-ID: <2026091609-CVE-2026-89837-8d62@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=2348; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=DnIkR79n+DTRrr2hKZoZsaLqjxlPscCOb2U1ltidrlM=; b=owGbwMvMwCRo6H6F97bub03G02pJDFmr8kv/Wk0LnFq8e/P0KUU7+NKePQk3PmQumVLYqj6dQ fKAhlFbRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEzEyJhhfvqSuX9+nDXZmXJD 990+Ian4sLe6kxjmO3PUv1suWLX91Y+HVQlu5TXLd4TKAQA= 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 dentry folio leak in find_in_level find_in_level() gets a dentry folio with f2fs_find_data_folio() before calling find_in_block(). If find_in_block() returns an error, the function stores the error in res_folio and breaks out of the loop without dropping the dentry folio. This leaks the folio reference on the find_in_block() error path. Drop the dentry folio before returning the error to the caller. The Linux kernel CVE team has assigned CVE-2026-89837 to this issue. Affected and fixed versions =========================== Issue introduced in 5.11 with commit 7ad08a58bf67594057362e45cbddd3e27e53e557 and fixed in 6.18.51 with commit aefb4b0f465b6f95fe02b52d1822a3fb4a9ae922 Issue introduced in 5.11 with commit 7ad08a58bf67594057362e45cbddd3e27e53e557 and fixed in 7.2.5 with commit 93a3e6a4c9e726a13a935963e8dc43d181db1527 Issue introduced in 5.11 with commit 7ad08a58bf67594057362e45cbddd3e27e53e557 and fixed in 7.3-rc1 with commit cca7d3e30bf30333314e31bc70b9a739f1342167 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-89837 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/dir.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/aefb4b0f465b6f95fe02b52d1822a3fb4a9ae922 https://git.kernel.org/stable/c/93a3e6a4c9e726a13a935963e8dc43d181db1527 https://git.kernel.org/stable/c/cca7d3e30bf30333314e31bc70b9a739f1342167