CVE-2025-71269

btrfs: do not free data reservation in fallback from inline due to -ENOSPC

State
Published
Severity
7.5 High
Published
Mar 18, 2026
Updated
Oct 19, 2026
Reserved
Mar 17, 2026

Read the record on cve.org

Description

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

btrfs: do not free data reservation in fallback from inline due to -ENOSPC

If we fail to create an inline extent due to -ENOSPC, we will attempt to go through the normal COW path, reserve an extent, create an ordered extent, etc. However we were always freeing the reserved qgroup data, which is wrong since we will use data. Fix this by freeing the reserved qgroup data in __cow_file_range_inline() only if we are not doing the fallback (ret is <= 0).

Scores

CVSSScoreVectorSource
3.17.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HLinux

Weaknesses

Affected Products

ProductVersions
LinuxLinux
  • 94ed938aba557aa798acf496f09afb289b619fcd to before 3edd1f6c7c520536b62b2904807033597554dbacAffected
  • 94ed938aba557aa798acf496f09afb289b619fcd to before 3a9fd45afadec1fbfec72057b9473d509fa8b68cAffected
  • 94ed938aba557aa798acf496f09afb289b619fcd to before 0a1fbbd780f04d1b6cf48dd327c866ba937de1c4Affected
  • 94ed938aba557aa798acf496f09afb289b619fcd to before 6de3a371a8b9fd095198b1aa68c22cc10a4c6961Affected
  • 94ed938aba557aa798acf496f09afb289b619fcd to before f8da41de0bff9eb1d774a7253da0c9f637c4470aAffected
LinuxLinux
  • 4.4Affected
  • before 4.4Not affected
  • 6.1.168 through 6.1.*Not affected
  • 6.6.134 through 6.6.*Not affected
  • 6.12.81 through 6.12.*Not affected
  • 6.18.10 through 6.18.*Not affected
  • 6.19 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.