In the Linux kernel, the following vulnerability has been resolved:ksmbd: fix memory leak in parse_lease_state()The previous patch that added bounds check for create lease contextintroduced a memory leak. When the bounds check fails, the functionreturns NULL without freeing the previously allocated lease_ctx_infostructure.This patch fixes the issue by adding kfree(lreq) before returning NULLin both boundary check cases.
No PoCs from references.
- https://github.com/w4zu/Debian_security