Skip to content
CVE PROGRAM SOURCE RECORDUnscored

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 54ecbe6f1ed5138c895bdff55608cf502755b20e to < cbc5d1f9a8cc40ba2bc6779b36d2ea1f65bc027caffected
  • 54ecbe6f1ed5138c895bdff55608cf502755b20e to < 0a1ebe35cb3b7aa1f4b26b37e2a0b9ae68dc4ffbaffected

Linux Linux

Default version status: affected

  • 5.18affected
  • 0 to < 5.18unaffected
  • 6.0.10 to ≤ 6.0.*unaffected
  • 6.1 to ≤ *unaffected

References