CVE-2025-23130: Linux kernel · f2fs: fix to avoid panic once fallocation fails for pinfile
Source GCVE Database
Not known to be exploited · CVSS 5.5 Medium.
Data as of 4 Nov 2026, 17:23 UTC
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
Weaponized: 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 4 Nov 2026.
What to do
AI-suggested
A fix is available that expands locking around pinfile allocation and garbage collection to prevent the panic and improves error path handling. Users should apply the official Linux kernel patch that addresses this issue. Since this is a kernel-level vulnerability, updating to a fixed kernel version is the recommended remediation. No alternative mitigations or workarounds are indicated.
Description
CVE-2025-23130 is a medium-severity vulnerability in the Linux kernel's f2fs filesystem driver that could cause a kernel panic when fallocation fails during pinfile allocation. The issue arises from concurrent pinfile allocations exhausting free sections, leading to a panic in get_new_segment(). The fix involves expanding lock coverage to ensure enough free space is reclaimed and improving error handling to prevent the panic.
References
- nvd.nist.gov/vuln/detail/CVE-2025-23130 (opens in a new tab)
- git.kernel.org/stable/c/2dda0930fb79b847b4bfceb737577d0f6bc24d7d (opens in a new tab)
- git.kernel.org/stable/c/48ea8b200414ac69ea96f4c231f5c7ef1fbeffef (opens in a new tab)
- git.kernel.org/stable/c/9392862608d081a8346a3b841f862d732fce954b (opens in a new tab)