Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: btrfs: fix root leak if its reloc root is unexpected in merge_reloc_roots() If we have an unexpected reloc_root for our root, we jump to the out label but never drop the reference we obtained for root, resulting in a leak. Add a missing btrfs_put_root() call.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 24213fa46c7080c31d79aa2e3e2f0d9480cab700 before f89df93e8aefa4c1c813f835559f2ac727f79766; affected 24213fa46c7080c31d79aa2e3e2f0d9480cab700 before 3f586b4c92e4272fcd01bf0db0590b63acf3e85b; affected 24213fa46c7080c31d79aa2e3e2f0d9480cab700 before b3d39b03799600c76c33486e2d29b73a771023db; affected 24213fa46c7080c31d79aa2e3e2f0d9480cab700 before 72f673d1c1deb819554d3e7e154f6d84301eb735; affected 24213fa46c7080c31d79aa2e3e2f0d9480cab700 before 60a23d4ea169e27403f3bb023bb98036797c0206; affected 24213fa46c7080c31d79aa2e3e2f0d9480cab700 before 7591d1727067d6063247901ad25c4bdc4e5695c4; affected 24213fa46c7080c31d79aa2e3e2f0d9480cab700 before ce6050bafb4e33377dc17fcc357736bfc351180c |
| Linux / Linux | affected 5.13; unaffected 0 before 5.13; unaffected 5.15.216 through 5.15.*; unaffected 6.1.183 through 6.1.*; unaffected 6.6.148 through 6.6.*; unaffected 6.12.101 through 6.12.*; unaffected 6.18.42 through 6.18.*; unaffected 7.1.6 through 7.1.*; unaffected 7.2 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/f89df93e8aefa4c1c813f835559f2ac727f79766
- https://git.kernel.org/stable/c/3f586b4c92e4272fcd01bf0db0590b63acf3e85b
- https://git.kernel.org/stable/c/b3d39b03799600c76c33486e2d29b73a771023db
- https://git.kernel.org/stable/c/72f673d1c1deb819554d3e7e154f6d84301eb735
- https://git.kernel.org/stable/c/60a23d4ea169e27403f3bb023bb98036797c0206
- https://git.kernel.org/stable/c/7591d1727067d6063247901ad25c4bdc4e5695c4
- https://git.kernel.org/stable/c/ce6050bafb4e33377dc17fcc357736bfc351180c