CVE-2025-68251: Linux kernel · erofs: avoid infinite loops due to corrupted subpage compact indexes
Affects Linux kernelSource CVE Database V5
Not known to be exploited · fixed in e13d315ae077bb7c3c6027cc292401bc0f4ec683 : update Linux kernel when convenient.
Data as of 26 Oct 2026, 13:47 UTC
Rated by Threat Radar · No CVSS score from NVD or the CNA
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 11% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in e13d315ae077bb7c3c6027cc292401bc0f4ec683, dbfac1b85d0753996ddfef636934d431b588dd1f, b18a82503a67a530d48f5a5b429e162749fe2c89 +3
Exploitation evidence
Disclosed: evidence found.
CVE published 16 Dec 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in– |
Description
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()`.
References
- git.kernel.org/stable/c/b18a82503a67a530d48f5a5b429e162749fe2c89 (opens in a new tab)
- git.kernel.org/stable/c/dbfac1b85d0753996ddfef636934d431b588dd1f (opens in a new tab)
- git.kernel.org/stable/c/8675447a8794983f2b7e694b378112772c17635e (opens in a new tab)
- git.kernel.org/stable/c/e13d315ae077bb7c3c6027cc292401bc0f4ec683 (opens in a new tab)