CVE-2022-49795

Summary

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 Software

VendorProductVersion RangeStatus
LinuxLinux54ecbe6f1ed5138c895bdff55608cf502755b20e < cbc5d1f9a8cc40ba2bc6779b36d2ea1f65bc027caffected
LinuxLinux54ecbe6f1ed5138c895bdff55608cf502755b20e < 0a1ebe35cb3b7aa1f4b26b37e2a0b9ae68dc4ffbaffected
LinuxLinux5.18affected
LinuxLinux0 < 5.18unaffected
LinuxLinux6.0.10 <= 6.0.*unaffected
LinuxLinux6.1 <= *unaffected

Weaknesses

References