Skip to content
CVE PROGRAM SOURCE RECORD7.8 High

CVE-2025-22114

btrfs: don't clobber ret in btrfs_validate_super()

Description

In the Linux kernel, the following vulnerability has been resolved: btrfs: don't clobber ret in btrfs_validate_super() Commit 2a9bb78cfd36 ("btrfs: validate system chunk array at btrfs_validate_super()") introduces a call to validate_sys_chunk_array() in btrfs_validate_super(), which clobbers the value of ret set earlier. This has the effect of negating the validity checks done earlier, making it so btrfs could potentially try to mount invalid filesystems.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 2a9bb78cfd367fdeff74f15b1e98969912292d9e to < ef6800a2015e706e9852a5ec15263fec9990d012affected
  • 2a9bb78cfd367fdeff74f15b1e98969912292d9e to < 9db9c7dd5b4e1d3205137a094805980082c37716affected

Linux Linux

Default version status: affected

  • 6.14affected
  • 0 to < 6.14unaffected
  • 6.14.2 to ≤ 6.14.*unaffected
  • 6.15 to ≤ *unaffected

References