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.
Analysis and contextual insights are available on OpenCVE Cloud.
No vendor fix or workaround currently provided.
Additional remediation guidance may be available on OpenCVE Cloud.
Tracking
Sign in to view the affected projects.
| Source | ID | Title |
|---|---|---|
Debian DLA |
DLA-4606-1 | linux security update |
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
|
cvssV3_1
|
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 |
|
|
Status: PUBLISHED
Assigner: Linux
Published:
Updated: 2026-05-27T12:18:04.937Z
Reserved: 2026-05-13T15:03:33.088Z
Link: CVE-2026-45948
No data.
Status : Analyzed
Published: 2026-05-27T14:17:11.157
Modified: 2026-06-17T10:52:46.703
Link: CVE-2026-45948
OpenCVE Enrichment
Updated: 2026-06-18T07:45:03Z
Debian DLA