CVE-2025-23150
Linux Kernel vulnerability analysis and mitigation

Overview

A use-after-free vulnerability (CVE-2025-23150) was discovered in the Linux kernel's ext4 filesystem implementation, specifically in the ext4insertdentry function. The vulnerability was identified by the Linux Verification Center using Syzkaller and was disclosed on May 1, 2025. The issue affects the Linux kernel's ext4 filesystem code and stems from an off-by-one error in the do_split function (NVD, Wiz).

Technical details

The vulnerability occurs due to an off-by-one error in the dosplit function that leads to out-of-bounds access and subsequent use-after-free in ext4insert_dentry. The issue manifests when the loop counter 'i' can go down to -1, causing incorrect block size calculations when handling long filename entries in a single block. The vulnerability has been assigned a CVSS v3 Base Score of 5.5 (Moderate) (Wiz).

Impact

When exploited, this vulnerability can lead to use-after-free conditions in the ext4 filesystem, potentially resulting in system crashes, memory corruption, or unintended behavior when handling directory entries. The issue particularly affects systems with directories containing numerous long filenames (NVD).

Mitigation and workarounds

The vulnerability has been fixed in Linux kernel version 6.12.25-1 for the sid release and 6.1.135-1 for the bookworm release. Users are advised to upgrade to these or later versions that contain the security fix (Debian).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

“Best User Experience I have ever seen, provides full visibility to cloud workloads.”
David EstlickCISO
“Wiz provides a single pane of glass to see what is going on in our cloud environments.”
Adam FletcherChief Security Officer
“We know that if Wiz identifies something as critical, it actually is.”
Greg PoniatowskiHead of Threat and Vulnerability Management