{"id":"CVE-2022-50438","summary":"net: hinic: fix memory leak when reading function table","details":"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.","modified":"2026-05-28T03:53:46.348056780Z","published":"2025-10-01T11:42:15.118Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50438.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/4c1f602df8956bc0decdafd7e4fc7eef50c550b1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/bb01910763f935b16538084b4269696e0de17f79"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e6765fe8de372a84f8dbe9e03ec13c7c70f946b8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ee98ab337036c983239aa550850861c88a5c4262"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50438.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50438"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"5215e16244ee5889cc6135381acdbf4cbcb7905a"},{"fixed":"bb01910763f935b16538084b4269696e0de17f79"},{"fixed":"e6765fe8de372a84f8dbe9e03ec13c7c70f946b8"},{"fixed":"ee98ab337036c983239aa550850861c88a5c4262"},{"fixed":"4c1f602df8956bc0decdafd7e4fc7eef50c550b1"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50438.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.10.0"},{"fixed":"5.10.153"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.77"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.0.7"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50438.json"}}],"schema_version":"1.7.5"}