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 A09AB480950 for ; Tue, 5 May 2026 15:23:50 +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=1777994630; cv=none; b=c7f4BVGZdjCi/IzuJXfCdwvwgEYHixIAoj9PlvexmpwJ86Yg+H0/ymFlo+ud4C0hgKz7elYcyZDWA6uxN9QEzJhoMQY6zMFeV3PTHYv3RLbMRdsB7g5lLnEZJHz4Iu/AoNqiHds45ZNhhjCjSBkQ31DZ7AyY9T1ieehO0U64c5Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777994630; c=relaxed/simple; bh=siFRAwe1STvzhnjzmHCyWINle1RSbKS53rha1jABMGY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Bz7zP5suWsZmNyYKbRQ5iHQyWEwX1HnDwKod5XP5DkQgh7MqWM65aPEBdo9mUNyZxBAZSr/Td+mdi2HZfLrt4GwMtHzge+XwVCjiuxfiNynzAxYOKqayTE+4PJVTsAvFd2yNtoNIH76HWmKS6i9RKNziO+lHBDerdNemKuzcIvw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=N0zlo+7h; 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="N0zlo+7h" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 36D1DC2BCB4; Tue, 5 May 2026 15:23:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1777994630; bh=siFRAwe1STvzhnjzmHCyWINle1RSbKS53rha1jABMGY=; h=From:To:Cc:Subject:Date:Reply-To:From; b=N0zlo+7h79PFFdQSe3LnxYnhsoXbDt0CXk6s0OXuXwFCznZJxIzQbZNr4M+h4oJzW keOLGK8Aa9RZ9Df3JR0fJYCVl9I4TvBbYe4Ve56oMH1cXGUFo2dogRrAkeQ/F5TB69 MGAoQ76bNwNhe/IOqghsVrTTAtJDqm1B3hqIo3dQ= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-43068: ext4: avoid allocate block from corrupted group in ext4_mb_find_by_goal() Date: Tue, 5 May 2026 17:23:37 +0200 Message-ID: <2026050533-CVE-2026-43068-7bf7@gregkh> X-Mailer: git-send-email 2.54.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=5644; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=C/hxTB05TJmaAXa3ZHnxmZU0EMKQQLNbQ2vUVlhc2YQ=; b=owGbwMvMwCRo6H6F97bub03G02pJDJm/uEt/rF4l6hNbWMP6coOPwK+lT0/uebF7gfDtK+vMG WV3yd/I6ohlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJ7NBlWNDdeudbjJm0e7w0 4y8T7jtPL2263s4wP8tf4cr8zq0mQYu8cjgXdEsasWWeAQA= 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: ext4: avoid allocate block from corrupted group in ext4_mb_find_by_goal() There's issue as follows: ... EXT4-fs (mmcblk0p1): Delayed block allocation failed for inode 206 at logical offset 0 with max blocks 1 with error 117 EXT4-fs (mmcblk0p1): This should not happen!! Data will be lost EXT4-fs (mmcblk0p1): Delayed block allocation failed for inode 206 at logical offset 0 with max blocks 1 with error 117 EXT4-fs (mmcblk0p1): This should not happen!! Data will be lost EXT4-fs (mmcblk0p1): Delayed block allocation failed for inode 206 at logical offset 0 with max blocks 1 with error 117 EXT4-fs (mmcblk0p1): This should not happen!! Data will be lost EXT4-fs (mmcblk0p1): Delayed block allocation failed for inode 206 at logical offset 0 with max blocks 1 with error 117 EXT4-fs (mmcblk0p1): This should not happen!! Data will be lost EXT4-fs (mmcblk0p1): Delayed block allocation failed for inode 2243 at logical offset 0 with max blocks 1 with error 117 EXT4-fs (mmcblk0p1): This should not happen!! Data will be lost EXT4-fs (mmcblk0p1): Delayed block allocation failed for inode 2239 at logical offset 0 with max blocks 1 with error 117 EXT4-fs (mmcblk0p1): This should not happen!! Data will be lost EXT4-fs (mmcblk0p1): error count since last fsck: 1 EXT4-fs (mmcblk0p1): initial error at time 1765597433: ext4_mb_generate_buddy:760 EXT4-fs (mmcblk0p1): last error at time 1765597433: ext4_mb_generate_buddy:760 ... According to the log analysis, blocks are always requested from the corrupted block group. This may happen as follows: ext4_mb_find_by_goal ext4_mb_load_buddy ext4_mb_load_buddy_gfp ext4_mb_init_cache ext4_read_block_bitmap_nowait ext4_wait_block_bitmap ext4_validate_block_bitmap if (!grp || EXT4_MB_GRP_BBITMAP_CORRUPT(grp)) return -EFSCORRUPTED; // There's no logs. if (err) return err; // Will return error ext4_lock_group(ac->ac_sb, group); if (unlikely(EXT4_MB_GRP_BBITMAP_CORRUPT(e4b->bd_info))) // Unreachable goto out; After commit 9008a58e5dce ("ext4: make the bitmap read routines return real error codes") merged, Commit 163a203ddb36 ("ext4: mark block group as corrupt on block bitmap error") is no real solution for allocating blocks from corrupted block groups. This is because if 'EXT4_MB_GRP_BBITMAP_CORRUPT(e4b->bd_info)' is true, then 'ext4_mb_load_buddy()' may return an error. This means that the block allocation will fail. Therefore, check block group if corrupted when ext4_mb_load_buddy() returns error. The Linux kernel CVE team has assigned CVE-2026-43068 to this issue. Affected and fixed versions =========================== Issue introduced in 3.12 with commit 163a203ddb36c36d4a1c942aececda0cc8d06aa7 and fixed in 5.10.253 with commit fea6b2e250ff48f10d166011b57a8516ae5438c9 Issue introduced in 3.12 with commit 163a203ddb36c36d4a1c942aececda0cc8d06aa7 and fixed in 5.15.203 with commit 0b84571c886719823d537f05f4f07cad6357c4b7 Issue introduced in 3.12 with commit 163a203ddb36c36d4a1c942aececda0cc8d06aa7 and fixed in 6.1.168 with commit ffc0a282462d45fee5957621be5afa29752f3b6d Issue introduced in 3.12 with commit 163a203ddb36c36d4a1c942aececda0cc8d06aa7 and fixed in 6.6.131 with commit 2d31a5073f86a177edf44015e0dedb0c47cfd6d8 Issue introduced in 3.12 with commit 163a203ddb36c36d4a1c942aececda0cc8d06aa7 and fixed in 6.12.80 with commit 9370207b36d26e45a8c8ef0500706d37036edd6b Issue introduced in 3.12 with commit 163a203ddb36c36d4a1c942aececda0cc8d06aa7 and fixed in 6.18.21 with commit 1895f7904be71c48f1e6f338b28f24dabd6b8aeb Issue introduced in 3.12 with commit 163a203ddb36c36d4a1c942aececda0cc8d06aa7 and fixed in 6.19.11 with commit 1c0d7c4cde38a887c6d74e0c89ddb25226943c78 Issue introduced in 3.12 with commit 163a203ddb36c36d4a1c942aececda0cc8d06aa7 and fixed in 7.0 with commit 46066e3a06647c5b186cc6334409722622d05c44 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-43068 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/ext4/mballoc.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/fea6b2e250ff48f10d166011b57a8516ae5438c9 https://git.kernel.org/stable/c/0b84571c886719823d537f05f4f07cad6357c4b7 https://git.kernel.org/stable/c/ffc0a282462d45fee5957621be5afa29752f3b6d https://git.kernel.org/stable/c/2d31a5073f86a177edf44015e0dedb0c47cfd6d8 https://git.kernel.org/stable/c/9370207b36d26e45a8c8ef0500706d37036edd6b https://git.kernel.org/stable/c/1895f7904be71c48f1e6f338b28f24dabd6b8aeb https://git.kernel.org/stable/c/1c0d7c4cde38a887c6d74e0c89ddb25226943c78 https://git.kernel.org/stable/c/46066e3a06647c5b186cc6334409722622d05c44