Vulnerability in Kernel: dax: make sure inodes are flushed before destroy cache

Kernel Updated 02 Oct 2025

Summary

24/04/2022
N/A
No i
Unrated
Not published

GSD-2022-1002250: dax: make sure inodes are flushed before destroy cache. Affects Kernel versions >= 7b6be8444e0f0dd675b54d059793423d3c9b4c03, < 770d42fff12d8595adda9025a0b92091f543e775. 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 Kernel is a crucial component of the Linux operating system that manages system resources and facilitates communication between hardware and software. It provides essential functionalities such as process management, memory management, and device drivers. The vulnerability in question affects the Kernel's Direct Access (DAX) feature, which allows applications to directly access persistent memory. This vulnerability specifically pertains to the flushing of inodes before destroying the cache.

Vulnerability Detail

The vulnerability arises from a failure to properly flush inodes before destroying the cache in the DAX feature of the Kernel. This can lead to data inconsistencies and potential security risks. An attacker could exploit this vulnerability to gain unauthorized access to sensitive information or execute arbitrary code. The vulnerability was introduced in version v4.12 of the Linux Kernel and has been fixed in version v5.4.189.

How To Fix

No fixed version is published for this vulnerability.

To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.4.189 or later. This can be done by obtaining the latest version from the official Linux Kernel repository and following the installation instructions provided. It is crucial to ensure that the update is applied to all affected systems to mitigate the risk of exploitation.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

If updating the Linux Kernel is not immediately feasible, a potential workaround is to manually flush inodes before destroying the cache in the DAX feature. This can be achieved by modifying the relevant code in the Kernel. Here is an example of how the code can be modified:

// Flush inodes before destroying cache
void flush_inodes_before_destroy_cache()
{
    // Code implementation goes here
}

Conclusion

In conclusion, the vulnerability in the Kernel's DAX feature, which involves the improper flushing of inodes before destroying the cache, can pose significant security risks. It is crucial to update the Linux Kernel to version v5.4.189 or later to mitigate these risks. If immediate updating is not possible, manually flushing inodes before destroying the cache can serve as a temporary workaround. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

This vulnerability can lead to data inconsistencies and potential security risks. Attackers could exploit it to gain unauthorized access to sensitive information or execute arbitrary code.

You can use the Vulert Playground at Vulert Scanner to check if your system is affected by this vulnerability. Simply upload your package-lock.json file and Vulert will analyze it for any open-source vulnerabilities, including this one.

Yes, this vulnerability has been fixed in version v5.4.189 of the Linux Kernel.

At the time of this report, there are no known exploits for this vulnerability. However, it is crucial to apply the recommended fix to mitigate any potential risks.

You can find more information about this vulnerability in the GSD-2022-1002250 entry of the GSD Database maintained by the Cloud Security Alliance. The entry can be accessed at https://github.com/cloudsecurityalliance/gsd-database/blob/main/2022/1002xxx/GSD-2022-1002250.json.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

How To Fix

No fixed version is published for this vulnerability.

To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.4.189 or later. This can be done by obtaining the latest version from the official Linux Kernel repository and following the installation instructions provided. It is crucial to ensure that the update is applied to all affected systems to mitigate the risk of exploitation.

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

Follow Vulert in Google

Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.