CVE-2026-53213 Details
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().
A memory leak vulnerability has been addressed in the Linux kernel's VC4 Direct Rendering Manager (DRM) component. The issue arose because the original pointer passed to the krealloc() function was overwritten with the return value without proper validation. If krealloc() returned NULL, it would erase the pointer to the allocated memory, leading to a memory leak. The vulnerability affects the stable versions of the Linux kernel.
The vulnerability has been fixed in the official Linux kernel repository. Users can upgrade to the latest version to address this issue.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/02f5e4db57c0cdd7bac89d503b301a093a0fa95c | kernel.org | Patch |
| https://git.kernel.org/stable/c/30165a09f76eaf34951c818eb5d9d6e4771d76f6 | kernel.org | Patch |
| https://git.kernel.org/stable/c/4fc692dc6df5bc777cc1bcebf95179e28594875f | kernel.org | Patch |
| https://git.kernel.org/stable/c/5d563a5da8717629ae72f9eadf1e0e340bd1658b | kernel.org | Patch |
| https://git.kernel.org/stable/c/c034aa0b1ba5f49cbdf8ef193d6ec714d74aac27 | kernel.org | Patch |
| https://git.kernel.org/stable/c/e0ce103e89d61eef70edc1d1ae3bfd4c0aacbc2e | kernel.org | Patch |
| https://git.kernel.org/stable/c/fd87d6966041e33ef7d2e5dc59f9a52b71c6ae5f | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-401 | Missing Release of Memory after Effective Lifetime | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 4.8, < 5.15.210 >= 5.16, < 6.1.176 >= 6.2, < 6.6.143 >= 6.7, < 6.12.94 >= 6.13, < 6.18.36 >= 6.19, < 7.0.13 7.1 rc1 7.1 rc2 7.1 rc3 7.1 rc4 7.1 rc5 7.1 rc6 7.1 rc7 |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 2, 2026 | Initial Analysis | [email protected] |
| Jun 25, 2026 | New CVE Received | kernel.org |