---
id: CVE-2022-50438
title: 'net: hinic: fix memory leak when reading function table'
summary: |-
  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 rel…
severity: none
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= 5215e16244ee5889cc6135381acdbf4cbcb7905a <
    bb01910763f935b16538084b4269696e0de17f79
  - >-
    Linux >= 5215e16244ee5889cc6135381acdbf4cbcb7905a <
    e6765fe8de372a84f8dbe9e03ec13c7c70f946b8
  - >-
    Linux >= 5215e16244ee5889cc6135381acdbf4cbcb7905a <
    ee98ab337036c983239aa550850861c88a5c4262
  - >-
    Linux >= 5215e16244ee5889cc6135381acdbf4cbcb7905a <
    4c1f602df8956bc0decdafd7e4fc7eef50c550b1
  - Linux 5.10
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-11-05T20:11:05.304262Z'
published: '2025-10-01'
updated: '2026-11-05'
sourceUpdated: '2026-11-05T20:20:44.324Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2022-50438'
references:
  - url: 'https://git.kernel.org/stable/c/bb01910763f935b16538084b4269696e0de17f79'
  - url: 'https://git.kernel.org/stable/c/e6765fe8de372a84f8dbe9e03ec13c7c70f946b8'
  - url: 'https://git.kernel.org/stable/c/ee98ab337036c983239aa550850861c88a5c4262'
  - url: 'https://git.kernel.org/stable/c/4c1f602df8956bc0decdafd7e4fc7eef50c550b1'
tags:
  - cve.org
epss: 0.00159
epssPercentile: 0.05088
ingestedAt: '2026-11-05T22:38:31.735Z'
---

## Overview

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.

## Affected

- `Linux >= 5215e16244ee5889cc6135381acdbf4cbcb7905a < bb01910763f935b16538084b4269696e0de17f79`
- `Linux >= 5215e16244ee5889cc6135381acdbf4cbcb7905a < e6765fe8de372a84f8dbe9e03ec13c7c70f946b8`
- `Linux >= 5215e16244ee5889cc6135381acdbf4cbcb7905a < ee98ab337036c983239aa550850861c88a5c4262`
- `Linux >= 5215e16244ee5889cc6135381acdbf4cbcb7905a < 4c1f602df8956bc0decdafd7e4fc7eef50c550b1`
- `Linux 5.10`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
