Menu

Star on GitHub · 3.2k

CVE-2025-40100

In the Linux kernel, the following vulnerability has been resolved: btrfs: do not assert we found block group item when creating free space tree Currently, when building a free space tree at popu…

Published Oct 30, 2025EPSS 0.20%

Overview

CVE-2025-40100 is a known-severity vulnerability. It was published on October 30, 2025.

Technical description

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

btrfs: do not assert we found block group item when creating free space tree

Currently, when building a free space tree at populate_free_space_tree(),

if we are not using the block group tree feature, we always expect to find

block group items (either extent items or a block group item with key type

BTRFS_BLOCK_GROUP_ITEM_KEY) when we search the extent tree with

btrfs_search_slot_for_read(), so we assert that we found an item. However

this expectation is wrong since we can have a new block group created in

the current transaction which is still empty and for which we still have

not added the block group's item to the extent tree, in which case we do

not have any items in the extent tree associated to the block group.

The insertion of a new block group's block group item in the extent tree

happens at btrfs_create_pending_block_groups() when it calls the helper

insert_block_group_item(). This typically is done when a

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

CVE-2025-40100 is a known-severity vulnerability. It was published on October 30, 2025.

How severe is CVE-2025-40100?

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

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

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