Vulnerability in Kernel: filemap_get_read_batch()

Kernel Updated 02 Oct 2025

Summary

31/07/2022
N/A
No i
Unrated
Not published

GSD-2022-1004277: filemap: Handle sibling entries in filemap_get_read_batch(). Affects Kernel versions >= cbd59c48ae2bcadc4a7599c29cf32fd3f9b78251, < a66f131d30e53000f08301776bf85c912ef47aad. 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 Kernel is a fundamental component of the Linux operating system, responsible for managing system resources and facilitating communication between hardware and software. It provides essential functionalities such as process management, memory management, and device drivers. The filemap subsystem within the Kernel is responsible for managing file-backed memory mappings. It allows efficient access to file data by mapping it directly into the virtual memory of processes. However, a vulnerability has been discovered in the filemap_get_read_batch() function, which can potentially lead to security issues.

Vulnerability Detail

The filemap_get_read_batch() function in the Kernel's filemap subsystem is vulnerable to a security issue. Specifically, it fails to handle sibling entries correctly, which can result in unexpected behavior and potential security vulnerabilities. Although the impact and attack plausibility of this vulnerability have not been proven, it is crucial to address it to ensure the overall security of the system. The vulnerability was introduced in version v5.12 of the Linux Kernel and has been fixed in version v5.18.8.

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

As this vulnerability has been fixed in the latest version of the Linux Kernel, there is no specific workaround available. It is advised to update to the fixed version as soon as possible.

Conclusion

In conclusion, a vulnerability has been identified in the filemap_get_read_batch() function of the Kernel's filemap subsystem. Although the impact and attack plausibility have not been proven, it is crucial to update the Linux Kernel to version v5.18.8 or later to address this issue. This will ensure the proper handling of sibling entries and enhance the overall security of the system. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The impact of this vulnerability is not yet proven. However, it has the potential to lead to security issues and unexpected behavior in the filemap subsystem of the Linux Kernel.

You can use the Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. It analyzes the manifest file, such as package-lock.json, and provides real-time alerts for open-source vulnerabilities.

The remote exploitability of this vulnerability has not been proven. However, it is important to address it promptly to ensure the overall security of the system.

There are no known instances of this vulnerability being exploited at the moment. However, it is always recommended to stay updated with the latest security patches to mitigate potential risks.

You can find more information about this vulnerability in the GSD-2022-1004277 entry of the GSD Database maintained by the Cloud Security Alliance. The link to the specific entry is available in the references section of this report.

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