Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-23130

MEDIUM 5.5EPSS 13%

f2fs: fix to avoid panic once fallocation fails for pinfile

Mitigation

  • Upgrade Linux to 48ea8b200414ac69ea96f4c231f5c7ef1fbeffef or later.

Who should check

  • Anyone running Linux >= f5a53edcf01eae21dc3ef1845515229e8459e5cc, < 2dda0930fb79b847b4bfceb737577d0f6bc24d7d; >= f5a53edcf01eae21dc3ef1845515229e8459e5cc, < 9392862608d081a8346a3b841f862d732fce954b; >= f5a53edcf01eae21dc3ef1845515229e8459e5cc, < 48ea8b200414ac69ea96f4c231f5c7ef1fbeffef
  • Anyone running Linux 5.5

Vulnerability facts

Affected
Linux >= f5a53edcf01eae21dc3ef1845515229e8459e5cc, < 2dda0930fb79b847b4bfceb737577d0f6bc24d7d; >= f5a53edcf01eae21dc3ef1845515229e8459e5cc, < 9392862608d081a8346a3b841f862d732fce954b; >= f5a53edcf01eae21dc3ef1845515229e8459e5cc, < 48ea8b200414ac69ea96f4c231f5c7ef1fbeffef; Linux 5.5
Fixed in
Linux 2dda0930fb79b847b4bfceb737577d0f6bc24d7d, Linux 9392862608d081a8346a3b841f862d732fce954b, Linux 48ea8b200414ac69ea96f4c231f5c7ef1fbeffef
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: High
EPSS
0.28% chance of exploitation in 30 days (percentile 13, 2026-11-26)
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: f2fs: fix to avoid panic once fallocation fails for pinfile syzbot reports a f2fs bug as below: ------------[ cut here ]------------ kernel BUG at fs/f2fs/segment.c:2746! CPU: 0 UID: 0 PID: 5323 Comm: syz.0.0 Not tainted 6.13.0-rc2-syzkaller-00018-g7cb1b4663150 #0 RIP: 0010:get_new_segment fs/f2fs/segment.c:2746 [inline] RIP: 0010:new_curseg+0x1f52/0x1f70 fs/f2fs/segment.c:2876 Call Trace: <TASK> __allocate_new_segment+0x1ce/0x940 fs/f2fs/segment.c:3210 f2fs_allocate_new_section fs/f2fs/segment.c:3224 [inline] f2fs_allocate_pinning_section+0xfa/0x4e0 fs/f2fs/segment.c:3238 f2fs_expand_inode_data+0x696/0xca0 fs/f2fs/file.c:1830 f2fs_fallocate+0x537/0xa10 fs/f2fs/file.c:1940 vfs_fallocate+0x569/0x6e0 fs/open.c:327 do_vfs_ioctl+0x258c/0x2e40 fs/ioctl.c:885 __do_sys_ioctl fs/ioctl.c:904 [inline] __se_sys_ioctl+0x80/0x170 fs/ioctl.c:892 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f Concurrent pinfile allocation may run out of free section, result in panic in get_new_segment(), let's expand pin_sem lock coverage to include f2fs_gc(), so that we can make sure to reclaim enough free space for following allocation. In addition, do below changes to enhance error path handling: - call f2fs_bug_on() only in non-pinfile allocation path in get_new_segment(). - call reset_curseg_fields() to reset all fields of curseg in new_curseg()

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= f5a53edcf01eae21dc3ef1845515229e8459e5cc, < 2dda0930fb79b847b4bfceb737577d0f6bc24d7d; >= f5a53edcf01eae21dc3ef1845515229e8459e5cc, < 9392862608d081a8346a3b841f862d732fce954b; >= f5a53edcf01eae21dc3ef1845515229e8459e5cc, < 48ea8b200414ac69ea96f4c231f5c7ef1fbeffef—cvelist
Linux5.5—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2025-23130. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-23130.md
Affected: Linux >= f5a53edcf01eae21dc3ef1845515229e8459e5cc, < 2dda0930fb79b847b4bfceb737577d0f6bc24d7d; >= f5a53edcf01eae21dc3ef1845515229e8459e5cc, < 9392862608d081a8346a3b841f862d732fce954b; >= f5a53edcf01eae21dc3ef1845515229e8459e5cc, < 48ea8b200414ac69ea96f4c231f5c7ef1fbeffef; Linux 5.5
Fixed in: Linux 2dda0930fb79b847b4bfceb737577d0f6bc24d7d, Linux 9392862608d081a8346a3b841f862d732fce954b, Linux 48ea8b200414ac69ea96f4c231f5c7ef1fbeffef

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2025-23130 being exploited?

There is no confirmed exploitation: CVE-2025-23130 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.28% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2025-23130?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2025-23130?

Linux >= f5a53edcf01eae21dc3ef1845515229e8459e5cc, < 2dda0930fb79b847b4bfceb737577d0f6bc24d7d; >= f5a53edcf01eae21dc3ef1845515229e8459e5cc, < 9392862608d081a8346a3b841f862d732fce954b; >= f5a53edcf01eae21dc3ef1845515229e8459e5cc, < 48ea8b200414ac69ea96f4c231f5c7ef1fbeffef; Linux 5.5.

Is there a fix for CVE-2025-23130?

Yes. Fixed in Linux 2dda0930fb79b847b4bfceb737577d0f6bc24d7d, Linux 9392862608d081a8346a3b841f862d732fce954b, Linux 48ea8b200414ac69ea96f4c231f5c7ef1fbeffef. Upgrade Linux to 48ea8b200414ac69ea96f4c231f5c7ef1fbeffef or later.

How do I check if I'm affected by CVE-2025-23130?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors