Resource Leak Vulnerability in Linux Kernel Package: CVE-2022-50420

linux Updated 03 Oct 2025

Summary

01/10/2025
N/A
No i
Unrated
Not published

DEBIAN-CVE-2022-50420: 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... Affects linux versions 5.10.103-1 – 6.9.9-1. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Linux kernel is the core component of many operating systems, including Debian. It manages system resources and hardware interactions, providing essential services for all other software. This vulnerability affects the Linux kernel versions in Debian 11, 12, 13, and 14, specifically in the crypto subsystem related to the hisilicon/hpre driver, which is responsible for hardware acceleration of cryptographic operations.

Vulnerability Detail

In the Linux kernel, a vulnerability identified as CVE-2022-50420 has been discovered in the hpre_remove() function. When the disable operation of the QM SR-IOV (Single Root I/O Virtualization) fails, the function does not properly release allocated resources, leading to a resource leak. This could potentially degrade system performance and stability over time, as resources remain allocated and unavailable for other processes.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

Currently, there are no specific workarounds available for this vulnerability other than applying the patch. It is recommended to monitor the system for any unusual behavior until the patch can be applied.

Conclusion

CVE-2022-50420 is a significant vulnerability in the Linux kernel affecting multiple Debian versions. It is crucial to apply the necessary updates to mitigate the risks associated with resource leaks. Regular monitoring and timely updates are essential for maintaining system integrity.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2022-50420 is a vulnerability in the Linux kernel that causes a resource leak due to improper handling of resource deallocation in the hpre_remove() function.

The vulnerability affects the Linux kernel versions in Debian 11, 12, 13, and 14.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. You can check if your application is affected by this vulnerability using the Vulert playground at Vulert Scanner without any signup.

The primary risk is resource leakage, which can lead to degraded system performance and stability as resources remain allocated and unavailable for other processes.

While there are no specific workarounds, it is advisable to monitor your system for unusual behavior and plan to apply the patch as soon as possible.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback