What’s Vulnerable › Vulnerabilities

CVE-2022-49795: rethook: fix a potential memleak in rethook_alloc()

Description

In the Linux kernel, the following vulnerability has been resolved: rethook: fix a potential memleak in rethook_alloc() In rethook_alloc(), the variable rh is not freed or passed out if handler is NULL, which could lead to a memleak, fix it. [Masami: Add "rethook:" tag to the title.] Acke-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 6.0.10. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-49795 or the next vulnerability affects your stack