btrfs: do not free data reservation in fallback from inline due to -ENOSPC
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 0a1fbbd780f04d1b6cf48dd327c866ba937de1c4, Kernel 3a9fd45afadec1fbfec72057b9473d509fa8b68c, Kernel 3edd1f6c7c520536b62b2904807033597554dbac and 2 more.
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).
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =4.4, >=94ed938aba557aa798acf496f09afb289b619fcd <0a1fbbd780f04d1b6cf48dd327c866ba937de1c4, >=94ed938aba557aa798acf496f09afb289b619fcd <3a9fd45afadec1fbfec72057b9473d509fa8b68c, >=94ed938aba557aa798acf496f09afb289b619fcd <3edd1f6c7c520536b62b2904807033597554dbac, >=94ed938aba557aa798acf496f09afb289b619fcd <6de3a371a8b9fd095198b1aa68c22cc10a4c6961, >=94ed938aba557aa798acf496f09afb289b619fcd <f8da41de0bff9eb1d774a7253da0c9f637c4470a | 0a1fbbd780f04d1b6cf48dd327c866ba937de1c4, 3a9fd45afadec1fbfec72057b9473d509fa8b68c, 3edd1f6c7c520536b62b2904807033597554dbac, 6de3a371a8b9fd095198b1aa68c22cc10a4c6961, f8da41de0bff9eb1d774a7253da0c9f637c4470a |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket