{"id":"CVE-2026-53213","aliases":["CVE-2026-53213"],"related":[],"kind":"vulnerability","state":"published","title":"drm/vc4: fix krealloc() memory leak","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/vc4: fix krealloc() memory leak\n\nDon't just overwrite the original pointer passed to krealloc()\nwith its return value without checking latter:\n\n    MEM = krealloc(MEM, SZ, GFP);\n\nIf krealloc() returns NULL, that erases the pointer\nto the still allocated memory, hence leaks this memory.\nInstead, use a temporary variable, check it's not NULL\nand only then assign it to the original pointer:\n\n    TMP = krealloc(MEM, SZ, GFP);\n    if (!TMP) return;\n    MEM = TMP;\n\nWhile on it, use krealloc_array().","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/vc4: fix krealloc() memory leak\n\nDon't just overwrite the original pointer passed to krealloc()\nwith its return value without checking latter:\n\n    MEM = krealloc(MEM, SZ, GFP);\n\nIf krealloc() returns NULL, that erases the pointer\nto the still allocated memory, hence leaks this memory.\nInstead, use a temporary variable, check it's not NULL\nand only then assign it to the original pointer:\n\n    TMP = krealloc(MEM, SZ, GFP);\n    if (!TMP) return;\n    MEM = TMP;\n\nWhile on it, use krealloc_array().","source":"cvelist"}],"published":"2026-06-25T08:39:17.552Z","modified":"2026-11-06T17:18:14.217Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-401"],"affected":[{"ranges":[{"type":"git","introduced":"6d45c81d229d71da54d374143e7d6abad4c0cf31","fixed":"30165a09f76eaf34951c818eb5d9d6e4771d76f6","status":"affected"},{"type":"git","introduced":"6d45c81d229d71da54d374143e7d6abad4c0cf31","fixed":"fd87d6966041e33ef7d2e5dc59f9a52b71c6ae5f","status":"affected"},{"type":"git","introduced":"6d45c81d229d71da54d374143e7d6abad4c0cf31","fixed":"e0ce103e89d61eef70edc1d1ae3bfd4c0aacbc2e","status":"affected"},{"type":"git","introduced":"6d45c81d229d71da54d374143e7d6abad4c0cf31","fixed":"c034aa0b1ba5f49cbdf8ef193d6ec714d74aac27","status":"affected"},{"type":"git","introduced":"6d45c81d229d71da54d374143e7d6abad4c0cf31","fixed":"02f5e4db57c0cdd7bac89d503b301a093a0fa95c","status":"affected"},{"type":"git","introduced":"6d45c81d229d71da54d374143e7d6abad4c0cf31","fixed":"4fc692dc6df5bc777cc1bcebf95179e28594875f","status":"affected"},{"type":"git","introduced":"6d45c81d229d71da54d374143e7d6abad4c0cf31","fixed":"5d563a5da8717629ae72f9eadf1e0e340bd1658b","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.8","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.8","status":"unaffected"},{"type":"semver","introduced":"5.15.210","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.176","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.143","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.94","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.36","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.0.13","lastAffected":"7.0.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"4.8","fixed":"5.15.210"},{"status":"affected","introduced":"5.16","fixed":"6.1.176"},{"status":"affected","introduced":"6.2","fixed":"6.6.143"},{"status":"affected","introduced":"6.7","fixed":"6.12.94"},{"status":"affected","introduced":"6.13","fixed":"6.18.36"},{"status":"affected","introduced":"6.19","fixed":"7.0.13"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/30165a09f76eaf34951c818eb5d9d6e4771d76f6","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/fd87d6966041e33ef7d2e5dc59f9a52b71c6ae5f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e0ce103e89d61eef70edc1d1ae3bfd4c0aacbc2e","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c034aa0b1ba5f49cbdf8ef193d6ec714d74aac27","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/02f5e4db57c0cdd7bac89d503b301a093a0fa95c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4fc692dc6df5bc777cc1bcebf95179e28594875f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5d563a5da8717629ae72f9eadf1e0e340bd1658b","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-06T16:22:26.759Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-53213","url":"https://www.cve.org/CVERecord?id=CVE-2026-53213","licence":"CVE Terms of Use","modified":"2026-11-06T16:24:07.458Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-53213","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-53213","licence":"Public domain","modified":"2026-11-06T17:18:14.217Z"}],"updatedAt":"2026-11-25T22:59:26.316Z","epss":{"score":0.00123,"percentile":0.02239,"date":"2026-12-01T12:00:22.000Z"}}