Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: btrfs: scrub: fix local_root reference leak in scrub_print_warning_inode() When paths_from_inode() fails, scrub_print_warning_inode() jumps to err without dropping the reference taken by btrfs_get_fs_root(), leaking a reference to the root every time path resolution fails while printing scrub warnings. Every other error and success path of the function drops the reference. Drop the reference on the paths_from_inode() failure path too.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 558540c17771eaf89b1a3be39aa2c8bc837da1a6 before 41cabfbf3532e2a2a17be9e4876042a5393b5c8d; affected 558540c17771eaf89b1a3be39aa2c8bc837da1a6 before 452a435b74f7f598a343c51f7c89c5d2244384b6; affected 558540c17771eaf89b1a3be39aa2c8bc837da1a6 before 12ba7d8b9cd45a2c6aa8f37c3f4b8a50422fb549; affected 558540c17771eaf89b1a3be39aa2c8bc837da1a6 before a7e5992bc37088f9b00e531955022aef69de3dc7; affected 558540c17771eaf89b1a3be39aa2c8bc837da1a6 before 1fd742c7479961da6d0bb794ef8ac6b7b9442847 |
| Linux / Linux | affected 3.2; unaffected 0 before 3.2; unaffected 6.6.160 through 6.6.*; unaffected 6.12.113 through 6.12.*; unaffected 6.18.57 through 6.18.*; unaffected 7.2.11 through 7.2.*; unaffected 7.3 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/41cabfbf3532e2a2a17be9e4876042a5393b5c8d
- https://git.kernel.org/stable/c/452a435b74f7f598a343c51f7c89c5d2244384b6
- https://git.kernel.org/stable/c/12ba7d8b9cd45a2c6aa8f37c3f4b8a50422fb549
- https://git.kernel.org/stable/c/a7e5992bc37088f9b00e531955022aef69de3dc7
- https://git.kernel.org/stable/c/1fd742c7479961da6d0bb794ef8ac6b7b9442847