← CVE Intelligence

CVE-2022-49795

rethook: fix a potential memleak in rethook_alloc() PUBLISHED

Description (CNA)

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 (CNA)

Vendor / productVersions
Linux / Linuxaffected 54ecbe6f1ed5138c895bdff55608cf502755b20e before cbc5d1f9a8cc40ba2bc6779b36d2ea1f65bc027c; affected 54ecbe6f1ed5138c895bdff55608cf502755b20e before 0a1ebe35cb3b7aa1f4b26b37e2a0b9ae68dc4ffb
Linux / Linuxaffected 5.18; unaffected 0 before 5.18; unaffected 6.0.10 through 6.0.*; unaffected 6.1 through *

CWE

No CWE identifiers supplied.

References