Vulnerability in Kernel: crypto: aesni - xts_crypt() return if walk.nbytes is 0
Summary
UVI-2021-1001709: crypto: aesni - xts_crypt() return if walk.nbytes is 0. Affects Kernel versions < 38c84dfafed5b1193d083e0121ccd985ce5f5bdc. No fix is published. How to fix ↓
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.
No signup required · Results in about 60 seconds
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 →
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.