ext4: Fix bug in ext4_es_cache_extent as ext4_split_extent_at failed

Kernel Updated 02 Oct 2025

Summary

24/06/2021
N/A
No i
Unrated
Not published

GSD-2021-1000723: ext4: fix bug on in ext4_es_cache_extent as ext4_split_extent_at failed. Affects Kernel versions < 5b3a9a2be59478b013a430ac57b0f3d65471b071. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The ext4 package is a file system driver for the Linux kernel. It provides support for the fourth extended file system (ext4) and is widely used in Linux distributions. The ext4 file system is known for its performance, scalability, and reliability. However, a vulnerability has been discovered in the ext4_es_cache_extent function, which is used to cache file extents. This vulnerability can lead to a failure in the ext4_split_extent_at function, causing potential issues with file system operations.

Vulnerability Detail

The vulnerability in the ext4 package arises from a bug in the ext4_es_cache_extent function. When this function is called, it caches file extents in the extent status tree (extent tree). However, due to a coding error, the ext4_split_extent_at function may fail when trying to split an extent at a specific offset. This failure can result in incorrect file system behavior and potentially lead to data corruption or other file system-related issues. The vulnerability has been fixed in Linux Kernel version v4.9.272 by commit 5b3a9a2be59478b013a430ac57b0f3d65471b071.

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

There is no specific workaround available for this vulnerability. The recommended approach is to apply the fix by updating the Linux Kernel.

Conclusion

The ext4 package in the Linux Kernel is vulnerable to a bug in the ext4_es_cache_extent function, which can lead to failures in the ext4_split_extent_at function and potential file system issues. It is recommended to update the Linux Kernel to version v4.9.272 or later to fix this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The ext4 package is a file system driver for the Linux kernel, providing support for the ext4 file system.

The extent status tree, or extent tree, is a data structure used by the ext4 file system to manage file extents, which represent contiguous blocks of data.

The ext4_es_cache_extent function is responsible for caching file extents in the extent status tree (extent tree) of the ext4 file system.

The ext4_split_extent_at function is used to split an extent at a specific offset in the extent status tree (extent tree) of the ext4 file system.

To update the Linux Kernel, you can apply the relevant patches or upgrade to a Linux distribution that includes the fixed version of the kernel. It is important to ensure proper testing and deployment of the updated kernel.

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