PCI: Avoid pci_dev_lock() AB/BA deadlock with sriov_numvfs_store() in Kernel

Kernel Updated 02 Oct 2025

Summary

28/06/2022
N/A
No i
Unrated
Not published

GSD-2022-1004064: PCI: Avoid pci_dev_lock() AB/BA deadlock with sriov_numvfs_store(). Affects Kernel versions < da9792920ab525b8a932aa9aeee34529ad7b83f7. 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 manages communication between hardware and software. It provides essential functions and services for the proper functioning of the system. The vulnerability identified in the Kernel relates to the pci_dev_lock() function and its interaction with the sriov_numvfs_store() function. This vulnerability can lead to a deadlock scenario, causing potential system instability and denial of service.

Vulnerability Detail

The vulnerability arises due to a deadlock situation caused by the AB/BA locking pattern in the pci_dev_lock() function and the sriov_numvfs_store() function. This can occur when multiple threads or processes attempt to acquire the pci_dev_lock() in different orders, resulting in a deadlock. An attacker could potentially exploit this vulnerability to cause a denial of service by triggering the deadlock scenario. The vulnerability has been addressed in the Linux Kernel version v4.9.318 by commit da9792920ab525b8a932aa9aeee34529ad7b83f7.

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.

Conclusion

The vulnerability in the Kernel related to the pci_dev_lock() function and sriov_numvfs_store() function can lead to a deadlock scenario, potentially causing system instability and denial of service. It is crucial to update the Linux Kernel to version v4.9.318 or later to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The vulnerability can lead to a deadlock scenario, causing potential system instability and denial of service.

An attacker can exploit this vulnerability by triggering the deadlock scenario, leading to a denial of service.

Yes, this vulnerability has been fixed in the Linux Kernel version v4.9.318 by commit da9792920ab525b8a932aa9aeee34529ad7b83f7.

To protect your system, it is recommended to update the Linux Kernel to version v4.9.318 or later.

More information about this vulnerability can be found in the source provided by the Cloud Security Alliance (https://github.com/cloudsecurityalliance/gsd-database/blob/main/2022/1004xxx/GSD-2022-1004064.json).

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