CVE-2026-43166

erofs: fix interlaced plain identification for encoded extents

Published May 6, 2026 CVSS 3.1 · 7.1 High EPSS < 1% KEV · Not listed
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().

Analysis

AI-generated

Technical impact

The erofs filesystem contains logic that misclassifies plain data extents whose on‑disk physical length is misaligned to the block size; these are incorrectly treated as interlaced extents and processed by z_erofs_transform_plain. This flaw triggers an out‑of‑bounds read, exposing kernel data that may include sensitive information, an exemplification of CWE‑787.

Affected Systems

Any Linux kernel installation that uses the erofs filesystem and has not incorporated the commit referenced in the advisory is affected. Since no explicit version range is provided, all distributions shipping a kernel prior to the fix are potentially vulnerable, regardless of the underlying distribution vendor. Systems that mount or load erofs images, particularly from untrusted sources, fall under this risk.

Risk and Exploitability

Based on the description, the vulnerability is triggered when the kernel processes a crafted erofs image containing plain extents with unaligned physical lengths. It is inferred that a local or privileged attacker who can mount or load such an image can exploit the flaw to read memory beyond the intended buffer (CWE‑787). Remote exploitation would require a service that accepts arbitrary erofs images, which is uncommon. The CVSS score of 7.1 indicates significant impact, while the EPSS score of < 1% shows a low probability of exploitation. The CVE is not listed in CISA KEV, so no active exploitation is known, but the potential information disclosure could provide a foothold for further attacks.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply a kernel update that includes the erofs fix or backport the patch to the running kernel.
  • If an immediate upgrade is not feasible, disable erofs support by unloading the module or recompiling the kernel without erofs support.
  • Restrict mounting of erofs images to trusted users only and avoid loading untrusted images until the patch is applied.

Generated by OpenCVE AI on May 14, 2026 at 00:05 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-787
CPEs cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:*
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.1, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H'}

Type Values Removed Values Added
Weaknesses CWE-125
Type Values Removed Values Added
Weaknesses CWE-125
Type Values Removed Values Added
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().
Title erofs: fix interlaced plain identification for encoded extents
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-1284

    Improper Validation of Specified Quantity in Input

  • CWE-787

    Out-of-bounds Write

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Aug 5, 2026, 12:26 PM
Reserved
May 1, 2026, 2:12 PM
Status
Analyzed
Published
May 6, 2026, 12:16 PM
Modified
Nov 11, 2026, 8:10 PM
Severity
Public date
May 6, 2026, 12:00 AM