CVE-2026-45948
Analyzed Analyzed - Analysis Complete
Memory Leak in Linux Kernel ext4 Filesystem

Publication date: 2026-05-27

Last updated on: 2026-06-16

Assigner: kernel.org

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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-05-27
Last Modified
2026-06-16
Generated
2026-06-16
AI Q&A
2026-05-27
EPSS Evaluated
2026-06-15
NVD
EUVD
Affected Vendors & Products
Showing 14 associated CPEs
Vendor Product Version / Range
linux linux_kernel 3.15
linux linux_kernel 3.15
linux linux_kernel 3.15
linux linux_kernel 3.15
linux linux_kernel 3.15
linux linux_kernel 3.15
linux linux_kernel From 6.13 (inc) to 6.18.14 (exc)
linux linux_kernel From 6.19 (inc) to 6.19.4 (exc)
linux linux_kernel From 6.2 (inc) to 6.6.128 (exc)
linux linux_kernel From 6.7 (inc) to 6.12.75 (exc)
linux linux_kernel From 5.11 (inc) to 5.15.202 (exc)
linux linux_kernel From 5.16 (inc) to 6.1.165 (exc)
linux linux_kernel From 3.15.1 (inc) to 5.10.252 (exc)
linux linux_kernel 3.15
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-401 The product does not sufficiently track and release allocated memory after it has been used, making the memory unavailable for reallocation and reuse.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

This vulnerability is a memory leak in the Linux kernel's ext4 filesystem code, specifically in the function ext4_ext_shift_extents().

If the extent is NULL during a while loop in this function, it returns immediately without releasing a resource called the path, which was obtained via ext4_find_extent().

Because the path is not released properly, this causes a memory leak.

The fix involves ensuring the function jumps to a cleanup label to release the path properly before returning.

Impact Analysis

This vulnerability can lead to a memory leak in the Linux kernel when using the ext4 filesystem.

Over time, the memory leak could cause increased memory usage, potentially degrading system performance or stability.

In extreme cases, it might contribute to system crashes or denial of service if memory resources are exhausted.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-45948. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart