← CVE Intelligence

CVE-2022-50438

net: hinic: fix memory leak when reading function table PUBLISHED

Description (CNA)

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 (CNA)

Vendor / productVersions
Linux / Linuxaffected 5215e16244ee5889cc6135381acdbf4cbcb7905a before bb01910763f935b16538084b4269696e0de17f79; affected 5215e16244ee5889cc6135381acdbf4cbcb7905a before e6765fe8de372a84f8dbe9e03ec13c7c70f946b8; affected 5215e16244ee5889cc6135381acdbf4cbcb7905a before ee98ab337036c983239aa550850861c88a5c4262; affected 5215e16244ee5889cc6135381acdbf4cbcb7905a before 4c1f602df8956bc0decdafd7e4fc7eef50c550b1
Linux / Linuxaffected 5.10; unaffected 0 before 5.10; unaffected 5.10.153 through 5.10.*; unaffected 5.15.77 through 5.15.*; unaffected 6.0.7 through 6.0.*; unaffected 6.1 through *

CWE

No CWE identifiers supplied.

References