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 77474423154 for ; Wed, 6 May 2026 11:30:42 +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=1778067042; cv=none; b=ikkZdUfrBp7vuBEThDGFuRiblQjK1ConcpyItTj0a7t9CR4LCphjEkYLUTiB8ju7HQgOxsYvs36A8sHoyRzWPWHPqzYGq49GRepgGab6hyfin5g/91ytLcxrlEagUNzmrRD90rLqdMBXBlL89crV0TxEy0lJt2d0cYFRcJ7tmQQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778067042; c=relaxed/simple; bh=TTIZUYXJNU4KAoQnYs8vLGXbX5/vviUAqvuLP/OTpPI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=r/akg8NIaD3cJdNzzCwTIc16G5wSBzcfh4m5Cz5B9FMBULe4P/ZzUkLdTUQTEtd4K8FBXzcDKBJp/urRJJCgq/PWl8YsL4WNthxciZpQAo1DxQijDVzdG+hC9Gg34fjnRv4W0DkNVlLmgUWMNw8Yzh3ZbQO5lnWuRoVKlzZ9xhk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=jve8uoY+; 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="jve8uoY+" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0D31CC2BCB8; Wed, 6 May 2026 11:30:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1778067042; bh=TTIZUYXJNU4KAoQnYs8vLGXbX5/vviUAqvuLP/OTpPI=; h=From:To:Cc:Subject:Date:Reply-To:From; b=jve8uoY+xJ9+XfZ0w/1qw1BQHJ1prhD32ZxiUBlmlMch937xKlhHgUDW/Q9IoEsTm 5p2l0VKNUG8d1veL3mElX/C2E7FTF40cSrKpicmYpKzPjsLyclkXEV9qCPWjV0Jw0M 5YFzVqwE38Wg5ozvx8Aetp/l7bXV8x74+ji6WlfE= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-43166: erofs: fix interlaced plain identification for encoded extents Date: Wed, 6 May 2026 13:28:02 +0200 Message-ID: <2026050633-CVE-2026-43166-b297@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=2378; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=xS8RPDg1hmCkDagw0LKC67jqgy40Ea64t2R1VrmGYIw=; b=owGbwMvMwCRo6H6F97bub03G02pJDJm/VZc9r9gsX7g60+r9r6P8nIfm2Hz4PsXm49M/Ck++2 C7c2iG1pSOWhUGQiUFWTJHlyzaeo/srDil6GdqehpnDygQyhIGLUwAmYtPIsKDtiWOhaITjLn22 tTbeOw5wPOdwlWRY0Nh40XnzI/dujsLg17wHX33cdrflNAA= 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: erofs: fix interlaced plain identification for encoded extents Only plain data whose start position and on-disk physical length are both aligned to the block size should be classified as interlaced plain extents. Otherwise, it must be treated as shifted plain extents. This issue was found by syzbot using a crafted compressed image containing plain extents with unaligned physical lengths, which can cause OOB read in z_erofs_transform_plain(). The Linux kernel CVE team has assigned CVE-2026-43166 to this issue. Affected and fixed versions =========================== Issue introduced in 6.15 with commit 1d191b4ca51d73699cb127386b95ac152af2b930 and fixed in 6.18.16 with commit 9d5a97bc71ed5783687705c708454c4453aa91d1 Issue introduced in 6.15 with commit 1d191b4ca51d73699cb127386b95ac152af2b930 and fixed in 6.19.6 with commit d3790f26d38606f020212486359b84632c19d08b Issue introduced in 6.15 with commit 1d191b4ca51d73699cb127386b95ac152af2b930 and fixed in 7.0 with commit 4a2d046e4b13202a6301a993961f5b30ae4d7119 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-43166 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/erofs/zmap.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/9d5a97bc71ed5783687705c708454c4453aa91d1 https://git.kernel.org/stable/c/d3790f26d38606f020212486359b84632c19d08b https://git.kernel.org/stable/c/4a2d046e4b13202a6301a993961f5b30ae4d7119