Menu

Star on GitHub · 3.2k

CVE-2025-40137

In the Linux kernel, the following vulnerability has been resolved: f2fs: fix to truncate first page in error path of f2fs_truncate() syzbot reports a bug as below: loop0: detected capacity chan…

Published Nov 12, 2025EPSS 0.21%

Overview

CVE-2025-40137 is a known-severity vulnerability. It was published on November 12, 2025.

Technical description

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

f2fs: fix to truncate first page in error path of f2fs_truncate()

syzbot reports a bug as below:

loop0: detected capacity change from 0 to 40427

F2FS-fs (loop0): Wrong SSA boundary, start(3584) end(4096) blocks(3072)

F2FS-fs (loop0): Can't find valid F2FS filesystem in 1th superblock

F2FS-fs (loop0): invalid crc value

F2FS-fs (loop0): f2fs_convert_inline_folio: corrupted inline inode ino=3, i_addr[0]:0x1601, run fsck to fix.

------------[ cut here ]------------

kernel BUG at fs/inode.c:753!

RIP: 0010:clear_inode+0x169/0x190 fs/inode.c:753

Call Trace:

<TASK>

evict+0x504/0x9c0 fs/inode.c:810

f2fs_fill_super+0x5612/0x6fa0 fs/f2fs/super.c:5047

get_tree_bdev_flags+0x40e/0x4d0 fs/super.c:1692

vfs_get_tree+0x8f/0x2b0 fs/super.c:1815

do_new_mount+0x2a2/0x9e0 fs/namespace.c:3808

do_mount fs/namespace.c:4136 [inline]

__do_sys_mount fs/namespace.c:4347 [inline]

__se_sys_mount+0x317/0x410 fs/namespace.c:4324

do_syscal

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-40137?

CVE-2025-40137 is a known-severity vulnerability. It was published on November 12, 2025.

How severe is CVE-2025-40137?

CVSS score information is not yet available for this vulnerability. Check back as the CVE record is updated by NVD analysts.

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

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-40137?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2025-40137 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.