CVE-2022-50438
kernel: net: hinic: fix memory leak when reading function table
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · October 1, 2025
Updated · June 30, 2026
Description
In the Linux kernel, the following vulnerability has been resolved:
net: hinic: fix memory leak when reading function table
When the input parameter idx meets the expected case option in hinic_dbg_get_func_table(), read_data is not released. Fix it.
Statement
A memory leak in the HINIC debugfs helper (hinic_dbg_get_func_table) left an allocated buffer unreleased on several return paths, enabling repeated queries to leak kernel memory. Severity is limited because this lives under debugfs and typically requires privileged access and the HINIC driver + debugfs to be present.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE-401 · Missing Release of Memory after Effective Lifetime