CVE-2026-45948
ext4: fix memory leak in ext4_ext_shift_extents()
Reported by linux · Published May 27, 2026
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel-devel | Amazon Linux | 1:6.1.166-197.305.amzn2023 |
| kernel6.18-modules-extra | Amazon Linux | 1:6.18.15-14.217.amzn2023 |
| kernel6.12-modules-extra-common | Amazon Linux | 1:6.12.77-99.140.amzn2023 |
| kernel-headers | Amazon Linux | 1:6.1.166-197.305.amzn2023 |
| kernel | Amazon Linux | 1:6.1.166-197.305.amzn2023 |
| kernel6.18-tools | Amazon Linux | 1:6.18.15-14.217.amzn2023 |
| perf6.18 | Amazon Linux | 1:6.18.15-14.217.amzn2023 |
| Linux | Linux | 7e807cb8603b7664fa630a696cd891d9a03c248d, 3.15 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | a18ed359bdddcded4f97ff5e2f07793ff9336913, a18ed359bdddcded4f97ff5e2f07793ff9336913, a18ed359bdddcded4f97ff5e2f07793ff9336913 |
| Linux | Linux | 3.15, 0, 5.10.252 |
| amazon:2023 | kernel-devel | 0 |
| amazon:2023 | kernel6.18-modules-extra | 0 |
| amazon:2023 | kernel6.12-modules-extra-common | 0 |
| amazon:2023 | kernel-headers | 0 |
| amazon:2023 | kernel | 0 |
| amazon:2023 | kernel6.18-tools | 0 |
| amazon:2023 | perf6.18 | 0 |
| Linux | Linux | 6.12.75, 6.1.165, 6.18.14 |
| amazon:2023 | kernel6.12-devel | 0 |
| amazon:2023 | kernel6.12-libbpf-devel | 0 |
| amazon:2023 | kernel6.12-modules-extra | 0 |
| amazon:2023 | kernel-livepatch-6.1.166-197.305 | 0 |
| amazon:2023 | kernel-modules-extra-common | 0 |
| linux | linux_kernel | 3.15, 3.15, 3.15 |
| amazon:2023 | kernel6.12 | 0 |
| amazon:2023 | kernel6.12-libbpf | 0 |
| amazon:2023 | bpftool6.12 | 0 |
| amazon:2023 | kernel6.12-tools | 0 |
…and 26 more
Timeline
- May 27, 2026 CVE Published
- May 28, 2026 EPSS Score (17 in total, the first dated here)
- May 29, 2026 Security Advisory (131 in total, the first dated here)
- Jun 4, 2026 Coalition ESS Score
- Aug 11, 2026 Distribution Patch (128 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-45948
vulnetix vdb fixes CVE-2026-45948
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-45948/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart