CVE-2025-21752
Linux Debian vulnerability analysis and mitigation

Overview

A vulnerability in the Linux kernel's btrfs filesystem has been identified and assigned CVE-2025-21752. The issue involves the improper use of btrfs_set_item_key_safe() function when modifying keys in the RAID stripe-tree, which can lead to corruption of the tree. This vulnerability was discovered and patched in February 2025 (Kernel Git).

Technical details

The vulnerability occurs in the btrfs filesystem's RAID stripe-tree handling code. When btrfs_set_item_key_safe() is used to modify keys in the RAID stripe-tree, it can trigger a kernel BUG at fs/btrfs/ctree.c:2602, resulting in an invalid opcode error. The issue manifests when attempting to modify the keys and per-device physical addresses in the RAID stripe-tree, causing tree order corruption that is detected by the checks in btrfs_set_item_key_safe() (Kernel Git).

Impact

When triggered, this vulnerability causes a kernel panic due to tree corruption, which can lead to system crashes and potential filesystem inconsistencies. The issue affects systems using the btrfs filesystem with RAID configurations (NVD).

Mitigation and workarounds

The issue has been fixed by replacing the use of btrfs_set_item_key_safe() with a safer approach using btrfs_duplicate_item() to copy the item and then adjusting both the key and the per-device physical addresses. Users should update to the patched version of the Linux kernel that includes this fix (Kernel Git).

Additional resources


SourceThis report was generated using AI

Related Linux Debian vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-22776HIGH8.7
  • Linux DebianLinux Debian
  • cpp-httplib
NoNoJan 12, 2026
CVE-2026-22801MEDIUM6.8
  • OpenJDK JDKOpenJDK JDK
  • java-21-openjdk-demo-fastdebug
NoYesJan 12, 2026
CVE-2026-22695MEDIUM6.1
  • OpenJDK JDKOpenJDK JDK
  • java-25-openjdk-static-libs
NoYesJan 12, 2026
CVE-2026-22251MEDIUM5.3
  • PythonPython
  • wlc
NoYesJan 12, 2026
CVE-2026-0665N/AN/A
  • Linux DebianLinux Debian
  • qemu
NoNoJan 13, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management