CVE-2025-68251

In the Linux kernel, the following vulnerability has been resolved: erofs: avoid infinite loops due to corrupted subpage compact indexes Robert reported an infinite loop observed by two crafted images. The root cause is that `clusterofs` can be larger than `lclustersize` for !NONHEAD `lclusters` in corrupted subpage compact indexes, e.g.: blocksize = lclustersize = 512 lcn = 6 clusterofs = 515 Move the corresponding check for full compress indexes to `z_erofs_load_lcluster_from_disk()` to also cover subpage compact compress indexes. It also fixes the position of `m->type >= Z_EROFS_LCLUSTER_TYPE_MAX` check, since it should be placed right after `z_erofs_load_{compact,full}_lcluster()`.

Package Linux Kernel
Published 2025-12-16
Last modified 2026-05-23
Patch available
Yes

Affected versions

Linux kernel versions 6.6.16, 6.7.4, 6.8 and later are affected. Fixed in 6.12.91, 6.17.6, 6.18 and their respective stable series.

Affected from
≥ 6.6.16 ≥ 6.7.4 ≥ 6.8
Fixed in
✓ 6.12.91 6.12.x ✓ 6.17.6 6.17.x ✓ 6.18

References

The following references provide additional information about CVE-2025-68251 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.

Frequently asked questions

  • What is CVE-2025-68251?

    CVE-2025-68251 is a unscored severity Linux kernel vulnerability . It affects Linux kernel versions from 6.6.16 onward and has been patched in 6.12.91, 6.17.6 and 6.18. CVE-2025-68251 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.

  • Is there a patch available for CVE-2025-68251?

    Yes — CVE-2025-68251 has been patched. Fixed versions include 6.12.91, 6.17.6 and 6.18. If you are running Linux kernel 6.6.16 or later up to the fix versions, apply the relevant patch for your kernel branch.

  • Is CVE-2025-68251 actively exploited?

    No — CVE-2025-68251 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.