CVE-2025-22127: Linux kernel · f2fs: fix potential deadloop in prepare_compress_overwrite()
Affects Linux kernelSource GCVE Database
Not known to be exploited · CVSS 5.5 Medium.
Data as of 26 Oct 2026, 16:39 UTC
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 8% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 16 Apr 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
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 25.10linux-azure-fdepkg:deb/ubuntu/linux-azure-fde?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSlinuxpkg:deb/ubuntu/linux?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSlinux-awspkg:deb/ubuntu/linux-aws?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSlinux-azurepkg:deb/ubuntu/linux-azure?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSlinux-azure-6.11pkg:deb/ubuntu/linux-azure-6.11?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSlinux-azure-fdepkg:deb/ubuntu/linux-azure-fde?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix is available and has been incorporated into updated Linux kernel releases. Users should apply the official kernel updates that include this patch to resolve the issue. Refer to the Ubuntu security advisory USN-7594-1 and other vendor advisories for patched kernel versions. No additional mitigation is required once the patch is applied.
Description
A potential deadlock vulnerability in the Linux kernel's f2fs filesystem was fixed. The issue caused a kernel hang due to a deadloop in the prepare_compress_overwrite() function when handling IO errors during compressed cluster page reads. This could block writeback tasks and cause system instability. The fix adds error detection and handling to prevent the deadloop. The vulnerability affects specific Linux kernel versions listed and has a medium severity rating with no confidentiality or integrity impact but availability impact due to hangs.
References
- ubuntu.com/security/CVE-2025-22127 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2025-22127 (opens in a new tab)
- git.kernel.org/linus/3147ee567dd9004a49826ddeaf0a4b12865d4409 (opens in a new tab)
- git.kernel.org/stable/c/3147ee567dd9004a49826ddeaf0a4b12865d4409 (opens in a new tab)
- git.kernel.org/stable/c/7215cf8ef54bdc9082dffac4662416d54961e258 (opens in a new tab)
- ubuntu.com/security/notices/USN-7594-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7594-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7594-3 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2025-22127 (opens in a new tab)
- git.kernel.org/stable/c/7cd460bd9e7c6e6c30a33982603f65fb5deab1e4 (opens in a new tab)