What’s Vulnerable › Vulnerabilities

CVE-2026-45948: ext4: fix memory leak in ext4_ext_shift_extents()

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

How to fix

Upgrade to a fixed version: Linux kernel 5.10.252, 5.15.202, 6.1.165, 6.12.75. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-45948 or the next vulnerability affects your stack