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 7512F343214 for ; Mon, 15 Sep 2025 14:50:15 +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=1757947815; cv=none; b=bnQ/0cGPfaPYm8Zq19fSyHdn5gatiRsoKt7Fjb1zTYuguAv/ti6O5R2jRsKZh4BFcI2bdUKm3FHC5dsBiBgKIsfR6aC1uUYBFFw/2LD9AKhU0lPcgpM7UwJua296fIddN1bEdJllSOgs4T7DCczi4c3bPrBg6rwG90xZkC2v0DU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757947815; c=relaxed/simple; bh=RcQ3DGIlbNanxvKF4MjNurFFu+4iTr6kW54MMzRj31g=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Pk7zAXrUVwFNEzrOSVT/5C54b8uIpu1CyanquUk2ncHcx3IiKQU0WriwIFI72t4WIDJdWxqBD8cuXpAUPKjZCGeuGgDE0Nu5KtFNQwYqzXB3JdJSwfu0xL82uzWTlRlgwcwcVcWrtuwRatT2NwEIL17MrrkfXK/r3w6YeVs8o3Q= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=A3TlfqUl; 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="A3TlfqUl" Received: by smtp.kernel.org (Postfix) with ESMTPSA id DA794C4CEF1; Mon, 15 Sep 2025 14:50:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1757947815; bh=RcQ3DGIlbNanxvKF4MjNurFFu+4iTr6kW54MMzRj31g=; h=From:To:Cc:Subject:Date:Reply-to:From; b=A3TlfqUliqQ3XaiV8lwcBcgoMUe3eZ0XafNVKplFiPR1GjcPc7z/fqjfNzV71gMmn X1EaOPM0zkiEZhS3V8s1M++LzmwgWmJa0/Wp2Bxs6KRHKRkZVNT6Hbl9d8ugqfl8aA Cm2MqQwGUZK1NeVJn645xcqyInXSTn1P1COn/h7E= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53262: f2fs: fix scheduling while atomic in decompression path Date: Mon, 15 Sep 2025 16:46:37 +0200 Message-ID: <2025091504-CVE-2023-53262-822a@gregkh> X-Mailer: git-send-email 2.51.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=4499; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=kreaatyGfWbnLLqQvpgd4C4A2EelX4dDcPA3GCDsAOM=; b=owGbwMvMwCRo6H6F97bub03G02pJDBkn1NbMOvrnbr/9WcXrNj+zU031pLIEj1qEtRfw9Fva5 H39z9DdEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABNhdmeYnyTbwXhkcsZBay/D ZzPflc1P3fumimHBmRutzkuVQmYeWO7CaLdh2dxdapbcAA== 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 scheduling while atomic in decompression path [ 16.945668][ C0] Call trace: [ 16.945678][ C0] dump_backtrace+0x110/0x204 [ 16.945706][ C0] dump_stack_lvl+0x84/0xbc [ 16.945735][ C0] __schedule_bug+0xb8/0x1ac [ 16.945756][ C0] __schedule+0x724/0xbdc [ 16.945778][ C0] schedule+0x154/0x258 [ 16.945793][ C0] bit_wait_io+0x48/0xa4 [ 16.945808][ C0] out_of_line_wait_on_bit+0x114/0x198 [ 16.945824][ C0] __sync_dirty_buffer+0x1f8/0x2e8 [ 16.945853][ C0] __f2fs_commit_super+0x140/0x1f4 [ 16.945881][ C0] f2fs_commit_super+0x110/0x28c [ 16.945898][ C0] f2fs_handle_error+0x1f4/0x2f4 [ 16.945917][ C0] f2fs_decompress_cluster+0xc4/0x450 [ 16.945942][ C0] f2fs_end_read_compressed_page+0xc0/0xfc [ 16.945959][ C0] f2fs_handle_step_decompress+0x118/0x1cc [ 16.945978][ C0] f2fs_read_end_io+0x168/0x2b0 [ 16.945993][ C0] bio_endio+0x25c/0x2c8 [ 16.946015][ C0] dm_io_dec_pending+0x3e8/0x57c [ 16.946052][ C0] clone_endio+0x134/0x254 [ 16.946069][ C0] bio_endio+0x25c/0x2c8 [ 16.946084][ C0] blk_update_request+0x1d4/0x478 [ 16.946103][ C0] scsi_end_request+0x38/0x4cc [ 16.946129][ C0] scsi_io_completion+0x94/0x184 [ 16.946147][ C0] scsi_finish_command+0xe8/0x154 [ 16.946164][ C0] scsi_complete+0x90/0x1d8 [ 16.946181][ C0] blk_done_softirq+0xa4/0x11c [ 16.946198][ C0] _stext+0x184/0x614 [ 16.946214][ C0] __irq_exit_rcu+0x78/0x144 [ 16.946234][ C0] handle_domain_irq+0xd4/0x154 [ 16.946260][ C0] gic_handle_irq.33881+0x5c/0x27c [ 16.946281][ C0] call_on_irq_stack+0x40/0x70 [ 16.946298][ C0] do_interrupt_handler+0x48/0xa4 [ 16.946313][ C0] el1_interrupt+0x38/0x68 [ 16.946346][ C0] el1h_64_irq_handler+0x20/0x30 [ 16.946362][ C0] el1h_64_irq+0x78/0x7c [ 16.946377][ C0] finish_task_switch+0xc8/0x3d8 [ 16.946394][ C0] __schedule+0x600/0xbdc [ 16.946408][ C0] preempt_schedule_common+0x34/0x5c [ 16.946423][ C0] preempt_schedule+0x44/0x48 [ 16.946438][ C0] process_one_work+0x30c/0x550 [ 16.946456][ C0] worker_thread+0x414/0x8bc [ 16.946472][ C0] kthread+0x16c/0x1e0 [ 16.946486][ C0] ret_from_fork+0x10/0x20 The Linux kernel CVE team has assigned CVE-2023-53262 to this issue. Affected and fixed versions =========================== Issue introduced in 6.0 with commit bff139b49d9f70c1ac5384aac94554846aa834de and fixed in 6.1.28 with commit 74f74c8b8419a289b85aa9c85e5f4d8c2cc9f5fb Issue introduced in 6.0 with commit bff139b49d9f70c1ac5384aac94554846aa834de and fixed in 6.2.15 with commit 977df5c13a4b253a718ec44a4eb957c612bf73f4 Issue introduced in 6.0 with commit bff139b49d9f70c1ac5384aac94554846aa834de and fixed in 6.3.2 with commit d2746c56dd2cc47f70cc3931977be556172c246d Issue introduced in 6.0 with commit bff139b49d9f70c1ac5384aac94554846aa834de and fixed in 6.4 with commit 1aa161e43106d46ca8e9a86f4aa28d420258134b 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-53262 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/compress.c fs/f2fs/f2fs.h fs/f2fs/super.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/74f74c8b8419a289b85aa9c85e5f4d8c2cc9f5fb https://git.kernel.org/stable/c/977df5c13a4b253a718ec44a4eb957c612bf73f4 https://git.kernel.org/stable/c/d2746c56dd2cc47f70cc3931977be556172c246d https://git.kernel.org/stable/c/1aa161e43106d46ca8e9a86f4aa28d420258134b