{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-53213","id":"CVE-2026-53213","title":"drm/vc4: fix krealloc() memory leak","description":"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","descriptionLong":"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().","published":"2026-06-25T08:39:17.552Z","updated":"2026-11-08T02:30:51.399152479Z","reserved":"2026-06-09T07:44:35.392Z","status":"Analyzed","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"6d45c81d229d71da54d374143e7d6abad4c0cf31","lessThan":"30165a09f76eaf34951c818eb5d9d6e4771d76f6","status":"affected","versionType":"git"},{"version":"6d45c81d229d71da54d374143e7d6abad4c0cf31","lessThan":"fd87d6966041e33ef7d2e5dc59f9a52b71c6ae5f","status":"affected","versionType":"git"},{"version":"6d45c81d229d71da54d374143e7d6abad4c0cf31","lessThan":"e0ce103e89d61eef70edc1d1ae3bfd4c0aacbc2e","status":"affected","versionType":"git"},{"version":"6d45c81d229d71da54d374143e7d6abad4c0cf31","lessThan":"c034aa0b1ba5f49cbdf8ef193d6ec714d74aac27","status":"affected","versionType":"git"},{"version":"6d45c81d229d71da54d374143e7d6abad4c0cf31","lessThan":"02f5e4db57c0cdd7bac89d503b301a093a0fa95c","status":"affected","versionType":"git"},{"version":"6d45c81d229d71da54d374143e7d6abad4c0cf31","lessThan":"4fc692dc6df5bc777cc1bcebf95179e28594875f","status":"affected","versionType":"git"},{"version":"6d45c81d229d71da54d374143e7d6abad4c0cf31","lessThan":"5d563a5da8717629ae72f9eadf1e0e340bd1658b","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.8","status":"affected"},{"version":"0","lessThan":"4.8","status":"unaffected","versionType":"semver"},{"version":"5.15.210","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.176","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.143","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.94","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.36","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.0.13","lessThanOrEqual":"7.0.*","status":"unaffected","versionType":"semver"},{"version":"7.1","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-401"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/30165a09f76eaf34951c818eb5d9d6e4771d76f6","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/fd87d6966041e33ef7d2e5dc59f9a52b71c6ae5f","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/e0ce103e89d61eef70edc1d1ae3bfd4c0aacbc2e","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/c034aa0b1ba5f49cbdf8ef193d6ec714d74aac27","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/02f5e4db57c0cdd7bac89d503b301a093a0fa95c","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/4fc692dc6df5bc777cc1bcebf95179e28594875f","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/5d563a5da8717629ae72f9eadf1e0e340bd1658b","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53213.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-53213","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00123,"epssPercentile":0.02098,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-53213","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-53213","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-53213","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-53213","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}