CVE-2025-22127
Linux Debian vulnerability analysis and mitigation

Overview

CVE-2025-22127 is a vulnerability discovered in the Linux kernel's F2FS (Flash-Friendly File System) implementation, specifically in the prepare_compress_overwrite() function. The vulnerability was reported by Jan Prusakowski and disclosed on April 16, 2025. The issue affects Linux kernel versions 6.14.0-rc3 and 6.12, particularly impacting systems using F2FS with compression enabled (NVD, RedHat).

Technical details

The vulnerability manifests as a potential deadloop in the prepare_compress_overwrite() function of F2FS. When encountering IO errors while reading compressed cluster pages, the function enters a loop while holding the .writepages lock, which can block all other writeback tasks. The issue has been assigned a CVSS 3.1 score of 5.5 with vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H, indicating a local attack vector with low attack complexity (RedHat).

Impact

The vulnerability can cause a kernel hang condition where the fsstress process becomes blocked in __f2fs_write_data_pages(), leading to system unavailability. This primarily affects the system's availability by blocking writeback tasks, which can result in significant system performance degradation (NVD).

Mitigation and workarounds

The issue has been resolved through two main fixes: adding f2fs_handle_page_eio() in prepare_compress_overwrite() to detect IO errors, and implementing earlier detection of cp_error in f2fs_read_multi_pages(). These patches have been incorporated into the Linux kernel (NVD).

Additional resources


SourceThis report was generated using AI

Related Linux Debian vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-22857MEDIUM6.8
  • Linux DebianLinux Debian
  • freerdp-plugins
NoNoJan 14, 2026
CVE-2026-22856MEDIUM6.8
  • Linux DebianLinux Debian
  • freerdp2
NoNoJan 14, 2026
CVE-2026-22859MEDIUM5.6
  • Linux DebianLinux Debian
  • freerdp3
NoNoJan 14, 2026
CVE-2026-22858MEDIUM5.6
  • Linux DebianLinux Debian
  • freerdp3
NoNoJan 14, 2026
CVE-2026-22036LOW3.7
  • JavaScriptJavaScript
  • node-undici
NoYesJan 14, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management