{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2022-50438","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2025-09-17T14:53:07.010Z","datePublished":"2025-10-01T11:42:15.118Z","dateUpdated":"2026-05-11T19:19:29.902Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-05-11T19:19:29.902Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: hinic: fix memory leak when reading function table\n\nWhen the input parameter idx meets the expected case option in\nhinic_dbg_get_func_table(), read_data is not released. Fix it."}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/huawei/hinic/hinic_debugfs.c"],"versions":[{"version":"5215e16244ee5889cc6135381acdbf4cbcb7905a","lessThan":"bb01910763f935b16538084b4269696e0de17f79","status":"affected","versionType":"git"},{"version":"5215e16244ee5889cc6135381acdbf4cbcb7905a","lessThan":"e6765fe8de372a84f8dbe9e03ec13c7c70f946b8","status":"affected","versionType":"git"},{"version":"5215e16244ee5889cc6135381acdbf4cbcb7905a","lessThan":"ee98ab337036c983239aa550850861c88a5c4262","status":"affected","versionType":"git"},{"version":"5215e16244ee5889cc6135381acdbf4cbcb7905a","lessThan":"4c1f602df8956bc0decdafd7e4fc7eef50c550b1","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/huawei/hinic/hinic_debugfs.c"],"versions":[{"version":"5.10","status":"affected"},{"version":"0","lessThan":"5.10","status":"unaffected","versionType":"semver"},{"version":"5.10.153","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.77","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.0.7","lessThanOrEqual":"6.0.*","status":"unaffected","versionType":"semver"},{"version":"6.1","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.10","versionEndExcluding":"5.10.153"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.10","versionEndExcluding":"5.15.77"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.10","versionEndExcluding":"6.0.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.10","versionEndExcluding":"6.1"}]}]}],"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"}],"title":"net: hinic: fix memory leak when reading function table","x_generator":{"engine":"bippy-1.2.0"}}}}