CVE-2026-53213 drm/vc4: fix krealloc() memory leak

Medium 5.5 Published Updated

A memory leak in the Linux kernel's vc4 DRM driver can lead to resource exhaustion and denial of service.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2026-53213?

CVE-2026-53213 is a medium-severity denial of service vulnerability in Linux kernel, published on 25 Jun 2026. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

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().

Weakness: CWE-401

Which versions are affected by CVE-2026-53213?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2026-53213?

Apply the vendor's patch.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2026-53213 being exploited?

There is no known exploitation of CVE-2026-53213 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as AZL-90558, BELL-CVE-2026-53213, DEBIAN-CVE-2026-53213, GHSA-3886-873f-6xpf, ROOT-OS-DEBIAN-11-CVE-2026-53213, ROOT-OS-DEBIAN-12-CVE-2026-53213 and 3 more.

Is CVE-2026-53213 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free