Linux
btrfs: don't clobber ret in btrfs_validate_super()
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 2a9bb78cfd367fdeff74f15b1e98969912292d9e, < ef6800a2015e706e9852a5ec15263fec9990d012
- >= 2a9bb78cfd367fdeff74f15b1e98969912292d9e, < 9db9c7dd5b4e1d3205137a094805980082c37716
Fixed in ef6800a2015e706e9852a5ec15263fec9990d012, 9db9c7dd5b4e1d3205137a094805980082c37716
- 6.14
Fixed in 0, 6.14.2, 6.15
Mitigation
Upgrade Linux to ef6800a2015e706e9852a5ec15263fec9990d012 or 9db9c7dd5b4e1d3205137a094805980082c37716 or later.
Upgrade Linux to 0 or 6.14.2 or 6.15 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.