CVE-2026-53213
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| linux-qemu-melange | Chainguard | 6.18.38-r0 |
| linux-vmware-6.12 | Chainguard | 6.12.95-r0 |
| linux-aws-6.18 | Chainguard | 6.18.38-r0 |
| linux-gcp-6.18 | Chainguard | 6.18.38-r0 |
| linux-qemu-6.12 | Chainguard | 6.12.95-r0 |
| linux_kernel | linux | 7.0.13, 6.18.36, 6.12.94, 6.6.143, 6.1.176, 5.15.210 |
| Linux | Linux | 5d563a5da8717629ae72f9eadf1e0e340bd1658b, 4fc692dc6df5bc777cc1bcebf95179e28594875f |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 6d45c81d229d71da54d374143e7d6abad4c0cf31, 6d45c81d229d71da54d374143e7d6abad4c0cf31, 6d45c81d229d71da54d374143e7d6abad4c0cf31 |
| Linux | Linux | 4.8, 0, 5.15.210 |
| chainguard | linux-qemu-melange | 0 |
| chainguard | linux-vmware-6.12 | 0 |
| chainguard | linux-aws-6.18 | 0 |
| chainguard | linux-gcp-6.18 | 0 |
| chainguard | linux-qemu-6.12 | 0 |
| Linux | Linux | 6d45c81d229d71da54d374143e7d6abad4c0cf31, 7.1, 7.0.13 |
| chainguard | linux-vmware-6.18 | 0 |
| chainguard | linux-gcp-6.12 | 0 |
| chainguard | linux-azure-6.12 | 0 |
| linux | linux_kernel | 4.8, 4.8, 4.8 |
| chainguard | linux-azure-6.18 | 0 |
| chainguard | linux-qemu-6.18 | 0 |
| chainguard | linux-aws-6.12 | 0 |
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