CVE-2026-45948

ext4: fix memory leak in ext4_ext_shift_extents()

MEDIUM
5.5
CVSS Score
Published: May 27, 2026 at 12:18 PM UTC
Updated: June 17, 2026 at 10:52 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

3.15 ≤ v < 5.10.2523.15 ≤ v < 5.15.2023.15 ≤ v < 6.1.1653.15 ≤ v < 6.12.753.15 ≤ v < 6.18.143.15 ≤ v < 6.19.43.15 ≤ v < 6.6.1283.15 ≤ v < 7.03.15.1 ≤ v < 5.10.2525.11 ≤ v < 5.15.2025.16 ≤ v < 6.1.1656.13 ≤ v < 6.18.146.19 ≤ v < 6.19.46.2 ≤ v < 6.6.1286.7 ≤ v < 6.12.753.153.15 rc33.15 rc43.15 rc53.15 rc63.15 rc73.15 rc8a18ed359bdddcded4f97ff5e2f07793ff9336913
Vendor states this is fixed in 12615ab4bfb69678e5d961b28bb70040299e51b1 (fixed)
Vendor states this is fixed in 1bce219ee5512cf179ba40cf114945a14a16e21f (fixed)
Vendor states this is fixed in 2f4b1052246ca646bb17bfe0f53df2fdf9729b58 (fixed)
Vendor states this is fixed in 4a79fde8db7eba7f1128d971ceba4e3c9ac84aec (fixed)
Vendor states this is fixed in 7e807cb8603b7664fa630a696cd891d9a03c248d (fixed)
Vendor states this is fixed in afc5e61e1a07b2b833bd72cbee36ecce9cd901e2 (fixed)
Vendor states this is fixed in bd7b52557e4a3ccd7595fdb3a585f1257de57935 (fixed)
Vendor states this is fixed in ca81109d4a8f192dc1cbad4a1ee25246363c2833 (fixed)
Vendor states this is fixed in 3.15 (unaffected)
Vendor states this is fixed in 5.10.252 (unaffected)
Vendor states this is fixed in 5.15.202 (unaffected)
Vendor states this is fixed in 6.1.165 (unaffected)
Vendor states this is fixed in 6.12.75 (unaffected)
Vendor states this is fixed in 6.18.14 (unaffected)
Vendor states this is fixed in 6.19.4 (unaffected)
Vendor states this is fixed in 6.6.128 (unaffected)
Vendor states this is fixed in 7.0 (unaffected)

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-401

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card