Out of Bound Read Vulnerability in Linux Kernel - CVE-2024-41013

linux Updated 02 Oct 2025

Summary

29/07/2024
N/A
No i
Unrated
Not published

CVE-2024-41013: In the Linux kernel, the following vulnerability has been resolved: xfs: don't walk off the end of a directory data block This adds sanity checks for xfs_dir2_data_unused and xfs_dir2_data_entry to make sure don't stray... 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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

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 security features. However, like any complex software, it can have vulnerabilities. CVE-2024-41013 affects the XFS filesystem implementation in the Linux kernel, which is responsible for managing disk storage and file systems. This vulnerability can lead to potential security risks if exploited, making it crucial for users to address it promptly.

Vulnerability Detail

CVE-2024-41013 is a vulnerability in the Linux kernel's XFS filesystem that allows for an out-of-bounds read. The issue arises when traversing directory entries, where the loop checks the start offset of directory data without ensuring it remains within valid memory bounds. If a crafted image contains an unused entry at the end of a directory, it can lead to an out-of-bounds read when accessing fixed members of the directory entry structure. This could potentially allow an attacker to read sensitive data from memory, leading to information disclosure or system instability.

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 a temporary workaround, users can limit access to the affected filesystem or avoid using the XFS filesystem until the kernel is updated. However, this is not a permanent solution and updating the kernel is strongly recommended.

Conclusion

CVE-2024-41013 is a significant vulnerability in the Linux kernel's XFS filesystem that can lead to serious security risks. Users are strongly encouraged to update their systems to the latest kernel version to protect against potential exploitation. Utilizing tools like Vulert can help monitor for such vulnerabilities in real-time.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2024-41013 is a vulnerability in the Linux kernel's XFS filesystem that can lead to an out-of-bounds read, potentially allowing attackers to access sensitive data.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Simply upload your manifest file like package-lock.json to check for vulnerabilities.

Exploitation of this vulnerability could lead to information disclosure, system instability, or other security risks, depending on the attacker's intentions.

Yes, the vulnerability has been patched in the latest versions of the Linux kernel. Users are advised to update their systems to mitigate the risk.

If you cannot update your kernel right away, consider limiting access to the affected filesystem or using a different filesystem until you can apply the update.

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