Critical Spinlock Vulnerability in Linux Kernel - CVE-2022-49765

linux Updated 02 Oct 2025

Summary

01/05/2025
N/A
No i
Unrated
Not published

CVE-2022-49765: In the Linux kernel, the following vulnerability has been resolved: net/9p: use a dedicated spinlock for trans_fd Shamelessly copying the explanation from Tetsuo Handa's suggested patch[1] (slightly reworded): syzbot is... Affects linux versions 5.10.103-1 – 6.9.9-1. 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 Penetration testing for web, API and mobile 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 the core component of many operating systems, responsible for managing hardware resources and providing essential services to software applications. It is known for its stability, performance, and security features. However, vulnerabilities can arise, such as CVE-2022-49765, which affects the 9p networking protocol implementation. This vulnerability can lead to inconsistent lock states, potentially causing system instability.

Vulnerability Detail

CVE-2022-49765 is a vulnerability in the Linux kernel's 9p networking protocol implementation. It arises from the use of different locking mechanisms in IRQ and non-IRQ contexts, leading to inconsistent lock states. Specifically, the p9_tag_remove function calls p9_req_put from an IRQ context, which uses spin_lock_irqsave on the 'struct p9_client' lock, while trans_fd uses a standard spin_lock. This inconsistency can lead to race conditions and unpredictable behavior in the system, potentially compromising system stability and security.

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

Currently, there are no specific workarounds mentioned for this vulnerability. The best course of action is to apply the patch as soon as it is available.

Conclusion

CVE-2022-49765 is a significant vulnerability in the Linux kernel's 9p networking protocol that can lead to system instability due to inconsistent locking mechanisms. It is essential to update your system to the patched version to mitigate the risks associated with this vulnerability. Regular monitoring and prompt updates are crucial for maintaining system security.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2022-49765 is a vulnerability in the Linux kernel related to inconsistent locking mechanisms in the 9p networking protocol, which can lead to system instability.

This vulnerability can cause race conditions and unpredictable behavior, potentially compromising the stability and security of your system.

Yes, a patch is available in version 6.0.10-1 for Debian 12 and 13. It is recommended to update your Linux package to this version.

While there are no specific workarounds, it is crucial to monitor your system for any unusual behavior and apply the patch as soon as possible.

You can use Vulert, which allows you to monitor and alert for open-source vulnerabilities in your software using just a manifest file like package-lock.json. You can check your application using the Vulert playground at Vulert Scanner without any signup.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

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