CVE-2022-49795

Source
https://cve.org/CVERecord?id=CVE-2022-49795
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49795.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-49795
Downstream
Related
Published
2025-05-01T14:09:25.764Z
Modified
2026-03-12T03:25:45.967968Z
Summary
rethook: fix a potential memleak in rethook_alloc()
Details

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

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49795.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
54ecbe6f1ed5138c895bdff55608cf502755b20e
Fixed
cbc5d1f9a8cc40ba2bc6779b36d2ea1f65bc027c
Fixed
0a1ebe35cb3b7aa1f4b26b37e2a0b9ae68dc4ffb

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49795.json"