ext4: Fix Use-After-Free in ext4_rename_dir_prepare

Kernel Updated 02 Oct 2025

Summary

28/06/2022
N/A
No i
Unrated
Not published

GSD-2022-1003241: ext4: fix use-after-free in ext4_rename_dir_prepare. Affects Kernel versions < 364380c00912bed9b5d99eb485018360b0ecf64f. 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 ext4 package is a file system driver for the Linux Kernel. It provides support for the ext4 file system, which is widely used in Linux distributions. The ext4 file system offers improved performance, scalability, and reliability compared to its predecessor, ext3. However, like any software, it is susceptible to vulnerabilities that can compromise the security and integrity of the file system.

Vulnerability Detail

The vulnerability identified as GSD-2022-1003241 is a use-after-free issue in the ext4_rename_dir_prepare function. This vulnerability occurs when the function fails to properly handle a specific scenario during directory renaming operations. An attacker could exploit this vulnerability to execute arbitrary code or cause a denial-of-service condition, potentially leading to a system compromise or data loss. The vulnerability has been fixed in the Linux Kernel version v5.15.46 by commit 364380c00912bed9b5d99eb485018360b0ecf64f.

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 known workaround for this vulnerability. It is recommended to apply the fix as soon as possible.

Conclusion

The use-after-free vulnerability in ext4, as identified by GSD-2022-1003241, has been fixed in the Linux Kernel version v5.15.46. Users are advised to update their Linux Kernel to the latest version to mitigate the risk of exploitation. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

ext4 is a file system driver for the Linux Kernel, providing support for the ext4 file system.

A use-after-free vulnerability occurs when a program continues to use a memory region after it has been freed, leading to potential memory corruption and exploitation.

This vulnerability could allow an attacker to execute arbitrary code or cause a denial-of-service condition, potentially leading to a system compromise or data loss.

Yes, this vulnerability has been fixed in the Linux Kernel version v5.15.46 by commit 364380c00912bed9b5d99eb485018360b0ecf64f.

To update your Linux Kernel, you can download the updated kernel source code from the official Linux Kernel repository and compile it, or wait for your Linux distribution to release an updated kernel package.

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