VDB

CVE-2026-53213

CVE-2026-53213 PUBLISHED

drm/vc4: fix krealloc() memory leak

Reported by linux · Published June 25, 2026

In the Linux kernel, the following vulnerability has been resolved: drm/vc4: fix krealloc() memory leak Don't just overwrite the original pointer passed to krealloc() with its return value without checking latter: MEM = krealloc(MEM, SZ, GFP); If krealloc() returns NULL, that erases the pointer to the still allocated memory, hence leaks this memory. Instead, use a temporary variable, check it's not NULL and only then assign it to the original pointer: TMP = krealloc(MEM, SZ, GFP); if (!TMP) return; MEM = TMP; While on it, use krealloc_array().

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
linux-qemu-melangeChainguard6.18.38-r0
linux-vmware-6.12Chainguard6.12.95-r0
linux-aws-6.18Chainguard6.18.38-r0
linux-gcp-6.18Chainguard6.18.38-r0
linux-qemu-6.12Chainguard6.12.95-r0
linux_kernellinux7.0.13, 6.18.36, 6.12.94, 6.6.143, 6.1.176, 5.15.210
LinuxLinux5d563a5da8717629ae72f9eadf1e0e340bd1658b, 4fc692dc6df5bc777cc1bcebf95179e28594875f

Affected products

VendorProductVersions
LinuxLinux6d45c81d229d71da54d374143e7d6abad4c0cf31, 6d45c81d229d71da54d374143e7d6abad4c0cf31, 6d45c81d229d71da54d374143e7d6abad4c0cf31
LinuxLinux4.8, 0, 5.15.210
chainguardlinux-qemu-melange0
chainguardlinux-vmware-6.120
chainguardlinux-aws-6.180
chainguardlinux-gcp-6.180
chainguardlinux-qemu-6.120
LinuxLinux6d45c81d229d71da54d374143e7d6abad4c0cf31, 7.1, 7.0.13
chainguardlinux-vmware-6.180
chainguardlinux-gcp-6.120
chainguardlinux-azure-6.120
linuxlinux_kernel4.8, 4.8, 4.8
chainguardlinux-azure-6.180
chainguardlinux-qemu-6.180
chainguardlinux-aws-6.120

Timeline

  • Jun 24, 2026 CVE Published
  • Jun 26, 2026 EPSS Score (7 in total, the first dated here)
  • Jun 26, 2026 Coalition ESS Score
  • Jun 29, 2026 Security Advisory (64 in total, the first dated here)
  • Aug 11, 2026 Distribution Patch (63 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-53213
vulnetix vdb fixes CVE-2026-53213

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-53213/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 ›