Vulnerability in crypto: hisilicon/sec package - aead software fallback for engine

Kernel Updated 02 Oct 2025

Summary

24/04/2022
N/A
No i
Unrated
Not published

GSD-2022-1001897: crypto: hisilicon/sec - fix the aead software fallback for engine. Affects Kernel versions >= 6c46a3297beae4ae2d22b26da5e091f058381c7c, < 40dba7c26e897c637e91312b35f664f1d4d0073c. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The crypto: hisilicon/sec package is a component of the Linux Kernel, which is responsible for providing cryptographic functionality. It includes support for hardware acceleration using the Hisilicon SEC engine. The engine offloads cryptographic operations to dedicated hardware, improving performance and security. However, a vulnerability has been discovered in the aead software fallback mechanism of the engine.

Vulnerability Detail

The vulnerability in the crypto: hisilicon/sec package affects the aead software fallback mechanism of the Hisilicon SEC engine. When the hardware acceleration is unavailable or disabled, the engine falls back to software-based encryption and decryption. However, due to a coding error, this fallback mechanism is not properly implemented, leading to potential security weaknesses. An attacker may exploit this vulnerability to perform cryptographic attacks or gain unauthorized access to sensitive information. The vulnerability was introduced in version v5.14 of the Linux Kernel and has been fixed in version v5.15.33.

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

If updating the Linux Kernel is not immediately feasible, a temporary workaround is to disable the Hisilicon SEC engine or ensure that hardware acceleration is enabled. This will prevent the fallback to the vulnerable software-based encryption and decryption. However, it is strongly advised to apply the official fix as soon as possible.

Conclusion

The vulnerability in the crypto: hisilicon/sec package's aead software fallback mechanism of the Hisilicon SEC engine can pose significant security risks. It is crucial to update the Linux Kernel to version v5.15.33 or later to apply the fix. If immediate updating is not possible, consider disabling the Hisilicon SEC engine or enabling hardware acceleration as a temporary workaround. For further assistance and support in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The vulnerability in the aead software fallback mechanism of the Hisilicon SEC engine can potentially lead to cryptographic attacks or unauthorized access to sensitive information.

You can use the Vulert Playground at Vulert Scanner to check if your system is affected by this vulnerability. Simply upload your package-lock.json file to the playground, and it will provide real-time alerts for open-source vulnerabilities, including this one.

At the time of this report, there is no known exploit for this vulnerability. However, it is essential to apply the fix promptly to mitigate any potential risks.

Yes, you can temporarily disable the Hisilicon SEC engine or ensure that hardware acceleration is enabled to prevent the fallback to the vulnerable software-based encryption and decryption. However, it is strongly recommended to update the Linux Kernel to the fixed version as soon as possible.

You can refer to the Linux Kernel repository at https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/ for more details about the fix and the vulnerability. Additionally, the vulnerability details are available in the GSD database maintained by the Cloud Security Alliance at https://github.com/cloudsecurityalliance/gsd-database.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

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