In the Linux kernel, the following vulnerability has been resolved: dm persistent data: don't leak bufio buffer if find_leaf fails If find_leaf fails, the function dm_btree_cursor_begin would return an error, but it would keep the dm-bufio buffers held. This would result in a memory leak and a warning when releasing the dm-bufio cache. This commit fixes it, so that dm_btree_cursor_begin releases the buffers on error.
https://git.kernel.org/stable/c/bfd2dd730629938245eee61c5d561cb740395f88
https://git.kernel.org/stable/c/b27523a0781aae0b51ac13f29dc65373d14b8434
https://git.kernel.org/stable/c/a844a191866f0514a5133838bc438a21e651310d
https://git.kernel.org/stable/c/67284a267a4bddcc8610b47aa5f1f93dc68c885d
https://git.kernel.org/stable/c/48d25ded6a78130e095f87f2fe094a9325eb6e81
https://git.kernel.org/stable/c/3cac4533e0d6ef1c1f49ed806bea79639ea70308