# CVE-2022-50438: net: hinic: fix memory leak when reading function table

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2025-10-01T11:42:15.118Z
- Modified: 2026-11-05T21:16:59.097Z
- Weaknesses: CWE-401
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 5215e16244ee5889cc6135381acdbf4cbcb7905a before bb01910763f935b16538084b4269696e0de17f79; from 5215e16244ee5889cc6135381acdbf4cbcb7905a before e6765fe8de372a84f8dbe9e03ec13c7c70f946b8; from 5215e16244ee5889cc6135381acdbf4cbcb7905a before ee98ab337036c983239aa550850861c88a5c4262; from 5215e16244ee5889cc6135381acdbf4cbcb7905a before 4c1f602df8956bc0decdafd7e4fc7eef50c550b1; 5.10 (not affected: before 5.10; from 5.10.153 up to 5.10.*; from 5.15.77 up to 5.15.*; from 6.0.7 up to 6.0.*; from 6.1 up to *)
- linux linux_kernel: from 5.10 before 5.10.153; from 5.11 before 5.15.77; from 5.16 before 6.0.7; 6.1

## References

- <https://git.kernel.org/stable/c/bb01910763f935b16538084b4269696e0de17f79> (patch)
- <https://git.kernel.org/stable/c/e6765fe8de372a84f8dbe9e03ec13c7c70f946b8> (patch)
- <https://git.kernel.org/stable/c/ee98ab337036c983239aa550850861c88a5c4262> (patch)
- <https://git.kernel.org/stable/c/4c1f602df8956bc0decdafd7e4fc7eef50c550b1> (patch)

## Sources

- CVE List: [CVE-2022-50438](https://www.cve.org/CVERecord?id=CVE-2022-50438), CVE Terms of Use, modified 2026-11-05
- NVD: [CVE-2022-50438](https://nvd.nist.gov/vuln/detail/CVE-2022-50438), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2022-50438 · Whole record: https://cve.day/CVE-2022-50438.json · Rebuilt by cve.day 2026-11-25T22:58:21.218Z
