ext4: fix memory leak in ext4_ext_shift_extents()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 5.10.252, Kernel 5.15.202, Kernel 6.1.165 and 12 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=3.15.1 <5.10.252, >=5.11 <5.15.202, >=5.16 <6.1.165, >=6.13 <6.18.14, >=6.19 <6.19.4, >=6.2 <6.6.128, >=6.7 <6.12.75, =3.15, >=a18ed359bdddcded4f97ff5e2f07793ff9336913 <1bce219ee5512cf179ba40cf114945a14a16e21f, >=a18ed359bdddcded4f97ff5e2f07793ff9336913 <2f4b1052246ca646bb17bfe0f53df2fdf9729b58, >=a18ed359bdddcded4f97ff5e2f07793ff9336913 <4a79fde8db7eba7f1128d971ceba4e3c9ac84aec, >=a18ed359bdddcded4f97ff5e2f07793ff9336913 <7e807cb8603b7664fa630a696cd891d9a03c248d, >=a18ed359bdddcded4f97ff5e2f07793ff9336913 <afc5e61e1a07b2b833bd72cbee36ecce9cd901e2, >=a18ed359bdddcded4f97ff5e2f07793ff9336913 <bd7b52557e4a3ccd7595fdb3a585f1257de57935, >=a18ed359bdddcded4f97ff5e2f07793ff9336913 <ca81109d4a8f192dc1cbad4a1ee25246363c2833, >=a18ed359bdddcded4f97ff5e2f07793ff9336913 <12615ab4bfb69678e5d961b28bb70040299e51b1 | 5.10.252, 5.15.202, 6.1.165, 6.18.14, 6.19.4, 6.6.128, 6.12.75, 1bce219ee5512cf179ba40cf114945a14a16e21f, 2f4b1052246ca646bb17bfe0f53df2fdf9729b58, 4a79fde8db7eba7f1128d971ceba4e3c9ac84aec, 7e807cb8603b7664fa630a696cd891d9a03c248d, afc5e61e1a07b2b833bd72cbee36ecce9cd901e2, bd7b52557e4a3ccd7595fdb3a585f1257de57935, ca81109d4a8f192dc1cbad4a1ee25246363c2833, 12615ab4bfb69678e5d961b28bb70040299e51b1 |
| linux-kernel: Kernel | >=3.15.0 <5.10.252, >=5.11.0 <5.15.202, >=5.16.0 <6.1.165, >=6.13.0 <6.18.14, >=6.19.0 <6.19.4, >=6.2.0 <6.6.128, >=6.7.0 <6.12.75 | 5.10.252, 5.15.202, 6.1.165, 6.18.14, 6.19.4, 6.6.128, 6.12.75 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket