CVE-2022-49795

published 1 May 2025 · updated 7 Nov 2026

rethook: fix a potential memleak in rethook_alloc()

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel cbc5d1f9a8cc40ba2bc6779b36d2ea1f65bc027c, Kernel 6.0.10 and Kernel 0a1ebe35cb3b7aa1f4b26b37e2a0b9ae68dc4ffb.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=54ecbe6f1ed5138c895bdff55608cf502755b20e <cbc5d1f9a8cc40ba2bc6779b36d2ea1f65bc027c, =6.1, >=5.18 <6.0.10, =5.18, >=54ecbe6f1ed5138c895bdff55608cf502755b20e <0a1ebe35cb3b7aa1f4b26b37e2a0b9ae68dc4ffbcbc5d1f9a8cc40ba2bc6779b36d2ea1f65bc027c, 6.0.10, 0a1ebe35cb3b7aa1f4b26b37e2a0b9ae68dc4ffb
linux-kernel: Kernel>=5.18.0 <6.0.106.0.10

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-49795 severity on Zeptric[![CVE-2022-49795](https://zeptric.io/badge/cve/CVE-2022-49795.svg)](https://zeptric.io/cve/CVE-2022-49795)