Menu

Star on GitHub · 3.4k

CVE-2025-21752

5.5 · MEDIUM

In the Linux kernel, the following vulnerability has been resolved: btrfs: don't use btrfs_set_item_key_safe on RAID stripe-extents Don't use btrfs_set_item_key_safe() to modify the keys in the R…

Published Feb 27, 2025EPSS 0.17%

Overview

CVE-2025-21752 is a medium-severity vulnerability. It was published on February 27, 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:

btrfs: don't use btrfs_set_item_key_safe on RAID stripe-extents

Don't use btrfs_set_item_key_safe() to modify the keys in the RAID

stripe-tree, as this can lead to corruption of the tree, which is caught

by the checks in btrfs_set_item_key_safe():

BTRFS info (device nvme1n1): leaf 49168384 gen 15 total ptrs 194 free space 8329 owner 12

BTRFS info (device nvme1n1): refs 2 lock_owner 1030 current 1030

[ snip ]

item 105 key (354549760 230 20480) itemoff 14587 itemsize 16

stride 0 devid 5 physical 67502080

item 106 key (354631680 230 4096) itemoff 14571 itemsize 16

stride 0 devid 1 physical 88559616

item 107 key (354631680 230 32768) itemoff 14555 itemsize 16

stride 0 devid 1 physical 88555520

item 108 key (354717696 230 28672) itemoff 14539 itemsize 16

stride 0 devid 2 physical 67604480

[ snip ]

BTRFS critical (device nvme1n1): slot

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

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

How severe is CVE-2025-21752?

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

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

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