BreachSpiderVerified, not vibes

CVE-2025-40150 in Block products

No CVSS score published

In the Linux kernel, the following vulnerability has been resolved: f2fs: fix to avoid migrating empty section It reports a bug from device w/ zufs: F2FS-fs (dm-64): Inconsistent segment (173822) type [1, 0] in SSA and SIT F2FS-fs (dm-64): Stopped filesystem due to reason: 4 Thread A Thread B - f2fs_expand_in...

Affects 1 product from 4 vendors. Facts below cite their sources.

EPSS0.3%
EPSS percentile13th
FixUnknown

Affected products and versions

VendorProductAffected versions
Block — —
Kernel — —
Linux Linux 6.9 ≥ 6.6.33, < 6.6.130
Segment — —

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

In the Linux kernel, the following vulnerability has been resolved: f2fs: fix to avoid migrating empty section It reports a bug from device w/ zufs: F2FS-fs (dm-64): Inconsistent segment (173822) type [1, 0] in SSA and SIT F2FS-fs (dm-64): Stopped filesystem due to reason: 4 Thread A Thread B - f2fs_expand_inode_data - f2fs_allocate_pinning_section - f2fs_gc_range - do_garbage_collect w/ segno #x - writepage - f2fs_allocate_data_block - new_curseg - allocate segno #x The root cause is: fallocate on pinning file may race w/ block allocation as above, result in do_garbage_collect() from fallocate() may migrate segment which is just allocated by a log, the log will update segment type in its in-memory structure, however GC will get segment type from on-disk SSA block, once segment type changes by log, we can detect such inconsistency, then shutdown filesystem. In this case, on-disk SSA shows type of segno #173822 is 1 (SUM_TYPE_NODE), however segno #173822 was just allocated as data type segment, so in-memory SIT shows type of segno #173822 is 0 (SUM_TYPE_DATA). Change as below to fix this issue: - check whether current section is empty before gc - add sanity checks on do_garbage_collect() to avoid any race case, result in migrating segment used by log. - btw, it fixes misc issue in printed logs: "SSA and SIT" -> "SIT and SSA".

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2025-40150
BreachSpider IDBS-2025-GLOBAL-258875-I
Published2025-11-12
Last modified2026-10-19
SourceNVD

Analysis AI-written, not human-reviewed

A bug in the F2FS filesystem implementation within the Linux kernel could lead to filesystem corruption and potential system instability due to inconsistent segment types in the SSA and SIT.

The vulnerability arises from improper handling of empty section migration in the F2FS filesystem, which can be triggered by specific operations leading to inconsistent segment types in the Segment Summary Area (SSA) and Segment Information Table (SIT). This can cause the filesystem to stop due to detected corruption.

Questions

What is CVE-2025-40150?

A bug in the F2FS filesystem implementation within the Linux kernel could lead to filesystem corruption and potential system instability due to inconsistent segment types in the SSA and SIT.

Is CVE-2025-40150 actively exploited?

No confirmed active exploitation of CVE-2025-40150 as of 2026-10-25.

How do I remediate CVE-2025-40150?

Priority: MEDIUM.

What systems are affected by CVE-2025-40150?

CVE-2025-40150 affects Block; Kernel; Linux Linux; Segment.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Block","product":"EDS-518A","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-19.