CVE-2022-50420
JSON

5.5medium

crypto: hisilicon/hpre - fix resource leak in remove process

Severity
5.5medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.17% (higher than 6% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: crypto: hisilicon/hpre - fix resource leak in remove process In hpre_remove(), when the disable operation of qm sriov failed, the following logic should continue to be executed to release the remaining resources that have been allocated, instead of returning directly, otherwise there will be resource leakage.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 5ec302a364bfd95be29a9784b2fabd8e2ddf0476 before 2b3e3ecdb402ff1053ee25b598ff21b9ddf4384f, from 5ec302a364bfd95be29a9784b2fabd8e2ddf0476 before 4e0de941d252d4e7c985981e78480c8d6f020b64, from 5ec302a364bfd95be29a9784b2fabd8e2ddf0476 before cb873c93a7ad27681920bf062ef052fca1e8d5b1, from 5ec302a364bfd95be29a9784b2fabd8e2ddf0476 before 45e6319bd5f2154d8b8c9f1eaa4ac030ba0d330c, 5.5
Not affected: before 5.5, from 5.15.86 up to 5.15.*, from 6.0.16 up to 6.0.*, from 6.1.2 up to 6.1.*, from 6.2 up to *
CVE List
linux linux_kernelfrom 5.5 before 5.15.86, from 5.16 before 6.0.16, from 6.1 before 6.1.2NVD

All scores

CISA-ADP5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-401

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2022-50420 changed 2026-08-15CVE Terms of Use
NVDCVE-2022-50420 changed 2026-08-15Public domain