Critical Memory Management Vulnerability in Linux Kernel - CVE-2022-49168

linux Updated 02 Oct 2025

Summary

26/02/2025
N/A
No i
Unrated
Not published

CVE-2022-49168: In the Linux kernel, the following vulnerability has been resolved: btrfs: do not clean up repair bio if submit fails The submit helper will always run bio_endio() on the bio if it fails to submit, so cleaning up the bio... 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 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 the core component of many operating systems, providing essential services for hardware and software interactions. It is known for its robustness, scalability, and versatility, supporting a wide range of devices from servers to embedded systems. However, like any complex software, it is susceptible to vulnerabilities that can compromise system integrity and security. CVE-2022-49168 specifically affects the btrfs file system within the kernel, highlighting a critical issue in memory management that can lead to severe system errors.

Vulnerability Detail

CVE-2022-49168 is a vulnerability in the Linux kernel's btrfs file system where the repair bio cleanup process is mishandled upon submission failure. The submit helper is designed to execute bio_endio() on the bio regardless of submission success. This can result in use-after-free and NULL pointer dereference bugs due to a race condition with the endio function, which is responsible for cleaning up the bio. If exploited, this vulnerability can lead to system crashes or unpredictable behavior, posing a significant risk to system stability.

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 provided for this vulnerability. The best course of action is to apply the available patch as soon as possible to mitigate any risks associated with the vulnerability.

Conclusion

CVE-2022-49168 represents a significant vulnerability in the Linux kernel's btrfs file system, which can lead to critical memory management issues. Users are strongly advised to update their systems to the latest patched version to mitigate risks. Utilizing tools like Vulert can further enhance security by providing real-time monitoring for open-source vulnerabilities.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2022-49168 is a vulnerability in the Linux kernel's btrfs file system that can lead to memory management issues, including use-after-free and NULL pointer dereference bugs.

If exploited, this vulnerability can cause system crashes or unpredictable behavior, potentially compromising system stability and security.

You can use tools like Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without requiring any signup.

The most effective way to protect your system is to update the Linux package to the patched version (5.17.3-1 or later) as soon as possible.

As of now, there are no publicly known exploits for CVE-2022-49168, but it is crucial to apply the patch to prevent potential future exploitation.

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