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 CB308824AF for ; Sat, 17 Aug 2024 09:24:47 +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=1723886687; cv=none; b=s1ZHUxRgL6M3n6RLdOY7OsAvCtH2TRDZBJ7v9RDQAMvTHrIU0kiJfXMFeGZ5+raPMrni9F1FupB8CuC5Himotwd6ycgwB71UY5qVaZY0rvB6F5EjgR2T06Zad0IEsVAc+KyDigf7e1G/sbYE9vBvuD8ufF8cMX8Q0lUcNqvJALQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723886687; c=relaxed/simple; bh=VOnd1OG4/V2yxo1FsWt4UzZzMmCRdbzi9UQRMSg0veY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=GuvR2G6tI53dES0gPCF3DBnvNDNHTSv7cqXj+3fWZ5loucIYWgEY8XGbiJyPMLe1D4fDnYHEyLvnSOp1T5bzdkpbxTgiunI4ZAE7npT0Iu59zkTnucoNFNs6lvP6R8W6YeKOGDbwOs2NRCRhRIwLQjphCduuKg9wISDITD9Lpa8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=KYpGymbL; 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="KYpGymbL" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0940CC116B1; Sat, 17 Aug 2024 09:24:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1723886687; bh=VOnd1OG4/V2yxo1FsWt4UzZzMmCRdbzi9UQRMSg0veY=; h=From:To:Cc:Subject:Date:Reply-to:From; b=KYpGymbLbFGrBJL8pRV18Hzh7L5Ts84DEZYjB9QJTgTlcOjXnmFywyV4b5b0mUxfG gYSjsv33DTSk7XGrlud7cFBa0HyLBpdjICjGUvTvraO6+YpZKm0VxfoOAxRMFI/uAh c+J2uPejXnEvUQMR06hBdlpEE2skK7TQwzwWeJYw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-43857: f2fs: fix null reference error when checking end of zone Date: Sat, 17 Aug 2024 11:24:34 +0200 Message-ID: <2024081733-CVE-2024-43857-b71b@gregkh> X-Mailer: git-send-email 2.46.0 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=1807; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=VOnd1OG4/V2yxo1FsWt4UzZzMmCRdbzi9UQRMSg0veY=; b=owGbwMvMwCRo6H6F97bub03G02pJDGkHcgI1tAuvvkjd9GXbDbecZevXXJtzjePqoyhhlwnTU y/2JM1/1xHLwiDIxCArpsjyZRvP0f0VhxS9DG1Pw8xhZQIZwsDFKQATYctnWHD6wdTwLd6Vp6y5 70/cHWWn07WzrJ9hwZV3XJMm8UT2+Oa16v29tfiY10knBQA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: f2fs: fix null reference error when checking end of zone This patch fixes a potentially null pointer being accessed by is_end_zone_blkaddr() that checks the last block of a zone when f2fs is mounted as a single device. The Linux kernel CVE team has assigned CVE-2024-43857 to this issue. Affected and fixed versions =========================== Issue introduced in 6.5 with commit e067dc3c6b9c and fixed in 6.10.3 with commit 381cbe85592c Issue introduced in 6.5 with commit e067dc3c6b9c and fixed in 6.11-rc1 with commit c82bc1ab2a8a 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-2024-43857 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/data.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/381cbe85592c78fbaeb3e770e3e9f3bfa3e67efb https://git.kernel.org/stable/c/c82bc1ab2a8a5e73d9728e80c4c2ed87e8921a38