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 products
linux: linux kernel
References8
- git.kernel.org/stable/c/12615ab4bfb69678e5d961b28bb70040299e51b1 Patch
- git.kernel.org/stable/c/1bce219ee5512cf179ba40cf114945a14a16e21f Patch
- git.kernel.org/stable/c/2f4b1052246ca646bb17bfe0f53df2fdf9729b58 Patch
- git.kernel.org/stable/c/4a79fde8db7eba7f1128d971ceba4e3c9ac84aec Patch
- git.kernel.org/stable/c/7e807cb8603b7664fa630a696cd891d9a03c248d Patch
- git.kernel.org/stable/c/afc5e61e1a07b2b833bd72cbee36ecce9cd901e2 Patch
- git.kernel.org/stable/c/bd7b52557e4a3ccd7595fdb3a585f1257de57935 Patch
- git.kernel.org/stable/c/ca81109d4a8f192dc1cbad4a1ee25246363c2833 Patch
Metrics
- CVSS 3.1
-
5.5
MEDIUM
Score source: NVD
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H - EPSS — exploit probability
- 0% percentile: 5 · as of 14 November 2026
- CWE
- CWE-401
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.