Critical Vulnerability in Linux Kernel: EROFS Missing xas_retry() in FSCACHE Mode

linux Updated 02 Oct 2025

Summary

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

CVE-2022-49815: In the Linux kernel, the following vulnerability has been resolved: erofs: fix missing xas_retry() in fscache mode The xarray iteration only holds the RCU read lock and thus may encounter XA_RETRY_ENTRY if there's proces... Affects linux versions < 6.0.10-1. Fixed in 6.0.10-1. 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, providing essential services for hardware and software interaction. It is known for its stability, performance, and flexibility, supporting a wide range of applications from servers to embedded systems. The recent vulnerability identified as CVE-2022-49815 affects the EROFS (Enhanced Read-Only File System) module, which is designed to optimize storage efficiency and performance. This vulnerability arises from a flaw in the xarray iteration process, which can lead to system crashes when accessed concurrently.

Vulnerability Detail

In the Linux kernel, specifically within the EROFS module, a critical vulnerability has been identified due to the absence of the xas_retry() function in fscache mode. The xarray iteration only holds the RCU read lock, which may lead to encountering XA_RETRY_ENTRY if another process modifies the xarray concurrently. This situation can cause an 'oops' error when attempting to reference an invalid entry, potentially resulting in system instability or crashes.

How To Fix

Minimum fixed version

6.0.10-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

Currently, there are no specific workarounds mentioned for this vulnerability. The best course of action is to apply the patch by updating the kernel as described above.

Conclusion

The CVE-2022-49815 vulnerability in the Linux kernel's EROFS module poses a significant risk due to its potential to cause system crashes. Users are strongly advised to update their kernel to the patched version 6.0.10-1 or later to ensure system stability. Monitoring tools like Vulert can assist in identifying vulnerabilities in your software without the need for complex setups.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2022-49815 is a vulnerability in the Linux kernel's EROFS module that can lead to system crashes due to improper handling of concurrent modifications in the xarray.

If your system is running a vulnerable version of the Linux kernel, it may experience instability or crashes when the EROFS module is accessed concurrently.

While there are no specific workarounds, it is crucial to plan for an update as soon as possible to mitigate the risk of system crashes.

Detailed information can be found in the official CVE database and security advisories related to the Linux kernel.

Vulert allows you to monitor and alert for open-source vulnerabilities in your software using just a manifest file like package-lock.json, providing real-time insights without requiring code access.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

Minimum fixed version

6.0.10-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. 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