CVE-2026-53213

drm/vc4: fix krealloc() memory leak

No CVSS score yet EPSS 0.12%

Published 25 Jun 2026 Updated 6 Nov 2026 CNA: Linux

Check your servers for CVE-2026-53213

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-53213 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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

Exploitation

EPSS 0.12%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 2.24% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 6 Nov 2026):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 6d45c81d229d71da54d374143e7d6abad4c0cf31, before 30165a09f76eaf34951c818eb5d9d6e4771d76f6
affected from 6d45c81d229d71da54d374143e7d6abad4c0cf31, before fd87d6966041e33ef7d2e5dc59f9a52b71c6ae5f
affected from 6d45c81d229d71da54d374143e7d6abad4c0cf31, before e0ce103e89d61eef70edc1d1ae3bfd4c0aacbc2e
affected from 6d45c81d229d71da54d374143e7d6abad4c0cf31, before c034aa0b1ba5f49cbdf8ef193d6ec714d74aac27
affected from 6d45c81d229d71da54d374143e7d6abad4c0cf31, before 02f5e4db57c0cdd7bac89d503b301a093a0fa95c
affected from 6d45c81d229d71da54d374143e7d6abad4c0cf31, before 4fc692dc6df5bc777cc1bcebf95179e28594875f
affected from 6d45c81d229d71da54d374143e7d6abad4c0cf31, before 5d563a5da8717629ae72f9eadf1e0e340bd1658b
Other versions: unaffected
Linux
affected 4.8
unaffected before 4.8
unaffected from 5.15.210 up to and including 5.15.*
unaffected from 6.1.176 up to and including 6.1.*
unaffected from 6.6.143 up to and including 6.6.*
unaffected from 6.12.94 up to and including 6.12.*
unaffected from 6.18.36 up to and including 6.18.*
unaffected from 7.0.13 up to and including 7.0.*
unaffected 7.1 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-53213 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-53213

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-53213
trivy image --scanners vuln IMAGE | grep CVE-2026-53213

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-53213 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.