Menu

Star on GitHub · 3.2k

CVE-2025-22123

5.5 · MEDIUM

In the Linux kernel, the following vulnerability has been resolved: f2fs: fix to avoid accessing uninitialized curseg syzbot reports a f2fs bug as below: F2FS-fs (loop3): Stopped filesystem due…

Published Apr 16, 2025CWE-908EPSS 0.19%

Overview

CVE-2025-22123 is a medium-severity vulnerability. It was published on April 16, 2025 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical description

In the Linux kernel, the following vulnerability has been resolved:

f2fs: fix to avoid accessing uninitialized curseg

syzbot reports a f2fs bug as below:

F2FS-fs (loop3): Stopped filesystem due to reason: 7

kworker/u8:7: attempt to access beyond end of device

BUG: unable to handle page fault for address: ffffed1604ea3dfa

RIP: 0010:get_ckpt_valid_blocks fs/f2fs/segment.h:361 [inline]

RIP: 0010:has_curseg_enough_space fs/f2fs/segment.h:570 [inline]

RIP: 0010:__get_secs_required fs/f2fs/segment.h:620 [inline]

RIP: 0010:has_not_enough_free_secs fs/f2fs/segment.h:633 [inline]

RIP: 0010:has_enough_free_secs+0x575/0x1660 fs/f2fs/segment.h:649

<TASK>

f2fs_is_checkpoint_ready fs/f2fs/segment.h:671 [inline]

f2fs_write_inode+0x425/0x540 fs/f2fs/inode.c:791

write_inode fs/fs-writeback.c:1525 [inline]

__writeback_single_inode+0x708/0x10d0 fs/fs-writeback.c:1745

writeback_sb_inodes+0x820/0x1360 fs/fs-writeback.c:1976

wb_writeback+0x413/0xb80 fs/fs-writeback.c:2156

wb_do_writeback fs/fs-wr

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2025-22123?

CVE-2025-22123 is a medium-severity vulnerability. It was published on April 16, 2025 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

How severe is CVE-2025-22123?

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2025-22123?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2025-22123?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2025-22123 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related MEDIUM CVEs from 2025

View all