{"id":"CVE-2022-50420","title":"In the Linux kernel, the following vulnerability has been resolved:\n\ncrypto: hisilicon/hpre - fix resource leak in remove process\n\nIn hpre_remove(), when the disable operation of qm sriov failed,\nthe following logic should continue to be…","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ncrypto: hisilicon/hpre - fix resource leak in remove process\n\nIn hpre_remove(), when the disable operation of qm sriov failed,\nthe following logic should continue to be…","severity":"medium","cvss":5.5,"cvssVector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","cwe":["CWE-401","CWE-401"],"vendor":"linux","product":"linux_kernel","affected":["linux_kernel >= 5.5, < 5.15.86","linux_kernel >= 5.16, < 6.0.16","linux_kernel >= 6.1, < 6.1.2"],"patched":["linux_kernel 6.1.2"],"published":"2025-10-01","updated":"2026-08-15","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2022-50420","references":[{"url":"https://git.kernel.org/stable/c/2b3e3ecdb402ff1053ee25b598ff21b9ddf4384f","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/45e6319bd5f2154d8b8c9f1eaa4ac030ba0d330c","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/4e0de941d252d4e7c985981e78480c8d6f020b64","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/cb873c93a7ad27681920bf062ef052fca1e8d5b1","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}],"tags":["nvd"],"epss":0.00157,"epssPercentile":0.05238,"ingestedAt":"2026-08-15T13:26:45.760Z","slug":"CVE-2022-50420","body":"## Overview\n\nIn the Linux kernel, the following vulnerability has been resolved:\n\ncrypto: hisilicon/hpre - fix resource leak in remove process\n\nIn hpre_remove(), when the disable operation of qm sriov failed,\nthe following logic should continue to be executed to release the\nremaining resources that have been allocated, instead of returning\ndirectly, otherwise there will be resource leakage.\n\n## Affected\n\n- `linux_kernel >= 5.5, < 5.15.86`\n- `linux_kernel >= 5.16, < 6.0.16`\n- `linux_kernel >= 6.1, < 6.1.2`\n\n## Remediation\n\nUpgrade past the affected range:\n\n- `linux_kernel 6.1.2`","depth":"sunlit","depthScore":30,"depthScoreParts":{"impact":30.3,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}