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()`.
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.
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.
-
PatchKernel patch commithttps://git.kernel.org/stable/c/8675447a8794983f2b7e694b378112772c17635e
-
PatchKernel patch commithttps://git.kernel.org/stable/c/dbfac1b85d0753996ddfef636934d431b588dd1f
-
PatchKernel patch commithttps://git.kernel.org/stable/c/e13d315ae077bb7c3c6027cc292401bc0f4ec683
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.