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.
Published: 2026-05-27
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability arises in the ext4 file‑system driver of the Linux kernel. During the execution of ext4_ext_shift_extents(), a NULL extent encountered within a loop causes the function to exit prematurely without freeing a path previously allocated by ext4_find_extent(). This omission produces a memory leak that can accumulate over time, potentially exhausting available memory and leading to a denial‑of‑service condition if the operation is repeated frequently under heavy filesystem activity. The weakness is a memory leak (CWE‑401) and a resource‑management flaw (CWE‑772).

Affected Systems

Affects Linux kernels that implement ext4_ext_shift_extents() without the patch, i.e., all Linux distributions shipping the ext4 driver prior to this commit. No specific version numbers are listed, so any kernel whose source tree contains the unpatched code is subject to the leak.

Risk and Exploitability

The CVSS score of 5.5 indicates medium impact. The EPSS score of <1% shows a very low probability of exploitation. The issue does not provide direct code execution or data disclosure; it requires triggering ext4 operations that produce the unfreed path. Based on the description, it is inferred that an attacker would need local execution privileges on a node to perform the filesystem actions that provoke the leak. The risk is therefore low to moderate, more significant for systems that ingest large write workloads on ext4, where a cumulative leak could degrade service availability.

Generated by OpenCVE AI on June 16, 2026 at 21:20 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the kernel update that contains the ext4_ext_shift_extents memory‑leak fix, such as the latest distribution package or the upstream patch referenced in the advisories.
  • If an update is delayed, monitor memory usage on servers running heavy ext4 workloads and reduce ext4 activity using cgroup limits or throttling to mitigate the accumulated leak.
  • Coordinate with the distribution maintainers to ensure the patched kernel version is distributed and applied during the next maintenance window, thereby permanently eliminating the resource leak.

Generated by OpenCVE AI on June 16, 2026 at 21:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4606-1 linux security update
History

Tue, 16 Jun 2026 06:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-401
CPEs cpe:2.3:o:linux:linux_kernel:3.15:-:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:3.15:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:3.15:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:3.15:rc5:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:3.15:rc6:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:3.15:rc7:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:3.15:rc8:*:*:*:*:*:*

Thu, 28 May 2026 15:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-399

Thu, 28 May 2026 12:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-772
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Low


Wed, 27 May 2026 17:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-399

Wed, 27 May 2026 14:15:00 +0000

Type Values Removed Values Added
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.
Title ext4: fix memory leak in ext4_ext_shift_extents()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-05-27T12:18:04.937Z

Reserved: 2026-05-13T15:03:33.088Z

Link: CVE-2026-45948

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2026-05-27T14:17:11.157

Modified: 2026-06-16T02:35:36.547

Link: CVE-2026-45948

cve-icon Redhat

Severity : Low

Publid Date: 2026-05-27T00:00:00Z

Links: CVE-2026-45948 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-06-16T21:30:16Z

Weaknesses
  • CWE-401

    Missing Release of Memory after Effective Lifetime

  • CWE-772

    Missing Release of Resource after Effective Lifetime