Vulnerability in Kernel: crypto: aesni - xts_crypt() return if walk.nbytes is 0

Kernel Updated 02 Oct 2025

Summary

19/10/2021
N/A
No i
Unrated
Not published

UVI-2021-1001709: crypto: aesni - xts_crypt() return if walk.nbytes is 0. Affects Kernel versions < 38c84dfafed5b1193d083e0121ccd985ce5f5bdc. 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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The Kernel is a crucial component of the Linux operating system that acts as a bridge between the hardware and software layers. It provides essential functionalities and services to enable the proper functioning of the system. One of the components within the Kernel is the crypto module, which handles cryptographic operations. The aesni algorithm is used for Advanced Encryption Standard (AES) operations. However, a vulnerability has been identified in the aesni xts_crypt() function, specifically when the walk.nbytes parameter is set to 0.

Vulnerability Detail

The vulnerability in the aesni xts_crypt() function occurs when the walk.nbytes parameter is set to 0. This can lead to a situation where the function returns prematurely, potentially causing unexpected behavior or security issues. The impact and attack plausibility of this vulnerability have not been proven yet. It is important to note that this vulnerability has been fixed in the Linux Kernel version v5.14.10 by commit 38c84dfafed5b1193d083e0121ccd985ce5f5bdc.

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

As this vulnerability has been fixed in the latest version of the Linux Kernel, there is no specific workaround available. It is advised to update the Kernel to the patched version to ensure the security and stability of the system.

Conclusion

In conclusion, a vulnerability has been identified in the Kernel's crypto module, specifically in the aesni xts_crypt() function. This vulnerability can lead to unexpected behavior or security issues. It is crucial to update the Linux Kernel to version v5.14.10 or later to mitigate this vulnerability. For further support on vulnerability remediation, you can reach out to DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The Kernel is a critical component of the Linux operating system that acts as a bridge between the hardware and software layers. It provides essential functionalities and services to enable the proper functioning of the system.

The crypto module in the Kernel handles cryptographic operations. It provides algorithms and functions for encryption, decryption, and other cryptographic operations.

The aesni algorithm is used for Advanced Encryption Standard (AES) operations. It is a widely used encryption algorithm for securing data.

The impact of this vulnerability is not yet proven. However, it has the potential to cause unexpected behavior or security issues if exploited.

To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.14.10 or later. Applying the commit 38c84dfafed5b1193d083e0121ccd985ce5f5bdc to the Kernel source code will address the issue.

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