CVE-2022-50420

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

MEDIUM
5.5
CVSS Score
Published: October 1, 2025 at 11:41 AM UTC
Updated: August 15, 2026 at 01:36 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.16 ≤ v < 6.0.165.5 ≤ v < 5.15.865.5 ≤ v < 6.0.165.5 ≤ v < 6.1.25.5 ≤ v < 6.26.1 ≤ v < 6.1.25.55ec302a364bfd95be29a9784b2fabd8e2ddf0476
Vendor states this is fixed in 2b3e3ecdb402ff1053ee25b598ff21b9ddf4384f (fixed)
Vendor states this is fixed in 45e6319bd5f2154d8b8c9f1eaa4ac030ba0d330c (fixed)
Vendor states this is fixed in 4e0de941d252d4e7c985981e78480c8d6f020b64 (fixed)
Vendor states this is fixed in cb873c93a7ad27681920bf062ef052fca1e8d5b1 (fixed)
Vendor states this is fixed in 5.15.86 (unaffected)
Vendor states this is fixed in 5.5 (unaffected)
Vendor states this is fixed in 6.0.16 (unaffected)
Vendor states this is fixed in 6.1.2 (unaffected)
Vendor states this is fixed in 6.2 (unaffected)

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

5.5MEDIUMCISA-ADP
Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-401

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card