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 139A52882B7 for ; Tue, 30 Dec 2025 12:11:25 +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=1767096685; cv=none; b=ZXz1pmahzERhLGEmie5Y1Krea5uTcjVpusfKDm5CWaSCE5Evs1RVLXrjxCtfJ8CbagjK2+c21paNbfRy107RrR0EERq9fxf/fAnxKfBNVducAwq9BFbmaCc/nIdVNV9X/VKjnvb1L0EVUqsZcSiOzzTxqRkk04Hg5fqM4hgSKaw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767096685; c=relaxed/simple; bh=1yBbCJSgSyjyS44y6iIojY9LGGKINcia0fMBze4bt1I=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=OGjWK3fNplS/sfrRWHi2CrcfEtU3BriHsaOwf36VKEs2mIkkHhIV6yRPtjp6UEfcBbe3upHqGBC2bIyE3mjfyDXDnwY+eqr/CvtoEFprhOq77nqTva34se1pkl63Abhd9pANhiSzMNYUuk6Ic5LiHgu49ZmO+/yIWCfy53MC+ao= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=HyxNAuh5; 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="HyxNAuh5" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8C7BAC4CEFB; Tue, 30 Dec 2025 12:11:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1767096684; bh=1yBbCJSgSyjyS44y6iIojY9LGGKINcia0fMBze4bt1I=; h=From:To:Cc:Subject:Date:Reply-To:From; b=HyxNAuh527M6+Rp8wyNE9WucOx6KwcTy3SKcZnmUV0QJkvlLkpK8oBmksA9e5+/Vt Ky1jVDH3jP/neEfnpe2cobtY5gesG3/5uSchbOn6ZO9mpK+SfTD5z2imMc3q6qELE4 t94pnAZb2WcloBZPmhFeKwKExdJg2ipYNx35gYqs= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-54192: f2fs: fix null pointer panic in tracepoint in __replace_atomic_write_block Date: Tue, 30 Dec 2025 13:10:00 +0100 Message-ID: <2025123027-CVE-2023-54192-f8f5@gregkh> X-Mailer: git-send-email 2.52.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=2763; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=pVdIJprm2ICg7/JqQ4CDNRQsTRw8gCS865ILaaHhM1I=; b=owGbwMvMwCRo6H6F97bub03G02pJDJnBB36cFVm24uC8DVelf/xavST3TJBHpv2u85GL0m8r7 lDRdQrY0BHLwiDIxCArpsjyZRvP0f0VhxS9DG1Pw8xhZQIZwsDFKQATEQlimGf8rCf6QPTnrWac y9ofX9FeaVBzgJFhDte9w/vWn5uj2ndYZuL1A6t3zUxYJQIA 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 null pointer panic in tracepoint in __replace_atomic_write_block We got a kernel panic if old_addr is NULL. https://bugzilla.kernel.org/show_bug.cgi?id=217266 BUG: kernel NULL pointer dereference, address: 0000000000000000 Call Trace: f2fs_commit_atomic_write+0x619/0x990 [f2fs a1b985b80f5babd6f3ea778384908880812bfa43] __f2fs_ioctl+0xd8e/0x4080 [f2fs a1b985b80f5babd6f3ea778384908880812bfa43] ? vfs_write+0x2ae/0x3f0 ? vfs_write+0x2ae/0x3f0 __x64_sys_ioctl+0x91/0xd0 do_syscall_64+0x5c/0x90 entry_SYSCALL_64_after_hwframe+0x72/0xdc RIP: 0033:0x7f69095fe53f The Linux kernel CVE team has assigned CVE-2023-54192 to this issue. Affected and fixed versions =========================== Issue introduced in 6.1.18 with commit 9ad51915f4b368eef8f4cbd3a0b6367d4504c245 and fixed in 6.1.29 with commit 424f8cdc0ad29e4940be96dcc0b935ba497adeda Issue introduced in 6.2.5 with commit f955d66b179679312310d42108c0df1cd0714313 and fixed in 6.2.16 with commit 1424358cd66c49460493293497b54cb72e0213cc Issue introduced in 6.3 with commit 2f3a9ae990a7881c9a57a073bb52ebe34fdc3160 and fixed in 6.3.3 with commit e2bbefc1741cb0732c13652be173da02f25611d1 Issue introduced in 6.3 with commit 2f3a9ae990a7881c9a57a073bb52ebe34fdc3160 and fixed in 6.4 with commit da6ea0b050fa720302b56fbb59307e7c7531a342 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-2023-54192 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/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/424f8cdc0ad29e4940be96dcc0b935ba497adeda https://git.kernel.org/stable/c/1424358cd66c49460493293497b54cb72e0213cc https://git.kernel.org/stable/c/e2bbefc1741cb0732c13652be173da02f25611d1 https://git.kernel.org/stable/c/da6ea0b050fa720302b56fbb59307e7c7531a342