Vulnerability in Linux Kernel: crypto: qat - ADF_STATUS_PF_RUNNING should be set after adf_dev_init

Kernel Updated 02 Oct 2025

Summary

31/05/2021
N/A
No i
Unrated
Not published

GSD-2021-1000461: crypto: qat - ADF_STATUS_PF_RUNNING should be set after adf_dev_init. Affects Kernel versions >= 25c6ffb249f612c56a48ce48a3887adf57b8f4bd, < 09d16cee6285d37cc76311c29add6d97a7e4acda. 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 Your last release was probably never penetration tested 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 a widely used open-source operating system kernel that serves as the foundation for various Linux distributions. It provides essential functionality and interfaces for hardware, software, and user applications. The crypto subsystem in the Linux Kernel includes cryptographic algorithms and related components. One of these components is the QuickAssist Technology (QAT) driver, which offloads cryptographic operations to dedicated hardware accelerators. The QAT driver enables faster and more efficient cryptographic processing. However, a vulnerability has been identified in the QAT driver, specifically in the handling of the ADF_STATUS_PF_RUNNING flag. This flag should be set after the initialization of the adf_dev structure, but it is not properly set in affected versions of the Linux Kernel.

Vulnerability Detail

The vulnerability in the QAT driver of the Linux Kernel allows an attacker to potentially exploit the improper handling of the ADF_STATUS_PF_RUNNING flag. By manipulating this flag, an attacker may be able to execute arbitrary code or cause a denial-of-service condition. The impact and attack plausibility of this vulnerability have not been proven yet, but it is important to address it to ensure the security and stability of systems running the affected versions of the Linux 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 →

Workaround

There is no specific workaround mentioned for this vulnerability. The recommended approach is to apply the fix by updating the Linux Kernel to the latest stable version.

Conclusion

The vulnerability in the QAT driver of the Linux Kernel, related to the improper handling of the ADF_STATUS_PF_RUNNING flag, can have serious security implications. It is crucial to update the Linux Kernel to the latest stable version that includes the fix for this vulnerability. Regularly updating the Linux Kernel is a good practice to ensure the overall security and stability of systems. For further support on vulnerability remediation, you can reach out to DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The Linux Kernel is an open-source operating system kernel that serves as the foundation for various Linux distributions. It provides essential functionality and interfaces for hardware, software, and user applications.

The QAT driver in the Linux Kernel is responsible for offloading cryptographic operations to dedicated hardware accelerators, enabling faster and more efficient cryptographic processing.

The ADF_STATUS_PF_RUNNING flag is a status flag used in the QAT driver to indicate the running state of the adf_dev structure, which is initialized during the driver initialization process.

The potential consequences of this vulnerability include the execution of arbitrary code by an attacker or the occurrence of a denial-of-service condition, depending on the attacker's capabilities and the specific system configuration.

To mitigate this vulnerability, it is recommended to update the Linux Kernel to version v4.19.191 or later, which includes the fix for this issue. Regularly updating the Linux Kernel is also advisable to stay protected against security vulnerabilities and benefit from bug fixes.

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