CVE-2026-45948 Details
Description
In the Linux kernel, the following vulnerability has been resolved: ext4: fix memory leak in ext4_ext_shift_extents() In ext4_ext_shift_extents(), if the extent is NULL in the while loop, the function returns immediately without releasing the path obtained via ext4_find_extent(), leading to a memory leak. Fix this by jumping to the out label to ensure the path is properly released.
A memory leak vulnerability has been identified in the Linux kernel's ext4 file system, specifically within the ext4_ext_shift_extents() function. This issue arises when the function encounters a NULL extent in its while loop. Instead of properly handling the situation, the function returns immediately without releasing the path obtained from ext4_find_extent(). As a result, the unreleased path creates a memory leak. The vulnerability affects several versions of the Linux kernel.
Users can upgrade to the latest version of the Linux kernel where this vulnerability has been fixed. The commit addressing this issue is available in the Linux kernel stable tree.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/12615ab4bfb69678e5d961b28bb70040299e51b1 | kernel.org | Patch |
| https://git.kernel.org/stable/c/1bce219ee5512cf179ba40cf114945a14a16e21f | kernel.org | Patch |
| https://git.kernel.org/stable/c/2f4b1052246ca646bb17bfe0f53df2fdf9729b58 | kernel.org | Patch |
| https://git.kernel.org/stable/c/4a79fde8db7eba7f1128d971ceba4e3c9ac84aec | kernel.org | Patch |
| https://git.kernel.org/stable/c/7e807cb8603b7664fa630a696cd891d9a03c248d | kernel.org | Patch |
| https://git.kernel.org/stable/c/afc5e61e1a07b2b833bd72cbee36ecce9cd901e2 | kernel.org | Patch |
| https://git.kernel.org/stable/c/bd7b52557e4a3ccd7595fdb3a585f1257de57935 | kernel.org | Patch |
| https://git.kernel.org/stable/c/ca81109d4a8f192dc1cbad4a1ee25246363c2833 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-401 | Missing Release of Memory after Effective Lifetime | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 3.15.1, < 5.10.252 >= 5.11, < 5.15.202 >= 5.16, < 6.1.165 >= 6.2, < 6.6.128 >= 6.7, < 6.12.75 >= 6.13, < 6.18.14 >= 6.19, < 6.19.4 3.15 - 3.15 rc3 3.15 rc4 3.15 rc5 3.15 rc6 3.15 rc7 3.15 rc8 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jun 16, 2026 | Initial Analysis | [email protected] |
| May 27, 2026 | New CVE Received | kernel.org |