CVE-2022-50420
published medium CVSS 3.1 · 5.5crypto: hisilicon/hpre - fix resource leak in remove process
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux5ec302a364bfd95be29a9784b2fabd8e2ddf0476 to < 2b3e3ecdb402ff1053ee25b598ff21b9ddf4384f · 5ec302a364bfd95be29a9784b2fabd8e2ddf0476 to < 4e0de941d252d4e7c985981e78480c8d6f020b64 · 5ec302a364bfd95be29a9784b2fabd8e2ddf0476 to < cb873c93a7ad27681920bf062ef052fca1e8d5b1 · 5ec302a364bfd95be29a9784b2fabd8e2ddf0476 to < 45e6319bd5f2154d8b8c9f1eaa4ac030ba0d330c · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.5 (affected) · 0 to < 5.5 (unaffected · semver) · 5.15.86 through 5.15.* (unaffected · semver) · 6.0.16 through 6.0.* (unaffected · semver) · 6.1.2 through 6.1.* (unaffected · semver) · 6.2 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected; No Fix Planned | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.5 / 10
- Severity
- medium
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 5ec302a364bfd95be29a9784b2fabd8e2ddf0476 to < 2b3e3ecdb402ff1053ee25b598ff21b9ddf4384f (affected · git)5ec302a364bfd95be29a9784b2fabd8e2ddf0476 to < 4e0de941d252d4e7c985981e78480c8d6f020b64 (affected · git)5ec302a364bfd95be29a9784b2fabd8e2ddf0476 to < cb873c93a7ad27681920bf062ef052fca1e8d5b1 (affected · git)5ec302a364bfd95be29a9784b2fabd8e2ddf0476 to < 45e6319bd5f2154d8b8c9f1eaa4ac030ba0d330c (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.5 (affected)0 to < 5.5 (unaffected · semver)5.15.86 through 5.15.* (unaffected · semver)6.0.16 through 6.0.* (unaffected · semver)6.1.2 through 6.1.* (unaffected · semver)6.2 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
1- CWE-401 CWE-401 Missing Release of Memory after Effective Lifetime
References
4Provider assertions
2Linux · cna
crypto: hisilicon/hpre - fix resource leak in remove process
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- a1e9b20eca462472c6c7355013623c9aea501bd669a87ca8e6632bca8e002134
- Ingested
- 23 Sep 2026, 08:04:48 UTC
- Source record
- Official CVE record