Back

MEDIUM

rethook: fix a potential memleak in rethook_alloc()

Published May 1, 2025

Description

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

Remediation

No remediation recorded yet.

Weaknesses (1)

References (8)

Change history (0)

No recorded changes yet.

Sources

CVE.org / MITRE

Status PUBLISHED
Assigner Linux
Published May 1, 2025
Updated May 11, 2026
Reserved May 1, 2025

CISA Vulnrichment

No data

NVD

Status Analyzed
Modified Jun 17, 2026

Red Hat

Severity Moderate
Public date May 1, 2025
Bugzilla 2363386

ENISA EUVD

Assigner Linux
Published May 1, 2025
Updated May 11, 2026

GitHub

No data