VDB

CVE-2026-45948

CVE-2026-45948 PUBLISHED

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.

PackageEcosystemFixed in
kernel-develAmazon Linux1:6.1.166-197.305.amzn2023
kernel6.18-modules-extraAmazon Linux1:6.18.15-14.217.amzn2023
kernel6.12-modules-extra-commonAmazon Linux1:6.12.77-99.140.amzn2023
kernel-headersAmazon Linux1:6.1.166-197.305.amzn2023
kernelAmazon Linux1:6.1.166-197.305.amzn2023
kernel6.18-toolsAmazon Linux1:6.18.15-14.217.amzn2023
perf6.18Amazon Linux1:6.18.15-14.217.amzn2023
LinuxLinux7e807cb8603b7664fa630a696cd891d9a03c248d, 3.15

Affected products

VendorProductVersions
LinuxLinuxa18ed359bdddcded4f97ff5e2f07793ff9336913, a18ed359bdddcded4f97ff5e2f07793ff9336913, a18ed359bdddcded4f97ff5e2f07793ff9336913
LinuxLinux3.15, 0, 5.10.252
amazon:2023kernel-devel0
amazon:2023kernel6.18-modules-extra0
amazon:2023kernel6.12-modules-extra-common0
amazon:2023kernel-headers0
amazon:2023kernel0
amazon:2023kernel6.18-tools0
amazon:2023perf6.180
LinuxLinux6.12.75, 6.1.165, 6.18.14
amazon:2023kernel6.12-devel0
amazon:2023kernel6.12-libbpf-devel0
amazon:2023kernel6.12-modules-extra0
amazon:2023kernel-livepatch-6.1.166-197.3050
amazon:2023kernel-modules-extra-common0
linuxlinux_kernel3.15, 3.15, 3.15
amazon:2023kernel6.120
amazon:2023kernel6.12-libbpf0
amazon:2023bpftool6.120
amazon:2023kernel6.12-tools0

…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

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›